html, body {
    background-color: #ececec;
    font-family: "Playfair Display", serif;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box
}

.position-relative {
    position: relative;
}

.text-center {
    text-align: center;
}

.container-smaller {
    max-width: 990px;
}

h1 b {
    color: #c8a96a;
    font-weight: 500;
}


.header .menu ul li a:hover {
    color: #c8a96a;
}


.header .menu ul li {
    display: inline-block;
    margin-right: 10px;
}

.header .menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.header .menu {
    text-align: end;
}

a.cta {
    border: 1px solid #c8a96a;
    padding: 12px 24px !important;
    border-radius: 22px;
    color: #c8a96a !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 19px;
}

.main-info {
    min-height: 800px;
}

.bg-1 {
    background-color: white;
}

.bg-2 {
    background-color: #ececec;
}

.z-1 {
    z-index: 1;
    position: relative;
}

.project-1:before {
    background-color: white;
    position: absolute;
    content: " ";
    width: 100%;
    max-width: 810px;
    height: 200px;
    top: -80px;
    left: 0;
    z-index: 0;
    border-radius: 12px;
}

.project-1:after {
    background-color: #c8a96a;
    position: absolute;
    content: " ";
    width: 100%;
    max-width: 810px;
    height: 100px;
    bottom: 28%;
    left: 0;
    z-index: 0;
    opacity: 0.5;
}


.project-1 .project-title {
    margin-top: -70px;
}

.project-images img {
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}


.section-1 ul, .section-3 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.content h2 {
    color: #c8a96a;
    font-size: 40px;
    font-weight: 500;
}

.content p {
    font-size: 18px;
    line-height: 29px;
    color: #252525;
    letter-spacing: .01em;
    word-spacing: .05em;
}

.testimonials {
    margin: 0 auto;
}


.mySwiperTestimonials {
    width: 100%;
    padding: 12px 8px 44px;
}

.mySwiperTestimonials .swiper-slide {
    height: auto;
}

.tcard {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .06);
}

.tcard__top {
    position: relative;
    background: #e0d0b1;
    padding: 50px 22px 0px 22px;
    min-height: 120px;
}

.tcard__meta {
    max-width: calc(100% - 110px);
}

.tcard__name {
    margin: 0;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: .2px;
}

.tcard__site {
    margin-top: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 18px;
    color: rgba(255, 255, 255, .95);
}

.tcard__photo {
    position: absolute;
    right: 25px;
    top: 30px;
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.tcard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tcard__body {
    padding: 40px 22px 22px 22px;
    font-size: 16px;
    line-height: 27px;
    color: #252525;
    letter-spacing: .01em;
    word-spacing: .05em;
    font-weight: 500;
}


.swiper-pagination {
    display: none;
}


.alex-stack-gallery {
    position: relative;
}

.alex-stack-gallery__wrap {
    position: relative;
    height: clamp(260px, 42vw, 520px);
    border-radius: 12px;
    overflow: hidden;
}

.alex-stack-gallery__bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    opacity: .32;
    filter: blur(.4px) saturate(.9);
}


.alex-stack-gallery__bg::-webkit-scrollbar {
    height: 0px;
    width: 0px;
}

.alex-stack-gallery__bg::-webkit-scrollbar-thumb {
    height: 0px;
    width: 0px;
}

.alex-stack-gallery__bg::-webkit-scrollbar-track {
    height: 0px;
    width: 0px;
}


.alex-stack-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.alex-stack-gallery__thumb.is-active {
    opacity: .75;
    filter: none;
    transform: scale(1.03);
}

.alex-stack-gallery__hero {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(100%, 800px);
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 3;
}

.alex-stack-gallery__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    transition: transform .25s ease;
}


.alex-stack-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    font-size: 60px;
    line-height: 46px;
    padding: 0;
    color: white;
    text-shadow: 0px 0px 20px black;
}



.alex-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

.alex-lightbox.is-open {
    display: flex;
}

.alex-lightbox__img {
    max-width: min(1400px, 96vw);
    max-height: 88vh;
    border-radius: 16px;
    background: #111;
}

.alex-lightbox__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
    font-size: 30px;
    line-height: 44px;
    padding: 0;
    cursor: pointer;
}

.content label {
    display: none;
}

.content input::placeholder, .content textarea::placeholder {
    color: #e0d0b1;
}

