/* Home-only motion tokens; no overrides outside #gl-home. */
#gl-home{--home-blue:#1e40af;--home-ink:#1f2937;--home-muted:#64748b;--home-ease:cubic-bezier(.22,.61,.36,1);--home-reveal:600ms;--home-slide:900ms;--home-zoom:6000ms;--home-autoplay:5500ms;--home-hover:240ms;--home-rise:20px;--home-stagger:70ms;--home-text-gap:120ms;color:var(--home-ink)}
#gl-home .public-title h2,#gl-home .public-title h3{font-size:clamp(25px,3vw,36px);font-weight:700;line-height:1.4}
#gl-home .public-title>p{font-size:14px;letter-spacing:.06em;text-transform:none;color:var(--home-muted)}
#gl-home a:focus-visible,#gl-home button:focus-visible,#gl-home input:focus-visible,#gl-home textarea:focus-visible{outline:3px solid #2563eb;outline-offset:4px}
#gl-home .gl-home-hero{height:clamp(480px,41.4vw,780px);position:relative;overflow:hidden;background:#12213e}
#gl-home .gl-home-hero .swiper-slide{height:100%;overflow:hidden;transition-timing-function:var(--home-ease)!important}
#gl-home .swiper-silde-img{width:100%;height:100%;object-fit:cover;transform:scale(1.08)}
#gl-home .gl-home-hero .swiper-slide-active .swiper-silde-img{transform:scale(1);transition:transform var(--home-zoom) var(--home-ease)}
#gl-home .main-slider__content{max-width:740px}
#gl-home .main-slider__content h2{font-size:clamp(28px,3.4vw,54px);line-height:1.25}
#gl-home .main-slider__content p{font-size:clamp(16px,1.5vw,20px);line-height:1.8;margin:24px 0}
#gl-home .main-slider__content>*{visibility:visible;opacity:0;transform:translateY(var(--home-rise));transition:opacity var(--home-reveal) var(--home-ease),transform var(--home-reveal) var(--home-ease);transition-delay:0ms}
#gl-home .swiper-slide-active .main-slider__content>*,#gl-home .gl-home-hero:not(.swiper-initialized) .swiper-slide:first-child .main-slider__content>*{opacity:1;transform:none}
#gl-home .swiper-slide-active .main-slider__content>p{transition-delay:var(--home-text-gap)}
#gl-home .swiper-slide-active .main-slider__content>a{transition-delay:calc(var(--home-text-gap)*2)}
#gl-home .swiper-slide-active .swiper-silde-img{will-change:transform}
#gl-home .gl-home-pending:not(.is-visible){will-change:opacity,transform}
/* Let empty pagination space pass pointer input through to the pause control. */
#gl-home .gl-home-hero .swiper-pagination{pointer-events:none}
#gl-home .gl-home-hero .swiper-pagination .swiper-pagination-bullet{pointer-events:auto}
#gl-home .gl-home-hero .swiper-pagination-bullet{width:48px!important;height:44px!important;border-radius:0!important;background:transparent!important;opacity:1;position:relative}
#gl-home .swiper-pagination-bullet:before,#gl-home .swiper-pagination-bullet:after{content:"";position:absolute;inset:20px 0;background:#ffffff55;height:3px}
#gl-home .swiper-pagination-bullet:after{background:#fff;transform:scaleX(0);transform-origin:left}
#gl-home .swiper-pagination-bullet-active:after{transform:scaleX(var(--hero-progress,0))}
#gl-home .gl-home-pause{position:absolute;z-index:11;right:76px;bottom:24px;background:#102244cc;color:white;border:1px solid #ffffff66;border-radius:24px;padding:10px 18px;min-height:44px}
#gl-home .link-section a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
#gl-home [data-reveal]{opacity:1;transform:none}
#gl-home .gl-home-pending{opacity:0;transform:translateY(var(--home-rise));transition:opacity var(--home-reveal) var(--home-ease),transform var(--home-reveal) var(--home-ease);transition-delay:var(--reveal-delay,0ms)}
#gl-home .gl-home-pending.is-visible{opacity:1;transform:none}
#gl-home .product-wrapper,#gl-home .case-wrapper,#gl-home .news-wrapper,#gl-home .gl-home-process{padding-top:80px;padding-bottom:80px}
#gl-home .gl-home-trust{padding-top:40px;padding-bottom:28px}
#gl-home .gl-home-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
#gl-home .count-text{font-size:clamp(30px,4vw,48px);font-weight:700;color:var(--home-blue);font-variant-numeric:tabular-nums;white-space:nowrap}
#gl-home .gl-home-number{display:inline-block;min-width:var(--number-width,2ch)}
#gl-home .count-text .unit{font-size:20px}#gl-home .count-item p{color:var(--home-muted);font-size:14px}
#gl-home .custom-wrapper{padding:64px 0;background:#fff}#gl-home .custom-wrapper .public-title{text-align:left}
/* Static client grid reserves every logo cell before lazy images load. */
#gl-home .gl-home-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:0;overflow:visible}
#gl-home .gl-home-logos .custom-item{width:100%;min-width:0;padding:0;margin:0}
#gl-home .gl-home-logos .custom-item .pic{width:100%;height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#gl-home .gl-home-logos .custom-item img{width:calc(100% - 24px);max-width:140px;height:70px;object-fit:contain;transform:none}
@media(min-width:768px) and (max-width:1199px){#gl-home .gl-home-logos{grid-template-columns:repeat(4,minmax(0,1fr))}}
#gl-home .product-item{margin-bottom:28px}#gl-home .product-item-wrapper{display:block;height:100%;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 4px 20px #14284608;transition:transform var(--home-hover) var(--home-ease)}
#gl-home .product-item .pic{overflow:hidden;aspect-ratio:16/10}#gl-home .product-item .pic img{width:100%;height:100%;object-fit:cover}
#gl-home .product-item-bottom{gap:12px;align-items:center}#gl-home .gl-home-tag{font-size:12px;color:var(--home-blue);background:#f0f4ff;padding:6px 8px;border-radius:5px;text-align:left}
#gl-home .public-more,#gl-home .more{display:inline-flex;align-items:center;gap:8px;min-height:44px}
#gl-home a i{transition:transform var(--home-hover) var(--home-ease)}
#gl-home .product-item img,#gl-home .news-item img,#gl-home .gl-home-cases img{transition:transform var(--home-hover) var(--home-ease)}
#gl-home .gl-home-process ol{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin:32px 0 0}
#gl-home .gl-home-process li{border-top:2px solid #dce5f2;padding-top:24px}#gl-home .gl-home-process b{color:var(--home-blue);font-size:28px}#gl-home .gl-home-process h3{font-size:22px;margin:16px 0}#gl-home .gl-home-process p{line-height:1.8;color:var(--home-muted)}
#gl-home .gl-home-cases{overflow:hidden;margin-top:28px;padding-bottom:24px}#gl-home .gl-home-cases ul{padding:0;list-style:none}#gl-home .gl-home-cases .swiper-slide{height:auto;visibility:visible!important;opacity:1!important}
#gl-home .gl-home-cases:not(.swiper-initialized) .swiper-wrapper{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
#gl-home .gl-home-cases a{display:block;height:100%;background:#fff;border-radius:14px;overflow:hidden;transition:transform var(--home-hover) var(--home-ease)}
#gl-home .gl-home-cases .case-content-wrapper{padding:24px;color:var(--home-ink)}
#gl-home .gl-home-cases h3{font-size:20px;line-height:1.5;margin:0 0 12px;font-weight:600}
#gl-home .gl-home-cases .gl-home-result{font-size:15px;color:var(--home-muted);margin:0}
#gl-home .swiper-slide-img{aspect-ratio:16/10;overflow:hidden}#gl-home .swiper-slide-img img{width:100%;height:100%;object-fit:cover}
#gl-home .gl-home-result{line-height:1.8}#gl-home .gl-home-result strong{font-size:24px;color:var(--home-blue)}
#gl-home .case-next,#gl-home .case-prev{display:inline-flex;position:static;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:12px 8px 0 0;padding:0;border:0;background:#fff;color:var(--home-blue);cursor:pointer;vertical-align:middle}
#gl-home .case-next.swiper-button-disabled,#gl-home .case-prev.swiper-button-disabled{opacity:.4;cursor:default}#gl-home .about-wrapper{margin:40px 0;background:#f8fafc}#gl-home .left-img{min-height:300px}#gl-home .left-img img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}#gl-home .about-right-content{padding:48px;max-width:640px}#gl-home .about-right .info{line-height:1.9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
#gl-home .news-item{height:100%;overflow:hidden;border-radius:14px;background:#fff;transition:transform var(--home-hover) var(--home-ease)}
#gl-home .news-list>div{margin-bottom:24px}#gl-home .news-item-img{aspect-ratio:16/10;overflow:hidden}#gl-home .news-item-img img{width:100%;height:100%;object-fit:cover}#gl-home .news-item .card-body{padding:24px;display:block}#gl-home .news-item .card-title{white-space:normal;font-size:20px;line-height:1.5;min-height:3em}#gl-home .card-text{line-height:1.8}
#gl-home .contact-wrapper{padding:56px 0;background:#eef3fb}#gl-home .contact-content{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;gap:40px;max-width:1080px;margin:0 auto}#gl-home .contact-content>.public-title,#gl-home .contact-content>.public-title>*{text-align:left}#gl-home .gl-home-phone{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--home-blue);margin-top:20px}
#gl-home .gl-home-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}#gl-home .gl-home-form label{display:block;font-size:15px;margin-bottom:8px}#gl-home .gl-home-form input:not([type=checkbox]),#gl-home .gl-home-form textarea{width:100%;min-height:48px;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:white;font-size:16px;box-sizing:border-box}#gl-home .gl-home-wide{grid-column:1/-1}#gl-home .gl-home-form small{display:block;color:var(--home-muted);font-size:13px;line-height:1.5;margin-top:6px}#gl-home .gl-home-form textarea{min-height:88px;resize:vertical}
#gl-home .gl-home-form-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}#gl-home .gl-home-form .gl-home-consent{display:flex;gap:8px;align-items:center;min-height:44px;font-size:13px;line-height:1.7;margin:0;cursor:pointer}#gl-home .gl-home-consent input{flex:0 0 22px;width:22px;min-width:22px;height:22px;margin:0;padding:0;accent-color:var(--home-blue)}
#gl-home .gl-home-form button{min-height:48px;padding:12px 20px;border:0;border-radius:8px;color:white;background:var(--home-blue);font-size:16px}#gl-home .gl-home-form button:disabled{opacity:.65;cursor:wait}#gl-home .gl-home-status{min-height:1.75em;line-height:1.75;margin:0}
#gl-home #home-contact [data-reveal]{--home-rise:8px}
#gl-home .gl-home-form button{width:auto;min-width:160px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
@media(hover:hover){#gl-home .product-item-wrapper:hover,#gl-home .news-item:hover,#gl-home .gl-home-cases a:hover{transform:translateY(-4px);box-shadow:0 12px 30px #14284616}#gl-home .product-item-wrapper:hover img,#gl-home .news-item:hover img,#gl-home .gl-home-cases a:hover img{transform:scale(1.05)}#gl-home a:hover i,#gl-home button:hover i{transform:translateX(4px)}}
@media(max-width:767px){#gl-home .gl-home-hero{height:560px}#gl-home .swiper-slide-content{padding:24px}#gl-home .main-slider__content h2{font-size:28px}#gl-home .main-slider__content p{font-size:16px}#gl-home .gl-home-stats{grid-template-columns:1fr 1fr}#gl-home .gl-home-process ol{grid-template-columns:1fr 1fr;gap:24px}#gl-home .contact-content,#gl-home .gl-home-form{grid-template-columns:1fr;gap:24px}#gl-home .about-right-content{padding:32px 20px}#gl-home .gl-home-cases:not(.swiper-initialized) .swiper-wrapper{grid-template-columns:1fr}#gl-home .product-wrapper,#gl-home .case-wrapper,#gl-home .news-wrapper,#gl-home .contact-wrapper,#gl-home .gl-home-process{padding-top:48px;padding-bottom:48px}#gl-home .main-slider__nav{display:none}}
/* Only the home page expands shared mobile controls; inner-page navigation is unchanged. */
@media(max-width:767px){
 #gl-home .gl-home-pause{bottom:76px;right:24px}
 body:has(#gl-home) header .cart,body:has(#gl-home) header .lang-wrapper{margin-right:0!important}
 body:has(#gl-home) header .cart a,body:has(#gl-home) header .menu-mobile{width:44px;min-height:44px;padding:10px;box-sizing:border-box;align-items:center;justify-content:center}
 body:has(#gl-home) header .cart a{display:flex}
 body:has(#gl-home) header .search-icon{width:44px;height:44px;padding:12px;box-sizing:border-box;flex-shrink:0}
 body:has(#gl-home) header .lang-btn{min-height:44px;box-sizing:border-box}
 body:has(#gl-home) header .logo a{display:flex;align-items:center;min-height:44px}
}
@media(prefers-reduced-motion:reduce){#gl-home *{animation:none!important;transition:none!important;scroll-behavior:auto!important}#gl-home [data-reveal],#gl-home .swiper-silde-img,#gl-home a:hover,#gl-home img,#gl-home button i{transform:none!important}#gl-home [data-reveal]{opacity:1!important}#gl-home .swiper-pagination-bullet-active:after{transform:scaleX(1)}}

/* Compact contact and static logo rows below the mobile breakpoint. */
@media(max-width:767px){
 #gl-home .custom-wrapper,#gl-home .contact-wrapper{padding-top:40px;padding-bottom:40px}
 #gl-home .gl-home-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 #gl-home .gl-home-form-actions{grid-template-columns:minmax(0,1fr)}
 #gl-home .gl-home-form-actions button{width:100%}
}

/* Keep narrow-screen form controls clear of the unchanged floating contact rail. */
@media(max-width:1199px){#gl-home .contact-content{padding-right:64px}}
