body{
    margin: 0;
    max-width: 100vw;
    font-family: "Montserrat";
    padding-top: 64px;
}
a{
    color: black;
    text-decoration: none;
}
h2{
    font-size: 40px;
    font-weight: 500;
}
section{
    margin: 30px 0;
}
main {
     min-height: calc(100vh - 250px);
 }
section.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

section.animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Разные типы анимаций */
[data-animation="fadeInUp"] {
    transform: translateY(30px);
}

[data-animation="fadeInLeft"] {
    transform: translateX(-30px);
}

[data-animation="fadeInRight"] {
    transform: translateX(30px);
}

[data-animation="zoomIn"] {
    transform: scale(0.9);
}

.animated[data-animation="zoomIn"] {
    transform: scale(1);
}
section.gray{
    background: #F0F1F5;
}
.white{
    color: white;
}
.title{
    font-size: 34px;
    font-weight: 500;
}
.text{
    font-size: 18px;
    font-weight: 300;
}
.blue{
    color: #28336E;
}
.button{
    padding: 12px 40px;
    color: white;
    background: #28336E;
    font-size: 16px;
    border-radius: 7px;
    display: inline-block;
    cursor: pointer;
    width: max-content;
}
.button.white{
    color: #28336E;
    background: white;
}
header, section, footer{
    width: 100%;
    padding: 0 calc(50% - 820px);
    box-sizing: border-box;
}
header{
    background: #28336E;
    height: 64px;
    padding-top: 13px;
    padding-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 9999;
    top: 0;
}
header .menu {
    display: flex;
    gap: 30px;
    width: 50%;
    justify-content: space-between;
}
header .menu a{
    color: white;
    font-size: 16px;
    font-weight: 300;
}
header .phone{
    color: white;
}
header .phone a{
    color: white;
    font-size: 16px;
    padding-left: 35px;
}
header .phone a:before{
    content: "";
    background: url("../img/phone_icon.svg");
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    border: 1px solid #fff;
    border-radius: 50%;
}
footer{
    background: #F0F1F5;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: start;
    gap: 50px;
}
.footer__row {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
footer .logo {
    max-height: 100%;
    height: auto;
    width: 120px;
}
footer .logo img{
    max-height: 100%;
    height: auto;
    width: 120px;
    max-width: 100%;
}
.footer__row__text {
    margin-top: 30px;
    font-size: 12px;
    font-weight: 600;
}
footer .menu {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-direction: column;
    margin-right: 180px;
}
footer .menu a{
    font-size: 16px;
    font-weight: 300;
}
footer .contacts__info__line__name {
    font-size: 14px;
    margin-bottom: 6px;
}
footer .contacts__info__line__text {
    font-size: 16px;
    font-weight: 600;
}
footer .contacts__info {
    gap: 20px;
}
.footer__row__button {
    background: #F0F1F5;
    color: #2D3134;
    border: 2px solid #2D3134;
    padding: 12px;
}
footer .contacts__info__line__socials a {
    width: 35px;
    height: 35px;
}
.logo{
    max-height: 100%;
    height: 100%;
}
.logo img{
    max-width: 400px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
}
.banner-section{
    display: flex;
    gap: 40px;
}
.banner-section__main{
    position: relative;
    flex: 3 1 66%;
    border-radius: 15px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 110%;
    box-sizing: border-box;
    padding: 30px;
    overflow: hidden;
    transition: background-size 1s ease;
}

.banner-section__main:hover {
    background-size: 120%;
}

.banner-section__main::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    height: 50%;
    background: linear-gradient(0deg, #28336E, rgba(255,255,255,0));
    border-radius: 20px;
    z-index: 1;
}
.banner-section__main > * {
    position: relative;
    z-index: 2;
}
.banner-section__main__info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 60%;
}
.banner-section__main__info__title{
    padding-bottom: 30px;
}