.content input, .content textarea {
    width: 100%;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e0d0b1;
    color: #252525;
    font-weight: 500;
    font-size: 18px;
    max-width: 100% !important;
}

.content textarea {
    min-height: 200px;
}

.content input:focus-visible, .content textarea:focus-visible {
    outline: none;
    border: 2px solid #c8a96a;
}

.btn.cta-send {
    border: 2px solid #e0d0b1;
    padding: 16px 34px !important;
    border-radius: 32px;
    color: #e0d0b1 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 19px;
    background-color: transparent;
    cursor: pointer;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li a:hover {
    color: #c8a96a;
}

.footer ul li a {
    padding: 10px 10px;
    display: block;
    color: #252525;
    text-decoration: none;
    font-weight: 600;
}

.footer ul li {
    display: inline-block;
}

.footer ul {
    padding: 0;
    margin-top: 30px;
    list-style: none;
    text-align: center;
    margin-bottom: 0;
}


.footer-ending a {
    color: #787878;
    text-decoration: none;
}

.footer-ending {
    border-top: 1px solid #dedede;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #787878;
}


.alert.alert--err {
    background-color: #f4433645;
    border-radius: 22px;
    padding: 22px;
    color: #252525;
    max-width: 960px;
    margin: 0px auto;
    margin-bottom: 20px;
}

.alert.alert--ok {
    background-color: #8bc34a57;
    border-radius: 22px;
    padding: 22px;
    color: #252525;
    max-width: 960px;
    margin: 0px auto;
    margin-bottom: 20px;
}


.swiper-button-next::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/arrow-right.png);
    background-size: cover;
}

.swiper-button-next {
    top: 20px !important;
    color: white !important;
    right: -5px !important;
}

.swiper-button-prev::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/arrow-left.png);
    background-size: cover;
}

.swiper-button-prev {
    top: 20px !important;
    color: white !important;
    right: 30px !important;
    left: unset !important;
}

.swiper-wrapper {
    padding-top: 30px;
}


