.main {
    font-family: 'Roboto', sans-serif;
    position: relative;
}
#border {
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    position: absolute;
    top: 40px;
    left: 40px;
    border: 40px solid transparent;
    padding: 10px;
    border-image: url(../img/frame.png) 40;
    z-index: 2;
}
header {
    padding: 80px 80px 0;
    position: absolute;
    width: 100%;
    z-index: 4;
}
.header-row {
    padding-right: 10px;
    padding-left: 10px; 
    display: flex;
    justify-content: space-between;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-phone {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.header-phone:hover {
    color: #FFF; 
}
.header-instagram {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    margin-right: 30px;
    align-items: center;
}
.header-instagram:hover {
    color: #FFF; 
}
.header-instagram img {
    margin-right: 10px; 
}
button.menu {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
}
.header-logo {
    position: absolute;
    width: 100px;
    bottom: 0;
    left: calc(50% - 50px);
}
#hero {
    background: url(../img/hero-bg.jpg) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 160vh;
    padding: 0 60px;
    -ms-overflow-x: hidden;
        overflow-x: hidden;
}
#banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.banner-inner {
    text-align: center;
}
.banner-inner h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}
.banner-text {
    font-size: 20px;
    color: #FFF;
    margin-bottom: 30px;
}
.main-button {
    background: #D9B780;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    padding: 15px 38px;
    text-align: center;
    text-decoration: none;
}
.main-button:hover {
    text-decoration: none;
    color: #fff;
}
#hero-line {
    position: absolute;
    width: 18px;
    bottom: 30px;
    left: calc(50% - 9px);
}
#menu {
    background: url(../img/menu-bg.jpg) bottom right no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: absolute;
    top: 0;
    right: -380px;
    width: 380px; 
    opacity: 0; 
    -webkit-transition: all ease 0.3s;
       -moz-transition: all ease 0.3s;
        -ms-transition: all ease 0.3s;
         -o-transition: all ease 0.3s;
            transition: all ease 0.3s;
    z-index: 4;
}
#menu.open {
    transform: translate3d(-380px, 0, 0);
    opacity: 1; 
}
#menu-border {
    border: 18px solid transparent;
    padding: 62px 72px 60px 80px;
    border-image: url(../img/menu-frame.png) 40;
    position: relative;
    height: 624px;
}
.menu-open-outer {
    text-align: end;
    margin-bottom: 46px;
}
.menu-open {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
}
.menu-list {
    display: flex;
    flex-direction: column;
}
.menu-item {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
}
#about {
    padding-bottom: 80px;
}
.about-row-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 50px;
}
.about-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0 40px;
}
.about-text {
    font-size: 18px;
    color: #afaead;
    text-align: center;
    margin-bottom: 50px;
}
.about-row-2 {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.about-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.about-block img {
    margin-bottom: 20px; 
}
.about-description {
    font-weight: 700;
    color: #fff;
    margin: 0;
}
#offer {
    background: url(../img/offer-bg.jpg) bottom center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 60px;
}
.offer-row-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}
.offer-title {
    font-size: 36px;
    color: #373536;
    font-weight: 700;
    margin: 0 40px;
}
.offer-outer {
    position: relative;
}
.offer-image {
    width: 100%;
}
.offer-image-2 {
    display: none;
}
.offer-inner {
    position: absolute;
    top: 50px;
    left: 55px;
    width: calc(100% - 110px);
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 50px;
}
.offer-inner-title {
    font-size: 20px;
    font-weight: 700;
    color: #373536;
    text-align: center;
}
.offer-inner-text {
    font-size: 14px;
    color: #5f5d5e;
    text-align: center;
}
.offer-inner .main-button {
    width: 100%; 
}
.offer-inner-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
}
.offer-inner-block-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.offer-slide {
    background: url(../img/offer-slide.png) center center no-repeat;
    -webkit-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    -webkit-transition: all ease 0.3s;
       -moz-transition: all ease 0.3s;
        -ms-transition: all ease 0.3s;
         -o-transition: all ease 0.3s;
            transition: all ease 0.3s;
}
.offer-outer:hover .offer-inner-block-text, .offer-outer:hover .offer-inner-block-image, .offer-outer:hover .offer-image {
    display: none;
}
.offer-outer:hover .offer-image-2 {
    display: block;
}
.offer-outer:hover .offer-slide {
    height: 100%;
}
.offer-slide-inner {
    margin-top: 50px;
    margin-left: 55px;
    width: calc(100% - 110px);
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 50px;
}
.offer-row-3 {
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#progress {
    background: #F6F5F1;
    padding-bottom: 20px; 
}
.progress-main {
    position: relative;
    z-index: 3;
}
.swiper-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.swiper-line {
    height: 2px !important;
    color: #acaca9;
    width: 160px;
    opacity: 1;
    margin: 0;
}
.swiper-pagination {
    position: relative;
    width: auto !important;
    margin: 0 50px;
    bottom: 0 !important;
}
.swiper-line {
    height: 2px !important;
    color: #acaca9;
    width: 160px;
    opacity: 1;
    margin: 0;
}
.swiper-pagination-bullet {
    background: url(../img/slider.png) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: 1;
    width: 14px;
    height: 14px;
}
.swiper-pagination-bullet-active {
    background: url(../img/slider-active.png) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 18px;
}
#examples {
    background: url(../img/examples-bg.jpg) bottom center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 50px; 
    padding-bottom: 50px; 
}
.examples-wrapper {
    display: flex;
}
.examples-left {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: baseline;
    padding-right: 30px;
    max-width: 35%;
}
.examples-title {
    font-size: 36px;
    font-weight: 700;
    color: #373536;
    margin-bottom: 30px;
}
.examples-text {
    font-size: 18px;
    color: #666666;
    margin-bottom: 30px;
}
.examples-right .col-3 {
    padding-top: calc(var(--bs-gutter-x) * .5);
    padding-bottom: calc(var(--bs-gutter-x) * .5);
}
.examples-image {
    width: 100%;
}
#projects {
    background: #F6F5F1;
    padding-top: 80px;
    padding-bottom: 80px;
}
#projects .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f5f1;
    border: 1px solid #d3d6d9;
}
video.video {
    max-width: 100%;
    height: 300px;
}
#form {
    background: url(../img/form-bg.jpg) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 50px; 
    padding-bottom: 50px; 
}
.form-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.form-text {
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}
.form-main {
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-name, .form-tel {
    border: 1px solid #3f3f3f;
    background: #4A4A4A;
    color: #fff;
    height: 48px;
    width: 220px;
    padding-left: 10px;
    margin-right: 50px;
}
.form-name::placeholder, .form-tel::placeholder { 
  color: #fff;
  opacity: 1;
}
.form-name:-ms-input-placeholder, .form-tel:-ms-input-placeholder { 
  color: #fff;
}
.form-name::-ms-input-placeholder, .form-tel::-ms-input-placeholder {
  color: #fff;
}
.submit {
    height: 48px;
    width: 220px;
}
#instagram {
    padding-top: 80px;
    padding-bottom: 80px;
}
.instagram-title {
    font-size: 36px;
    font-weight: 700;
    color: #373536;
    text-align: center;
    margin-bottom: 30px;
}
.instagram-image {
    border: 1px solid #d3d6d9;
    width: 100%;
}
.instagram-text {
    font-size: 20px;
    color: #373536;
    margin-top: 30px;
    text-align: center;
}
.instagram-text a {
    color: #D9B780;
}
.instagram-text a img {
    margin-right: 5px; 
}
footer {
    background: url(../img/footer-bg.jpg) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}
