

/* Start:/bitrix/templates/verfmos/components/bitrix/news.list/about_blocks/style.css?17846182577607*/
.hero-about {
    position: relative;
    width: 100%;
    height: 1200px;
    overflow: hidden;
    background: url('/bitrix/templates/verfmos/images/about-company.png') no-repeat center;
    background-size: cover;
    z-index: 50;
}
.about-content {background: #fff;
    position: relative;
    z-index: 80;}

.hero-about:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background: linear-gradient(0deg, rgba(42, 67, 138, 0.1), rgba(42, 67, 138, 0.1)), 
                linear-gradient(0deg, rgba(42, 67, 138, 0.3), rgba(42, 67, 138, 0.3));
}

.hero-about h1 {
    position: fixed;
    z-index: 50;
    color: #fff;
    font-size: 150px;
    line-height: 1;
    top: 250px;
    text-align: center;
    width: 100%;
}

/* === ОСНОВНАЯ СЕТКА 4×2 === */
.about-content .about-grid-wrapper {
    width: 95%;
    margin: 0 auto;
    padding: 120px 0px;
    min-height: 1050px;
}

.about-content .about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 360px);
    gap: 20px;
    grid-template-areas:
        "history mission partners equipment"
        "history awards leadership equipment";
}

.about-content .about-grid__item--1 { grid-area: history; }      /* История Верфи */
.about-content .about-grid__item--2 { grid-area: mission; }      /* Миссия и ценности */
.about-content .about-grid__item--3 { grid-area: awards; }       /* Достижения */
.about-content .about-grid__item--4 { grid-area: partners; }     /* Партнёры */
.about-content .about-grid__item--5 { grid-area: leadership; }   /* Руководство */
.about-content .about-grid__item--6 { grid-area: equipment; }    /* Оборудование */

.about-content .about-grid__item {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Высоты: 1-й и 6-й — на 2 строки (736px), остальные — по 1 строке (358px) */
.about-content .about-grid__item:nth-of-type(1),   /* История */
.about-content .about-grid__item:nth-of-type(6)    /* Оборудование */ {
    height: 736px;
}

.about-content .about-grid__item:nth-of-type(2),   /* Миссия */
.about-content .about-grid__item:nth-of-type(3),   /* Достижения */
.about-content .about-grid__item:nth-of-type(4),   /* Партнёры */
.about-content .about-grid__item:nth-of-type(5)    /* Руководство */ {
    height: 358px;
}

.about-content .about-grid__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-content .about-grid__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.about-content .about-grid__item .about-grid__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(42 67 138 / 30%);
    transition: all 0.5s ease;
}

.about-content .about-grid__item:hover .about-grid__overlay {
    background: rgb(42 67 138 / 50%);
}

.about-content .about-grid__content {
    position: absolute;
    width: 100%;
    z-index: 2;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-content .about-grid__title {padding: 3px 5px;
    font-size: 45px;
    line-height: 1.06;
    text-transform: uppercase;
    text-align: center;
    color: #fff; font-family: 'MoscowSans-Medium';}

.about-content .about-grid__item:hover .about-grid__image img {
    transform: scale(1.05);
}

@media (prefers-color-scheme: dark) {
.about-content {background: #2A438A;}
}

/* === СКРОЛЛ-АНИМАЦИЯ (только десктоп ≥960px) === */
@media (min-width: 960px) {
    /* Начальные отступы — элементы «провисают» вниз */
    .about-content .about-grid__item:nth-of-type(2),   /* Миссия */
    .about-content .about-grid__item:nth-of-type(3)    /* Партнёры */ {
        margin-top: 220px;
        will-change: margin-top;
    }

    .about-content .about-grid__item:nth-of-type(6)    /* Руководство */ {
        margin-top: 220px;
        will-change: margin-top;
    }

    /* Финальные значения при завершении скролла */
    .about-content .about-grid-wrapper.is-completed .about-grid__item:nth-of-type(2),
    .about-content .about-grid-wrapper.is-completed .about-grid__item:nth-of-type(3) {
        margin-top: 0 !important;
    }

    .about-content .about-grid-wrapper.is-completed .about-grid__item:nth-of-type(6) {
        margin-top: 0px !important;
    }
}


@media (max-width: 1850px) {
    .about-content .about-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, minmax(200px, 1fr));
        gap: 20px;
        grid-template-areas:
            "history mission partners"
            "history awards  leadership"
            "equipment equipment equipment";
    }

    .about-content .about-grid__item {
        height: 100% !important;
    }

    /* Оборудование — третья строка на всю ширину, минимум 450px */
    .about-content .about-grid__item:nth-child(6) {
        min-height: 450px !important;
    }

    /* Отключаем скролл-эффект */
    .about-content .about-grid__item:nth-of-type(2),
    .about-content .about-grid__item:nth-of-type(3),
    .about-content .about-grid__item:nth-of-type(6) {
        margin-top: 0 !important;
    }

    .about-content .about-grid-wrapper.is-completed .about-grid__item:nth-of-type(6) {
        margin-top: 0px !important;
    }
}


@media (max-width: 1250px) {
    .about-content .about-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, minmax(200px, 1fr));
        gap: 20px;
        grid-template-areas:
            "history mission"
            "history awards"
            "partners leadership"
            "equipment equipment";
    }

    .about-content .about-grid__item {
        height: 100% !important;
    }

    /* Отключаем скролл-эффект */
    .about-content .about-grid__item:nth-of-type(2),
    .about-content .about-grid__item:nth-of-type(3),
    .about-content .about-grid__item:nth-of-type(6) {
        margin-top: 0 !important;
    }

    .about-content .about-grid-wrapper.is-completed .about-grid__item:nth-of-type(6) {
        margin-top: 0px !important;
    }
}



@media (max-width: 960px) {
    .hero-about {
        height: 620px;
    }

    .hero-about h1 {
        font-size: 64px;
        top: 400px;
    }

    .hero-about:after {
        background: linear-gradient(119.59deg, rgba(42, 67, 138, 0.5) 0%, rgba(42, 67, 138, 0) 63.42%);
    }

    .about-content .about-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, minmax(200px, 1fr));
        grid-template-areas:
            "history mission"
            "history awards"
            "partners leadership"
            "equipment equipment";
    }
}


@media (max-width: 830px) {
.hero-about {height: 500px;}
.hero-about h1 {font-size: 48px; top: 380px;}
.about-content .about-grid {display: block;}
.about-content .about-grid__item { height: 310px !important; margin-bottom: 20px;}
.about-content .about-grid__item:nth-child(6) {min-height: 310px !important;}
}


@media (max-width: 480px) {
    .about-content .about-grid__title {
        font-size: 32px;
    }
	.about-content .about-grid-wrapper {padding: 60px 0px;}
}
/* End */
/* /bitrix/templates/verfmos/components/bitrix/news.list/about_blocks/style.css?17846182577607 */
