@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bs-border-color: #C0861A;
    --bs-border-width: 1px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1A1A1A;
    color: #F2EBD4;
}

p {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    font-size: 16px;
    color: #F2EBD4;
    transition: color ease .2s;
}
a:hover {
    color: #8A9659;
}

header {
    border-bottom: 1px solid #F2EBD4;
}
.logo {
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 1px;
}
.logo i {
    font-weight: 300;
}
header .hr {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 70%;
    transform: translate(-50%, -50%) rotate(-180deg);
    background: #F2EBD4;
}
.icon-nav {
    gap: 60px;
}
nav {
    gap: 60px;
}
nav a {
    text-decoration: none;
    font-size: 16px;
    color: #F2EBD4;
}

.lending,
.about-us,
.our-key-indicators,
.our-competencies {
    margin-top: 120px;
    margin-bottom: 120px;
}

.lending {
    margin-top: 0;
    text-align: center;
    height: 600px;
}

.lending .star {
    position: absolute;
    z-index: 10;
}
.lending .star-one {
    left: 20px;
    top: 20px;
}
.lending .star-two {
    right: 20px;
    top: 20px;
}
.lending .star-three {
    right: 20px;
    bottom: 20px;
}
.lending .star-four {
    left: 20px;
    bottom: 20px;
}
.lending .create {
    font-size: 128px;
    font-weight: 700;
    margin-bottom: 46px;
}
.lending .innovacionnye-cifrovye-resheniya {
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 34px;
}
.lending .description {
    display: flex;
    flex-direction: column;
    align-items: end;
}
.lending .description p {
    background: #8A9659;
    font-size: 20px;
    width: fit-content;
    color: #1A1A1A;
    padding: 2px 8px;
}
.lending .description p:first-child {
    margin-right: 240px;
}
.lending .description p:nth-child(3),
.lending .description p:last-child {
    margin-right: 160px;
}
.lending .poluchit-konsultaciyu {
    gap: 10px;
    background: #8A9659;
    padding: 12px 24px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
.video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.dark-bg-lending {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
}

.about-us .about {
    gap: 300px;
}
.about-us .about .about-title {
    font-size: 32px;
    color: #8A9659;
    white-space: nowrap;
}

.about-description {
    font-size: 38px;
    text-align: left !important;
}

.about-description i {
    color: #8A9659;
}

.our-key-indicators .our-key-indicators-title {
    font-size: 32px;
    color: #8A9659;
}

.our-key-indicators .row .indicators-item  {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px 36px;
    text-align: center;
    color: #F2EBD4;
}
.our-key-indicators .row .indicators-item .title {
    font-size: 48px;
    font-weight: 500;
}
.our-key-indicators .row .indicators-item  .description {
    font-size: 18px;
}

.our-competencies-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 64px;
}

.our-competencies-title i {
    color: #8A9659;
    font-weight: 300;
}
.our-competencies .row:first-child {
    margin-top: 64px;
}
.our-competencies .row .col {
    padding: 34px;
}
.our-competencies .row .col:first-child {
    border-right: 1px solid #C0861A;
    border-top: 1px solid #C0861A;
    border-bottom: 1px solid #C0861A;
}
.our-competencies .row .col:last-child {
    border-bottom: 1px solid #C0861A;
    border-top: 1px solid #C0861A;
}
.our-competencies .row .title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    padding: 12px;
    color: #1A1A1A;
    background: #F2EBD4;
    margin-bottom: 32px;
}

.our-competencies .row .title img {
    width: 25px;
    height: 25px;
}

.more-details {
    margin-top: 32px;
    background: none;
    border: none;
    color: #8A9659;
    gap: 10px;
    font-size: 20px;
}
.services-button {
    margin-top: 64px;
    background: #8A9659;
    padding: 12px 24px;
    border: none;
}


