/* XINGMAI — industrial precision. Enhancement layer; existing content stays intact. */
:root{--xm-night:#081d19;--xm-green:#123c30;--xm-mint:#8aefc0;--xm-gold:#dfc18d;--xm-edge:#dce6e0;--xm-ease:cubic-bezier(.2,.7,.2,1)}
body.xm-home{--paper:#f5f8f6;--ink:#153c30;--dark:#0a251e;--muted:#536b61;--gold:#dfc18d;background:var(--paper);font-family:Arial,"Microsoft YaHei",sans-serif}
.xm-home h1,.xm-home h2,.xm-home h3{font-family:Arial,"Microsoft YaHei",sans-serif}
.xm-home .wrap{max-width:1360px}
.xm-home .section{padding-block:100px}
.xm-home .site-header{position:fixed;background:rgba(8,29,25,.86);border-bottom:1px solid #c8efd322;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);height:88px;z-index:50;transition:background .25s,box-shadow .25s}
html{scroll-padding-top:105px}
.xm-home .brand-mark{display:block;width:46px;height:46px;flex-shrink:0;border-radius:8px;overflow:hidden}
.xm-home .brand-mark img{position:static;width:100%;height:100%;object-fit:contain}
.xm-home .xm-analytics h2{font-size:19px;line-height:1.4;letter-spacing:normal;font-weight:600}
.xm-home.xm-scrolled .site-header{background:rgba(8,29,25,.97);box-shadow:0 8px 30px #031c1920}
.xm-home .brand strong{font-weight:600;letter-spacing:2px}
.xm-home .desktop-nav a{font-size:14px;color:#d0dfd7;position:relative}
.xm-home .desktop-nav a:after{content:"";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--xm-mint);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.xm-home .desktop-nav a:hover:after,.xm-home .desktop-nav a.active:after{transform:scaleX(1)}
.xm-home .header-contact{border:1px solid #97d7b660;background:#b8e9c70d;border-radius:6px;color:#effff5;font-size:14px}
.xm-home .language-control select{font-size:13px;max-width:150px}
.xm-home .hero{min-height:820px;height:100svh;max-height:1080px;isolation:isolate;background:var(--xm-night);overflow:hidden}
.xm-home .hero-image{position:absolute;inset:0;width:100%;height:100%;object-position:68% center;filter:saturate(.85);opacity:.82}
.xm-home .hero-shade{background:linear-gradient(90deg,#081d19f5 0%,#081d19da 25%,#081d1959 62%,#081d1930),linear-gradient(0deg,#081d19 0%,transparent 60%)}
.xm-home .hero-grid{inset:0;opacity:.12;background-image:linear-gradient(#b6e5ce38 1px,transparent 1px),linear-gradient(90deg,#b6e5ce38 1px,transparent 1px);background-size:84px 84px;pointer-events:none;mask-image:linear-gradient(90deg,#000,transparent 78%)}
.xm-home .hero:after{content:"";position:absolute;width:560px;height:560px;right:-170px;top:16%;border:1px solid #acf0cc33;border-radius:50%;box-shadow:0 0 0 65px #91ebbe08,0 0 0 130px #91ebbe05;pointer-events:none;z-index:0}
.xm-home .hero-content{top:20%;z-index:2}
.xm-home .hero h1{font-size:clamp(50px,5.8vw,86px);font-weight:650;letter-spacing:-.035em;line-height:1.15;margin:28px 0;max-width:900px;text-wrap:balance}
.xm-home .hero h1 em{color:var(--xm-mint);font-style:normal;background:linear-gradient(115deg,#efffe9,#8aefc0 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.xm-home .eyebrow{font-size:14px;letter-spacing:3px;color:#d0e4d8}
.xm-home .gold-line{width:40px;background:var(--xm-mint)}
.xm-home .hero-content>p{font-size:17px;line-height:1.9;letter-spacing:.5px;color:#d4e2db;max-width:650px}
.xm-home .hero-actions{margin-top:34px;gap:30px;flex-wrap:wrap}
.xm-home .button{border-radius:6px;min-height:50px;font-size:15px;transition:transform .25s,box-shadow .25s,background .25s}
.xm-home .button.gold{background:var(--xm-mint);color:#08271b;box-shadow:0 6px 28px #4edb9b20}
.xm-home .hero .text-link{font-size:15px;color:#edf9f1}
.xm-home .hero-bottom{bottom:30px;z-index:2}
.xm-home .hero-caption{font-size:12px;color:#b7cfc2;letter-spacing:2px}
.xm-home .hero-caption b{font-size:13px;color:#d5e8dd}
.xm-home .hero-index{font-size:12px;color:#c5dacf}
.xm-home .scroll-hint{font-size:12px}
.xm-hero-rail{position:absolute;bottom:130px;left:50%;transform:translateX(-50%);z-index:3;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.xm-hero-rail a{display:flex;align-items:center;gap:18px;padding:20px 22px;border:1px solid #b5e6cb38;border-radius:9px;background:#0a261ee0;color:#e8f4ed;text-decoration:none;transition:border-color .25s,background .25s,transform .25s}
.xm-hero-rail strong{font-size:23px;font-weight:500;color:var(--xm-mint);letter-spacing:.03em;white-space:nowrap}
.xm-hero-rail span{font-size:14px;line-height:1.6}
.xm-home .expertise-bar{background:#0a251e;border-bottom:1px solid #d8e9de20;color:#e8f3ec}
.xm-home .expertise-inner{padding-block:26px}
.xm-home .expertise-inner>a{font-size:14px;border-color:#90ab9c40}
.xm-home .expertise-inner>span{font-size:12px;color:#a9c4b5}
.xm-home .section-label{font-size:12px;color:#526e60;letter-spacing:2px}
.xm-home .section-label span{font-size:14px;letter-spacing:1px}
.xm-home h2{font-size:clamp(32px,3.4vw,50px);font-weight:550;line-height:1.3;letter-spacing:-.025em;text-wrap:balance}
.xm-home .about-copy>p:not(.lead),.xm-home .section-heading>p,.xm-home .principles p{font-size:15px;color:#526b60}
.xm-home .lead{font-size:21px}
.xm-home .principles{gap:20px;border:0;margin-top:48px}
.xm-home .principles>div{padding:32px 28px!important;border:1px solid var(--xm-edge);border-radius:12px;background:#fff;box-shadow:0 8px 32px #153c3005}
.xm-home .principles span{display:none}
.xm-home .principles h3{font-size:18px;color:#143e30}
.xm-home .solutions{position:relative;background:radial-gradient(ellipse at 90% 0%,#1e4b39 0%,transparent 55%),#0a251e}
.xm-home .solutions .section-label,.xm-home .solutions .section-heading>p{color:#adc5b6}
.xm-home .solution-layout{gap:48px}
.xm-home .solution-tab{padding:24px 16px;border-radius:6px;transition:background .25s}
.xm-home .solution-tab.active{background:#93d7af0c;border-bottom-color:#91dab5;color:var(--xm-mint)}
.xm-home .solution-tab p{font-size:13px;color:#aec4b4}
.xm-home .solution-tab h3{font-size:19px}
.xm-home .solution-panel{border:1px solid #9cc6b033;border-radius:14px;overflow:hidden;background:#112f25}
.xm-home .solution-image{height:310px}
.xm-home .solution-panel-content{padding:26px}
.xm-home .solution-panel p{font-size:15px;color:#c0d2c6}
.xm-home .solution-panel h3{font-size:22px;color:#f0f9f2}
.xm-home .tags span{font-size:12px;border-radius:4px}
.xm-home .product-filters{gap:12px;flex-wrap:wrap}
.xm-home .product-filters button,.xm-home .case-filters button{font-size:14px;min-height:44px;padding:11px 17px;border-radius:6px}
.xm-home .product-filters button.active{background:#123e2e;border-color:transparent;color:#fff}
.xm-home .product-toolbar{padding-bottom:16px}
.xm-home .product-grid{gap:24px}
.xm-home .product-card{border:1px solid #dce6df;border-radius:12px;background:white;overflow:hidden;box-shadow:0 5px 16px #14372a04;transition:transform .3s var(--xm-ease),box-shadow .3s,border-color .3s}
.xm-home .product-picture{background:#f0f4f0}
.xm-home .product-info{padding:22px 18px 24px;border:0}
.xm-home .product-info small{font-size:12px;color:#52705d;letter-spacing:.8px}
.xm-home .product-info h3{font-size:18px;color:#193c2e;line-height:1.5}
.xm-home .product-info p{font-size:13px;color:#607365;line-height:1.7}
.xm-home .product-info b{right:17px;top:46px;color:#408063}
.xm-home .product-number{background:#123c30d9;border-radius:4px;font-size:11px}
.xm-home .image-kind,.xm-home .solution-image>span{font-size:12px;letter-spacing:0}
.xm-home .source-note{font-size:12px;color:#657567}
.xm-home .process{background:linear-gradient(135deg,#e9f1eb,#f6f9f6)}
.xm-home .process-steps article{background:#ffffffab;border:1px solid #d9e4dc;border-radius:10px;padding:24px;margin-bottom:12px;gap:20px}
.xm-home .process-steps article:last-child{padding-bottom:24px}
.xm-home .process-steps h3{font-size:19px}
.xm-home .process-steps p,.xm-home .process-layout>div>p{font-size:15px;color:#536e5d}
.xm-home .project-card{border:1px solid #dbe6de;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #123c3010;transition:transform .3s,box-shadow .3s}
.xm-home .project-card img{transition:transform .6s var(--xm-ease)}
.xm-home .project-card-body{padding:24px;border:0}
.xm-home .project-card h3{font-size:22px}
.xm-home .project-card-body>p{font-size:15px}
.xm-home .project-card-body>small,.xm-home .project-open,.xm-home .project-media-label{font-size:12px}
.xm-home .project-featured{background:#edf4ee}
.xm-home .project-region-nav a{border-radius:6px;font-size:14px;background:#fff}
.xm-home .contact{background:radial-gradient(ellipse at 0% 100%,#275a42,transparent 70%),#0a251e}
.xm-home .contact .section-label{color:#bed2c3}
.xm-home .contact h2{font-size:clamp(30px,3vw,45px)}
.xm-home .contact-layout>div>p,.xm-home .brief-form>p{font-size:14px;color:#bed2c3}
.xm-home .brief-form{border:1px solid #9dc6ab35;border-radius:14px;background:#163b2bbf;padding:32px}
.xm-home .brief-form input,.xm-home .brief-form select,.xm-home .brief-form textarea{border-radius:6px;font-size:16px;min-height:48px;background:#0c281e;border-color:#8bb29a50;color:#f0f7f2}
.xm-home .brief-form label{font-size:14px;color:#e0eee5}
.xm-home .brief-form input::placeholder,.xm-home .brief-form textarea::placeholder{color:#a5b9aa}
.xm-home .seo-directory{border:1px solid #d7e4dc;border-radius:12px;background:#fff;padding:28px;margin-top:28px}
.xm-home .seo-directory h3{font-size:21px}
.xm-home .seo-directory p{font-size:15px;color:#536e60}
.xm-home .seo-links a{padding:16px 10px;font-size:15px;border-radius:4px}
.xm-home .contact .seo-contact-links a{border-radius:6px}
.xm-home dialog{border-radius:14px}
.xm-home .dialog-body p,.xm-home .dialog-body dl{font-size:15px}
.xm-home .mobile-nav{background:#0a251e;top:88px;z-index:49}
.xm-home .mobile-nav a{font-size:16px}
.xm-home .text-link{font-size:14px}
/* Technical pages keep a light reading surface below the deep-green introduction. */
body.xm-detail{margin:0;background:#f4f8f5;color:#173b2d;font-family:Arial,"Microsoft YaHei",sans-serif}
.xm-detail .seo-header{max-width:none;padding:22px max(28px,calc((100vw - 1128px)/2));background:#0a251e;color:#e9f5ed;border-bottom:1px solid #aac8b130}
.xm-detail .seo-brand{font-size:21px;line-height:1.3}
.xm-detail .seo-brand img{background:#fff;border-radius:8px}
.xm-detail .seo-brand small{font-size:11px;color:#bdcebd}
.xm-detail .seo-language{gap:12px;font-size:14px;white-space:nowrap}
.xm-detail .seo-language a{padding:6px;border-radius:4px}
.xm-detail .seo-language a[aria-current=page]{color:#9deac3;background:#8eefb916}
.xm-detail .seo-main{padding-top:28px;line-height:1.85}
.xm-detail .seo-heading{background:radial-gradient(ellipse at 95% 0,#285840,transparent 70%),#0c2b20;border:1px solid #355942;border-radius:16px;padding:44px 40px;margin:26px 0 34px;position:relative;overflow:hidden}
.xm-detail .seo-heading:after{content:"";position:absolute;right:-85px;top:-100px;width:300px;height:300px;border:1px solid #9cebc322;border-radius:50%;box-shadow:0 0 0 40px #9cebc306;pointer-events:none}
.xm-detail .seo-kicker{color:#a1e6bf;font-size:12px}
.xm-detail .seo-heading h1{color:#f4faf5;max-width:950px;font-weight:600;font-size:clamp(30px,4vw,52px);text-wrap:balance}
.xm-detail .seo-lead{color:#d1e4d6;font-size:18px;position:relative}
.xm-detail .seo-panel{background:#fff;border:1px solid #d7e5db;border-top:3px solid #65b98e;border-radius:12px;padding:24px 28px;box-shadow:0 6px 26px #17482b05}
.xm-detail .seo-figures{gap:24px}
.xm-detail .seo-figures figure{background:#fff;border:1px solid #d7e5db;border-radius:12px;overflow:hidden}
.xm-detail .seo-figures figcaption{padding:14px 20px;font-size:14px}
.xm-detail .seo-figures img{transition:transform .4s}
.xm-detail .seo-project-photos img{border-radius:12px}
.xm-detail .seo-button{display:inline-block;border-radius:6px;background:#123e2e;color:#fff!important;font-size:15px;border:1px solid #286044;transition:background .2s,transform .2s;line-height:1.5}
.xm-detail .seo-contact-links{gap:12px}
.xm-detail .seo-cta{border-radius:12px;background:linear-gradient(130deg,#103629,#21503a)}
.xm-detail .seo-faq{padding:20px;background:#fff;border:1px solid #dce6dd;border-radius:8px;margin:12px 0}
.xm-detail .seo-faq[open]{border-color:#74ac8b}
.xm-detail .seo-flow,.xm-detail .seo-facts{background:#e9f2eb;border-radius:8px}
.xm-detail .seo-footer{font-size:14px;padding-block:32px}
.xm-detail .seo-note{font-size:14px;color:#526b5b}
.xm-detail a{overflow-wrap:anywhere}
.xm-detail .breadcrumbs{font-size:14px}
.xm-scroll-progress{position:fixed;top:0;left:0;height:3px;width:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#65dca0,#e4ce92);z-index:999;pointer-events:none}
.xm-home :focus-visible,.xm-detail :focus-visible{outline:3px solid #43a874;outline-offset:4px}
@media(hover:hover) and (pointer:fine){
 .xm-home .product-card:hover{transform:translateY(-7px);box-shadow:0 18px 40px #153c3018;border-color:#78b498}
 .xm-home .project-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px #153c3020}
 .xm-home .project-card:hover img{transform:scale(1.025)}
 .xm-hero-rail a:hover{transform:translateY(-4px);border-color:#a3edc5;background:#163d2ee8}
 .xm-home .button:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6ce9ac25}
 .xm-home .seo-links a:hover{background:#eef6f0;color:#236647}
 .xm-detail .seo-button:hover{background:#255a40;transform:translateY(-2px)}
}
@media(min-width:1100px){html[lang="en"] .xm-home .hero h1,html[lang="ms"] .xm-home .hero h1{font-size:clamp(50px,5vw,72px);max-width:840px}}
@media(max-width:1100px){
 .xm-home .site-header{padding-inline:24px;gap:18px}
 .xm-home .desktop-nav{gap:18px}
 .xm-home .desktop-nav a{font-size:13px}
 .xm-home .hero h1{max-width:760px}
 .xm-home .section{padding-block:76px}
 .xm-home .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .xm-hero-rail a{padding:17px 14px;gap:12px}
 .xm-hero-rail strong{font-size:20px}
 .xm-hero-rail span{font-size:13px}
}
@media(max-width:800px){
 .xm-home .site-header{height:78px;padding-inline:20px;gap:12px}
 .xm-home .mobile-nav{position:fixed;top:78px}
 html body.xm-home .hero{min-height:860px;height:auto;max-height:none;padding-top:130px;padding-bottom:105px}
 html body.xm-home .hero-content{position:relative;inset:auto;transform:none;height:auto}
 .xm-home .hero h1{font-size:clamp(40px,7vw,62px);line-height:1.2;max-width:100%;margin:24px 0}
 .xm-home .hero-content>p{font-size:16px;max-width:560px}
 .xm-home .hero-image{object-position:60% center;opacity:.55}
 .xm-home .hero-shade{background:linear-gradient(90deg,#081d19e6,#081d1980),linear-gradient(0deg,#081d19,transparent)}
 .xm-hero-rail{position:relative;left:auto;bottom:auto;transform:none;margin:38px auto 0;gap:9px}
 .xm-hero-rail a{display:block;padding:15px 12px}
 .xm-hero-rail span{display:block;margin-top:5px;font-size:12px}
 .xm-home .hero-bottom{bottom:26px}
 .xm-home .hero-index{display:none}
 .xm-home .solution-panel{display:block}
 .xm-home .solution-image{height:300px;min-height:0}
 .xm-home .principles{gap:12px}
 .xm-home .principles>div{padding:23px 18px!important}
 .xm-home .contact-layout,.xm-home .process-layout{gap:36px}
 .xm-detail .seo-header{padding:20px 24px;flex-wrap:wrap;gap:8px}
 .xm-detail .seo-language{padding:6px 0}
 .xm-detail .seo-heading{padding:32px 26px}
}
@media(max-width:520px){
 .xm-home .wrap{width:calc(100% - 36px)}
 .xm-home .site-header{padding-inline:14px;gap:8px}
 .xm-home .brand strong{font-size:17px;letter-spacing:1px}
 .xm-home .brand small{font-size:7px}
 .xm-home .header-contact{display:none}
 .xm-home .language-control{margin-left:auto}
 .xm-home .language-control select{max-width:108px;font-size:12px;padding:8px}
 html body.xm-home .hero{min-height:790px;padding-top:120px;padding-bottom:100px}
 .xm-home .hero h1{font-size:43px;letter-spacing:-1px}
 html[lang="en"] .xm-home .hero h1,html[lang="ms"] .xm-home .hero h1{font-size:38px}
 .xm-home .eyebrow{font-size:12px;letter-spacing:1.5px}
 .xm-home .hero-actions{gap:22px;margin-top:26px}
 .xm-home .hero-actions .button{font-size:14px;padding:14px 17px}
 .xm-home .hero-actions .text-link{font-size:14px}
 .xm-hero-rail{grid-template-columns:1fr;margin-top:30px}
 .xm-hero-rail a{display:flex;padding:12px 16px;gap:18px}
 .xm-hero-rail strong{font-size:18px;min-width:66px}
 .xm-hero-rail span{margin:0;font-size:13px}
 .xm-home .hero-caption{font-size:11px;letter-spacing:1px}
 .xm-home .hero-caption b{font-size:12px}
 .xm-home .hero-bottom{align-items:center}
 .xm-home .scroll-hint{font-size:11px}
 .xm-home .expertise-inner{grid-template-columns:1fr;gap:0;padding-block:10px}
 .xm-home .expertise-inner>a{font-size:14px;padding:10px 0;border:0;border-bottom:1px solid #d2e9d51a}
 .xm-home .expertise-inner>a:last-child{border:0}
 .xm-home .section{padding-block:62px}
 .xm-home h2{font-size:32px;line-height:1.4}
 .xm-home .section-label{font-size:11px;gap:12px}
 .xm-home .section-label span{font-size:13px;padding-left:12px;letter-spacing:0}
 .xm-home .principles{grid-template-columns:1fr;margin-top:30px}
 .xm-home .principles p{max-width:none}
 .xm-home .solution-tabs{gap:0 10px}
 .xm-home .solution-tab{padding:18px 8px}
 .xm-home .solution-tab h3{font-size:15px}
 .xm-home .solution-tab p{font-size:12px;line-height:1.6}
 .xm-home .solution-panel-content{padding:22px}
 .xm-home .solution-image{height:245px}
 .xm-home .product-filters{gap:5px}
 .xm-home .product-filters button{padding:10px 11px;font-size:13px}
 .xm-home .product-toolbar>span{display:none}
 .xm-home .product-grid{gap:14px 12px}
 .xm-home .product-info{padding:14px 12px 18px}
 .xm-home .product-info h3{font-size:15px;padding-right:0}
 .xm-home .product-info small{font-size:11px;letter-spacing:0}
 .xm-home .product-info p{font-size:12px}
 .xm-home .product-info b{display:none}
 .xm-home .image-kind{font-size:10px;padding:2px 4px}
 .xm-home .seo-directory{padding:22px 18px}
 .xm-home .seo-links{grid-template-columns:1fr}
 .xm-home .brief-form{padding:24px 20px}
 .xm-detail .seo-main{padding:20px 18px}
 .xm-detail .seo-header{padding:18px}
 .xm-detail .seo-brand{font-size:19px}
 .xm-detail .seo-heading{padding:28px 22px;margin-top:20px}
 .xm-detail .seo-heading h1{font-size:32px}
 .xm-detail .seo-lead{font-size:16px}
 .xm-detail .seo-panel{padding:20px}
 .xm-detail .seo-panel h2{font-size:23px}
 .xm-detail .seo-figures{grid-template-columns:1fr;gap:18px}
 .xm-detail .seo-button{padding:12px 16px;font-size:15px}
 .xm-detail .seo-language{font-size:13px;gap:8px}
}
@media(prefers-reduced-motion:reduce){.xm-home *,.xm-detail *,.xm-home *:before,.xm-home *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.xm-scroll-progress{display:none}}
