.estudios-ciudad {
    background-image:
        url(../assets/img/ok-anos.png);
        /* url(../assets/img/lineas_2.png); */
    /* min-height: 85vh; */
    background-color: #002F55;

    /* Definimos tamaños para ambas (pueden ser iguales o diferentes) */
    background-size: 10%;
    background-repeat: no-repeat, no-repeat;

    /* Estado inicial */
    background-position: 100% 95%;

    /* La animación ahora mueve ambas a ritmos distintos */
    /* animation: slideLines 3s ease-in-out infinite alternate; */
    /*  */
}

.contenedor-hacemos-ciudad {
    position: relative;
    width: 550px;
    height: 550px;
    border: 12px solid #53758e61;
    border-radius: 50%;
    padding-right: 100px !important;
}


.contenedor-hacemos-ciudad .icon_ciudad {
    position: relative;
    left: -50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.contenedor-hacemos-ciudad .icon_ciudad .imgBx {
    position: absolute;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #53758E;
    /* -webkit-box-shadow: 1px 5px 5px 1px #000000;
    box-shadow: 10px 1px 5px 1px #002f55; */
    /* outline: 1px solid #011A49; */
    box-shadow: #002F55;
    transition: 0.5s;
    transform: rotate(calc(88deg + (150deg / 4) * (var(--i) - 1)));
    ;
    transform-origin: 312px;
    z-index: 100;
    overflow: hidden;
}

.contenedor-hacemos-ciudad .icon_ciudad .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform:
        rotate(calc(-88deg - (150deg / 4) * (var(--i) - 1))) scale(0.8);
    transition: 0.5s;
}

.contenedor-hacemos-ciudad .icon_ciudad .imgBx.activo {
    background-color: #ffffff;
    outline: 8px solid #53758E;
    transition: 0.2s;
}

.contenedor-hacemos-ciudad .icon_ciudad .imgBx.activo img {
    filter: brightness(0.2);
    /* fill: #011A49; */
    transform: rotate(calc(-88deg - (150deg / 4) * (var(--i) - 1))) scale(1.2);
}

.contenido_ciudad {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


.btn-contactanos-ciudad {
    background-color: #FF5757 !important;
    border: 1px solid #FF5757;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
}

.btn-contactanos-ciudad:hover {
    background-color: transparent !important;
    color: #ffffff;
    border: 1px solid #D3DAE7;
}

.contenedor_card_ciudad {
    position: relative;
    margin-top: 1.8em;
    /* height: 475px; */
    overflow: hidden;
}

.contenido_card_ciudad {
    position: relative;
    height: 100%;
}

@media (min-width:320px) and (max-width:991px) {

    .estudios-ciudad{
        /* margin-top: auto; */
        height: 100% !important;
    }

    .contenedor-hacemos-ciudad {
        width: 350px;
        height: 350px;
        border: 8px solid #53758e61;
    }

    .contenedor-hacemos-ciudad .icon_ciudad .imgBx {
        width: 70px;
        height: 70px;
        transform-origin: 204px;
    }

    .contenedor-hacemos-ciudad .icon_ciudad .imgBx.activo {
        background-color: #ffffff;
        outline: 4px solid #53758E;
        transition: 0.2s;
    }

    .contenedor-hacemos-ciudad .icon_ciudad .imgBx img {
        padding: 0.9rem !important;
    }

    .cont_contenedor-hacemos-ciudad {
        height: 500px !important;
    }

    .circulo_desglose {
        left: -12vh !important;
        bottom: 8vh !important;
    }

    .cart_titulo_ciudad h5 {
        font-size: 1rem;
    }

    .cart_titulo_ciudad {
        width: 90% !important;
    }

    .card-informacion-actividades {
        font-size: 0.8em;
        padding: 1.5rem !important;
    }

    .s-caso-exito {
        flex-direction: column;
        gap: 10px;
    }

    .s-caso-exito h5 {
        font-size: 0.9rem !important;
    }
}

