:root {
  --blue: #0878e8;
  --blue-deep: #075fc2;
  --navy: #06183f;
  --green: #18bd70;
  --ink: #1d2633;
  --muted: #667381;
  --line: #dce5eb;
  --pale: #f3f9fc;
  --white: #fff;
  --wrap: 1224px;
  --shadow: 0 12px 34px rgba(16, 54, 86, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
html.jump-to-top { scroll-behavior: auto !important; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.section { padding: 78px 0; }
.eyebrow,
.section-heading > div > span,
.advantage-intro > span {
  display: block;
  color: var(--blue);
  font: 600 12px/1.3 Arial, sans-serif;
  letter-spacing: 1.2px;
}

/* Hollysys-like two-level header: 30px utility bar + 60px main navigation */
.top-contact { height: 34px; background: var(--navy); color: var(--white); font-size: 12px; }
.top-contact-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top-contact-inner > span { font-size: 13px; font-weight: 500; letter-spacing: .15px; }
.top-contact-inner > div { display: flex; align-items: center; gap: 26px; }
.top-contact a,
.top-contact button { border: 0; color: var(--white); background: transparent; padding: 0; }
.top-contact b { margin-right: 5px; font-weight: 500; }

.main-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 86px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #edf1f4;
}
.header-inner { height: 100%; display: flex; align-items: center; }
.header-inner,
.top-contact-inner { width: calc(100% - 160px); max-width: none; }
.brand { display: flex; height: 100%; align-items: center; flex: none; padding: 10px 0; }
.brand img { width: 330px; max-height: 64px; object-fit: contain; object-position: left center; }
.brand span { display: none; }
.main-header nav { display: flex; height: 100%; align-items: center; gap: 34px; margin-left: auto; }
.main-header nav a { position: relative; display: flex; height: 100%; align-items: center; font-size: 16px; font-weight: 400; white-space: nowrap; }
.main-header nav a::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: var(--blue); transition: .2s; }
.main-header nav a:hover,
.main-header nav a.current { color: var(--blue); }
.main-header nav a:hover::after,
.main-header nav a.current::after { right: 0; left: 0; }
.header-quote {
  display: inline-flex;
  min-width: 96px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  color: var(--white);
  font-size: 14px;
}
.menu-toggle { display: none; width: 38px; margin-left: auto; border: 0; background: transparent; }
.menu-toggle i { display: block; width: 27px; height: 2px; margin: 6px auto; background: var(--navy); }

/* Full-width industrial hero, matching the reference site's proportions */
.intro-hero { position: relative; height: 470px; overflow: hidden; background: #627384; color: var(--white); }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; pointer-events: none; transform: translateX(2.5%); transition: opacity .72s ease, transform .9s cubic-bezier(.22,.61,.36,1); }
.hero-slide.active { z-index: 1; opacity: 1; pointer-events: auto; transform: translateX(0); }
.intro-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 48%; transform: scale(1.045); transition: transform 7s ease; }
.hero-slide.active .intro-background { transform: scale(1.01); }
.hero-slide .intro-copy { opacity: 0; transform: translateY(18px); transition: opacity .55s .18s ease, transform .65s .18s ease; }
.hero-slide.active .intro-copy { opacity: 1; transform: translateY(0); }
.intro-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 26, 61, .78) 0%, rgba(4, 31, 70, .48) 43%, rgba(3, 22, 50, .06) 76%); }
.intro-layout { position: relative; z-index: 2; display: flex; height: 100%; align-items: center; }
.intro-copy { width: 610px; padding-bottom: 8px; }
.intro-copy .eyebrow { color: #9ed0ff; }
.intro-copy h1,
.intro-copy h2 { margin: 13px 0 17px; font-size: 34px; font-weight: 500; line-height: 1.35; letter-spacing: .2px; }
.intro-lead { max-width: 600px; margin: 0; font-size: 16px; line-height: 2; text-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.intro-actions { display: flex; gap: 12px; margin-top: 25px; }
.button { display: inline-flex; min-width: 138px; height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .9); border-radius: 2px; font-size: 14px; transition: .2s; }
.button.primary { border-color: var(--blue); background: var(--blue); color: var(--white); }
.button.secondary { color: var(--white); }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.hero-arrow { position: absolute; z-index: 4; top: 50%; display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(6, 24, 63, .35); color: var(--white); font: 300 28px/1 Arial; opacity: .78; transform: translateY(-50%); transition: .2s; }
.hero-arrow:hover { background: var(--blue); opacity: 1; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-index { position: absolute; z-index: 4; right: 0; bottom: 16px; left: 0; display: flex; justify-content: center; gap: 7px; }
.hero-index button { width: 32px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .58); transition: width .25s, background .25s; }
.hero-index button.active { width: 48px; background: var(--green); }

/* Shared section typography */
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; font-size: 30px; font-weight: 400; line-height: 1.4; }
.section-heading h2 .accent { display: inline; position: relative; color: var(--blue); font: inherit; letter-spacing: 0; }
.section-heading h2 .accent::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 3px; background: var(--green); }
.section-heading p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.split-heading,
.product-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.section-title { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-title > span { color: var(--blue); font: 600 12px/1.3 Arial, sans-serif; letter-spacing: 1.2px; }
.section-title h2 { margin: 8px 0 0; font-size: 30px; font-weight: 400; line-height: 1.4; }

/* Four manufacturing fields */
.capabilities { background: var(--pale); }
.capability-grid { display: flex; overflow: hidden; background: #163251; }
.capability-card { position: relative; min-width: 0; height: 354px; overflow: hidden; flex: 1 1 0; color: var(--white); border-right: 1px solid rgba(255, 255, 255, .38); transition: flex .5s cubic-bezier(.22,.61,.36,1); }
.capability-card:last-child { border-right: 0; }
.capability-card figure { position: absolute; inset: 0; margin: 0; background: #486170; }
.capability-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 29, 59, .16) 0%, rgba(4, 26, 55, .52) 48%, rgba(4, 22, 49, .94) 100%); }
.capability-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.06) brightness(.92); transition: transform .5s, filter .35s; }
.capability-card > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; height: 205px; flex-direction: column; padding: 24px 20px 20px; }
.capability-card b { display: block; height: 18px; flex: 0 0 18px; overflow: hidden; color: #9dd1ff; font: 600 10px/18px Arial; letter-spacing: .65px; white-space: nowrap; }
.capability-card h3 { height: 34px; flex: 0 0 34px; margin: 7px 0 5px; font-size: 20px; font-weight: 500; line-height: 34px; white-space: nowrap; }
.capability-card p { overflow: hidden; max-height: 0; margin: 0; color: rgba(255, 255, 255, .86); font-size: 13px; line-height: 1.75; opacity: 0; transition: max-height .4s, opacity .35s; }
.capability-card span { position: relative; display: block; height: 20px; flex: 0 0 20px; overflow: hidden; margin-top: auto; padding-right: 18px; color: #8de0b7; font-size: 11px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.capability-card span::after { content: "→"; position: absolute; top: 50%; right: 0; color: #8de0b7; font: 500 13px/1 Arial; transform: translateY(-50%); }
.capability-card:hover,
.capability-card:focus-visible { flex: 1.72 1 0; }
.capability-card:hover p,
.capability-card:focus-visible p { max-height: 100px; opacity: 1; }
.capability-card:hover img { filter: saturate(.88) contrast(1.05) brightness(.98); transform: scale(1.055); }

/* Product cases */
.product-center { background: var(--white); }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.product-tabs button { position: relative; min-width: 116px; padding: 10px 16px 12px; border: 0; background: transparent; color: #596674; }
.product-tabs button::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--blue); transition: .2s; }
.product-tabs button.active { color: var(--blue); }
.product-tabs button.active::after { right: 0; left: 0; }
.product-tabs button b { margin-left: 4px; color: #9aa5af; font: 500 10px Arial; }
.product-pagination { display: flex; align-items: center; gap: 9px; color: #6d7884; font-size: 12px; }
.product-pagination button { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--blue); }
.product-pagination button:disabled { color: #b8c0c7; cursor: default; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-grid > a { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: .25s; }
.product-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-grid figure { position: relative; height: 220px; margin: 0; overflow: hidden; background: #f3f5f6; }
.product-grid img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.product-grid > a:hover img { transform: scale(1.035); }
.product-grid figure span { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 2px; background: var(--blue); color: var(--white); font-size: 11px; }
.product-grid > a > div { min-height: 118px; padding: 18px; }
.product-grid small { color: #8b96a1; font: 500 10px Arial; }
.product-grid h3 { overflow: hidden; margin: 6px 0 12px; font-size: 17px; font-weight: 500; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.product-grid > a > div > span { color: var(--blue); font-size: 12px; }

/* Value and production data banner */
.company-section { position: relative; min-height: 480px; overflow: hidden; color: var(--white); }
.company-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.company-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 23, 58, .92), rgba(5, 36, 71, .68)); }
.company-layout { position: relative; z-index: 2; display: grid; min-height: 480px; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 80px; }
.company-copy .eyebrow { color: #8bc7ff; }
.company-copy h2 { margin: 10px 0 18px; font-size: 34px; font-weight: 400; line-height: 1.45; }
.company-copy > p:not(.eyebrow) { max-width: 500px; margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 2; }
.company-actions { display: flex; gap: 10px; margin-top: 25px; }
.company-actions a { padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .7); font-size: 13px; }
.company-actions a:first-child { border-color: var(--blue); background: var(--blue); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .24); border-left: 1px solid rgba(255, 255, 255, .24); }
.hero-facts article { min-height: 112px; padding: 23px 22px; border-right: 1px solid rgba(255, 255, 255, .24); border-bottom: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .04); }
.hero-facts strong { display: block; color: #8fd8b5; font-size: 26px; font-weight: 500; line-height: 1.3; }
.hero-facts span { display: block; margin-top: 5px; color: rgba(255, 255, 255, .76); font-size: 12px; }

/* Equipment: one selected theme per screen */
.equipment-section { background: var(--pale); }
.equipment-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-bottom: 0; background: var(--white); }
.equipment-tabs button { display: flex; height: 58px; align-items: center; justify-content: center; gap: 9px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #475460; }
.equipment-tabs button:last-child { border-right: 0; }
.equipment-tabs button b { color: #a1acb6; font: 500 10px Arial; }
.equipment-tabs button span { font-size: 14px; }
.equipment-tabs button.active { background: var(--blue); color: var(--white); }
.equipment-tabs button.active b { color: rgba(255, 255, 255, .72); }
.equipment-panel { display: none; grid-template-columns: minmax(0, 3fr) minmax(250px, 1.05fr); background: var(--white); }
.equipment-panel.active { display: grid; }
.equipment-main { display: grid; min-width: 0; grid-template-columns: 1.35fr .9fr; border: 1px solid var(--line); }
.equipment-main > img { width: 100%; height: 330px; object-fit: cover; }
.equipment-main > div { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.equipment-main p { margin: 0; color: var(--blue); font: 600 11px Arial; letter-spacing: 1.2px; }
.equipment-main h3 { margin: 10px 0 13px; font-size: 25px; font-weight: 500; line-height: 1.4; }
.equipment-main span { color: var(--muted); font-size: 13px; line-height: 1.9; }
.equipment-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.equipment-list span { display: flex; min-height: 82px; flex-direction: column; justify-content: center; padding: 13px 16px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); color: #6c7883; font-size: 11px; }
.equipment-list b { color: var(--blue); font-size: 17px; font-weight: 500; }
.equipment-list.five span:last-child { grid-column: 1 / -1; }
.equipment-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.equipment-gallery.four { grid-template-columns: repeat(4, 1fr); }
.equipment-gallery.single { grid-template-columns: minmax(0, 390px); }
.equipment-gallery figure { position: relative; height: 142px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.equipment-gallery img { width: 100%; height: 100%; object-fit: cover; }
.equipment-gallery img.contain { object-fit: contain; }
.equipment-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 21px 13px 9px; background: linear-gradient(transparent, rgba(3, 23, 51, .78)); color: var(--white); font-size: 11px; }

/* Supplier advantages */
.advantages { background: var(--white); }
.advantage-layout { display: grid; grid-template-columns: .64fr 1.36fr; gap: 82px; align-items: start; }
.advantage-intro h2 { margin: 9px 0 15px; font-size: 30px; font-weight: 400; line-height: 1.45; }
.advantage-intro p { color: var(--muted); line-height: 1.9; }
.advantage-intro a { display: inline-block; margin-top: 17px; color: var(--blue); }
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.advantage-grid article { min-height: 162px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advantage-grid b { color: var(--blue); font: 500 11px Arial; }
.advantage-grid h3 { margin: 9px 0 7px; font-size: 17px; font-weight: 500; }
.advantage-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.industry-row { display: grid; grid-template-columns: 1.15fr repeat(6, 1fr); margin-top: 34px; border: 1px solid var(--line); }
.industry-row > * { display: flex; min-height: 46px; align-items: center; justify-content: center; border-right: 1px solid var(--line); font-size: 12px; font-weight: 400; }
.industry-row > *:last-child { border-right: 0; }
.industry-row span { background: var(--blue); color: var(--white); }

/* Factory location */
.factory-location { padding: 78px 0; background: var(--pale); }
.factory-location-layout { display: grid; min-height: 410px; grid-template-columns: .72fr 1.28fr; background: var(--white); box-shadow: var(--shadow); }
.factory-location-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.factory-location-copy > p:first-child { margin: 0; color: var(--blue); font: 600 11px Arial; letter-spacing: 1.2px; }
.factory-location-copy h2 { margin: 8px 0 22px; font-size: 30px; font-weight: 400; }
.factory-location-copy address { padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-style: normal; line-height: 1.9; }
.factory-location-copy address span { display: block; color: #8a96a0; font-size: 11px; }
.location-phone { margin-top: 17px; }
.location-phone small { display: block; color: #89949e; }
.location-phone strong { display: block; color: var(--blue); font-size: 24px; font-weight: 500; letter-spacing: .5px; }
.location-note { margin: 13px 0 0; color: #8a96a0; font-size: 11px; }
.factory-photo-link { position: relative; min-width: 0; overflow: hidden; }
.factory-photo-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 24, 59, .08), rgba(5, 24, 59, .76)); }
.factory-photo-link > img { width: 100%; height: 100%; object-fit: cover; }
.factory-photo-link > span { position: absolute; z-index: 2; right: 35px; bottom: 32px; left: 35px; color: var(--white); }
.factory-photo-link small { display: block; font: 500 10px Arial; letter-spacing: 1px; }
.factory-photo-link strong { display: block; margin: 7px 0; font-size: 21px; font-weight: 500; }
.factory-photo-link b { color: #96e0ba; font-size: 12px; font-weight: 400; }

/* Contact and inquiry */
.contact-section { padding: 82px 0; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.contact-copy > p:first-child { margin: 0; color: var(--blue); font: 600 11px Arial; letter-spacing: 1.2px; }
.contact-copy h2 { margin: 9px 0 16px; font-size: 30px; font-weight: 400; line-height: 1.45; }
.contact-copy > span { display: block; max-width: 450px; color: var(--muted); line-height: 1.9; }
.contact-cards { margin-top: 24px; border-top: 1px solid var(--line); }
.contact-cards > * { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.contact-cards small { color: #88949e; }
.contact-cards strong { color: var(--blue); font-weight: 500; }
.addresses { margin-top: 20px; color: #6d7984; font-size: 12px; }
.addresses p { margin: 0 0 8px; }
.addresses b { display: block; color: var(--ink); font-weight: 500; }
.addresses a { color: var(--blue); }
.map-route-card { scroll-margin-top: 78px; margin-top: 24px; overflow: hidden; border: 1px solid #d6e7f3; border-radius: 5px; background: #f5fbff; }
.map-route-main { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; padding: 17px; }
.map-pin { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: var(--white); font-size: 22px; }
.map-route-main > span:nth-child(2) { min-width: 0; }
.map-route-main small { display: block; color: var(--blue); font-size: 11px; }
.map-route-main strong { display: block; overflow: hidden; margin: 2px 0; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.map-route-main em { display: block; color: #7b8792; font-size: 12px; font-style: normal; }
.map-route-main > b { color: var(--blue); font-size: 26px; font-weight: 300; }
.map-route-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dceaf3; background: var(--white); }
.map-route-actions a { display: flex; height: 52px; align-items: center; justify-content: center; gap: 8px; color: #5f6e79; font-size: 12px; }
.map-route-actions a + a { border-left: 1px solid #dceaf3; }
.map-route-actions i { display: flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 50%; background: #eaf5ff; color: var(--blue); font-style: normal; font-weight: 600; }
.map-route-actions a:hover { color: var(--blue); }
.inquiry-form { padding: 30px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.form-title h3 { margin: 0; font-size: 21px; font-weight: 500; }
.form-title span { color: var(--blue); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { color: #65717c; font-size: 12px; }
.form-grid input,
.form-grid select,
.form-grid textarea { width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #d9e2e8; border-radius: 0; outline: 0; background: var(--white); color: var(--ink); font-size: 13px; }
.form-grid input,
.form-grid select { height: 40px; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(8, 120, 232, .08); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .trap { position: absolute; left: -9999px; }
.consent { display: flex; align-items: center; gap: 7px; margin: 15px 0; color: #7e8993; font-size: 11px; }
.inquiry-form > button { display: flex; width: 100%; height: 42px; align-items: center; justify-content: space-between; padding: 0 17px; border: 0; background: var(--blue); color: var(--white); }
.inquiry-form > button:disabled { opacity: .6; }
#formStatus { min-height: 20px; margin: 10px 0 0; color: var(--blue); font-size: 12px; }

/* Footer */
footer { padding: 48px 0 42px; border-top: 1px solid rgba(255, 255, 255, .12); background: var(--navy); color: rgba(255, 255, 255, .78); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1.4fr auto; align-items: start; gap: 38px; }
.footer-grid > img { width: 185px; padding: 8px; background: var(--white); }
.footer-grid > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; }
.footer-grid a { font-size: 12px; }
.footer-grid p { margin: 0; font-size: 12px; }
.footer-grid p span { color: rgba(255, 255, 255, .48); }
.footer-grid small { color: rgba(255, 255, 255, .42); font-size: 10px; }

/* Permanently visible contact rail on the left */
.contact-float { position: fixed; z-index: 55; top: 50%; right: 0; display: flex; width: 52px; flex-direction: column; align-items: flex-end; overflow: visible; border: 1px solid #e1e9ee; border-right: 0; border-radius: 5px 0 0 5px; box-shadow: var(--shadow); transform: translateY(-50%); }
.contact-float > * { position: relative; display: flex; width: 52px; height: 54px; flex: 0 0 54px; align-items: center; justify-content: flex-start; overflow: hidden; padding: 0 15px; border: 0; border-bottom: 1px solid #edf1f4; background: var(--white); color: var(--blue); white-space: nowrap; transition: width .3s ease, background .2s; }
.contact-float > *:last-child { border-bottom: 0; }
.contact-float > *:hover { width: 218px; background: #f5fbff; }
.contact-float b { width: 21px; flex: 0 0 21px; font-size: 16px; font-weight: 500; text-align: center; }
.contact-float span { margin-left: 17px; color: var(--ink); font-size: 13px; }
.contact-float i { position: absolute; top: 31px; left: 53px; color: #72808b; font-size: 10px; font-style: normal; opacity: 0; transition: opacity .2s; }
.contact-float > *:hover i { opacity: 1; }
.mobile-contact { display: none; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 28px; padding: 11px 18px; background: var(--navy); color: var(--white); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }
.toast.show { opacity: 1; transform: none; }

/* Subtle entrance motion; content remains visible when scripting is unavailable */
.motion-ready .reveal-target { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .75s cubic-bezier(.22,.61,.36,1); }
.motion-ready .reveal-target.revealed { opacity: 1; transform: translateY(0); }
.motion-ready .capability-card.reveal-card { opacity: 0; transform: translateY(18px); }
.motion-ready .capability-card.reveal-card.revealed { opacity: 1; transform: translateY(0); transition: opacity .55s var(--reveal-delay, 0ms), transform .6s var(--reveal-delay, 0ms), flex .5s cubic-bezier(.22,.61,.36,1); }

@media (max-width: 1120px) {
  .wrap { width: min(var(--wrap), calc(100% - 40px)); }
  .main-header nav { gap: 20px; }
  .main-header nav a { font-size: 14px; }
  .header-quote { margin-left: 20px; }
  .brand img { width: 280px; }
  .header-inner,
  .top-contact-inner { width: calc(100% - 40px); }
  .capability-grid { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .capability-grid::-webkit-scrollbar { display: none; }
  .capability-card { min-width: 230px; height: 320px; flex: 0 0 230px; scroll-snap-align: start; }
  .capability-card p { max-height: 100px; opacity: 1; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .company-layout { gap: 46px; }
  .equipment-main { grid-template-columns: 1.15fr .85fr; }
  .advantage-layout { gap: 44px; }
  .contact-layout { gap: 44px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .section { padding: 55px 0; }
  .top-contact { display: none; }
  .main-header { height: 72px; }
  .brand { padding: 8px 0; }
  .brand img { width: 220px; max-height: 54px; }
  .header-quote { display: none; }
  .menu-toggle { display: block; }
  .main-header nav { position: absolute; top: 72px; right: 0; left: 0; display: none; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-top: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
  .main-header nav.open { display: flex; }
  .main-header nav a { height: 47px; justify-content: center; border-bottom: 1px solid #edf1f4; font-size: 16px; }
  .main-header nav a::after { display: none; }

  .intro-hero { height: 456px; }
  .intro-background { object-position: 58% center; }
  .intro-shade { background: linear-gradient(90deg, rgba(3, 25, 59, .80), rgba(3, 25, 59, .35)); }
  .intro-copy { width: min(100%, 610px); padding-right: 8px; }
  .intro-copy h1 { font-size: 28px; }
  .intro-copy h2 { font-size: 28px; }
  .hero-arrow { width: 32px; height: 32px; font-size: 23px; }
  .hero-prev { left: 7px; }
  .hero-next { right: 7px; }
  .intro-lead { font-size: 14px; line-height: 1.9; }

  .split-heading,
  .product-heading { display: block; }
  .section-heading h2,
  .section-title h2 { font-size: 25px; }
  .section-heading p { margin-top: 18px; }
  .capability-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: transparent; scrollbar-width: none; }
  .capability-grid::-webkit-scrollbar { display: none; }
  .capability-card { min-width: 82vw; height: 340px; flex: 0 0 82vw; border-right: 8px solid var(--pale); scroll-snap-align: start; }
  .capability-card:last-child { border-right: 0; }

  .product-toolbar { align-items: flex-end; }
  .product-tabs { max-width: calc(100% - 90px); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .product-tabs button { min-width: 102px; padding-inline: 10px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-grid figure { height: 168px; }
  .product-grid > a > div { min-height: 106px; padding: 14px; }
  .product-grid h3 { font-size: 15px; }

  .company-layout { min-height: 610px; grid-template-columns: 1fr; align-content: center; gap: 34px; padding-block: 55px; }
  .company-copy h2 { font-size: 28px; }
  .hero-facts article { min-height: 92px; padding: 17px; }
  .hero-facts strong { font-size: 21px; }

  .equipment-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .equipment-tabs button { min-width: 135px; flex: 0 0 135px; }
  .equipment-panel.active { grid-template-columns: 1fr; }
  .equipment-main { grid-template-columns: 1fr; }
  .equipment-main > img { height: 300px; }
  .equipment-main > div { padding: 25px; }
  .equipment-list { grid-template-columns: repeat(3, 1fr); }
  .equipment-gallery { grid-template-columns: 1fr 1fr 1fr; }
  .equipment-gallery.four { grid-template-columns: 1fr 1fr; }

  .advantage-layout { grid-template-columns: 1fr; }
  .advantage-intro h2 { font-size: 25px; }
  .industry-row { grid-template-columns: repeat(3, 1fr); }
  .industry-row > * { border-bottom: 1px solid var(--line); }
  .industry-row span { grid-column: 1 / -1; }

  .factory-location-layout { grid-template-columns: 1fr; }
  .factory-location-copy { padding: 34px; }
  .factory-photo-link { min-height: 420px; }

  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-float { display: none; }
  .mobile-contact { position: fixed; z-index: 70; right: 16px; bottom: 9px; left: 16px; display: flex; height: 42px; align-items: center; justify-content: space-between; padding: 0 15px; border: 0; border-radius: 2px; background: var(--blue); color: var(--white); box-shadow: 0 8px 25px rgba(5, 66, 137, .28); font-size: 11px; }
  .mobile-contact b { font-size: 12px; font-weight: 500; }
  body { padding-bottom: 58px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding: 49px 0; }
  .intro-copy h1,
  .intro-copy h2 { font-size: 26px; line-height: 1.45; }
  .intro-actions { gap: 9px; }
  .button { min-width: 0; flex: 1; font-size: 13px; }
  .section-heading h2,
  .section-title h2,
  .advantage-intro h2,
  .factory-location-copy h2,
  .contact-copy h2 { font-size: 24px; }
  .capability-card { min-width: calc(100vw - 60px); flex-basis: calc(100vw - 60px); height: 330px; }
  .product-toolbar { display: block; }
  .product-tabs { max-width: 100%; }
  .product-pagination { justify-content: flex-end; margin-top: 13px; }
  .product-grid figure { height: 135px; }
  .product-grid figure span { top: 8px; left: 8px; padding: 3px 6px; font-size: 9px; }
  .product-grid > a > div { min-height: 102px; padding: 12px 10px; }
  .product-grid h3 { font-size: 14px; }
  .product-grid > a > div > span { font-size: 10px; }
  .company-section,
  .company-layout { min-height: 650px; }
  .company-copy h2 { font-size: 25px; }
  .company-actions a { flex: 1; padding-inline: 8px; text-align: center; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts strong { font-size: 19px; }
  .equipment-main > img { height: 245px; }
  .equipment-main h3 { font-size: 22px; }
  .equipment-list { grid-template-columns: 1fr 1fr; }
  .equipment-list span { min-height: 72px; padding: 11px; }
  .equipment-gallery { grid-template-columns: 1fr 1fr; }
  .equipment-gallery figure { height: 120px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-grid article { min-height: 0; }
  .industry-row { grid-template-columns: 1fr 1fr; }
  .industry-row span { grid-column: 1 / -1; }
  .factory-location { padding: 49px 0; }
  .factory-location-copy { padding: 28px 24px; }
  .factory-photo-link { min-height: 350px; }
  .factory-photo-link > span { right: 22px; bottom: 24px; left: 22px; }
  .contact-section { padding: 55px 0; }
  .contact-cards > * { display: block; }
  .contact-cards strong { display: block; margin-top: 3px; font-size: 13px; }
  .inquiry-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .form-title { align-items: flex-start; }
  .form-title span { max-width: 100px; text-align: right; }
  footer { padding-bottom: 76px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > div { max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