.border-right {
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}
.border-left {
    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

@media screen and (min-width: 768px) {
    .border-md-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-md-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
}

@media screen and (min-width: 992px) {
    .border-lg-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-lg-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
}

.bg-form,
.bg-slider-button,
.bg-date {
    background-color: #F2EBD4;
    color: #1A1A1A;
}
.mb-10 {
    margin-bottom: 6rem;
}
.mt-10 {
    margin-top: 6rem;
}
section .brand-title {
    font-style: italic;
    color: #8A9659;
}
.w-fit-content {
    width: fit-content;
}
.h-fit-content {
    height: fit-content;
}
#contact textarea {
    height: 200px;
}
#contact input,
#contact textarea {
    border: none;
}
#contact .form-checkbox {
    color: #1A1A1A;
}
#contact .form-checkbox a {
    color: #8A9659;
    text-decoration: underline;
    transition: color ease .2s;
}
#contact .form-checkbox a:hover {
    color: #1A1A1A;
}
#contact button {
    border: none;
    background-color: #8A9659;
    color: #F2EBD4;
    transition: background-color ease .2s;
}
#contact button:hover {
    background-color: #1A1A1A;
}
#blog .position-absolute.slide-title {
    bottom: 2rem;
    left: 2rem;
}
#blog .swiper-slide {
    width: calc(100% / 3);
}
#blog .swiper-slide img {
    object-fit: cover;
    width: 100%;
}
#blog .button-prev {
    top: 42%;
    left: -2.5%;
    border: none;
}
#blog .button-next {
    top: 42%;
    right: -2.5%;
    border: none;
}
#steps .icon-arrow {
    color: #C0861A;
    font-size: 30px;
}
#services h3 {
    font-size: 1.25rem;
}
#cases a,
#our-competencies a,
#services a {
    font-size: 1.25rem;
    color: #8A9659;
    transition: color ease .2s;
}
#cases a:hover,
#our-competencies a:hover,
#services a:hover {
    color: #F2EBD4;
}
.all-button {
    background-color: #8A9659;
    transition: background-color ease .2s !important;
}
.all-button span, .all-button i {
    color: #1A1A1A;
}
.all-button:hover {
    background-color: #F2EBD4;
}
#ready {
    background-color: #8A9659;
}
#ready a {
    background-color: #F2EBD4;
    transition: background-color ease .2s !important;
}
#ready a span, #ready a i {
    color: #1A1A1A;
    transition: color ease .2s !important;
}
#ready a:hover {
    background-color: #1A1A1A;
}
#ready a:hover span, #ready a:hover i {
    color: #F2EBD4;
}

#our-key-indicators .indicators-content {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#our-key-indicators .indicators-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#our-key-indicators .video-overlay {
    position: absolute;
    top: 0;
    left: calc(var(--bs-gutter-x) * .5);
    width: calc(100% - calc(var(--bs-gutter-x) * .5) * 2);
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

#our-key-indicators .row {
    z-index: 3;
}

#main {
    max-width: 1920px;
    max-height: 750px;
    margin: 0 auto;
    position: relative;
}

#main img {
    object-fit: cover;
    width: 80%;
}

#main .main-block-title {
    position: absolute;
    background-color: rgba(0,0,0,.8);
    bottom: 0;
    left: 20%;
    width: 80%;
    padding: 4rem !important;
}

#main .main-block-title h1 {
    font-size: 5rem;
}

#ready .logo {
    font-size: 5rem;
}

@media screen and (max-width: 991px) {
    #ready .logo {
        font-size: 3rem;
    }

    .about-us .about {
        gap: 100px;
    }
}

@media screen and (max-width: 1250px) {
    #main img {
        width: 100%;
        height: 400px;
    }

    #main .main-block-title {
        left: 0;
        bottom: -10%;
        z-index: 1;
    }

    #main .main-block-title h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 767px) {
    .message-page .main-block-title {
        width: 100% !important;
    }

    #main .main-block-title h1 {
        font-size: 2rem !important;
    }

    .message-page {
        margin-bottom: 20% !important;
    }

    .about-us .about {
        gap: 2rem;
    }
}

.mobile-main-text {
    display: none;
}

@media screen and (max-width: 576px) {
    #main .main-block-title p {
        display: none;
    }

    #main .main-block-title h1 {
        margin: 0 !important;
    }

    .mobile-main-text {
        display: block;
    }
}

@media screen and (max-width: 544px) {
    #ready .logo {
        font-size: 2rem;
    }

    .logo {
        font-size: 24px;
    }
}

.burger-btn {
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    z-index: 1002;
}

.burger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #F2EBD4;
    border-radius: 2px;
    transition: 0.3s;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: #F2EBD4;
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #F2EBD4;
}

header {
    position: relative;
    z-index: 1001;
    background: #1A1A1A;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding-top: 80px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    margin-top: -40px;
}

.nav-link {
    color: #F2EBD4;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 12px 30px;
    transition: 0.3s;
    position: relative;
    display: block;
}

.nav-link:hover {
    color: #8A9659;
    transform: translateX(10px);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #8A9659;
    transition: 0.3s;
    transform: translateY(-50%);
}

.nav-link:hover::before {
    width: 20px;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-height: 600px) {
    .mobile-nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 8px 20px;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #8A9659;
    color: #F2EBD4;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(138, 150, 89, 0.3);
}

.scroll-to-top:hover {
    background: #F2EBD4;
    color: #8A9659;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(138, 150, 89, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
