/* TDD Diodes — design system */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #0A1929;
  --ink-2: #46596B;
  --ink-3: #7A8B9A;
  --line: #E3E9EF;
  --line-2: #D2DCE5;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FA;
  --navy: #071B2E;
  --navy-2: #0D2942;
  --accent: #0C6BCF;
  --accent-h: #0A57A8;
  --accent-2: #22A7F0;
  --accent-soft: #EAF2FC;
  --radius: 8px;
  --radius-lg: 14px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px rgba(10, 25, 41, .05);
  --shadow: 0 1px 3px rgba(10, 25, 41, .06), 0 12px 28px -16px rgba(10, 25, 41, .22);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 20px; }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 13px; height: 13px; stroke: var(--accent-2); fill: none; stroke-width: 1.6; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  flex: none;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark svg { width: 19px; height: 19px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.logo-text span { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 1px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- language switcher ---------- */
.lang-switch { position: relative; flex: none; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.lang-btn:hover { border-color: var(--ink-4); color: var(--ink); }
.lang-cur { display: inline-flex; align-items: center; gap: 6px; }

/* inline SVG flags — 3:2 box, hairline ring so white fields stay visible */
.flag {
  width: 18px;
  height: 12px;
  flex: none;
  display: block;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 35, 56, .16);
}
.lang-btn .flag { width: 17px; height: 11.34px; }
.lang-item { display: flex; align-items: center; gap: 9px; }

.lang-caret { width: 11px; height: 11px; flex: none; opacity: .55; transition: transform .18s; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-switch.open .lang-btn { border-color: var(--ink-4); color: var(--ink); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 178px;
  max-height: min(480px, 72vh);
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(11, 35, 56, .14);
  display: none;
  z-index: 60;
}
/* Arabic pages flip the whole layout; mirror the dropdown anchor too. */
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.lang-menu a:hover { background: var(--bg-2); color: var(--ink); }
.lang-menu a[aria-current] { color: var(--navy); font-weight: 600; background: var(--bg-2); }
.lang-menu a[aria-current]::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: #E8EEF3; }
.btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-dark:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 167, 240, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 167, 240, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--accent-2); }

.hero h1 {
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent-2); }
html[lang="zh-Hans"] .hero h1 { font-size: clamp(30px, 3.3vw, 42px); letter-spacing: -0.01em; }
.hero-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(34, 167, 240, .12), rgba(7, 27, 46, 0) 60%);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 26px;
}
.hero-visual svg { width: 100%; height: auto; display: block; }
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.94) brightness(.97);
}
.hero-caption {
  margin-top: 16px;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  text-align: center;
}

/* ---------- trust strip ---------- */
.trust {
  background: rgba(255, 255, 255, .04);
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
}
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .38); }
.trust-items { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .78); font-weight: 500; }
.trust-item svg { width: 15px; height: 15px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 64px 0; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--ink-2); line-height: 1.7; }

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.section-top .section-head { margin-bottom: 0; }

