/* Latifa V5 polish — scoped visual behavior, no database/admin changes */
:root{--lm-v5-green:linear-gradient(112deg,#67b247 0%,#3f8c3d 48%,#215234 100%);}
/* Discovery: user must click to open; hover alone never expands the menu. */
@media(min-width:1200px){
 .main-menu .main-menu__list > li.lm-click-discovery > ul,
 .main-menu .main-menu__list > li.lm-click-discovery:hover > ul,
 .main-menu .main-menu__list > li.lm-click-discovery:focus-within > ul{
   opacity:0!important;visibility:hidden!important;pointer-events:none!important;
   transform:scaleY(0)!important;transition:opacity .23s ease,transform .25s ease,visibility .23s ease!important;
 }
 .main-menu .main-menu__list > li.lm-click-discovery.lm-menu-open > ul,
 .main-menu .main-menu__list > li.lm-click-discovery.lm-menu-open:hover > ul{
   opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:scaleY(1)!important;
 }
 .main-menu .main-menu__list > li.lm-click-discovery > a{cursor:pointer;}
}
.lm-discovery-overview{padding:16px 6px 22px;text-align:right;}
.lm-discovery-overview a{color:#f3fbf0!important;font-weight:700;font-size:14px;display:inline-block;text-decoration:underline;text-underline-offset:5px;}
.lm-discovery-overview a:hover{color:#b1e4a2!important;}
/* The old hamburger stack left a green strip underneath on some widths. */
.page-wrapper .main-header__element{background:var(--lm-v5-green)!important;isolation:isolate;}
.page-wrapper .main-header__element::before,.page-wrapper .main-header__element::after{content:none!important;display:none!important;}
.page-wrapper .mobile-nav__btn{background:transparent!important;box-shadow:none!important;border:0!important;outline-offset:3px;}
.page-wrapper .main-header__element__btn{background:transparent!important;}
.page-wrapper .mobile-nav__btn span{background:#fff!important;}
.page-wrapper .main-menu .main-menu__list > li > a{font-size:clamp(13px,1.02vw,15px)!important;}
.mobile-nav__wrapper .mobile-nav__content .mobile-nav__contact li a,
.mobile-nav__wrapper .mobile-nav__content .mobile-nav__contact li i,
.mobile-nav__wrapper .mobile-nav__content .mobile-nav__social a,
.mobile-nav__wrapper .mobile-nav__content .mobile-nav__social a i{color:#fff!important;}
/* Discovery cards: perfectly aligned actions and gentle, touch-safe graphics. */
.lmv5-discovery .product-one .row.gutter-y-30 > [class*="col-"]{display:flex!important;}
.lmv5-discovery .product__item{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;
 background:linear-gradient(145deg,#1b2520,#0b110e)!important;border:0!important;overflow:hidden!important;}
.lmv5-discovery .product__item__img{flex:none!important;min-height:230px!important;height:clamp(205px,18vw,270px)!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.lmv5-discovery .product__item__img__item{width:100%;height:100%;display:flex;align-items:center;justify-content:center;}
.lmv5-discovery .product__item__img img{max-width:92%!important;max-height:95%!important;width:auto!important;height:auto!important;object-fit:contain!important;}
.lmv5-discovery .product__item__content{flex:1!important;min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:flex-end!important;padding:16px 14px 20px!important;border:0!important;gap:14px;}
.lmv5-discovery .product__item__price{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
 min-height:44px!important;margin:0!important;color:#eff4ed!important;font-size:clamp(16px,1.5vw,20px)!important;line-height:1.3!important;font-weight:700!important;}
.lmv5-discovery .product__item__link{display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:12px!important;max-width:100%!important;min-height:49px!important;text-align:center!important;
 padding:10px 18px!important;margin:0 auto!important;background:var(--lm-v5-green)!important;color:white!important;font-size:12px!important;
 text-transform:none!important;white-space:normal!important;}
.lmv5-discovery .product__item__link .product__item__link__icon{margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.lmv5-discovery .product__item__link__icon::before{display:none!important;}
.lmv5-discovery .product__item__link__icon i{display:inline-block!important;transform:none!important;}
.lmv5-discovery .product__item__link .product__item__link__icon{animation:lm-v5-fan 3.8s linear infinite;transform-origin:center;}
.lmv5-discovery .product__item__link:hover .product__item__link__icon{animation-duration:1.15s;}
@keyframes lm-v5-fan{to{transform:rotate(360deg);}}
/* Disable competing template reveal and hover transforms in discovery—prevents mobile shake. */
.lmv5-discovery .product__item, .lmv5-discovery .product__item__img img,
.lmv5-discovery .product__item:hover .product__item__img img{
 transform:none!important;-webkit-transform:none!important;animation:none!important;transition:box-shadow .24s ease!important;}
.lmv5-discovery .product__item:hover{box-shadow:0 14px 38px rgba(0,0,0,.25)!important;}
.lmv5-discovery .service-sidebar__nav li.current a,
.lmv5-discovery .service-sidebar__nav li:hover a{color:#fff!important;background:var(--lm-v5-green)!important;}
/* Reference filters and hover buttons never turn dark text on dark backgrounds. */
.lmv5-references .widget-area a:hover,.lmv5-references .widget-area li.current a,
.lmv5-references .blog-card:hover .blog-card__title a,
.lmv5-references .blog-card:hover .blog-card__content a,
.lmv5-references .blog-card:hover .detail-button,
.lmv5-references .blog-card .detail-button:hover,
.lmv5-references .blog-card .blog-card__title a:hover{color:#fff!important;}
.lmv5-references .widget-area li.current a,.lmv5-references .widget-area li:hover a{background:var(--lm-v5-green)!important;color:#fff!important;}
.lmv5-references .blog-card__content{background:linear-gradient(125deg,#1a2420,#151a17)!important;}
/* On small screens: meaningful content precedes sidebar on corporate and contract pages. */
@media(max-width:991.98px){
 .lmv5-corporate .service-details > .container > .row > .col-lg-4{order:2!important;}
 .lmv5-corporate .service-details > .container > .row > .col-lg-8{order:1!important;}
 .lmv5-discovery .product__item__img{height:230px!important;min-height:0!important;}
 .lmv5-discovery .product__item__link{min-height:48px!important;}
 .lmv5-discovery .product__item__img,.lmv5-discovery .product__item__img img,
 .lmv5-discovery .product__item__content{animation:none!important;transition:none!important;}
 .lmv5-references .blog-card{transform:none!important;animation:none!important;}
}
/* FAQ: leave the two visual panels, remove decorative play label. */
.lmv5-sss .faqs-two__thumb__item__video,.lmv5-sss .faqs-two__thumb__item__text{display:none!important;}
/* Contact cards: consistent height, spacings, readability across widths. */
.lmv5-contact .contact-list .row > [class*="col-"]{display:flex!important;}
.lmv5-contact .contact-list__item{width:100%!important;height:100%!important;min-height:248px!important;
 display:flex!important;background:linear-gradient(130deg,#1c2c21,#101913)!important;border:0!important;padding:28px!important;}
.lmv5-contact .contact-list__content{width:100%!important;display:flex!important;flex-direction:column!important;gap:11px!important;}
.lmv5-contact .contact-list__info{overflow-wrap:anywhere!important;line-height:1.65!important;margin:0!important;}
.lmv5-contact .contact-list__content hr{width:100%!important;opacity:.2;margin:10px 0!important;}
.lmv5-contact .contact-list__title{color:#78bf67!important;}
.lmv5-contact .contact-list__content a{color:#e4eee2!important;}
.lmv5-contact .contact-list__content a:hover{color:#a9e49e!important;}
.lmv5-contact .contact-list__content .eolimn-btn{color:#fff!important;align-self:flex-start;}
@media(max-width:767px){
 .lmv5-contact .contact-list__item{min-height:0!important;padding:24px!important;}
 .lm-discovery-overview{text-align:center;}
}
@media(prefers-reduced-motion:reduce){.lmv5-discovery .product__item__link__icon{animation:none!important;}}
