/* NJOMD - industrial B2B style. Light theme: navy, silver, white, orange CTA only. */
:root {
  --navy: #10233f;
  --navy-2: #1b3559;
  --ink: #1a2738;
  --muted: #5d6b7d;
  --line: #dce3ec;
  --silver: #eef2f7;
  --white: #ffffff;
  --orange: #e87523;
  --orange-dark: #c95f13;
  --shadow: 0 8px 26px rgba(16, 35, 63, .08);
  --radius: 6px;
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.rtl { direction: rtl; text-align: right; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 16px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 99; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 700; margin-bottom: 14px; }
.lead { font-size: 1.08rem; color: #34485f; }
.date { color: var(--muted); font-size: .83rem; margin-bottom: 8px; }

/* Top bar and language switcher */
.topbar { background: var(--navy); color: #cbd6e6; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar-contact { letter-spacing: .01em; }
.topbar-contact a { color: #cbd6e6; }
.topbar-contact a:hover { color: #fff; }
.lang-switcher { position: relative; }
.lang-toggle { background: transparent; border: 0; color: #dce6f4; font: inherit; cursor: pointer; padding: 8px 0; }
.lang-toggle strong { color: #fff; }
.caret { font-size: .7rem; margin-inline-start: 4px; }
.lang-menu { position: absolute; inset-inline-end: 0; top: 100%; width: 330px; max-width: 90vw; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px; z-index: 30; color: var(--ink); }
.lang-search-label { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
#langSearch { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; font: inherit; margin-bottom: 10px; }
.lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; max-height: 240px; overflow: auto; }
.lang-link { display: block; padding: 5px 8px; border-radius: 3px; font-size: .88rem; color: var(--ink); }
.lang-link:hover, .lang-link.active { background: var(--silver); color: var(--orange); }
.lang-more { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; }
.lang-more-toggle { background: none; border: 0; padding: 4px 0; color: var(--navy-2); font: inherit; font-size: .85rem; cursor: pointer; }
.lang-secondary { margin-top: 6px; max-height: 180px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { background: var(--navy); color: #fff; width: 40px; height: 40px; display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; border-radius: 3px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { color: var(--navy); font-size: 1.25rem; letter-spacing: .06em; }
.logo-text small { color: var(--muted); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); margin-inline-start: auto; flex-wrap: wrap; }
.main-nav a { color: var(--navy); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.main-nav a:hover { color: var(--orange); }
.nav-cta { flex: none; padding: 10px 18px; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; padding: 13px 24px; font-weight: 700; font-size: .92rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.text-link { color: var(--navy-2); font-weight: 700; font-size: .9rem; }
.text-link:hover { color: var(--orange); }

/* Breadcrumb and notice */
.breadcrumb { padding-top: 18px; padding-bottom: 4px; color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: var(--muted); }
.crumb-sep { margin: 0 8px; color: #aab5c4; }
.lang-notice { background: var(--silver); border-bottom: 1px solid var(--line); font-size: .85rem; padding: 10px 0; }
.lang-notice .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lang-notice button { border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(115deg, #f8fafc 0%, #eef2f7 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero-copy h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.08rem; color: #43546a; max-width: 610px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 30px; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { color: var(--navy); font-size: 1.35rem; }
.hero-facts span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 1.38; object-fit: cover; }

/* Sections and cards */
.section { padding-block: clamp(52px, 6vw, 84px); }
.section-alt { background: var(--silver); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
.section-head p { max-width: 640px; color: var(--muted); margin: 0; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 1.6; object-fit: cover; background: var(--silver); }
.card-body { padding: 22px; flex: 1; }
.card-body h2, .card-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .91rem; margin-bottom: 14px; }
.card.compact .card-body { padding: 18px; }
.sub-links { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.sub-links li { border-top: 1px solid var(--line); padding: 7px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.feature-grid > div { border-top: 3px solid var(--navy); padding-top: 18px; }
.feature-grid p { color: var(--muted); font-size: .92rem; }
.feature-no { color: var(--orange); font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.stat { background: var(--navy); color: #fff; padding: 26px 22px; border-radius: var(--radius); display: flex; flex-direction: column; }
.stat strong { font-size: 1.65rem; letter-spacing: -.02em; }
.stat span { color: #b9c9de; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.image-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Inner pages */
.inner-page { padding-block: 42px 84px; }
.page-head { max-width: 860px; margin-bottom: 32px; }
.page-head.narrow { max-width: 780px; }
.page-head h1 { margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 1.02rem; }
.prose { max-width: 860px; }
.prose h2 { margin-top: 42px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prose h3 { margin-top: 26px; }
.prose li { margin-bottom: 8px; }
.prose .table-wrap { margin: 18px 0 26px; }
.updated { color: var(--muted); font-size: .8rem; margin-top: 36px; }
.notice-translation { background: #fff6ea; border: 1px solid #f1d6b5; color: #7b4b16; padding: 12px 16px; border-radius: 4px; font-size: .88rem; }
.quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: var(--navy); color: #fff; padding: 22px; border-radius: var(--radius); margin-bottom: 34px; }
.quick-facts div { display: flex; flex-direction: column; gap: 5px; border-inline-end: 1px solid rgba(255,255,255,.2); padding-inline-end: 14px; }
.quick-facts div:last-child { border-inline-end: 0; }
.quick-facts span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #b9c9de; }
.quick-facts strong { font-size: .98rem; line-height: 1.4; }
.child-links { margin-bottom: 24px; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: .87rem; font-weight: 600; background: #fff; }
.pill:hover { border-color: var(--orange); color: var(--orange); }
.answer-block { background: var(--silver); border-inline-start: 4px solid var(--orange); border-radius: 0 4px 4px 0; padding: 18px 22px; margin: 26px 0; }
.answer-block h3 { font-size: 1rem; margin-bottom: 8px; }
.answer-block p { margin: 0; color: #2c4057; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
tbody tr:nth-child(even) { background: #f7f9fc; }
.process-steps { counter-reset: step; list-style: none; padding: 0; }
.process-steps li { padding: 10px 0 10px 8px; border-bottom: 1px solid var(--line); }
.process-steps strong { color: var(--navy); }
.process-steps span { color: var(--muted); }

/* FAQ */
.faq-section { margin-top: 56px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 16px 40px 16px 0; position: relative; font-weight: 600; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; inset-inline-end: 8px; color: var(--orange); font-size: 1.2rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item > div { padding-bottom: 16px; color: var(--muted); }

/* Lists and articles */
.article-list { display: grid; gap: 4px; }
.article-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.article-row h2 { font-size: 1.25rem; margin-bottom: 8px; }
.article-row p { color: var(--muted); max-width: 820px; margin: 0; }
.related { margin-top: 56px; }
.cta-band { margin-top: 60px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.cta-band p { color: #b9c9de; margin: 0; }

/* Forms */
.inquiry-section { background: var(--silver); border-block: 1px solid var(--line); padding-block: 62px; margin-top: 70px; }
.inquiry-section .split { max-width: 1120px; margin-inline: auto; }
.inquiry-section > .container .split { max-width: none; }
.inquiry-section .contact-line { color: var(--muted); font-size: .9rem; }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form label { display: block; font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .92rem; color: var(--ink); background: #fff; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: 2px solid #b8ccdf; border-color: var(--navy-2); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: .9rem; }
.form-message.success { background: #e8f5ec; color: #1c6536; }
.form-message.error { background: #fdeaea; color: #8b2222; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; }
.contact-info h2 { font-size: 1.2rem; margin-top: 28px; }
.contact-info p { color: var(--muted); font-size: .92rem; }
.contact-info ul { color: var(--muted); font-size: .92rem; padding-inline-start: 18px; }
.form-panel h2 { font-size: 1.25rem; margin-bottom: 18px; }
.not-found { min-height: 48vh; }

/* Footer */
.floating-inquiry { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 25; background: var(--orange); color: #fff; border-radius: 30px; padding: 12px 22px; font-size: .9rem; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.floating-inquiry:hover { background: var(--orange-dark); color: #fff; }
.site-footer { background: var(--navy); color: #b9c9de; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a { display: block; color: #b9c9de; font-size: .87rem; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: .86rem; }
.logo-light .logo-mark { background: #fff; color: var(--navy); }
.logo-light .logo-text strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 18px; display: flex; justify-content: space-between; gap: 18px; font-size: .8rem; }
.footer-bottom span:last-child { display: flex; gap: 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 10px; }
  .main-nav a { font-size: .8rem; }
  .nav-cta { display: none; }
  .card-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; margin-inline-start: auto; }
  .main-nav { display: none; width: 100%; background: #fff; border-top: 1px solid var(--line); padding: 14px 0; margin: 0; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; font-size: .95rem; }
  .nav-wrap { flex-wrap: wrap; min-height: 64px; }
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
  .card-grid.three, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 10px; }
  .article-row { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-contact { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .card-grid.three, .card-grid.four, .card-grid.five, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-facts { gap: 18px; }
  .lang-menu { inset-inline-end: -60px; }
  .footer-bottom { flex-direction: column; }
  .floating-inquiry { inset-inline-end: 12px; bottom: 12px; padding: 10px 16px; }
  .btn { padding: 12px 18px; }
}
