@font-face {
    font-family: Calibri;
    src: url("fonts/Calibri-bold.ttf");
    font-display: swap;
    font-weight: 700;
}
@font-face {
    font-family: Calibri;
    src: url("fonts/Calibri-reg.ttf");
    font-display: swap;
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    font-family: Calibri, sans-serif;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    box-sizing: border-box;
    color: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F0F0F0;
}
body.active {
    overflow: hidden;
}
section {
    overflow: hidden; 
}

a, button, input, textarea {
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    text-transform: uppercase;
}

h1, h2 {
    font-size: 80px;
}

h2 {
    color: #383B3E;
}

p, a {
    font-weight: 400;
    font-size: 16px;
}

.container {
    width: 1420px;
    margin: 0 auto;
}

.header {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.50);
    position: relative;
    z-index: 1;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    width: 151px;
    height: 81px;
}
.menu {
    display: flex;
    align-items: center;
    gap: 45px;
}
.menu-item { 
    font-weight: 700;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
    transition: all 0.3s;
}
.menu-item:hover {
    border-bottom: 1px solid #000;
}
.menu-opener {
    display: none;
    z-index: 6;
}

.menu-bg {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    background: rgba(0, 0, 0, 0.50);
}
.menu-bg.active {
    display: block;
}

.offer {
    position: relative;
    margin-top: -146px;
    z-index: 0;
}
.offer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 900px;
}
.offer-text-wrapper {
    width: 745px;
}

.offer-text {
    font-size: 25px;
    margin: 25px 0 44px 0;
}
.btn {
    padding: 20px;
    background: #282FD6;
    color: #fff;
    display: block;
    max-width: max-content;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.black-btn:hover {
    background: transparent;
    border: 1px solid #282FD6;
    color: #282FD6;
}

.ghost-btn {
    color: #282FD6;
    background: #fff;
    border: 1px solid #282FD6;
}
.ghost-btn:hover {
    background: #282FD6;
    border: 1px solid transparent;
    color: #fff;
}
.offer-img {
    width: 100%;
    height: 100%;
}

.offer-img-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    width: 45%;
}

.bg-color {
    width: 100%;
    position: absolute;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.about {
    border-top: 1px solid #000;

}
.about-2 {
    border: 1px solid #000;
    border-left: none;
    border-right: none;
}
.about .container, .about-2 .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.about-cell {
    height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.about-cell.cell-left {
    width: 635px;
    align-items: start;
}
.about-cell.cell-left .cell-text {
    width: 306px;
}

.about-cell.cell-center {
    width: 370px;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}
.cell-num {
    color: #383B3E;
    font-size: 50px;
    font-weight: 400;
}

.about-cell.cell-center  .cell-text {
    display: block;
    width: 170px;
}
.about-cell.cell-right {
    width: 410px;
}
.about-cell.cell-right .cell-text {
    width: 322px;
}

.about-2 .btn {
    margin-top: 50px;
}

.services {
    padding-top: 50px;
}
.services-title {
    margin-top: 110px;
    margin-bottom: 50px;
}
.swiper {
    width: 100%;
  }

.slide-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    background: #fff;
    height: 304px;
}
.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.slide-num {
    color: #383B3E;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
}
.slide-icon {
    width: 50px;
    height: 58px;
}
.slide-text {
    width: 256px;
}
.swiper-button-prev, .swiper-button-next {
    position: static;
    width: 80px;
    height: 80px;
}

.swiper-button-next {
    background: url(img/slider-next.svg);
}
.swiper-button-next:active {
    background: url(img/slider-next-active.svg);
}
.swiper-button-prev {
    background: url(img/slider-prev.svg);
}
.swiper-button-prev:active {
    background: url(img/slider-prev-active.svg);
}

.swiper-button-prev::after, .swiper-button-next::after {
    display: none;
}

.slider-buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: end;
    margin-top: 45px;
}

