/* Mobile Version Custom Styles (per specification ТЗ) */

.mobile-header-bar,
.mobile-menu-drawer,
.mobile-contact-popup {
    display: none;
}

@media (max-width: 991px) {
    /* Hide desktop header elements on mobile */
    #header .header-top {
        display: none !important;
    }

    #header .menu-line-main-page,
    #header .menu-line {
        display: none !important;
    }

    #header .header-fix {
        display: none !important;
    }

    .minmenu {
        display: none !important;
    }

    /* Top Mobile Header Bar */
    .mobile-header-bar {
        display: block !important;
        background: #ffffff;
        border-bottom: 1px solid #eef2f6;
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 10px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .mobile-header-bar .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mobile-header-logo img {
        max-height: 44px;
        width: auto;
        display: block;
    }

    .mobile-header-actions {
        gap: 12px;
    }

    .mobile-header-phone-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #00B57A; /* Green / Teal call circle */
        color: #ffffff !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(0, 181, 122, 0.3);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .mobile-header-phone-btn:hover,
    .mobile-header-phone-btn:focus {
        background: #009966;
        transform: scale(1.05);
    }

    .mobile-header-menu-btn {
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: #203854;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        outline: none !important;
    }

    /* Fix Header & Slider Position on Mobile */
    #header .header-main-page {
        height: auto !important;
        min-height: 0 !important;
        position: relative !important;
        background: #ffffff !important;
    }

    #header .header-slider {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        z-index: 1 !important;
        background: #ffffff !important;
    }

    #header .header-slider .owl-stage-outer,
    #header .header-slider .owl-stage,
    #header .header-slider .owl-item {
        height: auto !important;
    }

    #header .header-slider__img {
        position: relative !important;
        background-image: none !important;
        background: #ffffff !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    #header .header-slider__shadow {
        display: none !important;
    }

    #header .header-slider__inner {
        max-height: none !important;
        min-height: 0 !important;
        height: auto !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #header .header-slider__offer {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        right: auto !important;
        transform: none !important;
        text-align: left !important;
        padding: 25px 15px 35px 15px !important;
        margin: 0 auto !important;
        max-width: 480px !important;
        float: none !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-sizing: border-box !important;
    }

    #header .header-slider__title {
        font-size: 24px !important;
        font-weight: 800 !important;
        color: #1e293b !important;
        line-height: 1.15 !important;
        letter-spacing: 0.2px !important;
        text-transform: uppercase !important;
        font-family: inherit !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
        display: block !important;
        float: none !important;
        height: auto !important;
        position: relative !important;
        top: auto !important;
    }

    #header .header-slider__title span,
    #header .header-slider__title font {
        color: #2563eb !important;
        font-size: 48px !important;
        line-height: 1.02 !important;
        display: block !important;
        margin-top: 6px !important;
    }

    #header .header-slider__desc {
        font-size: 15px !important;
        font-weight: 400 !important;
        color: #334155 !important;
        line-height: 1.48 !important;
        margin-bottom: 28px !important;
        font-family: inherit !important;
        max-width: 100% !important;
        display: block !important;
        position: relative !important;
        top: auto !important;
    }

    #header .header-slider__desc b,
    #header .header-slider__desc strong {
        font-size: 19px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        display: block !important;
        margin-bottom: 16px !important;
        line-height: 1.35 !important;
        font-family: inherit !important;
    }

    #header .header-slider__desc span[style*="color"],
    #header .header-slider__desc font[color] {
        color: #2563eb !important;
        font-weight: 700 !important;
    }

    #header .header-slider__btn {
        display: block !important;
        margin-top: 24px !important;
        width: 100% !important;
        float: none !important;
        text-align: center !important;
        position: relative !important;
        top: auto !important;
    }

    #header .header-slider__btn .btn-link {
        display: block !important;
        width: 100% !important;
        padding: 16px 20px !important;
        background: #2563eb !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-align: center !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
        border: none !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        height: auto !important;
        float: none !important;
        text-decoration: none !important;
    }

    /* Mobile Menu Drawer Overlay */
    body.mobile-menu-open {
        overflow: hidden !important;
    }

    .mobile-menu-drawer {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 999999;
        overflow-y: auto;
        flex-direction: column;
    }

    .mobile-menu-drawer.active {
        display: flex !important;
    }

    .mobile-drawer-header {
        padding: 12px 20px;
        background: #ffffff;
        border-bottom: 1px solid #eef2f6;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-drawer-logo img {
        max-height: 44px;
        width: auto;
    }

    .mobile-drawer-close {
        background: transparent;
        border: none;
        font-size: 26px;
        color: #203854;
        cursor: pointer;
        padding: 4px 8px;
        outline: none !important;
    }

    /* Navy Blue Menu Box */
    .mobile-drawer-navy-box {
        /*background: #203854;*/
        background: #fff;
        flex: 1 0 auto;
        padding: 0;
    }

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

    .mobile-menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-menu-item-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .mobile-menu-link {
        color: #24242c !important;
        font-size: 17px;
        font-weight: 500;
        text-decoration: none !important;
        flex: 1;
    }

    .mobile-menu-toggle {
        color: #24242c;
        font-size: 22px;
        font-weight: 400;
        padding: 0 10px;
        cursor: pointer;
        user-select: none;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .mobile-menu-item.open > .mobile-menu-item-row .mobile-menu-toggle {
        transform: rotate(180deg);
    }

    .mobile-submenu-ul {
        background: #fff;
        list-style: none;
        margin: 0;
        padding: 5px 0;
    }

    .mobile-submenu-ul .mobile-menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .mobile-submenu-ul .mobile-menu-item-row {
        padding: 11px 20px 11px 35px;
    }

    .mobile-submenu-ul .mobile-menu-link {
        font-size: 15px;
        color: #24242c !important;
    }

    /* Drawer Footer (White Section) */
    .mobile-drawer-footer {
        background: #ffffff;
        padding: 25px 20px;
        text-align: center;
    }

    .mobile-drawer-phone {
        display: block;
        font-size: 16px;
        /*font-weight: 700;*/
        color: #2563eb !important;
        text-decoration: none !important;
        margin-bottom: 14px;
        letter-spacing: 0.3px;
    }

    .mobile-drawer-callback-btn {
        display: inline-block;
        padding: 10px 28px;
        border: 1.5px dashed #2563eb;
        border-radius: 25px;
        color: #2563eb !important;
        font-weight: 500;
        font-size: 22px;
        text-decoration: none !important;
        margin-bottom: 14px;
        background: #ffffff;
        transition: all 0.2s ease;
    }

    .mobile-drawer-callback-btn:hover {
        background: #2563eb;
        color: #ffffff !important;
        border-style: solid;
    }


    .mobile-drawer-email {
        display: block;
        font-size: 15px;
        color: #333333 !important;
        text-decoration: none !important;
    }
}

