/* ZMI Laravel compatibility layer — matches WordPress/Industrie/Elementor behavior */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.zmi-laravel,
body.page,
body.home {
    margin: 0;
    overflow-x: hidden;
    width: 100%;
}

/* Elementor full-width sections must break out normally */
body.zmi-laravel .elementor-section.elementor-section-stretched,
body.zmi-laravel .e-con-full,
body.zmi-laravel .elementor-element.e-con-full {
    max-width: none;
}

body.zmi-laravel .elementor-section.elementor-section-stretched {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.zmi-laravel img:not(.zmi-mobile-header__logo-img):not(.zmi-mobile-drawer__logo-img):not(.zmi-footer__logo),
body.zmi-laravel video,
body.zmi-laravel iframe,
body.zmi-laravel svg {
    max-width: 100%;
    height: auto;
}

body.zmi-laravel .elementor-widget-container img {
    height: auto;
}

/* Mobile menu / offcanvas */
body.zmi-laravel .right_menu_togle,
body.zmi-laravel .sidebarmenu-area,
body.zmi-laravel .menu-responsive-menu-container {
    z-index: 99999;
}

body.zmi-laravel .rs-offcanvas-area {
    display: none !important;
}

body.zmi-laravel .hfe-nav-menu nav,
body.zmi-laravel .rs_mobile_menu {
    max-width: 100%;
}

/* ── ZMI mobile header + side drawer ── */
.zmi-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    height: 56px;
    max-height: 56px;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.zmi-mobile-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: 56px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.85rem;
    box-sizing: border-box;
}

.zmi-mobile-header__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    max-width: 120px;
    line-height: 0;
    text-decoration: none;
}

.zmi-mobile-header__logo img,
.zmi-mobile-header__logo-img {
    display: block !important;
    width: auto !important;
    height: 38px !important;
    max-width: 110px !important;
    max-height: 38px !important;
    object-fit: contain !important;
}

.zmi-mobile-header__toggle {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.zmi-mobile-header__toggle:hover {
    background: rgba(15, 102, 255, 0.2);
    border-color: rgba(15, 102, 255, 0.45);
}

.zmi-mobile-header__bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.zmi-mobile-menu-open .zmi-mobile-header__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.zmi-mobile-menu-open .zmi-mobile-header__bar:nth-child(2) {
    opacity: 0;
}

body.zmi-mobile-menu-open .zmi-mobile-header__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.zmi-mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100001;
}

.zmi-mobile-drawer.is-open {
    display: block;
}

.zmi-mobile-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.zmi-mobile-drawer.is-open .zmi-mobile-drawer__overlay {
    opacity: 1;
}

.zmi-mobile-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 340px);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0a0f1a 0%, #111827 100%);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.zmi-mobile-drawer.is-open .zmi-mobile-drawer__panel {
    transform: translateX(0);
}

.zmi-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zmi-mobile-drawer__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.zmi-mobile-drawer__brand img,
.zmi-mobile-drawer__logo-img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain !important;
}

.zmi-mobile-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.zmi-mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0;
}

.zmi-mobile-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zmi-mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.zmi-mobile-nav__link:hover,
.zmi-mobile-nav__link.is-active {
    background: rgba(15, 102, 255, 0.14);
    color: #64b4ff;
    padding-left: 1.5rem;
}

.zmi-mobile-drawer__footer {
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.zmi-mobile-drawer__cta {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f66ff, #4f46e5);
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 102, 255, 0.35);
}

body.zmi-mobile-menu-open {
    overflow: hidden;
}

/* Sticky header spacing */
body.zmi-laravel .rs-header.rs-enable-sticky {
    position: relative;
    z-index: 999;
}