.footer-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-logo {
    width: 100px;
}
.footer-text {
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 30px;
    color: #fff;
}
.footer-phone {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 40px;
}
.footer-phone:hover {
    color: #FFF; 
}
.footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.footer-button {
    width: 180px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-instagram {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    width: 180px;
    height: 50px;
    border: 2px solid #D9B780;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
}
.footer-instagram:hover {
    color: #FFF; 
}
.footer-instagram img {
    margin-right: 10px; 
}
#copy {
    color: #fff;
    margin: 0;
}
.footer-line {
    width: 960px;
    position: absolute;
    top: 40px;
    left: calc(50% - 480px);
}
#brand {
    color: #fff;
    margin: 0;
    position: absolute;
    bottom: 40px;
    left: calc(50% - 75px);
    z-index: 3;
}
#brand a {
    color: #fff;
    text-decoration: none; 
}
#brand a:hover {
    color: #fff;
    text-decoration: underline; 
}
.hero-wrapper, .offer-wrapper, .progress-wrapper, .examples-wrapper, .projects-wrapper, .form-wrapper, .instagram-wrapper, .footer-wrapper {
    position: relative;
    z-index: 3;
}
#phone-call {
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    border-radius :50%;
    background-color: #15dc69;
    position: fixed;
    top: 80vh;
    left: 90vw;
    -webkit-transition: height .25s ease, width .25s ease;
    transition: height .25s ease, width .25s ease;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#phone-call:hover{
    height: 80px;
    width: 80px;
}

#phone-call:before,
#phone-call:after {
    content: '';
    display: block;
    position: absolute;
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0;
    border-radius: 50%;
    border: 1px solid #15dc69;
    -webkit-animation: ripple 1.5s linear infinite;
    animation: ripple 1.5s linear infinite;
}
#phone-call:after {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

#phone-call:hover:before,
#phone-call:hover:after {
    -webkit-animation: none;
    animation: none;
}

@-webkit-keyframes ripple{
    0% {-webkit-transform:scale(1); }
    75% {-webkit-transform:scale(1.75); opacity:1;}
    100% {-webkit-transform:scale(2); opacity:0;}
}

