button {
    cursor: pointer;
}

p {
    margin: 12px 0;
}

.fw-book {
    font-weight: 350;
}
.fw-normal {
    font-weight: 400;
}
.hidden {
    display: none !important;
}

input[name=surname] {
    display: none !important;
}

.backdrop-plug {
    position: relative;
}

.backdrop-plug::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.68);
    z-index: 1;
}

.backdrop-plug > * {
    z-index: 2;
    position: relative;
}

.d-flex {
    display: flex;
}

header {
    position: relative;
    z-index: 3;
}

@media (max-width: 767px) {
    .header-top.backdrop-plug {
        background: var(--white) !important;
    }
    .header-top.backdrop-plug::before {
        content: unset;
    }
}

/* video */

.video--section .video-link {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video--section .video-link iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
#video-banner video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-controls button {
    font-size: 14px;
    border-radius: 12px;
    padding: 4px 10px;
    border: 1px solid var(--primary-color);
    background: var(--white);
}

@media (min-width: 992px) {
    #video-banner {
        width: 50vw;
        display: flex;
    }
}

/* swiper */

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

.swiper-pagination {
    margin-top: 0;
    display: flex;
    align-self: center;
    justify-content: center;
}

.swiper-pagination-clickable.swiper-pagination {
    margin-top: 40px;
}

.swiper-button-prev.transparent,
.swiper-button-next.transparent {
    border-radius: 8px;
}

@media (max-width: 1339px) and (min-width: 1280px) {
    .swiper-button-next.transparent {
        right: -10px;
        background-color: #8080802b;
    }
    .swiper-button-prev.transparent {
        left: -10px;
        background-color: #8080802b;
    }
}

@media (max-width: 1279px) and (min-width: 992px) {
    .swiper-button-next.transparent {
        right: 50px;
        background-color: #8080802b;
    }
    .swiper-button-prev.transparent {
        left: 50px;
        background-color: #8080802b;
    }
}

@media (max-height: 567px) {
    .swiper-pagination-clickable.swiper-pagination {
        margin-top: 20px;
    }
}

@media (min-width: 575px) {
    .reviews-item {
        max-height: 510px;
    }
}

/* footer */

.footer-logo img {
    max-width: 100%;
}

.footer-row.logo-mobile,
footer .callback-modal.mobile {
    display: none;
}

@media (max-width: 1199px) {
    .footer-contacts {
        column-gap: 28px;
        row-gap: 16px;
    }
}

@media (max-width: 991px) {
    .footer-row.logo-mobile {
        display: block;
    }
    .footer-row.logo-laptop {
        display: none;
    }

    .footer-row:not(.logo-mobile) > * + * {
        margin-top: 40px;
    }
    .footer-row.logo-mobile > * + * {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .footer-contacts {
        flex-wrap: wrap;
    }

    .site-footer {
        padding: 60px 0;
    }

    footer .callback-modal.mobile {
        display: block;
    }
    footer .callback-modal:not(.mobile) {
        display: none;
    }

    .footer-title {
        margin-bottom: 24px;
    }
}

@media (max-width: 567px) {
    .footer-nav .nav-wrap {
        flex-wrap: wrap;
    }

    .footer-nav ul {
        max-width: none;
    }
}

/* consultation */

.custom-checkbox {
    display: flex;
    align-items: start;
    cursor: pointer;
    gap: 8px;
    position: relative;
    font-weight: 350;
}

.checkbox-box {
    min-width: 20px;
    min-height: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: background 0.2s, border-color 0.2s;
}

.custom-checkbox input:checked + .checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkbox-box {
    background-color: var(--accent);
    border-color: var(--accent);
}

.custom-checkbox input[type="checkbox"] {
    opacity: 0;
    width: 24px !important;
    min-width: 24px;
    margin: 0;
}

.custom-file-upload {
    position: relative;
    font-weight: 350;
    margin-bottom: 16px;
    align-items: center;
    justify-content: start;
    display: flex;
    gap: 16px;
}

.custom-file-upload label {
    background: var(--c_blue_light_bg);
    outline: 0;
    border: 0;
    width: max-content;
    font-family: inherit;
    cursor: pointer;
    background-color: #F6F6F6;
    border-radius: 12px;
    padding: 4px 12px;
    min-width: 211px;
    margin-bottom: 0;
}

.custom-file-upload input {
    display: none;
}
.custom-file-upload span.descr {
    color: var(--secondary-color);
    font-size: 14px;
}

.file-label {
    display: flex;
    gap: 6px
}

.modal-form-description {
    margin-bottom: 16px;
    font-weight: 350;
    text-align: center;
}

@media (max-width: 767px) {
    .form-right.modal-form {
        padding: 40px 20px;
    }
    .modal-form-close svg {
        width: 32px;
        height: 32px;
    }

    .banner-description {
        font-size: 18px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .modal-form-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .custom-file-upload {
        row-gap: 4px;
        flex-direction: column;
    }

    .custom-file-upload label {
        width: 100%;
    }
}

.mfp-title {
    margin-top: 8px;
    color: var(--white);
}
