﻿.mobmenu-toggle {
    display: none;
}
.mobile-menu-toggle {
    left: -9999px;
    position: absolute;
    top: -9999px;
}
@media handheld, screen and (max-width: 992px) { /* <-- Adjust the breakpoints to your liking */
    .mobmenu-toggle,
    .mobile-menu-toggle-button,
    .mobile-toggleable-menu {
        top: 0;
        position: fixed;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
  
    }
    .mobmenu-toggle {
        left: 0;
        margin: 0;
        display: inline-block;
        width: 100%;
            top: 90px;
        z-index: 999;
    }
    .mobmenu-toggle:hover {
        cursor: pointer;
    }
    .mobile-toggleable-menu {
        margin: 0;
        width: 85%;
        height: 100%;
        max-height: 100%;
        min-height: 100%;
        z-index: 50;
        /*overflow: hidden;*/
    }
    
    .mobile-toggleable-menu.mobile-left {
        left: -100%;
      
    }


    .mobile-toggleable-menu.mobile-right {
        right: -100%;
    }
    .mobile-menu-toggle-button:checked ~ .mobmenu-toggle.mobile-right {
        left: 0;
        
        right: auto;
    }
      
    .mobile-menu-toggle-button:checked ~ .mobmenu-toggle.mobile-left {
        left: auto;
        right: 0;
    }
    .mobile-menu-toggle-button:checked + .mobile-toggleable-menu.mobile-left {
        width: 300px;
        left: 0;
    }
    .mobile-menu-toggle-button:checked + .mobile-toggleable-menu.mobile-right {
        width: 85% !important;
        right: 0;
    }
}


.custom__body .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.custom__body .popup-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.custom__body .popup-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom__body .popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.custom__body .popup-content {
    padding: 20px;
    background: #fff;
    display: flex;
}

.custom__body .gallery-g-wrap {
    position: relative;
    width: 42%;
}

.custom__body .popup-carousel1 .gal-g-img-wrap,
.custom__body .popup-carousel2 .gal-g-img-wrap,
.custom__body .popup-carousel3 .gal-g-img-wrap {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.custom__body .popup-carousel1 .gal-g-img,
.custom__body .popup-carousel2 .gal-g-img,
.custom__body .popup-carousel3 .gal-g-img {
    display: none;
}

.custom__body .gal-g-info {
    margin-top: 15px;
}

.custom__body .gal-g-desc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.custom__body .custom-owl-dots1,
.custom__body .custom-owl-dots2,
.custom__body .custom-owl-dots3 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom__body .custom-owl-dots1 .owl-dot,
.custom__body .custom-owl-dots2 .owl-dot,
.custom__body .custom-owl-dots3 .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.custom__body .custom-owl-dots1 .owl-dot.active,
.custom__body .custom-owl-dots2 .owl-dot.active,
.custom__body .custom-owl-dots3 .owl-dot.active {
    background: #333;
}

.custom__body .custom-owl-nav {
    display: flex;
    gap: 10px;
}

.custom__body .custom-owl-nav .owl-prev,
.custom__body .custom-owl-nav .owl-next {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.custom__body .custom-owl-nav .owl-prev:hover,
.custom__body .custom-owl-nav .owl-next:hover {
    background: #ddd;
}

.custom__body .popup-description {
    margin-top: 20px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    background: #f9f9f9;
    border-radius: 8px;
}

.custom__body .work-item {
    cursor: pointer;
    text-decoration: none;
}

.custom__body .work-item .home-opac,
.custom__body .work-item .small-opac {
    transition: all 0.3s ease;
}

.custom__body .work-item:hover .home-opac,
.custom__body .work-item:hover .small-opac {
    opacity: 1;
}

.custom__body .work-item:hover .gal-arrow-enter,
.custom__body .work-item:hover span {
    opacity: 1 !important;
}



.custom__body .step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #397a72, #397f78);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
    font-weight: bold;
}

.custom__body .step-content {
    display: flex;
    margin-bottom: 12px;
    gap: 10px;
    align-items: flex-end;
    font-weight: bold;
    font-size: 14px;
}

.custom__body .work-steps {
    margin: 2em;
}

.custom__body .about-cont-block .col-xs-1 {
    padding: 0;
}

.custom__body .about-cont-block .col-xs-1 img {
    width: 100%;
}

.custom__body .about-cont-block {
    width: 90%;
    padding: 50px 30px 50px 30px;
}

.custom__body .accordion svg {
    position: relative;
}

.custom__body .faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.custom__body .faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
    transition: all 0.3s ease;
}

.custom__body .faq-item.active {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.custom__body .accordion {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
    transition: background 0.2s ease;
}

.custom__body .accordion:hover {
    background: #f7fafc;
}

.custom__body .accordion span {
    font-size: 1.1rem;
}

.custom__body .accordion-icon {
    transition: transform 0.3s ease;
    color: #718096;
}

.custom__body .faq-item.active .accordion-icon {
    transform: rotate(180deg);
    color: #4299e1;
}

.custom__body .panel1 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #f7fafc;
}

.custom__body .panel-content1 {
    padding: 0 30px 30px;
}

.custom__body .panel-content1 p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Адаптив */
@media (max-width: 768px) {
    .custom__body .home-g-img-wrap.small {
        width: 50%;
    }

    .custom__body .home-g-wrap {
        height: 430px;
        padding: revert-layer;
    }

    .custom__body .popup-content {
        flex-wrap: wrap;
    }

    .custom__body .gallery-g-wrap {
        position: relative;
        width: 100% !important;
    }

    .custom__body .popup-content {
        flex-wrap: wrap;
        height: 80vh;
        overflow-y: scroll;
    }

    .custom__body .accordion {
        padding: 18px 24px;
    }
}

.custom__body .reviews {
    float: none;
    padding: 0;
}

.custom__body .reviews .item {
    padding-bottom: 20px;
}

.custom__body .reviews .pull-right {
    float: right !important;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #397f78;
}