.banner-section__small{
    flex: 1 1 33%;
    position: relative;
}
.banner-section__small img{
    max-width: 100%;
    border-radius: 15px;
}
.banner-section__small .text{
    margin-top: 20px;
    margin-bottom: 5px;
}
.banner-section__small .text{
    margin-top: 20px;
    margin-bottom: 5px;
}
.banner-section__small__info__img{
    max-width: 100%;
    border-radius: 15px;
    height: 100%;
    overflow: hidden;
}
.banner-section__small__info__img img{
    transition: transform 1s ease;
}
.banner-section__small__info__img img:hover {
    transform: scale(1.1);
    position: relative;
}
.banner-section__small__info__button{
    bottom: 0;
    position: absolute;
    left: calc(50% - 115px);
}
.banner-section__small__info__title{
    font-weight: 600;
}

.apartments {
    display: flex;
    gap: 30px;
}
.apartments__card {
    max-width: 33%;
    height: 600px;
    border: 1px solid #DEDEDE;
    border-radius: 20px;
    overflow: hidden;
}

.apartments__card__img {
    max-width: 100%;
    height: 60%;
    overflow: hidden;
}
.apartments__card__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    transition: transform 1s ease;
}
.apartments__card__img img:hover {
    transform: scale(1.1);
    position: relative;
}

.apartments__card__img__info {
    padding: 10px 30px;
}

.apartments__card__img__info__title {
    margin-bottom: 10px;
}
section#project {
     padding-top: 1px;
 }
.projects {
    display: flex;
    gap: 50px;
    padding-bottom: 60px;
}
.projects__card {
    height: 550px;
    width: 50%;
    border-radius: 15px;
    border: 1px solid  #DEDEDE;
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 110%;
    box-sizing: border-box;
    padding: 30px;
    overflow: hidden;
    transition: background-size 1s ease;
}
.projects__card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 50%;
    background: linear-gradient(0deg, #28336E, rgba(255,255,255,0));
    border-radius: 20px;
    z-index: 1;
}
.projects__card:hover {
    background-size: 120%;
}
.projects__card > * {
    position: relative;
    z-index: 2;
}
.projects__card__info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: calc(100% - 60px);
}
.projects__card__info__title {
    padding-bottom: 10px;
}

.projects__card__info__text {
    padding-bottom: 10px;
}

a.projects__card__info__link {
    text-decoration: underline;
}
a.projects__card__info__link::after{
    content: "→";
    text-decoration: none;
    display: inline-block;
    padding-left: 10px;
    font-size: 26px;
}

.contacts {
    display: flex;
    gap: 40px;
}

.contacts iframe {
    flex: 3 1 66%;
    border-radius: 15px;
}

.contacts__info {
    flex: 1 1 33%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
}

.contacts__info__line__name {
    font-size: 22px;
    margin-bottom: 10px;
}

.contacts__info__line__text {
    font-size: 34px;
    font-weight: 600;
}

.contacts__info__line__socials {
    display: flex;
    gap: 30px;
}

.contacts__info__line__socials a {
    width: 50px;
    height: 50px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

a.telegram{
    background-image: url("../img/tg-logo.svg");
}
a.whatsapp{
    background-image: url("../img/wa-logo.svg");
}
a.vk{
    background-image: url("../img/vk-logo.svg");
}
.mobile{
    display: none;
}
@media (max-width: 1680px) {
    header, section, footer {
        padding: 0 calc(50% - 640px);
    }
    .projects__card{
        height: 400px;
    }
    .logo img{
        padding: 10px 0;
    }
}
@media (max-width: 1300px) {
    header, section, footer {
        padding: 0 40px;
    }
    .banner-section__main {
        background-size: cover;
    }
    .projects__card{
        background-size: cover;
    }
    .mobile{
        display: initial;
    }
    .desktop{
        display: none;
    }
    footer{
        padding-top: 40px;
        flex-wrap: wrap;
    }
}