:root{
  --kg-red:#d71920;
  --kg-red-dark:#b70f15;
  --kg-text:#111;
  --kg-muted:#666;
  --kg-line:#ececec;
  --kg-bg:#f7f7f7;
  --kg-blue:#0d3a8f;
  --kg-footer1:#ed1b23;
  --kg-footer2:#cc1118;
  --kg-shadow:0 16px 40px rgba(0,0,0,.06);
}
*{box-sizing:border-box}
body.kg-products-page{margin:0;font-family:Arial,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;color:var(--kg-text);background:#fff;line-height:1.5}
body.kg-products-page a{text-decoration:none;color:inherit}
body.kg-products-page img{display:block;max-width:100%}
.kg-wrap{width:min(1240px,calc(100% - 48px));margin:0 auto}
.kg-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #eee}
.kg-header-bar{height:84px;display:flex;align-items:center;gap:28px}
.kg-brand img{width:176px;height:auto;object-fit:contain}
.kg-nav{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:15px;color:#222}
.kg-nav a{position:relative;font-weight:600}
.kg-nav a.active,.kg-nav a:hover{color:var(--kg-red)}
.kg-nav-tools{display:flex;align-items:center;gap:18px;margin-left:16px}
.kg-lang{font-size:15px;color:#222}
.kg-quote{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 20px;border-radius:4px;background:var(--kg-red);color:#fff;font-weight:700}
.kg-breadcrumb{padding:18px 0 10px;font-size:14px;color:#7a7a7a}
.kg-breadcrumb span{color:#bbb;margin:0 8px}.kg-red{color:var(--kg-red)}
.kg-hero{background:linear-gradient(110deg,#fff 0%,#fff 43%,#eef2f5 100%);border-bottom:1px solid #efefef}
.kg-hero-grid{display:grid;grid-template-columns:.9fr 1.25fr;gap:46px;align-items:center;min-height:420px;padding:36px 0 52px}
.kg-hero-copy h1{margin:0 0 16px;font-size:56px;line-height:1.05;letter-spacing:-.03em;font-weight:850}
.kg-hero-copy p{margin:0;font-size:17px;line-height:1.7;color:#444}
.kg-hero-copy .kg-hero-sub{margin-top:14px;font-size:18px;color:#555}
.kg-hero-visual{display:flex;justify-content:flex-end;align-items:center}
.kg-hero-visual img{max-height:280px;width:auto;object-fit:contain}
.kg-section-head{text-align:center;padding:54px 0 34px}
.kg-section-head h2{margin:0 0 12px;font-size:46px;line-height:1.15;font-weight:800;letter-spacing:-.03em}
.kg-section-head p{margin:0 auto;color:#555;font-size:22px;max-width:860px}
.kg-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding-bottom:34px}
.kg-category-card{background:#fff;border:1px solid var(--kg-line);border-radius:6px;padding:28px 26px 24px;box-shadow:var(--kg-shadow);transition:.2s ease}
.kg-category-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(0,0,0,.09)}
.kg-machine-visual{height:260px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.kg-machine-visual img{max-width:100%;max-height:100%;object-fit:contain}
.kg-card-title{margin:0 0 8px;font-size:22px;line-height:1.25;font-weight:800;color:#1a1a1a}
.kg-card-subtitle{margin:0 0 18px;font-size:16px;color:#222}
.kg-card-link{display:inline-flex;align-items:center;gap:8px;color:var(--kg-red);font-weight:700;font-size:17px;margin-bottom:6px}
.kg-card-count{display:block;font-size:13px;color:#7a7a7a;margin-bottom:18px}
.kg-samples{display:flex;align-items:flex-end;gap:16px;min-height:78px;flex-wrap:nowrap;overflow:hidden}
.kg-samples img{height:72px;width:auto;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.04))}
.kg-bottom-cta{padding:0 0 38px}
.kg-bottom-cta-box{background:#fafafa;border:1px solid #ececec;border-radius:6px;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.kg-bottom-cta-left{display:flex;align-items:center;gap:22px}
.kg-bottom-icon{width:64px;height:64px;border:2px solid var(--kg-red);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--kg-red);font-size:28px;font-weight:700;flex:0 0 auto}
.kg-bottom-copy h3{margin:0 0 8px;font-size:26px;line-height:1.2;font-weight:800}
.kg-bottom-copy p{margin:0;color:#666;font-size:16px}
.kg-bottom-btn{display:inline-flex;align-items:center;justify-content:center;min-width:150px;height:56px;padding:0 28px;background:var(--kg-red);color:#fff;font-size:18px;font-weight:700;border-radius:4px}
.kg-footer{background:linear-gradient(90deg,var(--kg-footer1),var(--kg-footer2));color:#fff;padding:34px 0 18px}
.kg-footer-grid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:36px;align-items:start}
.kg-footer-brand img{width:180px;margin-bottom:14px}
.kg-footer-brand p{margin:0 0 18px;color:rgba(255,255,255,.92);font-size:15px;line-height:1.75;max-width:300px}
.kg-socials{display:flex;align-items:center;gap:14px}
.kg-socials a{width:28px;height:28px;border:1px solid rgba(255,255,255,.65);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px}
.kg-footer h4{margin:0 0 14px;font-size:17px;font-weight:800}
.kg-footer a{display:block;margin:9px 0;color:rgba(255,255,255,.92);font-size:15px}
.kg-footer-bottom{margin-top:26px;padding-top:16px;border-top:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:14px;color:rgba(255,255,255,.92)}
.kg-footer-bottom-links{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.kg-footer-bottom-right{display:flex;align-items:center;gap:10px}
@media (max-width: 1100px){
  .kg-nav{gap:20px;font-size:14px}
  .kg-hero-grid{grid-template-columns:1fr;min-height:auto;padding:20px 0 34px}
  .kg-hero-copy h1{font-size:48px}
  .kg-hero-copy p{font-size:22px}
  .kg-hero-visual{justify-content:center}
  .kg-footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
  .kg-wrap{width:min(100% - 24px,1240px)}
  .kg-header-bar{height:auto;flex-wrap:wrap;padding:16px 0;gap:12px}
  .kg-nav{order:3;width:100%;margin-left:0;flex-wrap:wrap;gap:14px}
  .kg-nav-tools{margin-left:auto}
  .kg-hero-copy h1{font-size:38px}
  .kg-hero-copy p{font-size:18px}
  .kg-hero-copy .kg-hero-sub{font-size:15px}
  .kg-section-head{padding:40px 0 26px}
  .kg-section-head h2{font-size:32px}
  .kg-section-head p{font-size:18px}
  .kg-category-grid{grid-template-columns:1fr;gap:18px}
  .kg-machine-visual{height:200px}
  .kg-samples{gap:10px}
  .kg-samples img{height:56px}
  .kg-bottom-cta-box{flex-direction:column;align-items:flex-start}
  .kg-bottom-cta-left{align-items:flex-start}
  .kg-footer-grid{grid-template-columns:1fr;gap:24px}
  .kg-footer-bottom{flex-direction:column;align-items:flex-start}
}


/* V46 English Product Detail + Solutions pages: 1:1 logic from approved reference, Kengine red/white style */
.kg-detail-page,.kg-solutions-page{background:#fff;color:#111;font-family:Arial,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
.kg-detail-page .kg-wrap,.kg-solutions-page .kg-wrap{width:min(1240px,calc(100% - 48px));margin:0 auto}
.kg-detail-hero{padding:28px 0 56px;background:#fff}
.kg-detail-breadcrumb{padding:18px 0 42px;font-size:14px;color:#777}
.kg-detail-breadcrumb span{color:#bbb;margin:0 8px}
.kg-detail-title{text-align:center;margin-bottom:36px}
.kg-detail-title h1{font-size:48px;line-height:1.05;margin:0 0 8px;font-weight:800;letter-spacing:-.02em}
.kg-detail-title h2{font-size:26px;margin:0 0 8px;font-weight:700}
.kg-detail-title p{font-size:18px;margin:0;color:#444}
.kg-feature-row{display:grid;grid-template-columns:repeat(4,1fr);gap:36px;max-width:850px;margin:0 auto 36px;text-align:center}
.kg-feature-icon{width:48px;height:48px;border:1px solid rgba(215,25,32,.35);color:#d71920;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;font-weight:800;font-size:20px}
.kg-feature-row b{display:block;font-size:15px;margin-bottom:3px}
.kg-feature-row span{display:block;color:#555;font-size:14px}
.kg-machine-stage{position:relative;margin:0 auto 28px;min-height:340px;display:flex;align-items:center;justify-content:center}
.kg-machine-stage img{max-height:360px;width:auto;max-width:82%;object-fit:contain}
.kg-stage-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:4px;background:#d71920;color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1}
.kg-stage-arrow.left{left:0}.kg-stage-arrow.right{right:0}
.kg-thumb-row{display:grid;grid-template-columns:repeat(5,1fr);gap:22px;max-width:920px;margin:0 auto}
.kg-thumb-row img{height:86px;width:100%;object-fit:contain;border:1px solid #e7e7e7;border-radius:4px;background:#fff;padding:8px}
.kg-thumb-row img.active{border-color:#d71920}
.kg-detail-section{padding:34px 0}
.kg-section-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.kg-section-title-row h2{position:relative;font-size:30px;margin:0;font-weight:800}
.kg-section-title-row h2:after{content:"";position:absolute;left:0;bottom:-9px;width:42px;height:3px;background:#d71920}
.kg-section-title-row a{color:#d71920;font-weight:700}
.kg-bag-type-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.kg-bag-type-card{text-align:center}
.kg-bag-type-card img{height:138px;width:100%;object-fit:contain;background:#f8f8f8;border-radius:4px;padding:10px}
.kg-bag-type-card span{display:block;margin-top:10px;font-size:15px;color:#222;font-weight:600}
.kg-process-row{display:grid;grid-template-columns:repeat(5,1fr);align-items:start;gap:18px;margin-top:22px}
.kg-process-item{text-align:center;position:relative}
.kg-process-item:not(:last-child):after{content:"→";position:absolute;right:-18px;top:36px;color:#d71920;font-size:22px}
.kg-process-icon{width:72px;height:72px;margin:0 auto 10px;border-radius:50%;background:#fff3f3;border:1px solid #ffd6d6;color:#d71920;display:flex;align-items:center;justify-content:center;font-size:30px}
.kg-process-item b{display:block;font-size:15px;margin-bottom:4px}
.kg-process-item span{display:block;font-size:13px;color:#555}
.kg-tabs{display:grid;grid-template-columns:repeat(5,1fr);margin-top:28px;border:1px solid #e7e7e7;border-bottom:0;border-radius:5px 5px 0 0;overflow:hidden}
.kg-tabs button{height:56px;border:0;border-right:1px solid #e7e7e7;background:#f7f7f7;font:inherit;font-weight:700;cursor:pointer}
.kg-tabs button.active{background:#d71920;color:#fff}
.kg-spec-box{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e7e7e7;border-radius:0 0 5px 5px;overflow:hidden;background:#fff}
.kg-spec-col{padding:20px 32px}
.kg-spec-line{display:grid;grid-template-columns:180px 1fr;border-bottom:1px solid #eee;padding:11px 0;font-size:15px}
.kg-spec-line:last-child{border-bottom:0}
.kg-spec-line b{font-weight:700;color:#444}
.kg-application-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.kg-app-card{text-align:center}
.kg-app-card img{height:108px;width:100%;object-fit:cover;border-radius:4px}
.kg-app-card span{display:block;margin-top:10px;font-weight:700}
.kg-detail-cta{margin:42px 0 0;background:linear-gradient(90deg,#fff3f3,#fff);border:1px solid #f2d6d6;border-radius:6px;padding:28px 34px;display:grid;grid-template-columns:1fr auto auto;gap:24px;align-items:center}
.kg-detail-cta h2{margin:0 0 8px;color:#d71920;font-size:30px}
.kg-detail-cta p{margin:0;color:#555}
.kg-detail-cta .kg-red-btn,.kg-detail-cta .kg-outline-btn{height:56px;min-width:190px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:800}
.kg-red-btn{background:#d71920;color:#fff}.kg-outline-btn{border:1px solid #d71920;color:#d71920;background:#fff}

.kg-sol-hero{background:linear-gradient(110deg,#fff 0%,#fff 43%,#eef2f5 100%);border-bottom:1px solid #eee}
.kg-sol-hero-grid{min-height:420px;display:grid;grid-template-columns:.9fr 1.25fr;gap:46px;align-items:center;padding:36px 0 52px}
.kg-sol-hero h1{font-size:56px;line-height:1.05;margin:0 0 16px;font-weight:850;letter-spacing:-.03em}
.kg-sol-hero p{font-size:17px;color:#444;margin:0;line-height:1.7}
.kg-sol-visual{display:flex;justify-content:flex-end;align-items:center}
.kg-sol-visual img{max-height:290px;width:auto;object-fit:contain}
.kg-sol-panel{background:#fff;border-radius:22px 22px 0 0;margin-top:-10px;position:relative;z-index:2;padding:48px 0 0}
.kg-sol-head{text-align:center;margin-bottom:34px}
.kg-sol-head h2{font-size:40px;margin:0 0 12px;font-weight:800}
.kg-sol-head h2:after{content:"";display:block;width:38px;height:3px;background:#d71920;margin:12px auto 0}
.kg-sol-head p{font-size:18px;color:#555;margin:0}
.kg-sol-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.kg-sol-card{background:#fff;border:1px solid #eee;border-radius:8px;box-shadow:0 12px 34px rgba(0,0,0,.05);padding:24px;text-align:center;transition:.2s}
.kg-sol-card:hover{transform:translateY(-4px);box-shadow:0 18px 48px rgba(0,0,0,.08)}
.kg-sol-card img{height:190px;width:100%;object-fit:contain;margin-bottom:18px}
.kg-sol-card h3{font-size:22px;margin:0;font-weight:800}
.kg-sol-process{background:#fff;border:1px solid #eee;border-radius:8px;box-shadow:0 12px 34px rgba(0,0,0,.04);padding:40px 30px;margin:46px 0 48px}
.kg-sol-process h2{text-align:center;font-size:38px;margin:0 0 38px;font-weight:800}
.kg-sol-process h2:after{content:"";display:block;width:38px;height:3px;background:#d71920;margin:12px auto 0}
.kg-sol-process-row{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.kg-industry-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-bottom:46px}
.kg-ind-card{background:#fff;border:1px solid #eee;border-radius:8px;box-shadow:0 12px 34px rgba(0,0,0,.04);padding:18px;text-align:center}
.kg-ind-card img{height:125px;width:100%;object-fit:cover;border-radius:4px;margin-bottom:14px}
.kg-ind-card h3{font-size:20px;margin:0 0 5px}
.kg-ind-card p{margin:0;color:#555;font-size:15px}
.kg-sample-cta{margin:0 0 42px;background:linear-gradient(90deg,#d71920,#b70f15);border-radius:8px;color:#fff;display:grid;grid-template-columns:1fr 360px auto;align-items:center;gap:28px;padding:36px}
.kg-sample-cta h2{font-size:42px;line-height:1.12;margin:0 0 18px}
.kg-sample-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;color:#fff}
.kg-sample-cta img{max-height:210px;object-fit:contain;margin-left:auto}
.kg-sample-cta a{height:64px;min-width:180px;background:#fff;color:#d71920;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
@media(max-width:1100px){
  .kg-feature-row,.kg-bag-type-grid{grid-template-columns:repeat(3,1fr)}
  .kg-spec-box,.kg-sol-hero-grid,.kg-sample-cta{grid-template-columns:1fr}
  .kg-sol-card-grid{grid-template-columns:repeat(2,1fr)}
  .kg-industry-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .kg-feature-row,.kg-bag-type-grid,.kg-process-row,.kg-sol-process-row,.kg-application-grid,.kg-tabs,.kg-sol-card-grid,.kg-industry-grid{grid-template-columns:1fr}
  .kg-machine-stage img{max-width:100%}
  .kg-stage-arrow{display:none}
  .kg-thumb-row{grid-template-columns:repeat(2,1fr)}
  .kg-detail-cta{grid-template-columns:1fr}
  .kg-sol-hero h1,.kg-detail-title h1{font-size:38px}
  .kg-sample-points{grid-template-columns:1fr}
}

/* V47: use homepage header/footer only */
.site-header .main-nav a.is-active{color:#e60012;font-weight:800}
.site-header .main-nav a.is-active::after{content:"";display:block;height:2px;background:#e60012;margin-top:8px}
.kg-products-page .site-header,
.kg-detail-page .site-header,
.kg-solutions-page .site-header{position:sticky;top:0;z-index:100}
.kg-products-page .site-footer,
.kg-detail-page .site-footer,
.kg-solutions-page .site-footer{margin-top:0}



/* V52 global container / logo / header-footer alignment fix */
:root{
  --site-wide: 1560px;
  --site-gutter: 48px;
}

/* Make homepage header/footer and all inner content use the same page width */
.container,
.kg-wrap,
.footer-grid,
.footer-bottom{
  width: min(var(--site-wide), calc(100% - var(--site-gutter))) !important;
  max-width: var(--site-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header uses the same width as inner page content */
.site-header .container,
.site-header .nav-wrap{
  width: min(var(--site-wide), calc(100% - var(--site-gutter))) !important;
  max-width: var(--site-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Remove visible white logo block and keep logo transparent */
.brand{
  min-width: auto !important;
}
.brand img{
  width: 178px !important;
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Homepage original footer logo white background override */
.site-footer img,
.footer-brand img,
.kg-final-footer-brand img{
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Final footer uses same width and clean spacing */
.kg-final-footer .kg-wrap,
.kg-final-footer-grid,
.kg-final-footer-bottom{
  width: min(var(--site-wide), calc(100% - var(--site-gutter))) !important;
  max-width: var(--site-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep header visually stable after widening */
.nav-wrap{
  justify-content: space-between;
}
.main-nav{
  margin-left: auto !important;
}
.site-header .nav-cta{
  flex: 0 0 auto;
  white-space: nowrap;
  background:var(--accent);
  color:#fff !important;
}

/* Product / contact / about hero content now aligns with header */
.kg-products-page .kg-wrap,
.kg-detail-page .kg-wrap,
.kg-solutions-page .kg-wrap,
.kg-v49 .kg-wrap{
  width: min(var(--site-wide), calc(100% - var(--site-gutter))) !important;
  max-width: var(--site-wide) !important;
}

@media(max-width: 1020px){
  :root{ --site-gutter: 32px; }
}
@media(max-width: 640px){
  :root{ --site-gutter: 24px; }
  .brand img{ width: 150px !important; }
}



/* V53 dynamic map + scroll reveal + interaction effects */
html{scroll-behavior:smooth}
body{overflow-x:hidden}

/* Scroll reveal */
.kg-reveal{
  opacity:0;
  transform:translateY(34px);
  transition:
    opacity .78s ease,
    transform .78s cubic-bezier(.19,1,.22,1),
    filter .78s ease;
  filter:blur(2px);
}
.kg-reveal.is-visible{
  opacity:1;
  transform:none;
  filter:blur(0);
}
.kg-reveal[data-delay="1"]{transition-delay:.08s}
.kg-reveal[data-delay="2"]{transition-delay:.16s}
.kg-reveal[data-delay="3"]{transition-delay:.24s}
.kg-reveal[data-delay="4"]{transition-delay:.32s}
.kg-reveal[data-delay="5"]{transition-delay:.40s}

/* Hover interactions */
.kg-strength,
.kg-service-card,
.kg-contact-card,
.kg-contact-panel,
.kg-product-list-row,
.kg-machine-row,
.kg-sol-card,
.kg-ind-card,
.kg-category-card,
.kg-final-footer a,
.kg-btn,
.nav-cta,
.kg-row-actions a,
.kg-contact-form button,
.kg-contact-red-btn{
  transition:
    transform .28s cubic-bezier(.19,1,.22,1),
    box-shadow .28s ease,
    border-color .28s ease,
    color .28s ease,
    background .28s ease;
}
.kg-strength:hover,
.kg-service-card:hover,
.kg-contact-card:hover,
.kg-contact-panel:hover,
.kg-product-list-row:hover,
.kg-machine-row:hover,
.kg-sol-card:hover,
.kg-ind-card:hover,
.kg-category-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 62px rgba(16,24,32,.12);
  border-color:rgba(215,25,32,.30);
}
.kg-btn:hover,
.nav-cta:hover,
.kg-row-actions a:hover,
.kg-contact-form button:hover,
.kg-contact-red-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(215,25,32,.22);
}
.kg-video-card img,
.kg-photo-card img,
.kg-service-card img,
.kg-contact-hero-img img,
.kg-about-hero-img img,
.kg-row-img img,
.kg-list-hero-img img{
  transition:transform .55s cubic-bezier(.19,1,.22,1), opacity .35s ease;
}
.kg-video-card:hover img,
.kg-photo-card:hover img,
.kg-service-card:hover img,
.kg-contact-hero-img:hover img,
.kg-about-hero-img:hover img,
.kg-row-img:hover img,
.kg-list-hero-img:hover img{
  transform:scale(1.035);
}

/* Dynamic global map */
.kg-map,
.kg-global-map{
  height:auto!important;
  background:none!important;
  border:0!important;
}
.kg-dynamic-map{
  position:relative;
  min-height:330px;
  border:1px solid var(--kg-line,#e8edf1);
  border-radius:8px;
  overflow:hidden;
  background:
    radial-gradient(circle at 72% 48%, rgba(230,0,18,.10), transparent 26%),
    linear-gradient(180deg,#f7f8fa,#fff);
  box-shadow:0 18px 50px rgba(16,24,32,.06);
}
.kg-map-bg-text{
  position:absolute;
  left:6%;
  top:50%;
  transform:translateY(-50%);
  font-size:118px;
  line-height:1;
  font-weight:900;
  color:#111820;
  opacity:.035;
  letter-spacing:.08em;
  pointer-events:none;
}
.kg-map-svg{
  position:absolute;
  inset:4% 3%;
  width:94%;
  height:92%;
}
.kg-map-dots circle{
  fill:#cfd7df;
  opacity:.75;
}
.kg-map-lines path{
  fill:none;
  stroke:#e60012;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-dasharray:6 12;
  opacity:.52;
  animation:kgRouteFlow 4.8s linear infinite;
}
.kg-map-lines path:nth-child(2){animation-delay:.4s}
.kg-map-lines path:nth-child(3){animation-delay:.8s}
.kg-map-lines path:nth-child(4){animation-delay:1.2s}
.kg-map-lines path:nth-child(5){animation-delay:1.6s}
.kg-map-lines path:nth-child(6){animation-delay:2s}
.kg-map-lines path:nth-child(7){animation-delay:2.4s}
.kg-node{
  fill:#e60012;
  filter:drop-shadow(0 0 8px rgba(230,0,18,.45));
  transform-origin:center;
  animation:kgNodePulse 2.2s ease-in-out infinite;
}
.kg-node-main{
  animation:kgNodePulseMain 1.75s ease-in-out infinite;
}
.kg-map-label{
  position:absolute;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:24px;
  padding:0 10px;
  border-radius:999px;
  background:#e60012;
  color:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(230,0,18,.22);
}
.kg-map-label-china{left:71%;top:48%}
.kg-map-label-eu{left:51%;top:25%;background:#111820}
.kg-map-label-na{left:20%;top:38%;background:#111820}
.kg-map-label-sa{left:36%;top:70%;background:#111820}
.kg-map-label-af{left:50%;top:62%;background:#111820}

@keyframes kgRouteFlow{
  from{stroke-dashoffset:0}
  to{stroke-dashoffset:-72}
}
@keyframes kgNodePulse{
  0%,100%{r:6;opacity:.82}
  50%{r:8;opacity:1}
}
@keyframes kgNodePulseMain{
  0%,100%{r:9;opacity:.9}
  50%{r:14;opacity:1}
}

/* Subtle header interaction */
.site-header{
  transition:box-shadow .28s ease, background .28s ease;
}
.site-header.is-scrolled{
  box-shadow:0 12px 36px rgba(16,24,32,.08);
  background:rgba(255,255,255,.98);
}

/* Detail thumbnails / list cards interaction */
.kg-thumb-row img,
.detail-sample-strip img,
.kg-bag-type-card img,
.kg-mini-bags img,
.kg-samples img{
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.kg-thumb-row img:hover,
.detail-sample-strip img:hover,
.kg-bag-type-card img:hover,
.kg-mini-bags img:hover,
.kg-samples img:hover{
  transform:translateY(-4px) scale(1.04);
  box-shadow:0 12px 30px rgba(16,24,32,.10);
  border-color:rgba(215,25,32,.25);
}

@media(max-width:640px){
  .kg-dynamic-map{min-height:260px}
  .kg-map-bg-text{font-size:62px}
  .kg-map-label{display:none}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  .kg-reveal{opacity:1!important;transform:none!important;filter:none!important}
}
