@charset "utf-8";
/* CSS Document */

/* =========================================
   ORGANIZACION DE LA UNIDAD
   ACTIWEB 2.0
========================================= */

.uc-organizacion {
    width: 100%;
    padding: 15px 0 20px;
    background: #ffffff;
}

.uc-organizacion__contenedor {
    width: 100%;
}


/* =========================================
   CABECERA
========================================= */

.uc-organizacion__cabecera {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 27px;
}

.uc-organizacion__icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 25px;
    background: linear-gradient(
        145deg,
        #1688e4,
        #00458e
    );
    box-shadow: 0 3px 8px rgba(0, 65, 140, .17);
}

.uc-organizacion__titulo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 12px;
    margin: 0;
    color: #102f68;
    font-size: clamp(25px, 2.2vw, 35px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
}

.uc-organizacion__titulo span {
    display: inline-block;
    width: 28px;
    height: 6px;
    border-radius: 10px;
    background: #0756a8;
}

.uc-organizacion__titulo {
    background: linear-gradient(
        90deg,
        #102f68 0%,
        #0862c7 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================
   GRID DE TARJETAS
========================================= */

.uc-organizacion__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* =========================================
   TARJETA SUBUNIDAD
========================================= */

.uc-subunidad {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 0;
    min-height: 325px;
    overflow: hidden;
    border: 1.5px solid #b8dcff;
    border-radius: 20px;
    background: linear-gradient(
        120deg,
        #ffffff 0%,
        #f4f9ff 100%
    );
    box-shadow: 0 8px 16px rgba(0, 91, 173, .09);
    transition: transform .3s ease,
                box-shadow .3s ease;
}

.uc-subunidad:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0, 91, 173, .15);
}


/* =========================================
   CONTENIDO
========================================= */

.uc-subunidad__contenido {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 16px 18px 17px;
    padding-right: 28%;
}


/* =========================================
   ICONO DE SUBUNIDAD
========================================= */

.uc-subunidad__icono {
    position: absolute;
    top: 16px;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 15px;
    color: #0756a8;
    font-size: 43px;
    background: linear-gradient(
        145deg,
        #edf6ff,
        #d9ecff
    );
}


/* =========================================
   INFORMACION
========================================= */

.uc-subunidad__informacion {
    min-height: 100px;
    margin-left: 110px;
    width: calc(100% - 110px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.uc-subunidad__etiqueta {
    display: inline-block;
    margin-bottom: 7px;
    padding: 4px 13px;
    border-radius: 20px;
    color: #0756a8;
    background: #c9e4ff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}

.uc-subunidad__titulo {
    margin: 0;
    color: #102f68;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}


/* =========================================
   DESCRIPCION
========================================= */

.uc-subunidad__descripcion {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 12px 0 14px;
    padding-left: 65px;
    color: #263d5e;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}


/* =========================================
   BOTON
========================================= */

.uc-subunidad__boton {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 200px;
    margin-top: auto;
    margin-left: 65px;
    padding: 11px 17px 11px 23px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(
        100deg,
        #0862c7,
        #0051a6
    );
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.uc-subunidad__boton i {
    font-size: 20px;
    transition: transform .3s ease;
}

.uc-subunidad__boton:hover {
    color: #ffffff;
    background: #003e83;
}

.uc-subunidad__boton:hover i {
    transform: translateX(5px);
}


/* =========================================
   IMAGEN LATERAL
========================================= */

.uc-subunidad__imagen {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}

.uc-subunidad__imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.uc-subunidad:hover .uc-subunidad__imagen img {
    transform: scale(1.06);
}


/* =========================================
   RESPONSIVE - LAPTOP PEQUEÑA
========================================= */

@media (max-width: 1399.98px) {

    .uc-organizacion__grid {
        gap: 12px;
    }

    .uc-subunidad {
        min-height: 340px;
    }

    .uc-subunidad__contenido {
        padding-left: 13px;
        padding-right: 26%;
    }

    .uc-subunidad__icono {
        width: 75px;
        height: 75px;
        font-size: 35px;
    }

    .uc-subunidad__informacion {
        margin-left: 88px;
        width: calc(100% - 88px);
        min-height: 90px;
    }

    .uc-subunidad__titulo {
        font-size: 15px;
    }

    .uc-subunidad__descripcion {
        padding-left: 35px;
        font-size: 14px;
    }

    .uc-subunidad__boton {
        margin-left: 35px;
        min-width: 170px;
    }

}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 991.98px) {

    .uc-organizacion__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uc-subunidad {
        min-height: 330px;
    }

    .uc-subunidad__titulo {
        font-size: 16px;
    }

}


/* =========================================
   RESPONSIVE - CELULARES
========================================= */

@media (max-width: 575.98px) {

    .uc-organizacion {
        padding: 10px 0 20px;
    }

    .uc-organizacion__cabecera {
        gap: 10px;
        margin-bottom: 20px;
    }

    .uc-organizacion__icono {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 21px;
    }

    .uc-organizacion__titulo {
        font-size: 23px;
        gap: 0 8px;
    }

    .uc-organizacion__titulo span {
        width: 20px;
        height: 5px;
    }

    .uc-organizacion__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .uc-subunidad {
        min-height: 310px;
    }

    .uc-subunidad__contenido {
        padding: 15px 15px 16px;
        padding-right: 27%;
    }

    .uc-subunidad__icono {
        width: 68px;
        height: 68px;
        font-size: 31px;
    }

    .uc-subunidad__informacion {
        min-height: 85px;
        margin-left: 78px;
        width: calc(100% - 78px);
    }

    .uc-subunidad__titulo {
        font-size: 15px;
    }

    .uc-subunidad__etiqueta {
        font-size: 11px;
    }

    .uc-subunidad__descripcion {
        padding-left: 15px;
        font-size: 14px;
    }

    .uc-subunidad__boton {
        margin-left: 15px;
        min-width: 160px;
        padding: 10px 14px;
    }

    .uc-subunidad__imagen {
        width: 35%;
    }

}
