.contact-form-section {
    max-width: 1200px !important;
    border-radius: 24px;
    margin: 0 auto 80px;
}

.contact-form-section>p {
    max-width: 630px;
}

.contact-form-section .contact-form-wrapper {
    width: 712px;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(252, 252, 252, 1) 0%, rgba(252, 252, 252, 0) 100%);
    border: 1px solid var(--color-stroke);
}

.contact-form-section .contact-form-wrapper .fluentform_wrapper_4 {
    width: 100%;
}

.contact-form-section .contact-form-wrapper .fluentform .ff-el-group {
    margin-bottom: 24px !important;
}

.contact-form-section .fluentform .ff-el-input--label {
    margin-bottom: 0px;
}

.contact-form-section .ff-el-input--content {
    margin-top: 4px;
}

.contact-form-section .contact-form-wrapper label,
.wpcf7-form-control-wrap {
    display: block;
}

.contact-form-section .contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-section .contact-form-wrapper label {
    color: var(--color-text-primary);
    font-size: var(--font-size-paragraph-small);
    font-family: 'Satoshi', sans-serif;
}

.contact-form-section .contact-form-wrapper .ff-el-form-control {
    background: linear-gradient(180deg, rgba(252, 252, 252, 1) 0%, rgba(252, 252, 252, 0) 100%);
    padding: 20px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(52, 55, 65, 0.3) !important;
    margin-top: 8px !important;
    font-size: var(--font-size-paragraph-small);
    font-family: 'Satoshi', sans-serif !important;
}

.contact-form-section .contact-form-wrapper .ff-el-form-control:focus {
    background: linear-gradient(180deg, rgba(252, 252, 252, 1) 0%, rgba(252, 252, 252, 0) 100%);
    border: 1px solid var(--color-blue) !important;
}

.contact-form-section .ff-btn-submit {
    background-color: var(--color-blue);
    border-radius: 900px !important;
    padding: 16px 32px !important;
    color: white;
    transition: background-color .4s linear;
    box-shadow: none !important;
    font-size: var(--font-size-paragraph-small);
}

.contact-form-section .ff-btn-submit:not(.button-white):hover {
    background: none !important;
    background-color: var(--color-dark-blue) !important;
    box-shadow: none !important;
}

.contact-form-section .ff-el-form-check-label input {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(52, 55, 65, 0.3) !important;
    border-radius: 4px !important;
}

.contact-form-section .ff-el-form-check-label span {
    color: var(--color-black-80);
    margin-left: 8px;
}

.contact-form-section .text-danger {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--font-size-label) !important;
}

.contact-form-section .ff-message-success {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--font-size-paragraph-big) !important;
    text-align: center;
    border: none !important;
    box-shadow: none !important;
    line-height: 160%;
}

.contact-form-section .ff_submit_btn_wrapper {
    text-align: center !important;
}


.photo-column-card {
    width: 340px;
    height: 581px;
    flex-wrap: nowrap !important;
}

.photo-column-card.faq-card {
    height: 442px !important;
}

.photo-column-card.contact-card {
    height: 479px !important;
}

.photo-column-card.faq-card>div,
.photo-column-card.contact-card>div {
    width: 100%;
    height: 100%;
}

.photo-column-card.faq-card figure,
.photo-column-card.contact-card figure {
    width: 100%;
}

.photo-column-card .text-wrapper {
    padding: 0 32px;
}

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--color-blue);
    color: white;
    padding: 18px 28px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    visibility: hidden;
    /* domyślnie ukryty */
    z-index: 999;
    font-size: 24px;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

/* Pokaż po scrollu */
body.scrolled .scroll-to-top {
    visibility: visible;
    opacity: 100;
}

.partners-wrapper {
    margin-top: 46px;
}

@media (max-width: 768px) {
    .contact-form-section {
        margin: 0 auto 24px;
    }

    .contact-form-wrapper {
        width: auto;
        padding: 40px 20px;
    }

    .contact-form-section .contact-form-wrapper {
        width: 100%;
    }

    .scroll-to-top {
        font-size: 16px;
        padding: 16px 22px;
        bottom: 20px;
        right: 20px;
    }

    .photo-column-card.contact-card {
        height: auto !important;
    }

    .partners-wrapper-mobile {
        margin-top: 30px;
    }
}