:root {
    --fon: #F8FCFF;
    --nabornyy: #1D6FB6;
}

body {
    font-family: "Montserrat", "Arial", sans-serif;
    line-height: calc(20px / 16px);
    color: #25282B;
    background: var(--white-text);
}

.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

/* ============================= */

.header {
    line-height: 150%;
    color: var(--nabornyy);
}

.container__iner {
    min-height: 108px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-content: center;
    align-items: center;
}

.header__logo {
    max-width: 54px;
}


.nav__list {
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
}

.social {
    display: flex;
    gap: 10px 15px;
    flex-wrap: wrap;
    justify-content: end;
}



/* ==================== */


.hero {
    color: var(--fon);
    padding: 120px 0;
    position: relative;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 52px;
}

.hero__list {
    font-size: 24px;
    line-height: 150%;
    color: var(--fon);
    margin-bottom: 40px;
}

.hero__list-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    gap: 18px;
    transition: all .5s;
}

.hero__list-item:hover {
    color: var(--nabornyy);
}

.hero__list-item:hover path {
    fill: var(--nabornyy);
    transition: all .5s;
}

.hero__list-item:last-child {
    margin-bottom: 0px;
}


.button {
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 500;
    font-size: 16px;
    line-height: calc(20px / 16px);
    color: #1d6fb6;

    width: 100%;
    max-width: 288px;
    height: 56px;
    background: #D0DCE7;
    border-radius: 100px;

}

.button:hover {
    transition: all .5s;
    color: var(--fon);
    background: #83add3;
}


.hero__video {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
}

.hero__video video {

    width: 100%;
    height: 100%;
    object-fit: cover;

}

.hero__video::before {
    content: '';
    display: block;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #102E49;
    opacity: .8;
}

/* =========================== */
.main__general {
    padding: 120px 0;

}

.main__wrapper {
    display: flex;
    gap: 30px;
    text-align: start;
    justify-content: space-between;
}

.main__body {
    width: 100%;
    max-width: 792px;
}

.main__sidebar {
    position: sticky;
    top: 5vh;
}

.sidebar {
    border: 2px solid #d0dce7;
    padding: 30px;
    max-width: 284px;
    width: 100%;
    max-height: 70vh;
}


.sidebar__list-item {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;

    margin-bottom: 20px;
}

.sidebar__list-item:last-child {
    margin-bottom: 0;
}


/* ++++++++++++++ */

.galary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    grid-auto-flow: dense;
    font-weight: 500;
    line-height: 20px;
}

.gallary__img {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: 100%;
}

.gallary__img img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

.gallary__img-large--left {
    grid-column: 1/ 3;
    grid-row: span 2;
}

.gallary__img-large--right {
    grid-column: -1/ -3;
    grid-row: span 2;
}

.gallary__hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background: #1d6fb6b3;
    color: var(--fon);

    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;

    transform: translateY(100%);
    transition: all .5s;
    opacity: 0;
}

.gallary__img:hover .gallary__hint {
    transform: translateY(0);
    opacity: 1;
}

.gallary__img-large--left .gallary__hint,
.gallary__img-large--right .gallary__hint {
    font-size: 24px;
    line-height: 29px;
}

/* ========================== */
.products {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 120px;
}

.products__item-img {
    position: relative;
    padding-bottom: 62%;
}

.products__item-img img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.products__item-badge {
    position: absolute;
    left: 0;
    top: 12.5%;

    border-radius: 0 100px 100px 0;
    padding: 18px 30px;
    min-width: 34%;
    height: 56px;
    background: var(--fon);

    text-align: center;
    color: #1d6fb6;
    font-weight: 500;
    line-height: 20px;

    animation: badge-action 2s infinite alternate;
}

@keyframes badge-action {
    0% {
        min-width: 34%;
    }

    50% {
        min-width: 34%;
    }

    100% {
        min-width: 37.3%;
    }
}

.products__item-body {
    border: 1px solid #D0DCE7;
    border-top: none;
    padding: 30px 15px;
}

.products__item-button {
    margin: 0 auto;
}



/* ================== */


.footer__inner {
    background: #788088;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 15px;

}

.footer__inner svg {
margin-right: 10px;
}

.footer__inner-text {
    color: var(--fon);
}