.consulting-title-section {
    padding: 110px 0 50px;
}
.consulting-1 {
    border-top: 1px solid #000;
}
.consulting-2 {
    border: 1px solid #000;
    border-left: none;
    border-right: none;
    margin-bottom: 80px;
}
.consulting-1 .container, .consulting-2 .container {
    display: flex;
    align-items: center;
}
.consulting-cell {
    width: 470px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.consulting-cell .cell-text {
    width: 390px;
}
.cell-inner {
    width: 370px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.cell-line {
    width: 2px;
    background: #282FD6;
}
.consulting-cell.cell-center {
    border: 1px solid #000;
    border-top: none;
    border-bottom: none;
}

.footer {
    background: #212325;
    padding: 60px 0;
}
.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 50px;
}
.logo-footer {
    max-width: max-content;
}
.logo-footer-img {
    width: 151px;
    height: 81px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-links a {
    color: #FFF;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    border-bottom: 1px solid #fff;
}

.copyright {
    color: #383B3E;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.consulting-mobile {
    display: none;
}
.logo-mobile {
    display: none;
}

@media(max-width: 1425px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    .about .container, .about-2 .container {
        justify-content: center;
    }
    .about-cell.cell-left {
        width: 330px;
    }
    .about-cell.cell-center {
        width: 205px;
    }
    .about-cell.cell-right {
        width: 352px;
    }

    .about-cell {
        padding: 0 15px;
    }
}
@media(max-width: 1350px) {
    .offer-text-wrapper {
        width: 50%;
    }
}
@media(max-width: 1190px) {
    .consulting-1, .consulting-2 {
        display: none;
    }
    .consulting-mobile {
        display: block;
    }
    .consulting-mobile {
        padding-bottom: 80px;
    }
    .consulting-mobile .container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .consulting-mobile .consulting-cell {
        width: 50%;
       border: 1px solid black;
       border-bottom: none;
    }

    .consulting-mobile .consulting-cell:nth-child(2n) {
        border-left: none;
    }
    .consulting-mobile .consulting-cell:nth-child(5), .consulting-mobile .consulting-cell:nth-child(6) {
        border-bottom: 1px solid #000;
    }
    .cell-inner {
        width: 90%;
    }
    .consulting-cell .cell-text {
        width: 100%;
    }
    .slide-text {
        width: 100%;
    }
    .offer {
        background-blend-mode: multiply;
        background: url(img/offer.webp);
        background-color: rgba(0, 0, 0, 0.3);
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;

    }
    .offer-text-wrapper {
        width: 100%;
    }
    .offer-title, .offer-text, .menu-item {
        color: #fff;
    }
    .offer-img-wrapper {
        display: none;
    }
    .logo {
        display: none;
    }
    .logo-mobile {
        display: block;
    }
    .menu-item:hover {
        border-bottom: 1px solid #fff;
    }
}

@media(max-width: 920px) {
    .about-cell.cell-left {
        width: 280px;
    }
    .about-cell.cell-right {
        width: 250px;
    }
    .about-cell.cell-right .cell-text {
        width: 100%;
    }
    .about-cell.cell-left .cell-text {
        width: 100%;
    }
    .slide-card {
        width: 100%;
    }
    .menu {
        display: none;
        right: -150;
        transition: all 0.5s;
    }
    .menu-item {
        color: #000;
        border: none;
    }
    .menu-item:hover {
        border: none;
    }
    .menu.active {
        display: flex;
        z-index: 5;
        flex-direction: column;
        gap: 20px;
        background: #fff;
        position: fixed;
        right: 0;
        padding: 30px;
        padding-top: 90px;
        width: 50%;
        top: 30px;
        animation: awd 0.5s ease;
    }
    @keyframes awd {
        from {
          right: -350px;
        }
      
        to {
          right: 0px;
        }
      }
    .menu-opener {
        display: block;
        width: 28px;
        height: 28px;
        background: url(img/menu-opener.svg);
        background-repeat: no-repeat;
        /* background-size: cover; */
        background-position: center;
    }
    .menu-opener.active {
        background: url(img/menu-close.svg);
    }
    .about .container, .about-2 .container {
        flex-direction: column;
        align-content: start;
    }

    .about-cell.cell-center {
        width: 100%;
        border: none;
        border-bottom: 1px solid #000;
        border-top: 1px solid #000;
    }
    .about-cell.cell-center .cell-text {
        width: 100%;
    }
    .about-cell.cell-right, .about-cell.cell-left {
        width: 100%;
    }

    .about-cell {
        align-items: start;
    }
    .about-2 {
        border: none;
    }
    .about {
        border: none;
    }
    .about .about-cell.cell-right, .about-2 .about-cell.cell-right {
        border-bottom: 1px solid #000;
    }
}
@media(max-width: 730px) {
    .consulting-mobile .consulting-cell:last-child {
        border: none;
    }
    .consulting-mobile .consulting-cell:nth-child(4) {
        border-bottom: 1px solid #000;
    }
    .consulting-mobile .consulting-cell:last-child .cell-inner {
        width: 95%;
    }
    .consulting-mobile .consulting-cell:last-child .btn {
        padding: 10px;
    }
}

@media(max-width: 650px) {
    h1 {
        font-size: 60px;
    }
    h2 {
        font-size: 45px;
    }
    .consulting-mobile .container { 
        flex-direction: column;
    }
    .consulting-mobile .consulting-cell {
        width: 100%;
    }
    .consulting-mobile .consulting-cell:nth-child(2n) {
        border-left: 1px solid #000;
        border-bottom: none;
    }
   
    .consulting-mobile .consulting-cell:last-child {
        border: none;
    }
    .consulting-mobile .consulting-cell:last-child .btn {
        padding: 20px;
    }
    .menu.active {
        width: 85%;
    }
}
@media(max-width: 360px) {
    .btn {
        width: 100%;
        max-width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
        text-align: center;
    }
}