/* ==========================================================
   MANOSALVA — UBICACIÓN / MAPA
   ========================================================== */

.ms-location {
    width: 100%;

    padding:
        34px
        24px
        42px;

    box-sizing: border-box;
}


.ms-location__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(300px, 1fr);

    width: 100%;
    max-width: 1400px;

    min-height: 360px;

    margin: 0 auto;

    overflow: hidden;

    border:
        1px solid
        rgba(16, 40, 80, .09);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 12px 32px
        rgba(18, 47, 82, .07);
}


/* ==========================================================
   MAPA
   ========================================================== */

.ms-location__map {
    position: relative;

    min-width: 0;
    min-height: 360px;

    overflow: hidden;

    background: #eaf2fa;
}


.ms-location__iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 360px;

    border: 0;
}


/* ==========================================================
   INFORMACIÓN
   ========================================================== */

.ms-location__info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding:
        42px
        38px;

    background:
        linear-gradient(
            145deg,
            #f8fbfe 0%,
            #eef5fb 100%
        );
}


.ms-location__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 18px;

    color: #ef1f32;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 6px 18px
        rgba(18, 47, 82, .08);
}


.ms-location__heading {
    position: relative;

    margin:
        0
        0
        18px;

    padding-bottom: 13px;

    color: #102850;

    font-size:
        clamp(
            1.8rem,
            2.4vw,
            2.35rem
        );

    font-weight: 800;
    line-height: 1.08;
}


.ms-location__heading::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 56px;
    height: 4px;

    background: #ef1f32;

    border-radius: 999px;
}


.ms-location__description {
    margin-bottom: 22px;

    color: #596779;

    font-size: .98rem;
    line-height: 1.55;
}


.ms-location__description p {
    margin:
        0
        0
        8px;
}


.ms-location__description p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   DATOS
   ========================================================== */

.ms-location__details {
    display: flex;
    flex-direction: column;

    gap: 13px;

    margin-bottom: 26px;
}


.ms-location__detail {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    color: #243c5d;

    font-size: .94rem;
    line-height: 1.45;
}


.ms-location__detail-icon {
    flex: 0 0 auto;

    color: #174f89;

    font-size: 1.25rem;
    line-height: 1;
}


/* ==========================================================
   BOTÓN
   ========================================================== */

.ms-location__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    min-height: 48px;

    margin-top: auto;

    padding:
        11px
        20px;

    box-sizing: border-box;

    color: #102850;

    background: #ffffff;

    border:
        1.5px solid #28488e;

    border-radius: 999px;

    font-size: .95rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.ms-location__button-icon {
    transition:
        transform .2s ease;
}


@media (hover: hover) {

    .ms-location__button:hover {
        color: #ffffff;

        background: #28488e;

        transform:
            translateY(-2px);

        box-shadow:
            0 8px 20px
            rgba(40, 72, 142, .18);

        text-decoration: none;
    }


    .ms-location__button:hover
    .ms-location__button-icon {
        transform:
            translate(
                2px,
                -2px
            );
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {

    .ms-location {
        padding:
            30px
            20px
            38px;
    }


    .ms-location__inner {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(280px, 1fr);
    }


    .ms-location__info {
        padding:
            34px
            28px;
    }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767.98px) {

    .ms-location {
        padding:
            26px
            16px
            32px;
    }


    .ms-location__inner {
        grid-template-columns:
            1fr;

        border-radius: 16px;
    }


    .ms-location__map,
    .ms-location__iframe {
        min-height: 290px;
    }


    .ms-location__info {
        padding:
            28px
            22px;
    }


    .ms-location__heading {
        font-size:
            clamp(
                1.7rem,
                8vw,
                2rem
            );
    }

}