/* Hero slider full width */
body.zmi-laravel .hero-slider-section,
body.zmi-laravel .hero-slide-item,
body.zmi-laravel .rev_slider_wrapper,
body.zmi-laravel rs-module-wrap {
    max-width: 100vw;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .zmi-mobile-header {
        display: block !important;
    }

    body.zmi-laravel {
        padding-top: 56px;
    }

    #rs-header,
    body.zmi-laravel #rs-header,
    body.zmi-laravel #rs-header .header-inner,
    body.zmi-laravel #rs-header .sticky-wrapper,
    body.zmi-laravel header.rs--mobile-hides {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    body.zmi-laravel .elementor-container,
    body.zmi-laravel .e-con-inner {
        flex-wrap: wrap !important;
    }

    body.zmi-laravel .e-con,
    body.zmi-laravel .e-con > .e-con-inner,
    body.zmi-laravel .elementor-widget-wrap {
        max-width: 100% !important;
    }

    body.zmi-laravel [data-elementor-type="wp-page"],
    body.zmi-laravel .hero-slider-section,
    body.zmi-laravel .elementor-widget-html {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: auto !important;
    }

    /* Video hero — don't cover with white overlay on mobile */
    body.zmi-laravel .hero-slide-item.has-slide-video-bg .hero-slide-overlay,
    body.zmi-laravel .theme-light .hero-slide-item.has-slide-video-bg .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.45) 100%) !important;
        opacity: 1 !important;
    }

    body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container,
    body.zmi-laravel .hero-slide-item.has-slide-video-bg .hero-slide-video {
        display: block !important;
        visibility: visible !important;
    }

    body.zmi-laravel table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* About section — stack columns */
    body.zmi-laravel .elementor-element-d36ada5 > .e-con-inner {
        flex-direction: column !important;
    }

    body.zmi-laravel .elementor-element-3398aa4,
    body.zmi-laravel .elementor-element-4f8a7dd,
    body.zmi-laravel .elementor-element-2de4127 {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Services grid */
    body.zmi-laravel .industrie-services-section .services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }

    body.zmi-laravel .industrie-services-section .service-item {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero slider */
    body.zmi-laravel .hero-slide-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        min-height: auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.zmi-laravel .hero-slide-content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        text-align: center;
    }

    body.zmi-laravel .hero-slide-visual {
        margin: 0 auto;
        max-width: min(100%, 360px);
    }

    body.zmi-laravel .hero-slide-machine {
        max-height: 280px;
        width: auto;
        margin: 0 auto;
    }

    body.zmi-laravel .hero-slider-section {
        --hero-height: clamp(380px, 65vh, 520px) !important;
        min-height: clamp(380px, 65vh, 520px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.zmi-laravel .hero-slide-item,
    body.zmi-laravel .hero-slider .slick-list,
    body.zmi-laravel .hero-slider .slick-track {
        min-height: clamp(380px, 65vh, 520px) !important;
    }

    body.zmi-laravel .hero-arrow {
        transform: scale(0.85);
    }

    /* Headings */
    body.zmi-laravel .prelements-heading .title {
        font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
        line-height: 1.2 !important;
    }

    body.zmi-laravel .prelements-heading .sub-text {
        font-size: 0.8rem !important;
    }

    body.zmi-laravel .elementor-widget-heading h1,
    body.zmi-laravel .elementor-widget-heading h2,
    body.zmi-laravel .elementor-widget-heading h3 {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Footer — tablet: stack columns (scoped, no global e-con-inner override) */
    body.zmi-laravel footer.zmi-footer .elementor-element-6bf4d3c,
    body.zmi-laravel footer#colophon .elementor-element-6bf4d3c {
        flex-direction: column !important;
    }

    body.zmi-laravel footer.zmi-footer .elementor-element-566b7eb,
    body.zmi-laravel footer.zmi-footer .elementor-element-ea7d8ca,
    body.zmi-laravel footer.zmi-footer .elementor-element-4f7da0d,
    body.zmi-laravel footer.zmi-footer .elementor-element-7b5cabd,
    body.zmi-laravel footer#colophon .elementor-element-566b7eb,
    body.zmi-laravel footer#colophon .elementor-element-ea7d8ca,
    body.zmi-laravel footer#colophon .elementor-element-4f7da0d,
    body.zmi-laravel footer#colophon .elementor-element-7b5cabd {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Work Process + contact — stack on tablet */
    body.zmi-laravel .elementor-element-e7a9cfa > .e-con-inner {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 2rem !important;
    }

    body.zmi-laravel .elementor-element-118b0a1,
    body.zmi-laravel .elementor-element-2dc81d0 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.zmi-laravel .rs-work-process-wrap .work-item {
        flex-wrap: wrap !important;
    }

    body.zmi-laravel .rs-work-process-wrap .work-item .right-part,
    body.zmi-laravel .rs-work-process-wrap .work-item .timeline-desc {
        width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 4.5rem;
    }

    /* Full section visibility — prevent GSAP/overflow clipping on mobile */
    body.zmi-laravel .zmi-site-content,
    body.zmi-laravel .zmi-site-content .e-con.e-parent,
    body.zmi-laravel .zmi-site-content .e-con.e-parent > .e-con-inner,
    body.zmi-laravel .zmi-site-content .elementor-element-66e0f29,
    body.zmi-laravel .zmi-site-content .elementor-element-e7a9cfa,
    body.zmi-laravel .zmi-site-content .elementor-element-ae9f1b6,
    body.zmi-laravel .zmi-site-content .elementor-element-0850325,
    body.zmi-laravel .zmi-site-content .industrie-clients-section,
    body.zmi-laravel .zmi-site-content .industrie-services-section {
        overflow: visible !important;
        --overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.zmi-laravel .elementor-section.elementor-section-stretched,
    body.zmi-laravel .e-con-full {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* GSAP scroll animations — show content immediately on mobile */
    body.zmi-laravel .gsap-move,
    body.zmi-laravel .gsap-rotate,
    body.zmi-laravel .gsap-rotate-anti,
    body.zmi-laravel .gsap-marquee {
        transform: none !important;
    }

    body.zmi-laravel .rs-split-text-enable,
    body.zmi-laravel .rs-split-text-enable .title,
    body.zmi-laravel .rs-split-text-enable .title-inner,
    body.zmi-laravel .rs-split-text-enable .title-inner *,
    body.zmi-laravel .rs-split-text-enable .char,
    body.zmi-laravel .rs-split-text-enable [class*="char"] {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Decorative absolute images — hide off-canvas artwork on small screens */
    body.zmi-laravel .elementor-element-312d813,
    body.zmi-laravel .elementor-element-db93be6,
    body.zmi-laravel .elementor-element-d8866db {
        display: none !important;
    }

    body.zmi-laravel .elementor-element-e7a9cfa > .e-con-inner {
        position: relative !important;
        overflow: visible !important;
    }

    body.zmi-laravel .industrie-clients-section .clients-carousel-wrapper {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    body.zmi-laravel .industrie-clients-section .clients-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 767px) {
    body.zmi-laravel .elementor-hidden-mobile {
        display: none !important;
    }

    body.zmi-laravel .rs--mobile-hides {
        display: none !important;
    }

    body.zmi-laravel .hfe-nav-menu .menu {
        flex-direction: column;
    }

    body.zmi-laravel .header-inner,
    body.zmi-laravel .header-breadcamb-fixer {
        overflow-x: hidden;
    }

    body.zmi-laravel .industrie-services-section .services-grid {
        grid-template-columns: 1fr !important;
    }

    body.zmi-laravel .elementor-widget-text-editor,
    body.zmi-laravel .prelements-heading .description {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    body.zmi-laravel .e-con-boxed > .e-con-inner {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.zmi-laravel .rs-button .rs-btn,
    body.zmi-laravel .hero-slide-button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .zmi-page-title-banner {
        min-height: 200px;
        padding-top: 3.5rem;
        padding-bottom: 2.5rem;
    }

    .elementor-element-352bc68 .e-hosted-video.zmi-about-media {
        min-height: 240px;
        aspect-ratio: 16 / 11;
    }

    body.zmi-laravel .industrie-clients-section .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.zmi-laravel .hero-slider-section {
        --hero-height: clamp(360px, 62vh, 480px) !important;
        min-height: clamp(360px, 62vh, 480px) !important;
    }

    body.zmi-laravel .hero-slide-item,
    body.zmi-laravel .hero-slider .slick-list,
    body.zmi-laravel .hero-slider .slick-track {
        min-height: clamp(360px, 62vh, 480px) !important;
    }

    body.zmi-laravel .hero-slide-layout {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (min-width: 768px) {
    body.zmi-laravel .elementor-hidden-desktop:not(.elementor-hidden-tablet) {
        /* preserve theme breakpoints */
    }
}

/* Prevent admin bar ghost space */
body.zmi-laravel.admin-bar {
    margin-top: 0 !important;
}

/* Fix fab icon fonts */
body.zmi-laravel .elementor-icon,
body.zmi-laravel .fa,
body.zmi-laravel .fas,
body.zmi-laravel .far,
body.zmi-laravel .fab {
    font-style: normal;
}

/* Active main navigation item */
body.zmi-laravel .hfe-nav-menu nav li.current-menu-item > a,
body.zmi-laravel .hfe-nav-menu nav li.current_page_item > a,
body.zmi-laravel .menu-main-menu-container li.current-menu-item > a,
body.zmi-laravel .menu-main-menu-container li.current_page_item > a {
    color: #0f66ff !important;
}

body.zmi-laravel .hfe-nav-menu nav li.current-menu-item > a::before,
body.zmi-laravel .menu-main-menu-container li.current-menu-item > a::before {
    background-color: #0f66ff !important;
}

body.zmi-laravel .hfe-nav-menu nav li:not(.current-menu-item):not(.current_page_item) > a {
    color: inherit;
}

/* Hero video instead of image */
.zmi-hero-has-video .hero-slide-media {
    display: none !important;
}

.zmi-hero-has-video .hero-slide-machine {
    display: none !important;
}

.zmi-hero-video-container {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.zmi-hero-video,
.zmi-hero-video-iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
    background: #000;
}

.zmi-hero-video-banner {
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
}

/* Full background video mode */
.zmi-hero-bg-video .hero-slide-bg {
    display: none !important;
}

.zmi-hero-bg-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.zmi-hero-bg-video-container .zmi-hero-video,
.zmi-hero-bg-video-container .zmi-hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.zmi-hero-bg-video .hero-slide-overlay,
.zmi-hero-bg-video .hero-slide-tint {
    z-index: 1;
}

.zmi-hero-bg-video .hero-slide-effects,
.zmi-hero-bg-video .hero-slide-layout {
    position: relative;
    z-index: 2;
}

/* Per-slide video (dynamic renderer) */
.hero-slide-item.has-slide-video .hero-slide-media,
.hero-slide-item.has-slide-video .hero-slide-machine {
    display: none !important;
}

.hero-slide-video-container {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.hero-slide-video,
.hero-slide-video-iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
    background: #000;
}

/* Full-background video slide */
.hero-slide-item.has-slide-video-bg .hero-slide-bg,
.hero-slide-item.has-slide-video-bg .hero-slide-media,
.hero-slide-item.has-slide-video-bg .hero-slide-machine {
    display: none !important;
}

.hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .hero-slide-video,
.hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .hero-slide-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-slide-item.has-slide-video-bg .hero-slide-overlay,
.hero-slide-item.has-slide-video-bg .hero-slide-effects,
.hero-slide-item.has-slide-video-bg .hero-slide-layout {
    position: relative;
    z-index: 2;
}

/* Page title banner (inner pages) */
.zmi-page-title-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: clamp(280px, 34vw, 400px);
    padding: clamp(5.5rem, 11vw, 8rem) clamp(1.5rem, 4vw, 3rem) clamp(4.5rem, 9vw, 7rem);
    margin: 0;
    isolation: isolate;
}

.zmi-page-title-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.zmi-page-title-banner__bg-image {
    position: absolute;
    inset: 0;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.04);
    filter: saturate(1.1);
}

.zmi-page-title-banner__bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(1, 18, 234, 0.92) 0%, rgba(3, 28, 253, 0.78) 42%, rgba(15, 102, 255, 0.72) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.45) 100%);
}

.zmi-page-title-banner__grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.zmi-page-title-banner__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    animation: zmi-banner-float 8s ease-in-out infinite;
}

.zmi-page-title-banner__orb--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: 8%;
    background: radial-gradient(circle, #64b4ff 0%, transparent 70%);
}

.zmi-page-title-banner__orb--2 {
    width: 220px;
    height: 220px;
    bottom: -60px;
    left: 12%;
    background: radial-gradient(circle, #ffb05c 0%, transparent 70%);
    animation-delay: -3s;
}

.zmi-page-title-banner__orb--3 {
    width: 160px;
    height: 160px;
    top: 40%;
    left: 55%;
    background: radial-gradient(circle, #00c8ff 0%, transparent 70%);
    animation-delay: -5s;
    opacity: 0.3;
}

@keyframes zmi-banner-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.05); }
}

.zmi-page-title-banner__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.zmi-page-title-banner__content {
    max-width: 820px;
}

.zmi-page-title-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.zmi-page-title-banner__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb05c, #00c8ff);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.8);
}

.zmi-page-title-banner__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 5.5vw, 3.875rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.zmi-page-title-banner__accent {
    width: 72px;
    height: 4px;
    margin: 1.25rem 0 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb05c 0%, #00c8ff 50%, #64b4ff 100%);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.55);
}

.zmi-page-title-banner__breadcrumb {
    margin: 0;
}

.zmi-page-title-banner__crumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0.65rem 1.15rem;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zmi-page-title-banner__crumbs li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 500;
}

