/* Elementor wrapper compatibility for the exact index2.html design. */
body.page-v2 { margin: 0; overflow-x: hidden; }
body.page-v2 .elementor,
body.page-v2 .elementor .sf-elementor-top,
body.page-v2 .elementor .sf-elementor-page,
body.page-v2 .elementor .sf-elementor-top > .e-con-inner,
body.page-v2 .elementor .sf-elementor-page > .e-con-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-v2 .sf-elementor-top > .elementor-element,
body.page-v2 .sf-elementor-page > .elementor-element,
body.page-v2 .sf-elementor-top > .e-con-inner > .elementor-element,
body.page-v2 .sf-elementor-page > .e-con-inner > .elementor-element,
body.page-v2 .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
/* The fixed source header normally offsets a direct child <main>. Elementor
   inserts its own root wrapper, so reproduce that source relationship here. */
body.page-v2.sf-native-elementor-page main.sf-native-tag-main {
    padding-top: 80px !important;
}
body.page-v2 .elementor-widget { margin-bottom: 0; }
body.page-v2 .elementor-widget-sf-site-footer { line-height: normal; }
body.page-v2 .elementor .sf-source-page-container,
body.page-v2 .elementor .sf-source-page-container > .e-con-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-v2 .sf-source-page-container > .elementor-element,
body.page-v2 .sf-source-page-container > .e-con-inner > .elementor-element,
body.page-v2 .sf-source-page-container .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
body.page-v2 .elementor-widget-sf-journey-line { position: static; height: 0; }
body.page-v2 .video-grid video { display: none; width: 100%; height: 100%; object-fit: cover; }
body.page-v2 .video-grid article.video-active > img,
body.page-v2 .video-grid article.video-active > button { display: none; }
body.page-v2 .video-grid article.video-active video { display: block; }
@media (max-width: 767px) {
    body.page-v2.sf-native-elementor-page main.sf-native-tag-main {
        padding-top: 72px !important;
    }
}
/* Native importer compatibility for independently editable Elementor wrappers. */
.sf-atomic-shell,
.elementor-widget-sf-atomic-text,
.elementor-widget-sf-atomic-rich-text,
.elementor-widget-sf-atomic-action,
.elementor-widget-sf-atomic-image,
.elementor-widget-sf-atomic-video,
.elementor-widget-sf-atomic-svg,
.elementor-widget-sf-atomic-field,
.sf-atomic-shell > .elementor-widget-container,
.elementor-widget-sf-atomic-text > .elementor-widget-container,
.elementor-widget-sf-atomic-rich-text > .elementor-widget-container,
.elementor-widget-sf-atomic-action > .elementor-widget-container,
.elementor-widget-sf-atomic-image > .elementor-widget-container,
.elementor-widget-sf-atomic-video > .elementor-widget-container,
.elementor-widget-sf-atomic-svg > .elementor-widget-container,
.elementor-widget-sf-atomic-field > .elementor-widget-container { display: contents !important; }
:where(.sf-atomic-shell .sf-atomic-text-output,
       .sf-atomic-shell .sf-atomic-rich-text-output,
       .sf-atomic-shell .sf-atomic-action-output) { color: inherit; font: inherit; }
.sf-atomic-shell .sf-atomic-image-output,
.sf-atomic-shell .sf-atomic-video-output { display: block; max-width: 100%; object-fit: inherit; }
.sf-native-container.e-con { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; min-width: 0; }
/* Semantic source containers are ordinary block elements unless their source
   class explicitly opts into grid/flex. Zero-specificity defaults let the
   generated source rules override these values without changing cascade. */
:where(.sf-native-container.e-con) {
    --display: block !important;
    display: block !important;
    --gap: 0px !important;
    gap: 0 !important;
}
.sf-native-container.e-con.e-con-full { max-width: none; }
.sf-atomic-image-output { max-width: 100%; }
body.page-v2.sf-native-elementor-page [hidden] { display: none !important; }

/* Elementor edit mode must remain a stable design canvas: hovering or
   selecting header controls must not cover the hero with a mega menu. */
body.elementor-editor-active.page-v2 .site-header .mega-menu,
body.elementor-editor-preview.page-v2 .site-header .mega-menu {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body.elementor-editor-active.page-v2 .site-animate,
body.elementor-editor-preview.page-v2 .site-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}
body.elementor-editor-active.page-v2 [data-achievement-carousel] .achievement-carousel-viewport,
body.elementor-editor-preview.page-v2 [data-achievement-carousel] .achievement-carousel-viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}
body.elementor-editor-active.page-v2 [data-achievement-carousel] .achievement-gallery,
body.elementor-editor-preview.page-v2 [data-achievement-carousel] .achievement-gallery {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--achievement-gap, 18px) !important;
    width: 100% !important;
}
body.elementor-editor-active.page-v2 [data-achievement-carousel] .achievement-gallery article,
body.elementor-editor-preview.page-v2 [data-achievement-carousel] .achievement-gallery article {
    flex: 0 0 calc((100% - (3 * var(--achievement-gap, 18px))) / 4) !important;
}
.home-connect-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.connect-wrapper:hover .home-connect-dock {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile / click */
.home-connect-dock.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
