:root {
  --navy: #123766;
  --navy-deep: #092442;
  --blue: #246aa5;
  --cyan: #4bb6cf;
  --ink: #172638;
  --muted: #667384;
  --line: #dce4eb;
  --soft: #f2f6f9;
  --white: #ffffff;
  --max: 1200px;
  --shadow: 0 16px 45px rgba(8, 39, 72, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-deep); line-height: 1.15; }
h1, h2 { overflow-wrap: anywhere; }
h1 { font-size: clamp(2.55rem, 5vw, 5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); letter-spacing: -0.035em; }
h3 { font-size: 1.22rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 105px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 16px; background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.topbar { color: #dce9f5; background: var(--navy-deep); font-size: 0.78rem; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; gap: 24px; }
.topbar a:hover { color: var(--white); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); border-bottom: 1px solid rgba(220,228,235,.8); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { width: 226px; flex: 0 0 auto; overflow: hidden; }
.brand img { width: 100%; height: 58px; object-fit: cover; object-position: left top; }
.primary-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 0.92rem; font-weight: 600; }
.primary-nav a { padding: 29px 0 26px; border-bottom: 3px solid transparent; }
.primary-nav a:hover { color: var(--blue); border-color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.language-select, .standard-filter select { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 4px; padding: 9px 30px 9px 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 4px; padding: 12px 22px; color: var(--white); background: var(--navy); font-weight: 700; line-height: 1.2; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgba(18,55,102,.18); }
.button-small { min-height: 40px; padding: 10px 15px; font-size: .85rem; }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.72); background: transparent; }
.button-outline:hover { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-outline-dark { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-full { width: 100%; }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(5,27,51,.92) 0%, rgba(7,34,62,.79) 42%, rgba(8,35,63,.18) 76%, rgba(8,35,63,.05) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 48px; }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.hero .eyebrow { color: #8fe0ef; }
.hero h1 { max-width: 860px; margin-bottom: 24px; color: var(--white); }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: #e1ebf4; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 780px; margin: 64px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); }
.hero-stats div { padding-right: 20px; }
.hero-stats dt { color: var(--white); font-size: 1.8rem; font-weight: 800; }
.hero-stats dd { margin: 3px 0 0; color: #cddbe8; font-size: .82rem; }

.trust-strip { position: relative; z-index: 2; background: var(--white); box-shadow: 0 8px 28px rgba(12,45,77,.08); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 20px 30px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--navy); font-size: .9rem; }
.trust-grid span { margin-top: 4px; color: var(--muted); font-size: .8rem; }

.section-heading { margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; }
.split-heading > p { margin-bottom: 5px; color: var(--muted); }
.centered-heading { max-width: 780px; margin-inline: auto; text-align: center; }
.centered-heading p:last-child { color: var(--muted); }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { border: 1px solid var(--line); border-radius: 99px; padding: 9px 15px; color: var(--muted); background: var(--white); font-size: .84rem; font-weight: 650; }
.filter-button:hover, .filter-button.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.standard-filter { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card[hidden] { display: none; }
.product-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}
.product-card-body { padding: 24px; }
.product-card h3 { margin: 15px 0 10px; }
.product-card p { min-height: 52px; margin-bottom: 16px; color: var(--muted); font-size: .9rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { padding: 4px 8px; color: var(--navy); background: #e9f2f7; font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.text-button, .standard-link { display: inline-flex; gap: 9px; align-items: center; padding: 0; border: 0; color: var(--blue); background: transparent; font-weight: 750; }
.text-button:hover, .standard-link:hover { color: var(--navy-deep); }
.no-results { padding: 40px; color: var(--muted); background: var(--soft); text-align: center; }

.standards-section { background: var(--soft); }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: var(--shadow); }
.standards-grid article { min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; padding: 38px 30px; border-right: 1px solid var(--line); }
.standards-grid article:last-child { border-right: 0; }
.standards-grid h3 { margin: 26px 0 12px; }
.standards-grid p { color: var(--muted); font-size: .9rem; }
.standards-grid .standard-link { margin-top: auto; }
.standard-code { display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); background: var(--navy); font-weight: 800; letter-spacing: .05em; }

.manufacturing-section { color: var(--white); background: var(--navy-deep); }
.manufacturing-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.manufacturing-intro h2 { color: var(--white); }
.manufacturing-intro > p:not(.eyebrow) { margin-bottom: 30px; color: #c8d7e6; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.capability-grid article { min-height: 230px; padding: 32px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.capability-grid span { color: #71d0e2; font-weight: 800; }
.capability-grid h3 { margin: 34px 0 10px; color: var(--white); }
.capability-grid p { margin: 0; color: #abc0d4; font-size: .88rem; }

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.base-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.base-list div { padding: 19px; background: var(--soft); border-left: 3px solid var(--blue); }
.base-list strong, .base-list span { display: block; }
.base-list span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 49px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 25px; align-items: start; margin-bottom: 34px; }
.timeline li::before { content: ""; position: absolute; left: 43px; top: 9px; width: 13px; height: 13px; border: 3px solid var(--white); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.timeline time { color: var(--navy); font-size: 1.3rem; font-weight: 800; }
.timeline strong, .timeline span { display: block; }
.timeline span { margin-top: 3px; color: var(--muted); font-size: .82rem; }

.contact-section { background: linear-gradient(135deg, #eaf2f7, #f8fafb 58%); }
.contact-shell { display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: var(--shadow); }
.contact-details { padding: 56px; color: var(--white); background: var(--navy); }
.contact-details h2 { color: var(--white); }
.contact-details > p:not(.eyebrow) { color: #d5e1ec; }
.contact-methods { display: grid; margin: 36px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-methods a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-methods span { color: #9db5cb; font-size: .78rem; }
.office-addresses { display: grid; gap: 16px; }
.office-addresses p { margin: 4px 0 0; color: #bfd0df; font-size: .82rem; }
.quick-contact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact-details .button { border-color: var(--white); background: var(--white); color: var(--navy); }
.contact-details .button-outline-dark { color: var(--white); background: transparent; }
.inquiry-form { padding: 56px; background: var(--white); }
.inquiry-form h3 { margin-bottom: 28px; font-size: 1.55rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.inquiry-form label { display: block; margin-bottom: 18px; color: var(--ink); font-size: .78rem; font-weight: 700; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; margin-top: 7px; border: 1px solid #cbd6df; border-radius: 3px; padding: 12px; color: var(--ink); background: var(--white); font-weight: 400; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: 3px solid rgba(75,182,207,.2); border-color: var(--blue); }
.form-note, .form-status { margin: 13px 0 0; color: var(--muted); font-size: .75rem; }

.site-footer { padding: 36px 0; color: #b8c9d9; background: #071b30; font-size: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: center; gap: 30px; }
.footer-grid strong { color: var(--white); }
.footer-grid p { margin: 4px 0 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-grid a:hover { color: var(--white); }

.floating-contact { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; gap: 8px; }
.floating-button { min-width: 96px; border: 0; border-radius: 99px; padding: 10px 15px; color: var(--white); background: #159957; box-shadow: 0 8px 24px rgba(0,0,0,.18); font-size: .76rem; font-weight: 800; text-align: center; }
.floating-button.whatsapp { background: #1f8f5d; }
.floating-button:hover { transform: translateY(-2px); }

.modal { width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; color: var(--ink); background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal::backdrop { background: rgba(4,19,34,.76); backdrop-filter: blur(3px); }
.modal-close { position: absolute; right: 14px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.92); font-size: 1.7rem; }
.modal-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: center; padding: 48px; }
.wechat-modal-content > img { width: 100%; border: 10px solid var(--soft); }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0 15px; padding: 12px 14px; background: var(--soft); }
.copy-field button { border: 0; color: var(--blue); background: transparent; font-weight: 750; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.copy-status { min-height: 24px; margin: 12px 0 0; color: var(--blue); font-size: .8rem; }
.product-modal-content { grid-template-columns: 1fr 1fr; }
.product-modal-content > img { width: 100%; max-height: 620px; object-fit: contain; background: var(--soft); }
.product-modal-content ul { padding-left: 20px; color: var(--muted); }

@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { order: 4; width: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 0 14px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .header-actions .button { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .standards-grid article { border-bottom: 1px solid var(--line); }
  .manufacturing-layout { grid-template-columns: 1fr; }
  .about-layout { gap: 55px; }
  .contact-shell { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 10px; }
  .header-inner { min-height: 72px; }
  .brand { width: 182px; }
  .brand img { height: 48px; }
  .hero { min-height: 700px; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,27,51,.92), rgba(7,34,62,.7)); }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div { min-height: 100px; padding: 18px; border-bottom: 1px solid var(--line); }
  .split-heading, .about-layout { grid-template-columns: 1fr; gap: 25px; }
  .product-toolbar { align-items: stretch; flex-direction: column; }
  .standard-filter { justify-content: space-between; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card p { min-height: auto; }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid article { min-height: 260px; border-right: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 190px; }
  .base-list { grid-template-columns: 1fr; }
  .contact-details, .inquiry-form { padding: 36px 24px; }
  .contact-methods a { grid-template-columns: 1fr; gap: 2px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .modal-content, .product-modal-content { grid-template-columns: 1fr; padding: 34px 22px; }
  .modal-content > img { width: min(280px, 100%); margin-inline: auto; }
  .floating-contact { right: 10px; bottom: 10px; }
  .floating-button { min-width: 84px; padding: 9px 12px; }
}

@media (max-width: 420px) {
  .topbar-links { justify-content: center; }
  .topbar-links a:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
