.stat-modal::-webkit-scrollbar {
    width: 4px;               /* ширина scrollbar */
}
.stat-modal::-webkit-scrollbar-track {
    background: #20202000;        /* цвет дорожки */
}
.stat-modal::-webkit-scrollbar-thumb {
    background-color: #24B3A8;    /* цвет плашки */
    border-radius: 20px;       /* закругления плашки */

}
p{
	margin:0 !important
}
.stati{
    margin-bottom: 300px;
}
.stati-wrapper{
    margin-top: 40px;
	display: flex;
    flex-wrap: wrap;
    gap: 30px;
	justify-content: center;
}
.stati-item div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.stati-item{
    background: #FBFBFB;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
border-radius: 30px;
	display: flex;
    flex-direction: column;
    width: 48%;
    max-width: 700px;
    padding: 20px;
    gap: 15px;
}

.stati-item img{
	height:100%;
	max-height:240px;
	object-fit: cover;
	border-radius: 20px;
}

.stati-item a{
    display: flex;
    gap: 10px;
    align-items: center;

  
}
.stati-item a span{
    border-bottom: 1px solid #24b3a700;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    
}
.stati-item a:hover span{
    border-bottom: 1px solid #24B3A8;
}

.stat-modals{
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
	z-index:1;
	overflow-y:scroll;
	opacity:0;
	scale:0.6;
}

.stat-modals-open{
	display: flex;
	opacity:1;
	scale:1;
}
.stat-modal{
    display: flex;
	flex-direction: column;
    width: 100%!important;
    background: #FFFFFF;
    border-radius: 40px;
    padding: 30px;
    gap: 20px;
    position: relative;
	line-height: 19px;
	height: 100%;
	justify-content: space-between;
	z-index:1;
	box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.10);
}

.stat-modal h3{
	color: #24B3A8;
	font-weight: 600;
	font-size: clamp(20px,1.7vw,32px);
	line-height: 38px;
	text-align: center;
}

.stat-modal-image{
	position:relative;
	height: 100%;
	width: 100%;
    border-radius: 20px;
}

@media(max-width: 650px){
	stat-modal h3 {
		line-height: 1;
	}
	.stat-modal-image {
		height: 250px;
		overflow: hidden;
	}
}

.stat-modal-image img {
	height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 60% 10%;
	max-height: 450px;
	overflow: hidden;
	border-radius: 20px;
}

.stat-modal-close{
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}
.stat-modal-text{
    width: 100%;
}

@media(max-width:1024px){
	.stat-modal{
		padding:12px 16px;
	}
}

@media(max-width:640px){
	.stat-modal-image{
		position:relative;
	}
	.stat-modal-close{
		position:fixed;
		top:75px;
	}
}

.stat-modal-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: clamp(16px,1.3vw,24px);
}

.stat-modal-btn a {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: #333;
	
	display: flex;
	padding: 15px 60px;
	justify-content: center;
	align-items: center;
	border-radius: 30px;
	border: 2px solid #24B3A8;
}
