
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
}
content {
    flex: 1 1 auto;
}

.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}
.big-container {
    max-width: 1335px;
    margin: 0 auto;
}
.hidden {
    display: none;
}
.rotated {
    transform: rotate(180deg);
}
.tr {
    transition: .3s;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    height: 100px;
    position: relative;
}
.header__inner::after {
    content: "";
    left: 0;
    right: 0;
    height: 1px;
    position: absolute;
    background-color: #fff;
    top: 145px;
    margin-left: 0px;
}

/* Правки */


@media (max-width: 767px) {
    .beforeafter__sliders{
        flex-direction: column;
        gap: 32px;
    }
    .beforeafter__slider {
        width: 280px !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }
    .beforeafter__image{
        width: 280px !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }
    .description__text{
        font-size: 24px !important;
    }
}


.header__main-inner{
    background: none;
    box-shadow: none;
    height: 100px;
}
.header__offer {
    background: #2A4575;
    background-blend-mode: darken;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.header__main-offer {
    height: 100vh;
    background-image: url("../img/background.webp") !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

.offer__inner {
    position: relative;
    text-align: center;
    height: 100vh;
}

.offer__title-text {
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 96px;
    line-height: 109px;
    color: #FFFFFF;
}
.offer__subtitle-text {
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 54px;
    color: #FFFFFF;
}
.offer__motto-text {
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 54px;
    text-transform: uppercase;
    color: #FFFFFF;
}
.offer__motto {
    position: absolute;
    bottom: 225px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 100%;
    height: 100px;
}

.header__links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.header__item a:hover {
    color: #5392ff !important;
}
  
.header__nav:first-child {
    align-self: flex-end;
}

.header__nav:last-child {
    align-self: flex-end;
}
  
.header__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header__item:last-child {
    margin: 0;
}
  
.header__item {
    margin-right: 1rem;
}
  
.header__link {
    text-decoration: none;
    color: #fff;
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
}

.header__contact {
    text-decoration: none;
    color: #fff;
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    text-transform: uppercase;
}
.header__contact--num {
    padding-right: 16px;
}

.header__link-red {
    color: #EF4D4D !important;
}

.header__button-link {
    display: inline-block;
    padding: 12px 6px;
    background: #011846;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    border: none;
}

.header__button-link:hover {
    background-color: #1c314f;
}

.header__item--after {
    display: inline-block;
    position: relative;
}
  
.header__item--after::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    height: 40px;
    border-left: 2px solid #fff;
}

footer {
    width: 100%;
    background-color: #7B8FB4;
}

.footer__inner {
    position: relative;
    padding: 30px 94px 23px 94px;
    height: 350px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1.5fr;
    grid-template-rows: 1fr 1fr 0.1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-areas: 
    "footer__about footer__info footer__services footer__contacts"
    "footer__about footer__info footer__services footer__contacts"
    "footer__social . . ."; 
}

.footer__menu-title {
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 32px;
    color: #000;
    text-decoration: none;
    position: relative;
}

.footer__menu-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 94px;
    height: 2px;
    background-color: #000;
}

.footer__menu-links {
    padding: 0;
    list-style: none;
}

.footer__menu-item {
    padding-bottom: 4px;
}

.footer__menu-link {
    font-family: 'Microsoft Sans Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000;
    text-decoration: none;
}
.footer__menu-link:hover {
    color: #204a92;
}
    
.footer__about { grid-area: footer__about; }
.footer__info { grid-area: footer__info; }
.footer__services { grid-area: footer__services; }
.footer__legal { grid-area: footer__legal; }
.footer__contacts { grid-area: footer__contacts; }
.footer__social { grid-area: footer__social; }

.footer__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    position: absolute;
    bottom: 65px;
    left: 93px;
}
.footer__social-links-item {
    display: inline-block;
    margin-right: 20px; 
}
.footer__social-links--phone {
    margin-left: 20px;
    margin-top: 7px;
}
.footer__social-link img{
    height: 50px;
}
.footer__logo {
    display: none;
}

.more-button {
    background: rgba(1, 24, 70, 0.8);
    border: none;
    border-radius: 50px;
    cursor: pointer;
}
.more-button img {
    width: 24px;
    height: 26px;
    padding: 9px 17px 7px 17px;
}
.footer__more-button {
    display: none;
}