.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    aspect-ratio: 1;
    width: 256px;
    height: 256px;
}

.socials {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.social-btn {
    width: 64px;
    height: 64px;
}

.social-btn img {
    width: 100%;
    height: 100%;
}



.used-by-img {
    width: 100%;
    object-fit: contain;
    min-height: 300px;
    max-height: 300px;
}

.why-us-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.why-us-buttons > :first-child {
    margin-right: 1rem;
}

.swiper-container {
    width: 100%;
    height: 100%;
    max-height: 720px;
    margin: 20px auto;
}

.swiper-container-cabinet {
    width: 100%;
    height: 100%;
    max-height: 720px;
    margin: 20px auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.up-on-hover:hover {
    transition: 0.3s ease all;
    transform: translateY(-20px);
}

.swiper-slide a .image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide a {
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: inherit;
    transition: 0.3s ease all;
}

.swiper-slide img:hover {
    transform: scale(1.1);
}

.link-preview:after {
    display: block;
    content: '';
    height: 70px;
    width: 70px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='70' height='70' rx='30' fill='%2300392A'/%3E%3Cpath d='M44.5174 19.3176C46.115 19.3107 47.2127 19.3077 48.0488 19.3965C48.3205 19.4254 48.5476 19.4626 48.7405 19.5076L31.885 35.9061C31.4205 36.358 31.4205 37.0906 31.885 37.5425C32.3495 37.9944 33.1026 37.9944 33.5671 37.5425L50.4226 21.144C50.4688 21.3317 50.507 21.5526 50.5367 21.817C50.628 22.6304 50.6249 23.6983 50.6178 25.2526L50.6002 29.0822C50.5973 29.7213 51.1274 30.2417 51.7843 30.2446C52.4412 30.2474 52.9761 29.7316 52.979 29.0926L52.9969 25.194C53.0037 23.7256 53.0092 22.5254 52.9015 21.5657C52.7894 20.5677 52.5427 19.6842 51.9379 18.9239C51.807 18.7593 51.6657 18.603 51.515 18.4559C51.3605 18.3051 51.196 18.1639 51.0225 18.0333C50.241 17.4449 49.3328 17.2049 48.307 17.0959C47.3206 16.9911 46.087 16.9964 44.5777 17.003L40.5705 17.0204C39.9136 17.0233 39.3834 17.5437 39.3864 18.1827C39.3893 18.8218 39.9242 19.3376 40.5811 19.3347L44.5174 19.3176Z' fill='white'/%3E%3Cpath d='M36.6483 21.925C35.6879 21.9138 34.6299 21.9138 33.4674 21.9138H33.3905C30.478 21.9138 28.195 21.9137 26.3837 22.1047C24.5353 22.2995 23.0376 22.7042 21.7589 23.6081C20.9848 24.1553 20.304 24.8176 19.7415 25.5708C18.8125 26.8148 18.3965 28.2719 18.1962 30.0702C18 31.8324 18 34.0535 18 36.8871V37.0267C18 39.8603 18 42.0814 18.1962 43.8436C18.3965 45.6419 18.8125 47.0989 19.7415 48.343C20.304 49.0961 20.9848 49.7585 21.7589 50.3057C23.0376 51.2095 24.5353 51.6143 26.3837 51.8091C28.195 52 30.4779 52 33.3904 52H33.5341C36.4465 52 38.7297 52 40.5409 51.8091C42.3893 51.6143 43.887 51.2095 45.1657 50.3057C45.9398 49.7585 46.6206 49.0961 47.1831 48.343C48.1121 47.0989 48.5281 45.6419 48.7284 43.8436C48.9246 42.0814 48.9246 39.8603 48.9246 37.0268V36.9516C48.9246 35.8207 48.9246 34.7916 48.9131 33.8572C48.9052 33.2182 48.3664 32.7064 47.7095 32.714C47.0527 32.7217 46.5266 33.2459 46.5345 33.885C46.5458 34.8042 46.5458 35.8203 46.5458 36.9569C46.5458 39.8754 46.5442 41.9713 46.3634 43.5943C46.1851 45.1957 45.8439 46.1989 45.2586 46.9827C44.8429 47.5394 44.3397 48.0289 43.7675 48.4333C42.9618 49.0028 41.9307 49.3347 40.2847 49.5082C38.6164 49.6841 36.4621 49.6857 33.4623 49.6857C30.4625 49.6857 28.3082 49.6841 26.6399 49.5082C24.9939 49.3347 23.9628 49.0028 23.1571 48.4333C22.5849 48.0289 22.0818 47.5394 21.666 46.9827C21.0807 46.1989 20.7395 45.1957 20.5612 43.5943C20.3804 41.9713 20.3788 39.8754 20.3788 36.9569C20.3788 34.0384 20.3804 31.9425 20.5612 30.3195C20.7395 28.7181 21.0807 27.7149 21.666 26.9311C22.0818 26.3744 22.5849 25.8849 23.1571 25.4804C23.9628 24.911 24.9939 24.579 26.6399 24.4055C28.3082 24.2297 30.4625 24.2281 33.4623 24.2281C34.6306 24.2281 35.675 24.2281 36.6198 24.2391C37.2767 24.2468 37.8155 23.735 37.8234 23.0959C37.8313 22.4569 37.3052 21.9326 36.6483 21.925Z' fill='white'/%3E%3C/svg%3E%0A");
}

#contactModal {
    background-color: var(--primary-color);
    border: none;
    filter: drop-shadow(2px 4px 6px black);
}

.close-wrapper {
    display: flex;
    justify-content: end;
}

.close {
    color: #fff;
    border: 1px solid #fff;
    width: 38px;
    height: 38px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    cursor: pointer;
}

.close:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.warning {
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
    z-index: 999;
    border: 1px solid #1c4a3f;
}

.warning--active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.warning__text {
    margin-right: 30px;
}

.warning__read {
    display: block;
    margin-left: 15px;
}

.warning__apply {
    background-color: #1c4a3f;
    color: #fff;
    transition: 0.3s ease all;
}

.warning__apply:hover {
    background-color: #213c2e;
}

@media (max-width: 430px) {
    .warning {
        font-size: 12px;
    }
}

.m-block {
    display: none;
}

.header-call {
    background-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.5531 21.6489C24.0439 23.1937 22.0226 24.4748 20.4104 24.8489C19.3074 25.1012 17.8667 25.3024 13.0167 23.1426C6.81313 20.382 2.81814 13.6106 2.50677 13.1713C2.2086 12.732 0 9.58584 0 6.33198C0 3.07813 1.53837 1.49371 2.15846 0.813465C2.66773 0.255094 3.50948 0 4.31692 0C4.57815 0 4.813 0.014172 5.02409 0.0255095C5.64419 0.0538532 5.95556 0.093535 6.36456 1.14509C6.87383 2.46307 8.11402 5.71693 8.26178 6.05138C8.41219 6.38584 8.5626 6.83934 8.3515 7.27866C8.1536 7.73216 7.97944 7.9334 7.66808 8.31888C7.35671 8.70435 7.06117 8.99913 6.74981 9.41294C6.46483 9.77291 6.1429 10.1584 6.50177 10.8245C6.86063 11.4764 8.10082 13.6503 9.92681 15.3963C12.2832 17.6496 14.1936 18.3696 14.877 18.6757C15.3863 18.9024 15.9932 18.8486 16.3652 18.4234C16.8376 17.8764 17.4207 16.9694 18.0144 16.0765C18.4366 15.436 18.9696 15.3566 19.5291 15.5834C20.099 15.7959 23.1151 17.3974 23.7351 17.729C24.3552 18.0634 24.7642 18.2222 24.9146 18.5028C25.0624 18.7834 25.0624 20.1014 24.5531 21.6489Z' fill='%2300392A'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.header-back {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Capa_1' x='0px' y='0px' viewBox='0 0 97.285 97.285' style='enable-background:new 0 0 97.285 97.285;' xml:space='preserve' width='25' height='25'%3E%3Cg%3E%3Cpath d='M34.479,13.334L0.585,47.229c-0.781,0.781-0.781,2.046,0,2.828l33.894,33.896c0.781,0.78,2.047,0.78,2.828,0l9.031-9.028 c0.375-0.375,0.586-0.885,0.586-1.414c0-0.531-0.211-1.039-0.586-1.414L31.807,57.561h63.478c1.104,0,2-0.896,2-2V41.726 c0-1.104-0.896-2-2-2H31.807l14.532-14.533c0.75-0.75,0.75-2.078,0-2.828l-9.031-9.031c-0.375-0.375-0.884-0.586-1.414-0.586 C35.364,12.748,34.854,12.959,34.479,13.334z' fill='%23000000' style='fill: rgb(0, 57, 42);'/%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

/**
Grid
 */

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 50px;
    max-width: 1080px;
    margin: auto;
}

.grid-img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-height: 720px;
}

.grid-text {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cabinet-price {
    font-weight: bold;
    font-size: 42px;
    margin-bottom: 0;
}

.grid-reviews {
    width: 100%;
}

.grid-torrow {
    width: 100%;
    height:100%;
    min-height: 500px;
}

@media (max-width: 780px) {
    .grid {
        display: flex;
        flex-direction: column;
        max-width: 425px;
        margin: auto;
    }

    .grid-reviews {
        height: 500px;
    }
}