/* Call Contact Modal / Popup Styling (Fancybox) */
.mobile-contact-popup {
    width: 90%;
    max-width: 360px;
    padding: 25px 20px !important;
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-contact-popup__logo img {
    max-height: 44px;
    width: auto;
    margin: 0 auto 15px auto;
    display: block;
}

.mobile-contact-popup__phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #2563eb !important;
    text-decoration: none !important;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.mobile-contact-popup__btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-align: center;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: background 0.2s ease;
}

.mobile-contact-popup__btn:hover {
    background: #1d4ed8;
}

.mobile-contact-popup__email {
    display: block;
    font-size: 15px;
    color: #333333 !important;
    text-decoration: none !important;
    margin: 18px 0 20px 0;
}

.mobile-contact-popup__socials {
    gap: 16px;
}

.mobile-contact-popup__socials .social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    font-size: 20px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.mobile-contact-popup__socials .social-icon:hover {
    border-color: #2563eb;
    color: #2563eb !important;
    background: #eff6ff;
}


.mobile-drawer-menu-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;

}

.mobile-drawer-soc-link {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb !important;
}

.mobile-drawer-soc-link svg {
    height: 24px;
    width: auto;
    /*padding-left: 30px;
    padding-right: 20px;*/
    padding-left: 10px;
    padding-right: 10px;
}
.header-phone__messenger_social .mobile-drawer-soc-link svg {
    height: 16px;

}