@keyframes ripple{
    0% {transform:scale(1); }
    75% {transform:scale(1.75); opacity:1;}
    100% {transform:scale(2); opacity:0;}
}
#phone-call img {
    width: 30px; 
}
.modal-dialog {
    margin-top: 14vh;
}
.modal-content {
    border: none;
    border-radius: 0;
    background: url(../img/modal-bg.jpg) center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    cursor: pointer;
}
.modal-body {
    text-align: center;
    padding: 50px 30px;
}
.form-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-modal .form-name, .form-modal .form-tel {
    margin-right: 0;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    #border {
        width: calc(100% - 40px);
        height: calc(100% - 50px);
        top: 25px;
        left: 20px;
        padding: 0;
        border-image: url(../img/frame-mobile.png) 40;
    }
    header {
        padding: 45px 40px 0;
    }
    .header-row {
        display: flex;
        justify-content: end;
    }
    .header-phone {
        position: absolute;
        bottom: -50px;
        left: calc(50% - 60px);
        font-size: 16px;
    }
    .header-logo {
        width: 80px;
        bottom: auto;
        top: 20px;
        left: calc(50% - 40px);
    }
    #hero {
        padding: 0 20px;
    }
    .banner-inner h1 {
        font-size: 32px;
    }
    .banner-text {
        font-size: 16px;
    }
    .main-button {
        width: 240px;
        height: 50px;
    }
    #hero .footer-instagram {
        height: 50px;
        width: 240px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
    #hero-line {
        bottom: 50px;
    }
    #menu {
        right: -320px;
        width: 320px; 
    }
    #menu.open {
        transform: translate3d(-320px, 0, 0);
    }
    #menu-border {
        padding: 27px 32px 30px 40px;
        height: 669px;
    }
    .menu-item {
        margin-bottom: 40px;
    }
    .about-row-1 {
        margin: 40px 0 30px;
        flex-direction: column;
    }
    .about-title {
        font-size: 24px;
        margin: 0 0 15px;
    }
    .about-text {
        font-size: 14px;
    }
    .about-row-2 {
        flex-direction: column;
    }
    .about-block {
        margin-bottom: 20px;
    }
    #offer {
        padding: 50px 30px;
    }
    .offer-title {
        font-size: 24px;
        margin: 0 0 15px;
    }
    .offer-row-1 {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .offer-outer {
        margin-bottom: 30px;
    }
    .offer-inner {
        padding: 40px 0 40px;
    }
    .offer-inner-title {
        font-size: 18px;
    }
    .offer-inner-text {
        font-size: 12px;
    }
    .offer-inner-block {
        bottom: -10px;
    }
    .offer-inner-block-text {
        font-size: 18px;
    }
    .offer-row-3 {
        padding-top: 20px;
    }
    #progress {
        padding-bottom: 30px;
        padding-top: 20px;
    }
    .progress-main {
        padding: 0 20px;
    }
    .mainSection {
        height: 200px;
    }
    .swiper-line {
        width: 67px;
    }
    .swiper-pagination {
        margin: 0 20px;
    }
    .examples-wrapper {
        flex-direction: column;
        padding: 0 30px;
    }
    .examples-left {
        align-items: center;
        padding-right: 0;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .examples-title {
        font-size: 24px;
        text-align: center;
    }
    .examples-text {
        font-size: 14px;
        text-align: center;
    }
    .examples-right .col-3 {
        padding-top: calc(var(--bs-gutter-x) * .25);
        padding-bottom: calc(var(--bs-gutter-x) * .25);
        padding-left: calc(var(--bs-gutter-x) * .25);
        padding-right: calc(var(--bs-gutter-x) * .25);
    }
    .projects-wrapper {
        padding: 0 25px;
    }
    .form-wrapper {
        padding: 0 20px;
    }
    #form {
        background: url(../img/form-bg-mobile.jpg) center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    .form-title {
        font-size: 24px;
    }
    .form-text {
        font-size: 14px;
    }
    form {
        flex-direction: column;
    }
    .form-name, .form-tel {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .submit {
        width: 220px;
    }
    #instagram {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .instagram-wrapper {
        padding: 0 25px;
    }
    .instagram-title {
        font-size: 24px;
    }
    .instagram-image {
        margin-bottom: 20px;
    }
    .instagram-text {
        font-size: 14px;
    }
    .footer-text {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .footer-phone {
        font-size: 32px;
    }
    .footer-row {
        flex-direction: column;
    }
    .footer-instagram {
        width: 240px;
        margin-left: 0;
        margin-top: 20px;
    }
    #copy {
        font-size: 12px;
    }
    .footer-line {
        width: 260px;
        left: calc(50% - 130px);
    }
    #brand {
        bottom: 21px;
        left: calc(50% - 56px);
        font-size: 12px;
    }
    .modal-dialog {
        width: calc(100% - 60px);
        margin: 20vh auto;
    }
}