.zmi-page-title-banner__crumbs li + li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0.85rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.zmi-page-title-banner__crumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.zmi-page-title-banner__crumbs a:hover {
    color: #ffb05c;
    text-decoration: none;
}

.zmi-page-title-banner__crumbs li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
    .zmi-page-title-banner {
        min-height: 240px;
        padding-top: 4.5rem;
        padding-bottom: 3.5rem;
    }

    .zmi-page-title-banner__title {
        font-size: clamp(2rem, 9vw, 2.5rem);
        line-height: 1.15;
    }

    .zmi-page-title-banner__orb--1 {
        width: 180px;
        height: 180px;
        right: -20px;
    }

    .zmi-page-title-banner__orb--2 {
        width: 140px;
        height: 140px;
        left: -10px;
    }
}

/* Legacy breadcrumb classes (fallback) */
.zmi-page-title-banner__breadcrumb.breadcrumb-area .breadcrumbs-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.zmi-page-title-banner__breadcrumb.breadcrumb-area span,
.zmi-page-title-banner__breadcrumb.breadcrumb-area a {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

/* Home — About section media (image / video toggle) */
.elementor-element-352bc68 .e-hosted-video.zmi-about-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0a1628;
    min-height: clamp(280px, 36vw, 480px);
    aspect-ratio: 4 / 5;
}

.elementor-element-352bc68 .zmi-about-media__image,
.elementor-element-352bc68 .zmi-about-media__video,
.elementor-element-352bc68 .zmi-about-media__iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    border: 0;
    object-fit: cover;
    background: #000;
}

.elementor-element-352bc68 .zmi-about-media--image .zmi-about-media__image {
    object-fit: contain;
    padding: 1.5rem;
    background: radial-gradient(circle at 30% 20%, rgba(15, 102, 255, 0.25), transparent 55%),
        linear-gradient(160deg, #0a1628 0%, #111827 100%);
}

@media (max-width: 1024px) {
    .elementor-element-352bc68 .e-hosted-video.zmi-about-media {
        min-height: 320px;
        aspect-ratio: 16 / 10;
    }
}

/* Site sections — injected media blocks */
.zmi-section-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0a1628;
    min-height: clamp(220px, 28vw, 420px);
}

.zmi-section-media__image,
.zmi-section-media__video,
.zmi-section-media__iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    border: 0;
    object-fit: cover;
    background: #000;
}