.mobile-callback-block {
    display: none;
}


.mobile-drawer-footer .mobile-menu-footer-block {
    display: flex;
}

.mobile-drawer-footer .mobile-menu-footer-block .right {
    padding-left: 20px;
}


.mobile-menu-open-callback .mobile-drawer-navy-box,
.mobile-menu-open-callback .mobile-menu-footer-block {
    display: none;
}

.mobile-menu-open-callback .mobile-callback-block {
    display: block;
}

.mobile-menu-open-callback .mobile-drawer-phone {
    font-size: 36px;
    margin-bottom: 30px;
}

.mobile-menu-open-callback .mobile-callback-block .mobile-drawer-callback-btn {
    color: #ffffff !important;
    background: #2563eb !important;
    margin-bottom: 40px;
    font-size: 30px;
}

.mobile-menu-open-callback .mobile-callback-block .mobile-drawer-email {
    font-size: 20px;
}

.mobile-menu-open-callback .mobile-menu-drawer {
    height: 50% !important;
}

.mobile-menu-open-callback .mobile-menu-drawer .mobile-callback-block {
    margin-top: 10%;
}

.mobile-menu-open-callback #mobileMenuDrawer {
    box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.2);
}

.mobile-menu-open-callback .wrapper-main-page,
.mobile-menu-open-callback .header-slider {
    opacity: .2;
}

.mobile-callback-block .mobile-drawer-callback-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 1.5px dashed #2563eb;
    border-radius: 25px;
    color: #2563eb !important;
    font-weight: 500;
    font-size: 22px;
    text-decoration: none !important;
    margin-bottom: 14px;
    background: #ffffff;
    transition: all 0.2s ease;
}


#header .menu-line {
    border-top: none;
}

.content-box h1,
#sidebar .title,
#header .menu-line-main-page,
.section-border-bottom {
    border-bottom: none;
}

#footer .footer__hr,
#footer .footer__menu-title:after {
    display: none;
}


.content-box h1 {
    padding-bottom: 0px;
    margin-bottom: 20px;
}


.section-padding-55 {
    padding: 25px 0;
}

.section-padding {
    padding: 35px 0;
}

.section-main-page-title {
    margin-bottom: 40px;
}


.section-company__title h1 {
    font-size: 1.4em;
}

.section-portfolio-projects h2 {

}

body h1 {
    font-size: 1.4em;
}

body h2 {
    font-size: 0.91em;
}

body h3 {
    font-size: 0.85em;
}

body h4 {
    font-size: 0.78em;
}

body h5 {
    font-size: 0.72em;
}

body h6 {
    font-size: 0.67em;
}


body input[type="checkbox" i] {
    margin: 0 !important;
}

.section-advantage__icon-fa.icon-fa__green {
    color: #21ad80 !important;
}


.header-phone__popup-item.header-phone__popup-item__address{
	font-size: 16px;
}



.header-phone__messenger_social .mobile-drawer-soc-link.mobile-drawer-soc-link--max svg{
    height: 18px;
}


.main-block-27 .section-advantage__link.btn-link.open-popup-link{
    background: #21ad80 !important;
}


@media (min-width: 1200px) {
    .people .container {
        max-width: 1000px;
    }
}


.services-sections h2 {
    /*margin: 0 0 10px 0;*/
    font-size: 1em;
}
.services-sections__links-link {
    font-size: 1em;
}
.services-sections ul li {
    display: block;
}


.section-bg,
.form-service-bottom__form{
    background: #fff !important;
}

body #header .header-slider__title{
    color: #1f78ff !important;
    font-weight: bolder;
}