/* ---------- category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
  position: relative;
}
.cat-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.cat-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.cat-card h3 { font-size: 17px; margin-bottom: 8px; }
.cat-range {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .01em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.cat-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.cat-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .18s; }
.cat-card:hover .cat-link svg { transform: translateX(3px); }
.cat-card:hover .cat-link { color: var(--accent); }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { padding-top: 22px; border-top: 2px solid var(--line); }
.feature-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.feature h3 { font-size: 16px; margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 32px 28px; }
.stat-value { font-size: 38px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-value span { font-size: 20px; color: var(--ink-3); font-weight: 500; }
.stat-label { font-size: 13px; color: var(--ink-2); }

/* ---------- customer strip ---------- */
.customers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; background: #fff; }
.customers-inner { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.customers-label {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.customers-list { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.customer-logo { height: 26px; width: auto; opacity: .6; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.customer-logo:hover { opacity: 1; filter: none; }
.customer-name {
  font-size: 16px;
  font-weight: 600;
  color: #AEBAC6;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.customer-name:hover { color: var(--ink-2); }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
}
.app-item svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex: none; }

/* ---------- media frames ---------- */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.tall { height: 440px; }
.media-frame.banner { height: 380px; }

.apps-split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.app-grid-2 { grid-template-columns: 1fr 1fr; gap: 14px; }

.check-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.check-split .media-frame { position: sticky; top: 108px; }
.feature-list .feature { padding-top: 18px; border-top: 1px solid var(--line-2); margin-bottom: 24px; }
.feature-list .feature:last-child { margin-bottom: 0; }
.feature-list .feature h3 { font-size: 17px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 167, 240, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 167, 240, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .62); font-size: 15.5px; max-width: 540px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: #05121F; color: rgba(255, 255, 255, .58); font-size: 14px; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-mark { background: rgba(255, 255, 255, .08); border-radius: 50%; padding: 3px; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, .38); }
.footer-brand p { margin-top: 18px; line-height: 1.7; max-width: 300px; font-size: 13.5px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .04em; margin-bottom: 16px; font-weight: 500; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.5; }
.footer-contact svg { width: 15px; height: 15px; stroke: var(--accent-2); fill: none; stroke-width: 1.6; flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .35);
  flex-wrap: wrap;
}

/* ---------- page header ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.page-head p { font-size: 16px; color: var(--ink-2); max-width: 640px; line-height: 1.65; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.filter-btn {
  height: 34px;
  padding: 0 15px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: .15s;
}
.filter-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.product-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-thumb {
  height: 168px;
  background: #fff;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 16px;
  transition: transform .35s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-thumb svg { width: 92px; height: 62px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-part {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.product-series { font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.product-spec {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.spec-chip {
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.product-card .cat-link { font-size: 13px; }

/* ---------- product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.detail-lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-bottom: 32px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table caption {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 12px;
  font-weight: 500;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-2);
  padding: 12px 16px 12px 0;
  width: 45%;
}
.spec-table td {
  padding: 12px 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.spec-table tr:hover { background: var(--bg-alt); }

.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  position: sticky;
  top: 92px;
}
.detail-card h3 { font-size: 15px; margin-bottom: 6px; }
.detail-card > p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 20px; }
.spec-mini { margin-bottom: 22px; }
.spec-mini li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.spec-mini li span:first-child { color: var(--ink-2); }
.spec-mini li span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.detail-card .btn { width: 100%; }
.detail-card .btn + .btn { margin-top: 10px; }
.detail-media {
  margin: -12px -8px 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.detail-media img { width: 100%; height: auto; display: block; }

.block { margin-bottom: 36px; }
.block h3 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 10px; height: 6px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ---------- about / quality ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prose p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 18px; }
.prose h2 { font-size: 28px; margin-bottom: 20px; }
.prose h3 { font-size: 18px; margin: 32px 0 12px; }
.prose ul { margin: 0 0 20px; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.prose li::before {
  content: '';
  position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: #fff;
}
.cert-code { font-size: 16px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.cert-label { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 10px; }
.cert-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: '';
  position: absolute; left: -30px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}
.tl-year { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .06em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.tl-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.tl-item p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field label .req { color: #D64545; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 107, 207, .12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; line-height: 1.6; }

.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-item svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex: none; margin-top: 3px; }
.contact-item h4 { font-size: 13.5px; margin-bottom: 4px; }
.contact-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.contact-item a { color: var(--accent); }

/* ---------- nav dropdowns ---------- */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item .caret {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none; stroke-width: 2.2;
  transform: rotate(90deg);
  opacity: .45;
  transition: transform .18s, opacity .18s;
}
.nav-item:hover .caret { transform: rotate(-90deg); opacity: .9; }
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(7, 27, 46, .13);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item:hover .drop, .nav-item:focus-within .drop {
  opacity: 1; visibility: visible; transform: none;
}
.drop a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--ink-2);
  white-space: nowrap;
}
.drop a:hover { background: var(--bg-alt); color: var(--ink); }
.drop a.active { color: var(--ink); }
.drop a.active::after { display: none; }
.drop-head {
  display: block;
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 12px 6px;
  font-weight: 500;
}