.zmi-section-media--image .zmi-section-media__image {
    object-fit: contain;
    padding: 1rem;
    background: linear-gradient(160deg, #0a1628 0%, #111827 100%);
}

/* Single project page */
.zmi-project {
    background: #f8fafc;
}

.zmi-project__container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.zmi-project-hero {
    position: relative;
    min-height: clamp(320px, 42vw, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.zmi-project-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.05);
    filter: saturate(1.05);
}

.zmi-project-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 10, 40, 0.25) 0%, rgba(2, 10, 40, 0.75) 55%, rgba(2, 10, 40, 0.92) 100%),
        linear-gradient(115deg, rgba(1, 18, 234, 0.55) 0%, rgba(15, 102, 255, 0.35) 100%);
}

.zmi-project-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.zmi-project-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.zmi-project-hero__title {
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 14ch;
}

.zmi-project-hero__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0;
    padding: 0.65rem 1rem;
    list-style: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    width: fit-content;
}

.zmi-project-hero__breadcrumb li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.zmi-project-hero__breadcrumb li + li::before {
    content: "•";
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.zmi-project-hero__breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.zmi-project-hero__breadcrumb a:hover {
    color: #fbbf24;
}

.zmi-project__body {
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.zmi-project__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.zmi-project__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #d97706;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zmi-project__heading {
    margin: 0 0 1.25rem;
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.zmi-project__intro {
    margin: 0 0 1.5rem;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.8;
}

.zmi-project__content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.85;
}

.zmi-project__content p {
    margin: 0 0 1rem;
}

.zmi-project__sidebar {
    position: sticky;
    top: 1.5rem;
}

.zmi-project-meta {
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.zmi-project-meta__item {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f7;
}

.zmi-project-meta__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.zmi-project-meta__label {
    display: block;
    margin-bottom: 0.25rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.zmi-project-meta__value {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}

.zmi-project-meta__value a {
    color: #2563eb;
    text-decoration: none;
}

.zmi-project-meta__value a:hover {
    text-decoration: underline;
}

.zmi-project__back {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.zmi-project__back:hover {
    background: #1e293b;
    transform: translateY(-1px);
    color: #fff;
}

.zmi-project-gallery {
    margin-top: 2rem;
}

.zmi-project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.zmi-project-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
    aspect-ratio: 4 / 3;
}

.zmi-project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.zmi-project-gallery__item:hover img {
    transform: scale(1.04);
}

.zmi-project-related {
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5rem);
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
}

.zmi-project-related__header {
    margin-bottom: 1.75rem;
}

.zmi-project-related__eyebrow {
    display: block;
    margin-bottom: 0.5rem;
    color: #d97706;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zmi-project-related__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
}

.zmi-project-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.zmi-project-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zmi-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
}

.zmi-project-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dbeafe;
}

.zmi-project-card__media img,
.zmi-project-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zmi-project-card__placeholder {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.zmi-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.zmi-project-card:hover .zmi-project-card__overlay {
    opacity: 1;
}

.zmi-project-card__body {
    padding: 1rem 1.1rem 1.2rem;
}

.zmi-project-card__category {
    display: block;
    margin-bottom: 0.35rem;
    color: #d97706;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.zmi-project-card__title {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .zmi-project__layout {
        grid-template-columns: 1fr;
    }

    .zmi-project__sidebar {
        position: static;
    }

    .zmi-project-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .zmi-project-hero__title {
        max-width: none;
    }

    .zmi-project-gallery__grid,
    .zmi-project-related__grid {
        grid-template-columns: 1fr;
    }
}

/* Brand logos — home clients section */
.zmi-brand-item img,
.zmi-brand-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .industrie-clients-section .clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .industrie-clients-section .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .industrie-clients-section .client-item {
        height: 100px;
        padding: 14px;
    }
}

/* Content ↔ footer spacing (all pages) */
body.zmi-laravel .zmi-site-content {
    display: block;
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
    z-index: 2;
}

body.zmi-laravel footer#colophon,
body.zmi-laravel footer.zmi-footer {
    margin-top: clamp(2rem, 4vw, 3.5rem) !important;
    clear: both;
    position: relative;
    z-index: 1;
}

/* Elementor footer shell: remove negative overlap that pulls footer into content */
body.zmi-laravel footer#colophon .elementor-element-3127396,
body.zmi-laravel footer.zmi-footer .elementor-element-3127396 {
    margin-top: 0 !important;
    --margin-top: 0px !important;
    min-height: 0 !important;
}

body.zmi-laravel .zmi-site-content > .elementor > .e-con.e-parent:last-child {
    padding-bottom: max(2.5rem, var(--padding-bottom, 0px)) !important;
}

