

/* Start:/local/templates/serptop/assets/styles/css/facts.css?17754851338670*/

.facts {
    margin-bottom: 4rem /* 64px */;
}

.facts-long {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-column: span 2 / span 2;
}

.facts-long-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    margin-left: -1rem /* -16px */;
    margin-right: -1rem /* -16px */;
    gap: 32px
}

.facts-long-item {
    text-align: center;
    max-width:220px; 
    min-width: 100px; 
    margin-left:15px; 
    margin-right:15px;
}

.facts-long-item__image {
    margin-bottom: 1rem /* 16px */;
    height: 56px;
}

.facts-long-item__image img {
    display: block;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.facts-long-item__text {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem /* 16px */;
    color: var(--blue-750);
    justify-content: center;
    align-items: end;
}

.facts-long-item__title {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}

.facts-long-item__subtitle {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.facts-long-item__desc {
    font-weight: 700;
    line-height: 1.1;
}

.facts-square-1 {
    max-width: 24rem /* 384px */;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.facts-square-1__content {
    position: absolute;
    inset: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem /* 40px */;
    color: white;
    /* pointer-events: none; */
}

.facts-square-1__text {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}

.facts-square-1__desc {
    font-weight: 700;
    text-align: center;
    line-height: 1;
    max-width: 257px;
}

.facts-square {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.facts-square__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vw;
    background-size: cover;
    background-image: url(/images/pages/about/facts/bg.png);
    transition: transform 0.5s ease;
    max-width: 1536px;
    max-height: 1536px;
}

.facts-square__bg_1 {
    background-color: #00569C;
    background-blend-mode: darken;
}

.facts-square__bg_mobile-slider,
.facts-square__bg_1-mobile {
    width: 300vw;
    height: 300vw;
}

.facts-square__bg_1-mobile {
    top: -65%;
    left: -50%;
}

.facts-square__bg_mobile-slider {
    top: -203%;
    left: -50%;
    background-color: #ECEDF3;
    background-blend-mode: screen;
}

.facts-square__bg_mobile-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F2F7FA;
    mix-blend-mode: multiply;
}

.facts-square__bg_2,
.facts-square__bg_3,
.facts-square__bg_4 {
    background-color: #ECEDF3;
    background-blend-mode: screen;
}

.facts-square__bg_2::before,
.facts-square__bg_3::before,
.facts-square__bg_4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F2F7FA;
    mix-blend-mode: multiply;
}

.facts-square:hover .facts-square__bg {
    transform: scale(1.05);
}

.facts-mobile-slider-pagination {
    position: absolute;
    bottom: 0;
    background: white;
    width: calc(100% + 64px);
    left: -32px;
    margin-top: 0;
    padding-top: 16px;
}

.facts-mobile-slider__slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 52px;
    padding-bottom: 52px;
}

.facts-mobile-slider__image {
    height: 53px;
    width: 88px;
}

.facts-mobile-slider__image_big {
    width: 132px;
}

.facts-mobile-slider__image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.facts-mobile-slider__text {
    text-align: center;
    font-weight: 700;
    line-height: 1.1;
}

.facts-mobile-slider__text a {
    text-decoration: underline;
}

.facts-mobile-slider__text.stretch-link {
    text-decoration: underline;
}

/* sm */
@media (min-width: 640px) {
    /* Они связаны общей высотой */
    .facts-long-item__image,
    .facts-long-item__text {
        height: 64px;
    }
    
    .facts-long-item__title {
        font-size: 48px;
        line-height: 1;
    }

    .facts-long-item__subtitle {
        font-size: 32px;
        line-height: 1;
    }

    .facts-long-item__desc {
        font-size: 16px;
    }
}