@media (max-width: 1399px) {
    .main-info .main-photo {
        position: absolute;
        right: 0px;
        width: 100vw;
        height: 440px;
        background-image: url(../img/alexandr-wojcik.webp);
        bottom: 0;
        background-position: 100% 20%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    h1 {
        font-size: 34px;
        font-weight: 500;
        margin-bottom: 40px;
    }

    .main-info-text {
        text-align: center;
    }

}

@media (min-width: 1400px) and (max-width: 1650px) {
    .main-info .main-photo {
        position: absolute;
        right: 0px;
        width: 100%;
        height: 800px;
        background-image: url(../img/alexandr-wojcik.webp);
        top: 0;
        border-radius: 200px 0px 0px 0px;
        background-position: 100% 20%;
        background-repeat: no-repeat;
        max-width: 820px !important;
    }
}

@media (min-width: 1400px) {
    .main-info .main-photo {
        position: absolute;
        right: 0px;
        width: 100%;
        height: 800px;
        background-image: url(../img/alexandr-wojcik.webp);
        top: 0;
        border-radius: 200px 0px 0px 0px;
        background-position: 100% 20%;
        background-repeat: no-repeat;
        max-width: 935px;
    }

    h1 {
        font-size: 60px;
        font-weight: 500;
        margin-bottom: 40px;
        line-height: 64px;
    }

    h1 span {
        font-size: 47px;
        line-height: 64px;
        display: block;
    }

    .main-info-text {
        margin-top: 150px;
    }

}

@media (max-width: 991px) {
    .logo {
        text-align: center;
        margin-bottom: 20px;
    }

    .alex-stack-gallery__hero-img {
        border-radius: 0;
    }

    .header .menu {
        text-align: center;
    }

    .header .menu ul li.menu-cta {
        margin-top: 28px;
    }

    .alex-stack-gallery__wrap {
        height: clamp(240px, 62vw, 420px);
    }

    .alex-stack-gallery__thumb {
        width: 78vw;
    }


    .header .menu ul li a {
        padding: 4px 8px;
        color: #252525;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
    }

    .project-1 .project-title h2 {
        font-weight: 400;
        padding: 10px 10px;
        text-align: center;
    }

    .section-1-photo {
        position: absolute;
        right: 0;
        width: 100%;
        height: 180px;
        background-image: url(../img/hypoteky.webp);
        background-color: black;
        background-repeat: no-repeat;
        z-index: 0;
        top: 50px;
        background-size: cover;
        background-position: 50% 50%;
    }

    .section-3-photo {
        position: absolute;
        right: 0px;
        width: 100%;
        height: 170px;
        background-image: url(../img/developer.webp);
        background-color: black;
        background-repeat: no-repeat;
        z-index: 0;
        bottom: -40px;
        background-size: cover;
        background-position: 50% 50%;
    }

    .section-1 ul li {
        font-size: 17px;
        color: white;
        line-height: 31px;
        text-align: start;
    }

    .alex-stack-gallery__thumb {
        flex: 0 0 auto;
        width: clamp(220px, 26vw, 360px);
        height: calc(100% - 10px);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        scroll-snap-align: center;
        border: 0;
        transition: transform .2s ease, opacity .2s ease, filter .2s ease;
    }

    .section-3 ul li {
        font-size: 17px;
        color: white;
        line-height: 31px;
        text-align: start;
    }

    .section-3 ul li, .section-1 ul li {
        position: relative;
        padding-left: 20px;
    }

    .section-3 ul li:after, .section-1 ul li:after {
        width: 6px;
        content: " ";
        height: 6px;
        position: absolute;
        left: 5px;
        top: 14px;
        background: #c8a96a;
        border-radius: 50%;
    }

    .alex-stack-gallery__nav--prev {
        left: 5%;
    }

    .alex-stack-gallery__nav--next {
        right: 5%;
    }


    .project-1 {
        max-width: 90%;
        position: relative;
    }
}

@media (min-width: 992px) {
    .section-1 ul {
        padding-right: 20px;
        margin-right: 20px;
    }

    .header .menu ul li a {
        padding: 4px 8px;
        color: #252525;
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
    }

    .project-images img {
        max-width: 330px;
        max-height: 330px;
        object-fit: cover;
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    .project-images .col-sm-12.col-md-6.mt-2 {
        text-align: center;
    }

    .project-1 {
        max-width: 810px;
        position: relative;
    }

    .section-3 ul {
        padding-left: 20px;
        margin-left: 20px;
    }

    .section-1 ul li:after {
        width: 10px;
        content: " ";
        height: 10px;
        position: absolute;
        right: -22px;
        top: 18px;
        background: #c8a96a;
        border-radius: 50%;
    }

    .section-1 ul li {
        position: relative;
    }


    .section-3 ul li {
        position: relative;
    }

    .section-3 ul li:after {
        width: 10px;
        content: " ";
        height: 10px;
        position: absolute;
        left: -22px;
        top: 18px;
        background: #c8a96a;
        border-radius: 50%;
    }

    .project-1 .project-title h2 {
        font-weight: 400;
        padding: 10px 120px;
        text-align: center;
        font-size: 29px;
    }

    .alex-stack-gallery__nav--prev {
        left: 1%;
    }

    .alex-stack-gallery__nav--next {
        right: 1%;
    }

    .section-3 ul li {
        font-size: 29px;
        line-height: 50px;
        color: white;
        text-align: start;
    }

    .section-1-photo {
        position: absolute;
        left: -8px;
        width: 45vw;
        height: 580px;
        background-image: url(../img/hypoteky.webp);
        background-color: black;
        border-radius: 0 160px 160px 0;
        background-repeat: no-repeat;
        z-index: 0;
        top: 50%;
        transform: translateY(-50%);
        background-size: cover;
        background-position: 50% 50%;
    }

    .section-1 ul li {
        font-size: 29px;
        line-height: 50px;
        color: white;
        text-align: end;
    }

    .alex-stack-gallery__thumb {
        flex: 0 0 auto;
        width: clamp(380px, 26vw, 380px);
        height: calc(100% - 200px);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        scroll-snap-align: center;
        border: 0;
        transition: transform .2s ease, opacity .2s ease, filter .2s ease;
    }

    .section-3-photo {
        position: absolute;
        right: 0px;
        width: 45vw;
        height: 580px;
        background-image: url(../img/developer.webp);
        background-color: black;
        border-radius: 160px 0px 0px 160px;
        background-repeat: no-repeat;
        z-index: 0;
        top: 50%;
        transform: translateY(-50%);
        background-size: cover;
        background-position: 50% 50%;
    }
}

.project-1 {
    box-shadow: 0px -20px 30px #cecece;
    border-radius: 22px;
}

.main-info-text .cta {
    font-size: 24px;
    padding: 17px 40px !important;
    border-radius: 32px;
}