body.zmi-laravel .zmi-site-content .zmi-project {
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

body.zmi-laravel .zmi-site-content .industrie-flipbook {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

body.zmi-laravel .zmi-site-content .elementor-element-0f422be {
    padding-bottom: clamp(3rem, 6vw, 5rem) !important;
    --padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

body.zmi-laravel.home .zmi-site-content .elementor-element-e7a9cfa {
    padding-bottom: clamp(5rem, 8vw, 7.5rem) !important;
    --padding-bottom: clamp(5rem, 8vw, 7.5rem) !important;
}

/* Work Process + contact section (above footer) — desktop only */
@media (min-width: 1025px) {
body.zmi-laravel .elementor-element-e7a9cfa > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: clamp(1.5rem, 3vw, 2.5rem) !important;
    width: min(1180px, calc(100% - 2rem)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.zmi-laravel .elementor-element-118b0a1 {
    width: 60% !important;
    max-width: 60% !important;
    flex: 0 0 60% !important;
    min-width: 0 !important;
    padding-right: 1.5rem !important;
}

body.zmi-laravel .elementor-element-2dc81d0 {
    width: 40% !important;
    max-width: 40% !important;
    flex: 0 0 40% !important;
    min-width: 0 !important;
    padding-left: 0.5rem !important;
}

body.zmi-laravel .elementor-element-cd96e07 .prelements-heading .title,
body.zmi-laravel .elementor-element-cd96e07 .prelements-heading .sub-text {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.zmi-laravel .rs-work-process-wrap {
    width: 100%;
}

body.zmi-laravel .rs-work-process-wrap .work-item {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 1rem;
    width: 100% !important;
    margin-top: 2rem;
}

body.zmi-laravel .rs-work-process-wrap .work-item:first-child {
    margin-top: 0;
}

body.zmi-laravel .rs-work-process-wrap .work-item .rs-step-part {
    width: 54px !important;
    flex: 0 0 54px !important;
}

body.zmi-laravel .rs-work-process-wrap .work-item .rs-step-part span {
    width: 54px;
    height: 54px;
}

body.zmi-laravel .rs-work-process-wrap .work-item .right-part {
    width: 34% !important;
    flex: 0 0 34% !important;
    min-width: 10rem;
    padding-top: 0.35rem;
}

body.zmi-laravel .rs-work-process-wrap .work-item .right-part .item-period {
    font-size: 1.15rem;
    line-height: 1.45;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.zmi-laravel .rs-work-process-wrap .work-item .timeline-desc {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0;
    padding-top: 0.35rem;
}

body.zmi-laravel .rs-work-process-wrap .work-item .timeline-desc p {
    margin: 0;
    line-height: 1.7;
    color: #5f6b7a;
}

body.zmi-laravel .elementor-element-2dc81d0 .elementor-element-d11db53 {
    width: 100% !important;
    max-width: 100% !important;
}

body.zmi-laravel .elementor-element-2dc81d0 .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
}

/* Footer — logo sizing & layout polish */
body.zmi-laravel footer.zmi-footer,
body.zmi-laravel footer#colophon {
    background: #050505 !important;
}

body.zmi-laravel footer.zmi-footer .footer-width-fixer,
body.zmi-laravel footer#colophon .footer-width-fixer {
    width: 100%;
}

body.zmi-laravel footer.zmi-footer .elementor-element-bc0b8fc > .e-con-inner,
body.zmi-laravel footer#colophon .elementor-element-bc0b8fc > .e-con-inner {
    width: min(1180px, calc(100% - 2rem));
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 3.75rem) 1rem clamp(1.5rem, 3vw, 2rem);
}

/* Main footer row — flex (compatible with Elementor e-flex) */
body.zmi-laravel footer.zmi-footer .elementor-element-6bf4d3c,
body.zmi-laravel footer#colophon .elementor-element-6bf4d3c {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: clamp(1.5rem, 3vw, 2.5rem) !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.zmi-laravel footer.zmi-footer .elementor-element-6bf4d3c > .e-con.e-child,
body.zmi-laravel footer#colophon .elementor-element-6bf4d3c > .e-con.e-child {
    width: auto !important;
    min-width: 0;
    flex-shrink: 1;
}

body.zmi-laravel footer.zmi-footer .elementor-element-566b7eb,
body.zmi-laravel footer#colophon .elementor-element-566b7eb {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 300px !important;
    min-width: min(100%, 280px) !important;
    max-width: 420px !important;
}

body.zmi-laravel footer.zmi-footer .elementor-element-ea7d8ca,
body.zmi-laravel footer.zmi-footer .elementor-element-4f7da0d,
body.zmi-laravel footer.zmi-footer .elementor-element-7b5cabd,
body.zmi-laravel footer#colophon .elementor-element-ea7d8ca,
body.zmi-laravel footer#colophon .elementor-element-4f7da0d,
body.zmi-laravel footer#colophon .elementor-element-7b5cabd {
    flex: 1 1 170px !important;
    min-width: min(100%, 160px) !important;
    max-width: 260px !important;
}

body.zmi-laravel footer.zmi-footer .elementor-element-6bc0798,
body.zmi-laravel footer#colophon .elementor-element-6bc0798 {
    width: fit-content;
    max-width: 150px;
}

body.zmi-laravel footer.zmi-footer .zmi-footer__logo,
body.zmi-laravel footer.zmi-footer .elementor-element-6bc0798 img,
body.zmi-laravel footer#colophon .zmi-footer__logo,
body.zmi-laravel footer#colophon .elementor-element-6bc0798 img {
    display: block;
    width: auto !important;
    max-width: 130px !important;
    max-height: 84px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left center;
}

body.zmi-laravel footer.zmi-footer .elementor-element-d44a452,
body.zmi-laravel footer#colophon .elementor-element-d44a452 {
    margin: 0;
    width: 100%;
    max-width: none;
}

body.zmi-laravel footer.zmi-footer .elementor-widget-heading h3,
body.zmi-laravel footer.zmi-footer .elementor-icon-list-text,
body.zmi-laravel footer.zmi-footer .elementor-element-d44a452 p,
body.zmi-laravel footer#colophon .elementor-widget-heading h3,
body.zmi-laravel footer#colophon .elementor-icon-list-text,
body.zmi-laravel footer#colophon .elementor-element-d44a452 p {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.zmi-laravel footer.zmi-footer .elementor-element-d44a452 p,
body.zmi-laravel footer#colophon .elementor-element-d44a452 p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.8;
}

body.zmi-laravel footer.zmi-footer .elementor-element-d44a452 strong,
body.zmi-laravel footer#colophon .elementor-element-d44a452 strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

body.zmi-laravel footer.zmi-footer .elementor-widget-heading .elementor-heading-title,
body.zmi-laravel footer#colophon .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 1rem;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

body.zmi-laravel footer.zmi-footer .elementor-widget-heading .elementor-heading-title::after,
body.zmi-laravel footer#colophon .elementor-widget-heading .elementor-heading-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f66ff 0%, #d97706 100%);
}

body.zmi-laravel footer.zmi-footer .hfe-nav-menu .menu,
body.zmi-laravel footer#colophon .hfe-nav-menu .menu {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.zmi-laravel footer.zmi-footer .hfe-nav-menu a,
body.zmi-laravel footer#colophon .hfe-nav-menu a {
    display: inline-flex;
    padding: 0.4rem 0;
    color: #7eb4ff !important;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

body.zmi-laravel footer.zmi-footer .hfe-nav-menu a:hover,
body.zmi-laravel footer#colophon .hfe-nav-menu a:hover,
body.zmi-laravel footer.zmi-footer .hfe-nav-menu .current-menu-item > a,
body.zmi-laravel footer#colophon .hfe-nav-menu .current-menu-item > a {
    color: #fbbf24 !important;
}

body.zmi-laravel footer.zmi-footer .elementor-icon-list-items,
body.zmi-laravel footer#colophon .elementor-icon-list-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.zmi-laravel footer.zmi-footer .elementor-icon-list-item,
body.zmi-laravel footer#colophon .elementor-icon-list-item {
    margin-bottom: 0.55rem;
}

body.zmi-laravel footer.zmi-footer .elementor-icon-list-text,
body.zmi-laravel footer#colophon .elementor-icon-list-text {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

body.zmi-laravel footer.zmi-footer .elementor-icon-list-item a,
body.zmi-laravel footer#colophon .elementor-icon-list-item a {
    color: inherit;
    text-decoration: none;
}