/* md */
@media (min-width: 768px) {
    .facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem /* 16px */;
        margin-bottom: 0px;
    }

    .facts-long {
        padding-bottom: 2.5rem /* 40px */;
    }

    .facts-long-items {
        align-items: flex-start;
        flex-direction: row;
        gap: 0;
    }

    .facts-long-item {
        flex: 1;
    }

    .facts-long-item__image {
        margin-bottom: 1.5rem /* 24px */;
    }

    .facts-long-item__text {
        margin-bottom: 1.5rem /* 24px */;
        justify-content: start;
    }

    .facts-long-item__desc {
        text-align: left;
    }

    .facts-long-item__image img {
        margin: 0;
    }

    .facts-square-1__content {
        justify-content: start;
        align-items: start;
    }

    .facts-square-1__text {
        font-size: 48px;
        margin-bottom: 24px;
    }

    .facts-square-1__desc {
        font-size: 16px; 
        line-height: 1;
        text-align: left;
    }

    .facts-square__content {
        position: absolute;
        inset: 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2.5rem /* 40px */;
        /* pointer-events: none; */
    }

    .facts-square-item {
        position: relative;
        display: flex;
        gap: 20px;
        align-items: center;
        width: fit-content;
    }

    .facts-square-item__image {
        width: 96px;
        flex-shrink: 0;
    }

    .facts-square-item__image_big {
        width: 125px;
    }

    .facts-square-item__image img {
        object-position: center;
        height: 100%;
    }

    .facts-square-item__text {
        color: black;
        font-weight: 700;
        line-height: 1.1;
    }

    .facts-square-item__text a:hover {
        text-decoration: underline;
    }

    .facts-square-item__text.stretch-link:hover {
        text-decoration: underline;
    }

    .facts-square__bg_1 {
        top: -6%;
        left: -13%;
    }

    .facts-square__bg_2 {
        left: -117%;
        top: -6%;
    }

    .facts-square__bg_3 {
        left: -13%;
        top: -110%;
    }

    .facts-square__bg_4 {
        left: -117%;
        top: -110%;
    }
}

/* lg */
@media (min-width: 1024px) {
    .facts-long {
        grid-column: span 2 / span 2;
    }

    .facts-long-item {
        text-align: left;
    }

    .facts-long-item__image {
        height: 80px;
    }

    .facts-square-item__image_big {
        width: 145px;
    }
    
    .facts-long-item__text {
        height: 80px;
    }
}

/* xl */
@media (min-width: 1280px) {
    .facts-long {
        padding-bottom: 4rem /* 64px */;
    }

    .facts-long-item__title {
        font-size: 66px;
        line-height: 1;
    }

    .facts-long-item__subtitle {
        font-size: 42px;
        line-height: 1;
    }

    .facts-long-item__desc {
        font-size: 18px;
        line-height: 1.1;
    }

    .facts-square-1__content {
        padding-left: 3rem /* 48px */;
        padding-right: 3rem /* 48px */;
        padding-top: 2rem /* 32px */;
        padding-bottom: 4rem /* 64px */;
        gap: 37px;
    }

    .facts-square-1__text {
        font-size: 68px;
    }

    .facts-square-1__desc {
        font-size: 18px;
    }

    .facts-square__content {
        padding: 52px 25px;
    }

    .facts-square-item__image {
        width: 118px;
    }

    /* Исключение по просьбе заказчика */
    .facts-square-item__image_big {
        width: 165px;
    }

    .facts-square-item__text {
        font-size: 18px;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .facts-long {
        grid-column: span 2 / span 2;
        justify-content: space-between;
    }

    .facts-long-items {
        height: 100%;
        align-items: center;
    }

    .facts-square-1__content {
        justify-content: center;
    }

    .facts-square__bg_1 {
        left: -225%;
    }

    .facts-square__bg_2 {
        left: -13%;
        top: -110%;
    }

    .facts-square__bg_3 {
        left: -122%;
    }

    .facts-square__bg_4 {
        left: -225%;
    }
}
/* End */
/* /local/templates/serptop/assets/styles/css/facts.css?17754851338670 */
