/* C-BOX Independent Site — v0.1 */
:root {
  --cyan: #29b6d8;
  --blue: #0e4a7c;
  --deep: #0d3a5c;
  --ink: #17242e;
  --grey: #5b6b76;
  --line: #e3e9ee;
  --bg: #f6f9fb;
  --orange: #f39b3b;
  --max: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.topbar {
  background: var(--deep); color: #cfe3f0; font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 3px 16px; min-height: 34px; padding-top: 5px; padding-bottom: 5px;
}
.topbar a { color: #fff; }
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between; min-height: 120px; gap: 30px; flex-wrap: wrap;
}
header.site .container > .btn { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.brand { display: flex; align-items: center; }
.brand img { height: 96px; width: auto; }
nav.main { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
nav.main a {
  color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 6px 0;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
nav.main a:hover, nav.main a.active { color: var(--blue); border-color: var(--cyan); }

/* Products dropdown */
nav.main .nav-drop { position: relative; }
nav.main .nav-drop > a::after { content: " \25BE"; color: var(--blue); font-size: 12px; }
.drop-menu {
  position: absolute; top: 100%; left: -14px; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15,40,80,.16); padding: 8px;
  display: none; z-index: 80;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a {
  display: block; padding: 9px 12px; margin: 0; border-bottom: none;
  font-weight: 500; font-size: 14px; color: var(--ink); border-radius: 6px; white-space: nowrap;
}
.drop-menu a:hover { background: #f0f7fb; color: var(--blue); border-color: transparent; }
.drop-menu a.active { color: var(--blue); }
section[id] { scroll-margin-top: 118px; }
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 4px; font-weight: 700; font-size: 15px;
  transition: .15s;
}
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: #1fa0bf; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(13,58,92,.94) 0%, rgba(22,99,158,.88) 55%, rgba(41,182,216,.72) 100%),
    url("photo-factory-aerial.jpg") center/cover no-repeat;
  padding: 96px 0 88px;
}
.hero h1 { font-size: 40px; line-height: 1.22; max-width: 760px; }
.hero h1 span { color: #7fdcf0; }
.hero p.lead { margin: 18px 0 30px; font-size: 18px; max-width: 640px; color: #e8f4fa; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Space-programme hero (Home) */
.hero-space {
  background:
    linear-gradient(115deg, rgba(6,26,48,.96) 0%, rgba(13,58,92,.90) 50%, rgba(22,99,158,.78) 100%),
    url("news/space-program.png") center/cover no-repeat;
}
.feat-badge {
  display: inline-block; background: rgba(127,220,240,.14); border: 1px solid rgba(127,220,240,.45);
  color: #bff0fb; padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 18px; letter-spacing: .2px;
}

/* Home customer logo strip */
.logo-strip { background: #f4f8fb; border-bottom: 1px solid var(--line); padding: 30px 0 26px; }
.logo-strip .strip-label { text-align: center; color: var(--deep); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.logo-strip .strip-label a { color: var(--blue); }
.logo-wall.mini { grid-template-columns: repeat(8, 1fr); gap: 12px; }
.logo-wall.mini .logo-tile { min-height: 84px; padding: 10px 8px; }
.logo-wall.mini .logo-tile img { max-height: 40px; }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 24px;
}
.stat b { font-size: 30px; color: var(--blue); display: block; }
.stat span { font-size: 14px; color: var(--grey); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: #fff; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.kicker {
  color: var(--cyan); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px;
}
.sec-head h2 { font-size: 32px; margin: 8px 0 12px; color: var(--deep); }
.sec-head p { color: var(--grey); }

/* Category cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: .18s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,58,92,.12); }
.card .ph { height: 210px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 18px; color: var(--deep); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--grey); flex: 1; }
.card .more { margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--cyan); }

/* Feature list */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 8px; border: 1px solid var(--line); }
.checks { list-style: none; margin-top: 18px; }
.checks li { padding: 9px 0 9px 30px; position: relative; color: var(--ink); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 21px; height: 21px;
  background: var(--cyan); color: #fff; border-radius: 50%; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* Table */
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.tbl th { background: var(--deep); color: #fff; font-weight: 600; }
.tbl tr:nth-child(even) td { background: #f4f8fb; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px;
}
.ind b { color: var(--deep); display: block; margin-bottom: 6px; }
.ind span { font-size: 13.5px; color: var(--grey); }

/* Customers & Partners logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px 14px; gap: 8px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.logo-tile b { color: var(--deep); font-size: 14.5px; line-height: 1.3; }
.logo-tile b span { display: block; font-size: 12px; font-weight: 400; color: var(--grey); margin-top: 2px; }
.logo-tile:hover { box-shadow: 0 8px 24px rgba(15,40,80,.10); transform: translateY(-2px); }
.logo-tile img { max-height: 56px; max-width: 82%; object-fit: contain; }

/* Guide rail ordering panel */
.rail-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 18px; }
.rail-imgs { display: flex; gap: 10px; margin-bottom: 16px; }
.rail-imgs figure { flex: 1; text-align: center; }
.rail-imgs img { height: 150px; object-fit: contain; margin: 0 auto; }
.rail-imgs figcaption { font-size: 12.5px; color: var(--grey); margin-top: 4px; }
.rail-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rail-table th, .rail-table td { border: 1px solid var(--line); padding: 7px 10px; text-align: center; }
.rail-table th { background: var(--deep); color: #fff; font-weight: 600; }
.rail-table tr:nth-child(even) td { background: #f4f8fb; }
.rail-note { font-size: 12.5px; color: var(--grey); margin-top: 10px; }

/* Certificates gallery */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: .18s;
}
.cert:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,58,92,.12); }
.cert img { width: 100%; height: 320px; object-fit: contain; background: #fff; padding: 12px; }
.cert figcaption { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.cert figcaption b { display: block; color: var(--deep); font-size: 15px; }
.cert figcaption span { font-size: 12.5px; color: var(--grey); display: block; margin-top: 4px; line-height: 1.5; }

/* Facilities gallery */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gal img { width: 100%; height: 215px; object-fit: cover; display: block; transition: .2s; }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--grey); }
.gal .wide { grid-column: span 2; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.vgrid video { width: 100%; border-radius: 10px; background: #000; display: block; aspect-ratio: 16 / 9; }
.vgrid p { text-align: center; color: var(--grey); font-size: 13.5px; margin-top: 8px; }
@media (max-width: 900px) {
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal .wide { grid-column: span 2; }
  .vgrid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band { background: linear-gradient(100deg, var(--deep), var(--blue)); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; }
.cta-band p { color: #cfe3f0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cbox { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.cbox h3 { color: var(--deep); margin-bottom: 12px; font-size: 17px; }
.cbox p, .cbox li { font-size: 14.5px; color: var(--grey); }
.cbox ul { list-style: none; }
.cbox li { padding: 5px 0; }
.cbox b { color: var(--ink); }

/* Footer */
footer.site { background: var(--deep); color: #9db8c9; padding: 44px 0 28px; font-size: 14px; }
footer.site .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
footer.site a { color: #cfe3f0; }
footer .addr { display: inline-block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: #9db8c9; }
footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; text-align: center; grid-column: 1 / -1; }

/* ===== News page ===== */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: .18s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,58,92,.12); }
.news-card .ph { height: 300px; background: #f0f5f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-card .ph img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.news-card .ph video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.news-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; }
.news-date {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--blue);
  background: rgba(41,182,216,.12); border-radius: 4px; padding: 3px 9px;
}
.news-tag { font-size: 12px; font-weight: 600; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; }
.news-card h2 { font-size: 19px; color: var(--deep); line-height: 1.35; }
.news-card p { font-size: 14.5px; color: var(--grey); }
.news-links { font-size: 13px !important; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } .news-card .ph { height: 240px; } }

/* ===== Insights (article) ===== */
.article { max-width: 860px; }
.article-kicker {
  color: var(--cyan); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px;
}
.article-title { font-size: 32px; line-height: 1.25; color: var(--deep); margin: 10px 0 14px; }
.article-lead { font-size: 17px; color: var(--grey); margin-bottom: 26px; }
.article-toc {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan);
  border-radius: 8px; padding: 18px 22px; margin: 0 0 34px;
  display: flex; flex-direction: column; gap: 6px; font-size: 14.5px;
}
.article-toc b { color: var(--deep); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.article-toc a { color: var(--blue); }
.article-toc a:hover { text-decoration: underline; }
.article h2 { font-size: 24px; color: var(--deep); margin: 40px 0 14px; scroll-margin-top: 132px; }
.article h3 { font-size: 17.5px; color: var(--deep); margin: 24px 0 8px; }
.article p { color: var(--ink); font-size: 15.5px; margin: 10px 0; }
.article ul { margin: 10px 0 14px 22px; }
.article li { font-size: 15px; color: var(--ink); margin-bottom: 9px; }
.article b { color: var(--deep); }
.src { font-size: 13px !important; color: var(--grey) !important; border-top: 1px dashed var(--line); padding-top: 10px; }
.article-note {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 18px 22px; margin-top: 40px;
}
.article-note p { font-size: 14px; color: var(--grey); }
#m1, #m2, #m3, #m4, #m5 { scroll-margin-top: 132px; }

@media (max-width: 1180px) and (min-width: 901px) {
  nav.main { gap: 11px 10px; }
  nav.main a { font-size: 12.5px; }
  header.site .btn { padding: 9px 14px; font-size: 13px; }
  header.site .container { gap: 16px; }
}

@media (max-width: 900px) {
  .grid3, .grid2, .contact-grid { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall.mini { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  footer.site .container { grid-template-columns: 1fr; }
  nav.main { display: none; }
  header.site .container { height: 92px; }
  .brand img { height: 60px; }
  header.site .btn { padding: 9px 14px; font-size: 13px; }
}

/* ===== Inquiry form (RFQ) ===== */
#rfq { scroll-margin-top: 132px; }
.rfq-sec {
  padding: 66px 0 76px;
  background:
    radial-gradient(900px 340px at 8% 0%, rgba(41,182,216,.12), transparent 62%),
    radial-gradient(700px 320px at 100% 100%, rgba(22,99,158,.07), transparent 60%),
    var(--bg);
}
.rfq-wrap { display: grid; grid-template-columns: minmax(270px, 1fr) 1.6fr; gap: 44px; align-items: start; }

/* --- left column --- */
.rfq-aside h2 { font-size: 27px; line-height: 1.25; color: var(--deep); }
.rfq-aside > p { margin: 12px 0 20px; font-size: 15.5px; color: var(--grey); }
.rfq-list { list-style: none; margin: 0 0 24px; padding: 0; }
.rfq-list li { position: relative; padding-left: 27px; margin-bottom: 11px; font-size: 14.5px; }
.rfq-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px;
  border-radius: 50%; background: rgba(41,182,216,.16);
}
.rfq-list li::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 4px; height: 8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(40deg);
}
.rfq-direct {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.rfq-direct-t {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 4px;
}
.rfq-direct a { font-size: 14.5px; font-weight: 600; word-break: break-all; }
.rfq-direct a:hover { text-decoration: underline; }

/* --- form card --- */
.rfq-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 22px 50px -32px rgba(13,58,92,.42);
  padding: 28px 32px 24px;
}
.rfq { max-width: none; }
.rfq .btn-outline { border-color: var(--cyan); color: var(--blue); }
.rfq .btn-outline:hover { background: rgba(41,182,216,.08); }
.rfq-group {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--deep);
}
.rfq-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rfq-group i {
  font-style: normal; width: 22px; height: 22px; border-radius: 50%; letter-spacing: 0;
  background: rgba(41,182,216,.16); color: var(--blue); font-size: 12px;
  display: grid; place-items: center;
}
.rfq-group-2 { margin-top: 26px; }
.rfq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 22px; }
.rfq label {
  display: flex; flex-direction: column; gap: 6px;
  font-weight: 600; font-size: 13.5px; color: var(--deep);
}
.rfq .req { color: #c0392b; }
.rfq input, .rfq textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: #fbfdfe; width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.rfq input:hover, .rfq textarea:hover { border-color: #c8d8e3; }
.rfq textarea { resize: vertical; }
.rfq input::placeholder, .rfq textarea::placeholder { color: #9aa8b2; }
.rfq input:focus, .rfq textarea:focus {
  outline: none; border-color: var(--cyan); background: #fff;
  box-shadow: 0 0 0 3px rgba(41,182,216,.14);
}
.rfq-full {
  display: flex; flex-direction: column; gap: 6px; margin-top: 16px;
  font-weight: 600; font-size: 13.5px; color: var(--deep);
}
.rfq-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rfq-note { font-size: 13px; line-height: 1.6; color: var(--grey); margin-top: 16px; }
.rfq-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rfq-actions .btn { cursor: pointer; }
.rfq-actions .btn-primary {
  padding: 13px 34px; font-size: 15.5px;
  box-shadow: 0 12px 24px -14px rgba(41,182,216,1);
}
.rfq-actions .btn-primary:hover { transform: translateY(-1px); }
.rfq-actions .btn-primary:disabled { opacity: .6; transform: none; cursor: default; }
.rfq-trust {
  list-style: none; margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 7px 24px;
}
.rfq-trust li { position: relative; padding-left: 17px; font-size: 13px; color: var(--grey); }
.rfq-trust li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--cyan);
}
.rfq-msg { margin-top: 14px; font-size: 15px; min-height: 1px; }
.rfq-msg.ok { color: #157f4f; font-weight: 600; }
.rfq-msg.err { color: #b3261e; font-weight: 600; }
.rfq-msg.err a { color: inherit; text-decoration: underline; }

@media (max-width: 980px) {
  .rfq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .rfq-aside > p { margin-bottom: 18px; }
}
@media (max-width: 700px) {
  .rfq-grid { grid-template-columns: 1fr; }
  .rfq-card { padding: 22px 18px 18px; border-radius: 10px; }
  .rfq-actions .btn { flex: 1; text-align: center; }
}

/* ===== Patents page ===== */
.pat-tools {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 4px 0 28px;
}
.pat-chip {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 22px;
  background: #fff; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--grey); cursor: pointer;
}
.pat-chip:hover { border-color: var(--cyan); color: var(--blue); }
.pat-chip.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.pat-search { flex: 1; min-width: 230px; }
.pat-search input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 4px; font: inherit; color: var(--ink);
}
.pat-search input:focus { outline: none; border-color: var(--cyan); }
.pat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
}
.pat-card:hover { border-color: var(--cyan); box-shadow: 0 4px 14px rgba(13,58,92,.08); }
.pat-card > a { display: block; line-height: 0; }
.pat-card img {
  width: 100%; aspect-ratio: 100 / 141; object-fit: cover; object-position: top;
  background: #fff; border-bottom: 1px solid var(--line);
}
.pat-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pat-body b { font-size: 15px; color: var(--deep); line-height: 1.35; }
.pat-cn { font-size: 12.5px; color: var(--grey); }
.pat-meta {
  margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--grey);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.pat-num { font-family: Consolas, "Courier New", monospace; }
.pat-badge {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px;
  background: var(--bg); color: var(--blue); border: 1px solid var(--line); white-space: nowrap;
}
.pat-badge.inv { background: #fff7ec; color: #b26a00; border-color: #f2ddb8; }
.pat-badge.de  { background: #eef7ff; color: #0b6bb8; border-color: #cfe8fa; }
.pat-owner { font-size: 12.5px; color: var(--grey); }
.pat-note { margin-top: 30px; font-size: 13px; color: var(--grey); max-width: 900px; }
@media (max-width: 900px) {
  .pat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pat-grid { grid-template-columns: 1fr; }
}

/* ===== Global reach world map (customers page) ===== */
.map-wrap {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 6px;
  box-shadow: 0 1px 3px rgba(13,58,92,.05);
}
.worldmap { width: 100%; height: auto; display: block; }
.worldmap path { stroke: #fff; stroke-width: .6; transition: fill .18s ease; }
.wm-base { fill: #e6ecf2; }
.wm-c1 { fill: #0e4a7c; }
.wm-c2 { fill: #1e74ab; }
.wm-c3 { fill: #3d92c9; }
.wm-c4 { fill: #5fa8d7; }
.wm-c5 { fill: #8fc2e3; }
.wm-data-g path:hover { fill: #0d3a5c; cursor: default; }
.wm-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.5; }
.map-legend {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px;
  padding: 10px 4px 4px; font-size: 12.5px; color: var(--grey);
  border-top: 1px solid var(--line); margin-top: 10px;
}
.map-legend .lg-title { font-weight: 700; color: var(--deep); letter-spacing: .02em; }
.map-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 16px; height: 10px; border-radius: 2px; display: inline-block; background: #e6ecf2; }
.map-legend i.wm-c1 { background: #0e4a7c; }
.map-legend i.wm-c2 { background: #1e74ab; }
.map-legend i.wm-c3 { background: #3d92c9; }
.map-legend i.wm-c4 { background: #5fa8d7; }
.map-legend i.wm-c5 { background: #8fc2e3; }
.map-legend .lg-dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.region-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px;
}
.region-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px 16px; }
.region-bar { height: 6px; background: #eaf0f6; border-radius: 3px; overflow: hidden; }
.region-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.region-card h3 { font-size: 15px; margin: 10px 0 6px; color: var(--deep); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.region-card h3 em { font-style: normal; color: var(--blue); font-size: 14px; }
.region-card p { font-size: 12.5px; color: var(--grey); line-height: 1.55; margin: 0; }
.map-note { font-size: 12.5px; color: #8494a3; line-height: 1.65; margin-top: 18px; }
@media (max-width: 980px) {
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .map-legend { font-size: 12px; }
}

/* Force light rendering: prevents mobile/OS dark-mode auto-inversion from turning the world map into a black blob */
:root, html { color-scheme: light; }

/* Customer audits section */
#audits h3 { font-size: 17px; color: var(--deep); margin: 30px 0 12px; }
#audits h3:first-of-type { margin-top: 4px; }
#audits .gal figure { background: #fff; }

#people .gal figure{background:#fff;}

/* ============================================================
   Mobile / responsive pass — 2026-10-06
   1. collapsible header navigation ("burger" drawer) for <=900px
   2. wide tables scroll inside .tbl-wrap instead of breaking the page
   3. .grid2-auto — auto-fit grid that cannot overflow narrow screens
   4. explicit column counts for .industries / .certs (no inline styles,
      so the media queries below can actually take effect)
   ============================================================ */

/* --- burger button: desktop hidden --- */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle i {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--deep); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* the drawer gets its own CTA so the header button can stay compact */
.nav-cta { display: none; }

/* --- tables: horizontal scroll for wide ones --- */
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-wrap > table { min-width: 100%; }
.tbl-wrap > .rail-table { min-width: 620px; }

/* --- auto-fit grid, safe on 320px screens --- */
.grid2-auto {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

/* --- explicit column counts (replaces inline grid-template-columns) --- */
.industries.cols-2 { grid-template-columns: repeat(2, 1fr); }
.industries.cols-3 { grid-template-columns: repeat(3, 1fr); }
.industries.cols-4 { grid-template-columns: repeat(4, 1fr); }
.certs.cols-3 { grid-template-columns: repeat(3, 1fr); }
.certs.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* --- ≤1180px desktop-ish: keep the long nav usable --- */
@media (max-width: 1180px) and (min-width: 901px) {
  .brand img { height: 78px; }
}

/* --- ≤900px: nav becomes a drawer --- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  header.site .container { flex-wrap: nowrap; }

  nav.main {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; flex-wrap: nowrap;
    align-items: stretch; justify-content: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 34px -22px rgba(13,58,92,.45);
    padding: 4px 20px 18px;
    max-height: calc(100vh - 92px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open nav.main { display: flex; }
  body.nav-open { overflow: hidden; }

  nav.main > a, nav.main .nav-drop > a {
    display: block; padding: 13px 2px; margin: 0;
    font-size: 16px; font-weight: 600; white-space: normal;
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  nav.main .nav-drop { position: static; }
  nav.main .nav-drop > a { display: flex; justify-content: space-between; align-items: center; }
  nav.main .nav-drop > a::after { transition: transform .2s ease; }
  nav.main .nav-drop.open > a::after { transform: rotate(180deg); }

  /* submenu: static, opened by tap only (never by hover / focus) */
  nav.main .drop-menu,
  nav.main .nav-drop:hover .drop-menu,
  nav.main .nav-drop:focus-within .drop-menu { display: none; }
  nav.main .nav-drop.open .drop-menu { display: block; }
  nav.main .drop-menu {
    position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none;
    background: #f7fbfd; padding: 2px 0 6px 14px;
  }
  nav.main .drop-menu a {
    display: block; padding: 11px 12px; font-size: 15px; font-weight: 500;
    white-space: normal; border-bottom: 1px solid var(--line);
  }
  nav.main .drop-menu a:last-child { border-bottom: 0; }

  nav.main .nav-cta {
    display: block; margin: 18px 0 4px; padding: 13px 18px; text-align: center;
    background: var(--cyan); color: #fff; border-radius: 6px; border-bottom: 0;
    font-size: 15.5px; font-weight: 700;
  }
  nav.main .nav-cta:hover { background: #1fa0bf; color: #fff; }

  /* fluid grids that the inline styles used to lock down */
  .industries.cols-2, .industries.cols-3, .industries.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .certs.cols-3, .certs.cols-4 { grid-template-columns: 1fr; }
  .cta-band .container { gap: 16px; }
}

/* --- ≤600px: tighten spacing, one-column grids --- */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  section { padding: 48px 0; }
  header.site .container { height: 76px; }
  .brand img { height: 48px; }
  header.site .btn { padding: 9px 12px; font-size: 12.5px; }
  .hero { padding: 54px 0 50px; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 16px; }
  .stats .container { padding: 24px 16px; gap: 12px; }
  .stat b { font-size: 25px; }
  .article-title { font-size: 25px; }
  .article h2 { font-size: 20px; }
  .cta-band h2 { font-size: 21px; }
  .industries, .industries.cols-2, .industries.cols-3, .industries.cols-4 { grid-template-columns: 1fr; }
  .logo-wall.mini { grid-template-columns: repeat(3, 1fr); }
  .tbl th, .tbl td { padding: 9px 11px; font-size: 13.5px; }
  .cert img { height: 250px; }
  .rail-imgs { flex-wrap: wrap; }
  .rail-imgs img { height: 110px; }
  .rfq-actions .btn { width: 100%; }
}

/* --- ≤430px: header CTA moves into the drawer, logo shrinks --- */
@media (max-width: 430px) {
  header.site .container > .btn { display: none; }
  .brand img { height: 42px; }
  header.site .container { height: 66px; }
}