body.zmi-laravel footer.zmi-footer .elementor-icon-list-item a:hover .elementor-icon-list-text,
body.zmi-laravel footer#colophon .elementor-icon-list-item a:hover .elementor-icon-list-text {
    color: #fbbf24 !important;
}

body.zmi-laravel footer.zmi-footer .elementor-social-icons-wrapper,
body.zmi-laravel footer#colophon .elementor-social-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

body.zmi-laravel footer.zmi-footer .elementor-social-icon,
body.zmi-laravel footer#colophon .elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

body.zmi-laravel footer.zmi-footer .elementor-social-icon:hover,
body.zmi-laravel footer#colophon .elementor-social-icon:hover {
    background: linear-gradient(135deg, #0f66ff, #2563eb);
    transform: translateY(-2px);
}

body.zmi-laravel footer.zmi-footer .elementor-element-fde049d,
body.zmi-laravel footer#colophon .elementor-element-fde049d {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.zmi-laravel footer.zmi-footer .elementor-divider-separator,
body.zmi-laravel footer#colophon .elementor-divider-separator {
    display: none;
}

body.zmi-laravel footer.zmi-footer .hfe-copyright-wrapper,
body.zmi-laravel footer#colophon .hfe-copyright-wrapper {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.88rem;
    line-height: 1.7;
    text-align: center;
}

body.zmi-laravel footer.zmi-footer .hfe-copyright-wrapper a,
body.zmi-laravel footer#colophon .hfe-copyright-wrapper a {
    color: #7eb4ff;
    text-decoration: none;
}

body.zmi-laravel footer.zmi-footer .hfe-copyright-wrapper a:hover,
body.zmi-laravel footer#colophon .hfe-copyright-wrapper a:hover {
    color: #fbbf24;
}

@media (max-width: 1024px) {
    body.zmi-laravel footer.zmi-footer .elementor-element-6bf4d3c,
    body.zmi-laravel footer#colophon .elementor-element-6bf4d3c {
        flex-direction: column !important;
    }

    body.zmi-laravel footer.zmi-footer .elementor-element-566b7eb,
    body.zmi-laravel footer.zmi-footer .elementor-element-ea7d8ca,
    body.zmi-laravel footer.zmi-footer .elementor-element-4f7da0d,
    body.zmi-laravel footer.zmi-footer .elementor-element-7b5cabd,
    body.zmi-laravel footer#colophon .elementor-element-566b7eb,
    body.zmi-laravel footer#colophon .elementor-element-ea7d8ca,
    body.zmi-laravel footer#colophon .elementor-element-4f7da0d,
    body.zmi-laravel footer#colophon .elementor-element-7b5cabd {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 640px) {
    body.zmi-laravel footer.zmi-footer .elementor-element-bc0b8fc > .e-con-inner,
    body.zmi-laravel footer#colophon .elementor-element-bc0b8fc > .e-con-inner {
        padding-top: 2rem;
        padding-bottom: 1.25rem;
    }

    body.zmi-laravel footer.zmi-footer .elementor-element-6bf4d3c,
    body.zmi-laravel footer#colophon .elementor-element-6bf4d3c {
        gap: 1.75rem !important;
    }

    body.zmi-laravel footer.zmi-footer .zmi-footer__logo,
    body.zmi-laravel footer.zmi-footer .elementor-element-6bc0798 img,
    body.zmi-laravel footer#colophon .zmi-footer__logo,
    body.zmi-laravel footer#colophon .elementor-element-6bc0798 img {
        max-width: 110px !important;
        max-height: 72px !important;
    }
}

