/* Общие стили для секций */
.stats,
.values,
.benefits,
.corporate-life {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-variant-numeric: tabular-nums lining-nums;
    vertical-align: baseline;
}

.stats__title,
.benefits__title,
.corporate-life__title {

}

.stats__title::before,
.benefits__title::before,
.corporate-life__title::before {

}

/* Блок статистики */
.stats{
    background-color: #F4F4F4;
    border-radius: 16px;
    padding: 40px 30px 60px;
    background-image: url(/redesign-images/cufr.png);
    background-size: auto;
    background-position-x: right;
    background-position-y: bottom;
    background-repeat: no-repeat;
}


.stats__title{
    color: #000;
    margin: 0 0 40px;
    font-weight: 500;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 45%;
}

.stats__item {
    padding: 40px 30px;
    border-radius: 20px;
    background: #F4F4F4;
    position: relative;
    min-height: 300px;
    box-shadow: 0px 7px 10px rgb(0 0 0 / 12%);
    background: radial-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 98%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(13px);
    /* outline: 1px solid rgba(255, 255, 255, 0.2); */
    /* outline-offset: -1px; */
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgb(255 255 255 / 40%);
    border-left-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.354);

}

.stats__number {
    font-size: 56px;
    font-weight: 500;
    color: #000;
    line-height: 1;
    margin: 0 0 5px;
}

.stats__description {
    font-size: 22px;
    line-height: 1.2;
    color: #272727;
    max-width: 280px;
}

.stats__description strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
    color: #000;
}

.stats__icon {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
}

.stats__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Блок ценностей */
.values__subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #313230;
    margin: 25px 0 35px;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    font-family: "Raleway", sans-serif;
}

.values__item {
    background: transparent;
    border: none;
    position: relative;
    padding: 30px;
    border-radius: 40px;
    box-shadow: -1px 9px 13px rgb(0 0 0 / 7%);
}

.values__icon {
    position: absolute;
    right: 15px;
    top: 23px;
}

.values__icon img {
    width: 40px;
}

.values__item-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.values__item-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Блок преимуществ */
.benefits {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 16px;
}

.carera__title {
    line-height: 1.2;
    margin: 0 0 25px;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    font-family: "Raleway", sans-serif;
}

.benefits__item {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

.benefits__icon {
    display: flex;
    align-items: center;
}

.benefits__icon img {
    margin: 0 0 0 -12px;
    width: 80px;
}

.benefits__item-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.benefits__item-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Блок корпоративной жизни */
.corporate-life__gallery {
    gap: 8px 16px;
    grid-auto-flow: dense;
    display: flex;
    flex-wrap: wrap;
}

.corporate-life__item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1;
    height: 300px;
    width: 25%;
    margin: 0 -4px;
}

.corporate-life__item:nth-child(2) {
    width: 49%;
}

.corporate-life__item:nth-child(6) {
    width: 49%;
}

.corporate-life__item:nth-child(7) {
    width: 49%;
}

.corporate-life__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}



/* Адаптивность */
@media (max-width: 1200px) {
    .stats__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carera__hero .hero__content{
        grid-template-columns: 50% 50%;
    }



}

@media (max-width: 768px) {

    .carera__hero .hero__content {
        grid-template-columns: 100%;
    }
    .carera__hero .careca_text .careca_text__description {
        font-size: 18px;
    }
    .carera__hero .careca_text {
        padding: 50px 40px;
    }
    .carera__hero .careca_text .careca_text__title {
        font-size: 30px;
    }
    .stats__grid {
        width: 100%;
    }

    .corporate-life__item{
        width: 50%;
        height: 180px;
    }
    .corporate-life__item:nth-child(2) {
        width: 50%;
    }
    .corporate-life__item:nth-child(3) {
        width: 100%;
    }
    .corporate-life__item:nth-child(6) {
        width: 100%;
    }
    .corporate-life__item:nth-child(7) {
        width: 50%;
    }
    .corporate-life__item:nth-child(9) {
        width: 100%;
    }



    .stats,
    .values,
    .benefits,
    .corporate-life {
        padding: 60px 30px;
    }
    
    .stats__title,
    .benefits__title,
    .corporate-life__title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .stats__title::before,
    .benefits__title::before,
    .corporate-life__title::before {
        width: 16px;
        height: 16px;
    }

    
    .stats__item {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .stats__number {
        font-size: 56px;
    }
    
    .values__subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .corporate-life__gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stats__icon {
        position: absolute;
        right: 13px;
        bottom: 7px;
        width: 26px;
        height: 26px;
    }
    
    .corporate-life__item:nth-child(1),
    .corporate-life__item:nth-child(2),
    .corporate-life__item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {

        

    .stats {
        background-color: #F4F4F4;
        border-radius: 16px;
        background-image: url(/redesign-images/cufr.png);
        background-position-x: right;
        background-position-y: bottom;
        background-repeat: no-repeat;
        padding: 60px 30px;
        background-size: 127%;
    }

    .stats__grid, 
    .values__grid, 
    .benefits__grid {
        gap: 24px;
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__item {
        backdrop-filter: blur(13px);
        -webkit-backdrop-filter: blur(13px);
        padding: 20px 15px 40px;
    }
    
    .stats__number {
        font-size: 25px;
    }

    .stats__description {
        font-size: 13px;
        line-height: 1.2;
        color: #272727;
        max-width: 280px;
    }

    .stats__description strong {
        display: block;
        margin-top: 8px;
        font-size: 13px;
        color: #000;
    }
    
    .values__icon,
    .benefits__icon {

    }
    
    .corporate-life__gallery {
        grid-template-columns: 1fr;
    }
}