/* ---------- content blocks ---------- */
.wrap.narrow { max-width: 760px; }
.split-copy h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.split-copy p { font-size: 15.5px; color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.split-copy .check-list { margin-top: 22px; }
.wrap.narrow > h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.wrap.narrow > p { font-size: 15.5px; color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
  transition: .15s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.icon-grid { display: grid; gap: 18px; }
.icon-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.icon-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.icon-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.icon-card {
  display: block;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .18s, box-shadow .18s;
}
.icon-card.link-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.icon-badge {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #EAF4FC;
  color: var(--accent);
  margin-bottom: 16px;
}
.icon-badge svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.icon-card h3 { font-size: 16px; margin-bottom: 8px; }
.icon-card p { font-size: 13.8px; color: var(--ink-2); line-height: 1.65; }
.link-card .cat-link { margin-top: 14px; font-size: 13px; }

.step-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.step-list li { display: flex; gap: 16px; padding-top: 20px; border-top: 2px solid var(--line); }
.step-num {
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: .08em; padding-top: 3px;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.step-list h3 { font-size: 15.5px; margin-bottom: 8px; }
.step-list p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

.check-list.cols-2 { columns: 2; column-gap: 48px; }
.check-list.cols-2 li { break-inside: avoid; }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  background: #fff;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.data-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.55;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink); font-weight: 500; }

.dot-list { list-style: none; margin-top: 18px; }
.dot-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.dot-list li::before {
  content: '';
  position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.photo-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.photo-card-img { display: block; height: 170px; overflow: hidden; background: var(--bg-alt); }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.photo-card:hover .photo-card-img img { transform: scale(1.04); }
.photo-card-body { display: block; padding: 20px 22px 0; flex: 1; }
.photo-card-body b { display: block; font-size: 16px; margin-bottom: 7px; letter-spacing: -0.01em; }
.photo-card-body span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.photo-card-go {
  display: flex; align-items: center; gap: 6px;
  padding: 16px 22px 20px;
  font-size: 13px; color: var(--accent); font-weight: 500;
}
.photo-card-go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .18s; }
.photo-card:hover .photo-card-go svg { transform: translateX(3px); }

.contact-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav-links { gap: 22px; }
  .icon-grid.cols-3, .icon-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .app-cards { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 18px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.open .nav-item { width: 100%; }
  .nav-links.open .nav-item > a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    justify-content: space-between;
  }
  .nav-links.open .nav-item > a.active::after { display: none; }
  .nav-links.open .caret { transform: rotate(270deg); width: 13px; height: 13px; }
  .nav-links.open .drop {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 4px 0 10px 12px;
    min-width: 0;
  }
  .nav-links.open .drop-head { display: none; }
  .nav-links.open .drop a { padding: 9px 0; font-size: 14px; width: 100%; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .cat-grid, .product-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-card { position: static; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .apps-split, .check-split { grid-template-columns: 1fr; gap: 36px; }
  .check-split .media-frame { position: static; }
  .media-frame.tall { height: 320px; }
  .media-frame.banner { height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .topbar-right { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-left .topbar-item:nth-child(2) { display: none; }
  .hero { padding-top: 56px; }
  .hero-grid { padding-bottom: 52px; }
  .section { padding: 60px 0; }
  .cat-grid, .product-grid, .feature-grid, .cert-grid, .app-grid { grid-template-columns: 1fr; }
  .icon-grid.cols-2, .icon-grid.cols-3, .icon-grid.cols-4 { grid-template-columns: 1fr; }
  .app-cards { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .check-list.cols-2 { columns: 1; }
  .media-frame.tall { height: 240px; }
  .chips { gap: 6px; }
  .chip { height: 30px; padding: 0 12px; font-size: 12.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px; }
  .stat-value { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .detail-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