/* ── Mobile containment: work section, contact form, footer ── */
@media (max-width: 1024px) {
    body.zmi-laravel #page,
    body.zmi-laravel #zmi-main-content,
    body.zmi-laravel footer.zmi-footer,
    body.zmi-laravel footer#colophon {
        max-width: 100% !important;
        overflow-x: clip;
    }

    body.zmi-laravel .zmi-site-content .e-con,
    body.zmi-laravel .zmi-site-content .e-con-inner,
    body.zmi-laravel .zmi-site-content .elementor-widget,
    body.zmi-laravel .zmi-site-content .elementor-widget-container,
    body.zmi-laravel footer .e-con,
    body.zmi-laravel footer .e-con-inner,
    body.zmi-laravel footer .elementor-widget,
    body.zmi-laravel footer .elementor-widget-container {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    /* Elementor sets width:1000px on about descriptions */
    body.zmi-laravel .prelements-heading .description,
    body.zmi-laravel .prelements-heading .description p {
        width: 100% !important;
        max-width: 100% !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Work process + contact — single column */
    body.zmi-laravel .elementor-element-e7a9cfa > .e-con-inner {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        gap: 2rem !important;
        box-sizing: border-box;
    }

    body.zmi-laravel .elementor-element-118b0a1,
    body.zmi-laravel .elementor-element-2dc81d0 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        min-width: 0 !important;
    }

    body.zmi-laravel .elementor-element-2dc81d0 .elementor-element-d11db53 > .e-con-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.zmi-laravel .rs-work-process-wrap {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.zmi-laravel .rs-work-process-wrap .work-item {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.75rem;
    }

    body.zmi-laravel .rs-work-process-wrap .work-item .rs-step-part {
        width: 54px !important;
        flex: 0 0 auto !important;
    }

    body.zmi-laravel .rs-work-process-wrap .work-item .right-part,
    body.zmi-laravel .rs-work-process-wrap .work-item .timeline-desc {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-top: 0 !important;
    }

    body.zmi-laravel .rs-work-process-wrap .work-item .right-part .item-period,
    body.zmi-laravel .rs-work-process-wrap .work-item .timeline-desc p {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    body.zmi-laravel .elementor-element-cd96e07 .prelements-heading .title,
    body.zmi-laravel .elementor-element-cd96e07 .prelements-heading .sub-text {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    /* Contact form */
    body.zmi-laravel .elementor-element-2dc81d0 .wpcf7,
    body.zmi-laravel .elementor-element-2dc81d0 .wpcf7-form,
    body.zmi-laravel .elementor-element-2dc81d0 .form-btn-area,
    body.zmi-laravel .elementor-element-2dc81d0 .form-btn-area p {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.zmi-laravel .elementor-element-2dc81d0 .form-btn-area p {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin: 0 !important;
    }

    body.zmi-laravel .elementor-element-2dc81d0 .wpcf7-form-control:not(.wpcf7-submit),
    body.zmi-laravel .elementor-element-2dc81d0 .wpcf7-submit {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        white-space: normal !important;
    }

    body.zmi-laravel .elementor-element-2dc81d0 .wpcf7-spinner {
        margin-left: 0 !important;
    }

    /* Footer */
    body.zmi-laravel footer.zmi-footer .footer-width-fixer,
    body.zmi-laravel footer#colophon .footer-width-fixer,
    body.zmi-laravel footer.zmi-footer .elementor-element-bc0b8fc > .e-con-inner,
    body.zmi-laravel footer#colophon .elementor-element-bc0b8fc > .e-con-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box;
    }

    body.zmi-laravel footer.zmi-footer .elementor-element-6bf4d3c,
    body.zmi-laravel footer#colophon .elementor-element-6bf4d3c {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.zmi-laravel footer.zmi-footer .elementor-element-566b7eb,
    body.zmi-laravel footer.zmi-footer .elementor-element-ea7d8ca,
    body.zmi-laravel footer.zmi-footer .elementor-element-4f7da0d,
    body.zmi-laravel footer.zmi-footer .elementor-element-7b5cabd,
    body.zmi-laravel footer#colophon .elementor-element-566b7eb,
    body.zmi-laravel footer#colophon .elementor-element-ea7d8ca,
    body.zmi-laravel footer#colophon .elementor-element-4f7da0d,
    body.zmi-laravel footer#colophon .elementor-element-7b5cabd {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    body.zmi-laravel footer.zmi-footer .elementor-element-d44a452 p,
    body.zmi-laravel footer#colophon .elementor-element-d44a452 p,
    body.zmi-laravel footer.zmi-footer .elementor-icon-list-text,
    body.zmi-laravel footer#colophon .elementor-icon-list-text,
    body.zmi-laravel footer.zmi-footer .hfe-copyright-wrapper,
    body.zmi-laravel footer#colophon .hfe-copyright-wrapper {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        max-width: 100% !important;
    }
}

/* ===== Hero framed (~1cm gap + 650px height) ===== */
body.zmi-laravel .hero-slider-section.zmi-hero-framed {
    --hero-frame-gap: 38px;
    --hero-height: 650px;
    width: calc(100% - (var(--hero-frame-gap) * 2)) !important;
    max-width: calc(100vw - (var(--hero-frame-gap) * 2)) !important;
    margin: var(--hero-frame-gap) auto !important;
    min-height: var(--hero-height) !important;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

body.zmi-laravel .hero-slider-section.zmi-hero-framed,
body.zmi-laravel .hero-slider-section.zmi-hero-framed .hero-slide-item,
body.zmi-laravel .hero-slider-section.zmi-hero-framed .hero-slider .slick-list,
body.zmi-laravel .hero-slider-section.zmi-hero-framed .hero-slider .slick-track {
    min-height: var(--hero-height, 650px) !important;
}

@media (max-width: 1024px) {
    body.zmi-laravel .hero-slider-section.zmi-hero-framed {
        --hero-frame-gap: 12px;
        --hero-height: clamp(360px, 58vh, 520px);
        border-radius: 14px;
        width: calc(100% - (var(--hero-frame-gap) * 2)) !important;
        max-width: calc(100vw - (var(--hero-frame-gap) * 2)) !important;
        margin: var(--hero-frame-gap) auto !important;
    }
}

/* ===== Service detail hero spacing (image fully visible under header) ===== */
body.zmi-laravel.single-services .header-breadcamb-fixer,
body.zmi-laravel.single-services .header-breadcamb-fixer .elementor-10514,
body.zmi-laravel.single-services [data-elementor-id="10514"] {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.zmi-laravel.single-services .service-hero-section {
    padding: 140px 0 90px !important;
    margin-top: 0 !important;
}

body.zmi-laravel.single-services .service-hero-image {
    margin-top: 0.5rem;
}

body.zmi-laravel.single-services .service-hero-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    body.zmi-laravel.single-services .service-hero-section {
        padding: 100px 0 60px !important;
    }
}

/* ===== Services listing page redesign ===== */
.zmi-services-page__container {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.zmi-services-page__hero {
    position: relative;
    isolation: isolate;
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
    color: #fff;
    overflow: hidden;
    background: #0b1220;
}

.zmi-services-page__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 80% at 15% 20%, rgba(217, 119, 6, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 70% at 90% 10%, rgba(14, 165, 233, 0.28), transparent 50%),
        linear-gradient(135deg, #0b1220 0%, #152238 45%, #0f172a 100%);
}

.zmi-services-page__hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 85%);
}

.zmi-services-page__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.zmi-services-page__eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.4rem 0.95rem;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.zmi-services-page__title {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.zmi-services-page__lead {
    margin: 0 0 2rem;
    max-width: 54ch;
    color: rgba(255,255,255,0.78);
    font-size: 1.1rem;
    line-height: 1.75;
}

.zmi-services-page__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.zmi-services-page__stat {
    min-width: 120px;
    padding: 0.9rem 1.15rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}

.zmi-services-page__stat strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.zmi-services-page__stat span {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}

.zmi-services-page__filters-wrap {
    padding: 1.5rem 0 0.5rem;
    background: #f8fafc;
}

.zmi-services-page__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.zmi-services-page__filter {
    appearance: none;
    border: 1px solid #dbe3ee;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zmi-services-page__filter:hover {
    border-color: #d97706;
    color: #b45309;
}

.zmi-services-page__filter.is-active {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

.zmi-services-page__grid-wrap {
    padding: 1.5rem 0 4rem;
    background: #f8fafc;
}

.zmi-services-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.zmi-services-page__card {
    display: grid;
    grid-template-rows: 220px 1fr;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: zmiServicesCardIn 0.7s ease both;
    animation-delay: var(--card-delay, 0s);
}

.zmi-services-page__card.is-hidden {
    display: none;
}

.zmi-services-page__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.zmi-services-page__card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0f172a;
}

.zmi-services-page__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.zmi-services-page__card:hover .zmi-services-page__card-media img {
    transform: scale(1.06);
}

.zmi-services-page__card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 48%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.zmi-services-page__card:hover .zmi-services-page__card-shine {
    transform: translateX(120%);
}

.zmi-services-page__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem 1.45rem 1.5rem;
}

.zmi-services-page__card-tag {
    align-self: flex-start;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.zmi-services-page__card-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.zmi-services-page__card-title a {
    color: #0f172a;
    text-decoration: none;
}

.zmi-services-page__card-title a:hover {
    color: #d97706;
}

.zmi-services-page__card-excerpt {
    margin: 0;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
    flex: 1;
}

.zmi-services-page__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    color: #0f66ff;
    font-weight: 700;
    text-decoration: none;
}

.zmi-services-page__card-link svg {
    transition: transform 0.25s ease;
}

.zmi-services-page__card-link:hover svg {
    transform: translateX(4px);
}

.zmi-services-page__cta {
    padding: 0 0 4.5rem;
    background: #f8fafc;
}

.zmi-services-page__cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 1.75rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0b3b7a 100%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.zmi-services-page__cta-inner h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
}

.zmi-services-page__cta-inner p {
    margin: 0;
    color: rgba(255,255,255,0.75);
}

.zmi-services-page__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
}

