/* ===========================================================================
   LTSM-4277 / SOP-1555 — Sección Ubicación del home (diseño portado de Polanco).
   CSS autocontenido: se sustituyen las variables de Polanco por valores
   concretos para no depender de :root (Sotobosque no las define).
     --secondary-dark      => #110B0B
     --grayscale-background => #FCFCFC
     --secondary-default   => #A39E80
   =========================================================================== */

.location-s4-section {
    background-color: #110B0B;
    color: #FCFCFC;
    padding: 80px 20px;
}

.location-s4-container {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-s4-image-wrapper-mobile {
    width: 208px;
    height: 185px;
    display: flex;
    gap: 20px;
}

.location-s4-image-wrapper-mobile>.location-s4-small-image-1 {
    align-self: flex-end;
    width: 95px;
    height: 133px;
}

.location-s4-image-wrapper-mobile>.location-s4-small-image-2 {
    align-self: flex-start;
    width: 95px;
    height: 133px;
}

/* --- Columna del Mapa (Izquierda) --- */
.location-s4-map-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    display: block;
}

/* --- Columna de Contenido (Derecha) --- */
.location-s4-content-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-s4-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: bold;
    margin: 0 auto 16px auto;
    text-transform: uppercase;
}

.location-s4-description {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0 auto 30px auto;
    color: white;
}

/* --- Wrapper de imágenes pequeñas --- */
.location-s4-small-images-wrapper {
    justify-content: center;
    gap: 20px;
    align-items: flex-end;
    display: none;
}

.location-s4-small-image-1,
.location-s4-small-image-2 {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-s4-small-image-1 img,
.location-s4-small-image-2 img {
    display: block;
    width: 100%;
    height: auto;
}

.location-s4-small-image-1 {
    width: 50%;
}

.location-s4-small-image-2 {
    width: 50%;
}

/* --- Pre-título y botón (compartidos con el diseño de Polanco) --- */
.pre-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #A39E80;
    margin-bottom: 8px;
    display: block;
}

.btn-primary-models {
    background-color: #A39E80;
    color: #110B0B !important;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid transparent;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary-models:hover {
    background-color: #110B0B;
    color: #A39E80 !important;
    border: 1px solid #A39E80;
}

/* --- Desktop --- */
@media (min-width: 1024px) {
    .location-s4-image-wrapper-mobile {
        display: none;
    }

    .location-s4-container {
        flex-direction: row;
        max-width: 1316px;
        align-items: start;
        gap: 5%;
    }

    .location-s4-content-col {
        flex: 1;
        position: relative;
        padding-top: 80px;
    }

    .location-s4-text-wrapper {
        text-align: left;
    }

    .location-s4-description {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .location-s4-title {
        max-width: 490px;
        margin: 16px 0;
    }

    .location-s4-small-images-wrapper {
        display: flex;
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .location-s4-small-image-1,
    .location-s4-small-image-2 {
        max-width: 155px;
        height: 258px;
    }

    .location-s4-small-image-1 img,
    .location-s4-small-image-2 img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .location-s4-map-image {
        max-width: 581px;
        max-height: 697px;
        object-fit: cover;
    }

    .location-s4-small-image-1 {
        position: relative;
        top: 83px;
    }
}
