/* Elcisoy V6 – reliable first paint, mobile header and touch-safe layout */
/* Display first slider item immediately; Owl Carousel takes over once initialized. */
.hero-slider.owl-carousel{display:block!important;opacity:1!important;visibility:visible!important}
.hero-slider.owl-carousel:not(.owl-loaded)>.hero-single:not(:first-child){display:none!important}
.hero-slider.owl-carousel:not(.owl-loaded)>.hero-single:first-child{display:block!important}
/* Existing full-screen preloader waits for window load (images/maps). Never mask the site. */
.preloader{display:none!important}
/* Mobile navbar has fixed-top class added by old main.js after scrolling.
   Keep it in document flow, so it cannot conceal page titles or actions. */
@media(max-width:991px){
 .home-3.header{position:relative!important;z-index:30}
 .home-3.header .navbar.fixed-top{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;transform:none!important}
 .home-3.header .main-navigation{position:relative}
 .home-3.header .main-navigation .navbar{min-height:74px!important}
 .home-3.header .navbar-brand img{max-width:min(200px,65vw);height:auto;max-height:65px}
 .elci-hero-actions{scroll-margin-top:15px}
}
@media(max-width:767px){
 .hero-slider,.hero-slider .hero-single{max-width:100%;overflow:visible}
 .hero-single{min-height:390px!important;height:auto!important;padding:64px 0 56px!important;background-size:cover!important;background-position:center center!important}
 .hero-single .container,.hero-single .row,.hero-single .hero-content{width:100%;min-width:0;max-width:100%}
 .hero-single .hero-content .hero-title{font-size:clamp(28px,7.4vw,40px)!important;line-height:1.14!important;overflow-wrap:break-word}
 .hero-single .hero-content .hero-sub-title{font-size:12px!important;line-height:1.4!important}
 .elci-hero-actions{margin:0!important;padding:20px 0 22px!important;z-index:1!important;background:#f5f8fa}
 .elci-hero-actions .container{padding-left:14px!important;padding-right:14px!important}
 .elci-hero-actions-shell{display:block!important;padding:24px 20px!important;margin:0!important;border-radius:20px!important;overflow:visible!important}
 .elci-hero-actions-copy,.elci-hero-actions-copy>div{display:block!important;min-width:0!important;max-width:none!important}
 .elci-hero-actions-copy .elci-pulse{display:none!important}
 .elci-actions-kicker{display:block;line-height:1.4;margin-bottom:9px}
 .elci-hero-actions h2{display:block!important;font-size:clamp(20px,5.3vw,26px)!important;line-height:1.28!important;margin:0 0 11px!important;position:static!important;transform:none!important;overflow:visible!important}
 .elci-hero-actions p{font-size:13.5px!important;line-height:1.7!important;margin:0!important}
 .elci-hero-actions-buttons{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px!important;margin:19px 0 0!important;max-width:none!important}
 .elci-hero-actions-buttons a,.elci-hero-actions-buttons button{display:flex!important;width:100%;min-height:48px;padding:11px 8px;white-space:normal!important;line-height:1.3;text-align:center}
 .elci-hero-actions-buttons .elci-action-map{grid-column:1/-1}
 .elci-hero-benefits{padding:14px 0 0!important}
 .elci-contact-dock{bottom:max(8px,env(safe-area-inset-bottom))!important;z-index:9990;max-width:calc(100vw - 18px)!important}
 body{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
 body #scroll-top{bottom:calc(97px + env(safe-area-inset-bottom))!important}
}
@media(max-width:359px){.elci-hero-actions-buttons{grid-template-columns:1fr}.elci-hero-actions-buttons .elci-action-map{grid-column:1}}
@media(prefers-reduced-motion:reduce){.hero-slider .hero-single{animation:none!important}}