.zmi-services-page__cta-btn:hover {
    filter: brightness(1.05);
    color: #fff;
}

@keyframes zmiServicesCardIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .zmi-services-page__grid {
        grid-template-columns: 1fr;
    }

    .zmi-services-page__card {
        grid-template-rows: 200px 1fr;
    }
}

.zmi-shared-about__media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}


/* ===== Fixes Aug 6: hero gap + full video + services contrast ===== */
body.zmi-laravel #rs-header + *,
body.zmi-laravel .zmi-mobile-header + * {
    /* spacer handled on hero itself */
}

body.zmi-laravel .hero-slider-section.zmi-hero-framed {
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100% - 76px) !important;
    max-width: calc(100% - 76px) !important;
    margin-top: 38px !important;
    margin-right: 38px !important;
    margin-bottom: 38px !important;
    margin-left: 38px !important;
    background: #000 !important;
}

body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container,
body.zmi-laravel .zmi-hero-bg-video-container {
    background: #000 !important;
}

body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container video,
body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .hero-slide-video,
body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .hero-slide-video-iframe,
body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .zmi-hero-video,
body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .zmi-hero-video-iframe,
body.zmi-laravel .zmi-hero-bg-video-container video,
body.zmi-laravel .zmi-hero-bg-video-container .zmi-hero-video,
body.zmi-laravel .zmi-hero-bg-video-container iframe {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    background: #000 !important;
}

/* Keep overlays light so video remains visible */
body.zmi-laravel .hero-slide-item.has-slide-video-bg .hero-slide-overlay,
body.zmi-laravel .theme-light .hero-slide-item.has-slide-video-bg .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.28) 100%) !important;
    opacity: 1 !important;
}

/* Services page contrast — beat Elementor kit dark text */
body.zmi-laravel .zmi-services-page__hero,
body.zmi-laravel .zmi-services-page__hero *:not(a) {
    color: #ffffff !important;
}

body.zmi-laravel .zmi-services-page__title,
body.zmi-laravel .zmi-services-page__hero h1,
body.zmi-laravel h1.zmi-services-page__title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.zmi-laravel .zmi-services-page__lead,
body.zmi-laravel .zmi-services-page__eyebrow,
body.zmi-laravel .zmi-services-page__stat,
body.zmi-laravel .zmi-services-page__stat strong,
body.zmi-laravel .zmi-services-page__stat span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.zmi-laravel .zmi-services-page__lead {
    color: rgba(255,255,255,0.88) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.88) !important;
}

body.zmi-laravel .zmi-services-page__eyebrow {
    color: #fff7ed !important;
    -webkit-text-fill-color: #fff7ed !important;
    border-color: rgba(255,255,255,0.35) !important;
    background: rgba(255,255,255,0.12) !important;
}

body.zmi-laravel .zmi-services-page__stat {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.22) !important;
}

body.zmi-laravel .zmi-services-page__stat span {
    color: rgba(255,255,255,0.75) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.75) !important;
}

body.zmi-laravel .zmi-services-page__card-body,
body.zmi-laravel .zmi-services-page__card-title,
body.zmi-laravel .zmi-services-page__card-title a {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

body.zmi-laravel .zmi-services-page__card-excerpt {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

body.zmi-laravel .zmi-shared-about-media--video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 14px;
    background: #0b1220;
}

body.zmi-laravel .zmi-shared-about-media--video video,
body.zmi-laravel .zmi-shared-about-media--video iframe,
body.zmi-laravel .zmi-shared-about__media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

@media (max-width: 1024px) {
    body.zmi-laravel .hero-slider-section.zmi-hero-framed {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: 12px auto !important;
    }
}


/* ===== Slider: full width + 3px top gap only ===== */
body.zmi-laravel .hero-slider-section.zmi-hero-full,
body.zmi-laravel .hero-slider-section.zmi-hero-framed {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-top: 3px !important;
    padding-top: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container video,
body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .hero-slide-video,
body.zmi-laravel .hero-slide-item.has-slide-video-bg .zmi-hero-bg-video-container .zmi-hero-video,
body.zmi-laravel .zmi-hero-bg-video-container video,
body.zmi-laravel .zmi-hero-bg-video-container .zmi-hero-video {
    object-fit: cover !important;
}

@media (max-width: 1024px) {
    body.zmi-laravel .hero-slider-section.zmi-hero-full,
    body.zmi-laravel .hero-slider-section.zmi-hero-framed {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-top: 3px !important;
        border-radius: 0 !important;
    }
}

/* ===== Shared About section (About Us page) ===== */
.zmi-shared-about {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #fff;
}

.zmi-shared-about__container {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.zmi-shared-about__media-col {
    position: relative;
}

.zmi-shared-about__video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 18px;
    background: #0b1220;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.zmi-shared-about__media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
    border-radius: 18px;
}

.zmi-shared-about__media-col > img.zmi-shared-about__media {
    aspect-ratio: 16 / 11;
    object-fit: cover;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.zmi-shared-about__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #ea580c !important;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.zmi-shared-about__title {
    margin: 0 0 1.1rem;
    color: #0f172a !important;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.zmi-shared-about__body {
    color: #475569 !important;
    font-size: 1.05rem;
    line-height: 1.85;
}

.zmi-shared-about__body p {
    margin: 0 0 0.85rem;
}

.zmi-shared-about__body br {
    display: block;
    content: "";
    margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
    .zmi-shared-about__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Hide leftover decorative absolute image labels on about-us */
body.zmi-laravel.page-slug-about-us .elementor-element-2de833d,
body.page-id-3491 .elementor-element-2de833d {
    display: none !important;
}

/* ===== Contact form + captcha ===== */
.zmi-contact-form .zmi-contact-captcha {
    margin: 1rem 0 1.25rem;
}

.zmi-contact-form .zmi-contact-captcha label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
}

.zmi-contact-captcha__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.zmi-contact-captcha__image {
    display: block;
    width: 160px;
    height: 50px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.zmi-contact-captcha__refresh {
    width: 42px;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
}

.zmi-contact-captcha__input {
    flex: 1 1 140px;
    min-width: 140px;
    max-width: 220px;
    height: 46px;
    padding: 0.55rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.zmi-contact-alert {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.zmi-contact-alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.zmi-contact-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.zmi-contact-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
