:root {
  --font-sans: "Aptos", "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --font-display: "Aptos Display", "Aptos", "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --ink: #11233a;
  --muted: #5f6f82;
  --subtle: #8a99a8;
  --paper: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #edf3f9;
  --line: rgba(23, 63, 102, .14);
  --line-strong: rgba(23, 63, 102, .26);
  --primary: #1660b8;
  --primary-2: #4c82da;
  --primary-3: #0f4a93;
  --cyan: #2e89c8;
  --emerald: #2e89c8;
  --amber: #5f86b8;
  --danger: #b42318;
  --navy: #11233a;
  --deep: #071827;
  --violet-shell: rgba(22, 96, 184, .08);
  --cyan-shell: rgba(46, 137, 200, .08);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --shadow-soft: 0 18px 46px rgba(16, 35, 56, .08);
  --shadow-card: 0 28px 76px rgba(16, 35, 56, .13);
  --ease: cubic-bezier(.2,.78,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    linear-gradient(rgba(22, 96, 184, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 96, 184, .028) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);
  background-size: 42px 42px, 42px 42px, auto;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .12;
  background-image: repeating-linear-gradient(0deg, rgba(16,35,56,.035) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1480px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 2; }
.section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.section-head h1 { font-size: clamp(1.55rem, 2.15vw, 2.35rem); line-height: 1.12; max-width: 920px; }
.section-head.compact, .compact-head { align-items: center; margin-bottom: 18px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0; color: var(--ink); line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3vw, 3.35rem); margin: 0; font-weight: 760; line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 2.15vw, 2.25rem); margin: 0 0 10px; font-weight: 720; line-height: 1.12; }
h3 { font-size: 1.08rem; margin: 0 0 8px; font-weight: 720; }
p { margin: 0 0 12px; }
.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.72; max-width: 720px; text-wrap: pretty; }
.lead.small, .sub { color: var(--muted); font-size: .98rem; line-height: 1.72; max-width: 68ch; }
.meta { color: var(--muted); font-size: .9rem; line-height: 1.58; }
.eyebrow, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  border-radius: var(--radius-xs);
  padding: 5px 8px;
  background: rgba(22, 96, 184, .1);
  color: var(--primary-3);
  font-size: .72rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0;
}
.badge { text-transform: none; font-size: .78rem; }
.status-ok { background: rgba(22,96,184,.12); color: var(--primary-3); }
.status-warn { background: rgba(22,96,184,.12); color: #335e92; }
.danger-badge, .chip.danger, .badge.danger, .danger { background: rgba(180,35,24,.10); color: #9f1f17; }
.card, .translation-panel, .inquiry-card, .product-card, .article-card, .topic-card, .visual-card, .related-panel, .hero-rfq-card {
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.card, .translation-panel { padding: 24px; }
.btn, .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  background: rgba(16,35,56,.06);
  color: var(--ink);
  font-weight: 740;
  line-height: 1;
  white-space: nowrap;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), opacity 220ms var(--ease);
}
.btn:hover, .chip:hover { transform: translateY(-1px); background: rgba(22,96,184,.10); }
.btn:active, .chip:active { transform: translateY(0); }
.btn:focus-visible, .chip:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(22,96,184,.22); outline-offset: 3px; }
.btn.primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(31, 104, 179, .2);
}
.btn.primary:hover { background: var(--primary-3); border-color: var(--primary-3); }
.btn.light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn.quiet { background: transparent; color: var(--primary-3); border-color: var(--line); }
.text-link { color: var(--primary-3); font-weight: 780; }
input, textarea, select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.97);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
textarea { min-height: 118px; resize: vertical; line-height: 1.65; }
input:focus, textarea:focus, select:focus { border-color: rgba(31,104,179,.58); box-shadow: 0 0 0 4px rgba(31,104,179,.10); background: #fff; }
label { min-width: 0; }
label span { display: block; margin-bottom: 7px; color: #3f5268; font-size: .82rem; font-weight: 740; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.table { overflow: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #3f5268; font-size: .78rem; text-transform: uppercase; letter-spacing: 0; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; align-items: center; }
.pagination .active, .chip.active { background: var(--primary); color: #fff; }
.notice { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 30; background: var(--primary); color: #fff; border-radius: var(--radius-sm); padding: 12px 18px; box-shadow: var(--shadow-card); }
.notice.inline-notice { position: static; transform: none; display: inline-flex; margin: 12px 0; }
.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: rgba(255,255,255,.74); color: var(--muted); }
.inline-check { display: inline-flex; align-items: center; gap: 9px; font-weight: 740; color: #3f5268; }
.inline-check input { width: auto; }
.large-editor { min-height: 360px; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }
.flag-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 20px; border-radius: 4px; background: #edf3f9; border: 1px solid rgba(16,35,56,.18); box-shadow: inset 0 -1px 0 rgba(16,35,56,.10); overflow: hidden; vertical-align: middle; flex: 0 0 auto; position: relative; color: #334963; font-size: .58rem; font-weight: 820; letter-spacing: 0; }
.flag-icon::before, .flag-icon::after { content: ""; position: absolute; pointer-events: none; }
.flag-emoji { display: none; }
.flag-visual .flag-code { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.flag-fallback { background: linear-gradient(180deg,#fff,#edf3f9); }
.flag-fallback .flag-code { position: relative; width: auto; height: auto; overflow: visible; clip-path: none; white-space: nowrap; }
.flag-us { background: repeating-linear-gradient(180deg,#b22234 0 1.54px,#fff 1.54px 3.08px); }
.flag-us::before { left: 0; top: 0; width: 42%; height: 54%; background: #3c3b6e; }
.flag-cn { background: #de2910; }
.flag-cn::before { content: "\2605"; left: 3px; top: 1px; color: #ffde00; font-size: 10px; line-height: 1; }
.flag-es { background: linear-gradient(180deg,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
.flag-fr { background: linear-gradient(90deg,#0055a4 0 33.33%,#fff 33.33% 66.66%,#ef4135 66.66%); }
.flag-de { background: linear-gradient(180deg,#000 0 33.33%,#dd0000 33.33% 66.66%,#ffce00 66.66%); }
.flag-it { background: linear-gradient(90deg,#009246 0 33.33%,#fff 33.33% 66.66%,#ce2b37 66.66%); }
.flag-br { background: #009c3b; }
.flag-br::before { left: 50%; top: 50%; width: 17px; height: 17px; border-radius: 1px; background: #ffdf00; transform: translate(-50%,-50%) rotate(45deg); }
.flag-br::after { left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #002776; transform: translate(-50%,-50%); }
.flag-ru { background: linear-gradient(180deg,#fff 0 33.33%,#0039a6 33.33% 66.66%,#d52b1e 66.66%); }
.flag-ae { background: linear-gradient(90deg,#ef3340 0 25%,transparent 25%), linear-gradient(180deg,#009739 0 33.33%,#fff 33.33% 66.66%,#000 66.66%); }
.flag-jp { background: radial-gradient(circle at center,#bc002d 0 28%,transparent 29%), #fff; }
.flag-kr { background: radial-gradient(circle at 50% 37%,#c60c30 0 18%,transparent 19%), radial-gradient(circle at 50% 63%,#003478 0 18%,transparent 19%), #fff; }
.flag-kr::before { left: 5px; top: 4px; width: 5px; height: 2px; background: #111; box-shadow: 0 3px #111, 0 6px #111, 13px 0 #111, 13px 3px #111, 13px 6px #111; transform: rotate(-28deg); }
.flag-pl { background: linear-gradient(180deg,#fff 0 50%,#dc143c 50%); }
.flag-tr { background: radial-gradient(circle at 36% 50%,#fff 0 4.4px,transparent 4.5px), radial-gradient(circle at 42% 50%,#e30a17 0 3.7px,transparent 3.8px), #e30a17; }
.flag-tr::after { content: "\2605"; left: 16px; top: 6px; color: #fff; font-size: 5px; line-height: 1; }
.flag-nl { background: linear-gradient(180deg,#ae1c28 0 33.33%,#fff 33.33% 66.66%,#21468b 66.66%); }
.flag-se { background: linear-gradient(90deg,transparent 0 28%,#fecc00 28% 40%,transparent 40%), linear-gradient(180deg,transparent 0 42%,#fecc00 42% 58%,transparent 58%), #006aa7; }
.flag-id { background: linear-gradient(180deg,#ce1126 0 50%,#fff 50%); }
.flag-vn { background: #da251d; }
.flag-vn::before { content: "\2605"; left: 50%; top: 50%; color: #ffdf00; font-size: 11px; line-height: 1; transform: translate(-50%,-50%); }
.flag-gb { background: linear-gradient(90deg,transparent 42%,#fff 42% 58%,transparent 58%), linear-gradient(0deg,transparent 38%,#fff 38% 62%,transparent 62%), linear-gradient(90deg,transparent 46%,#c8102e 46% 54%,transparent 54%), linear-gradient(0deg,transparent 43%,#c8102e 43% 57%,transparent 57%), #012169; }
@media (max-width: 900px) {
  .wrap { width: min(100% - 28px, 1240px); }
  .section { padding: 56px 0; }
  .section-head, .two-col { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .grid, .form-grid { grid-template-columns: 1fr; }
  .lead { font-size: 1rem; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .wrap { width: min(100% - 24px, 1240px); }
  .card, .translation-panel { padding: 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .btn, .chip { min-height: 40px; padding: 10px 13px; }
}
