/* ==========================================================================
   KOGOS — Embedded H/W Design ODM · Industrial LCD & CTP
   Static corporate site stylesheet
   ========================================================================== */

:root {
  --navy-900: #07121f;
  --navy-800: #0b1b2b;
  --navy-700: #12283d;
  --ink: #16232f;
  --ink-soft: #4a5b6d;
  --ink-muted: #6b7c8f;
  --brand: #2f5d8f;
  --brand-strong: #24496f;
  --accent: #4f80bc;
  --accent-soft: #8fb3da;
  --line: #e3e8ef;
  --line-strong: #ccd5e0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef2f7;
  --white: #fff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, .06), 0 2px 8px rgba(11, 27, 43, .04);
  --shadow: 0 10px 30px -12px rgba(11, 27, 43, .18), 0 2px 8px rgba(11, 27, 43, .04);
  --shadow-lg: 0 30px 70px -30px rgba(11, 27, 43, .35);
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Roboto Mono", Menlo, monospace;
}

/* ---------- Language switching ------------------------------------------- */
html[lang="ko"] .en,
html[lang="en"] .ko { display: none !important; }

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
em { font-style: normal; color: var(--brand); }
address { font-style: normal; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 10px 16px;
  border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease,
              border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #34689e 0%, var(--brand) 55%, #2a5480 100%);
  box-shadow: 0 6px 16px -6px rgba(47, 93, 143, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff;
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 22px -8px rgba(47, 93, 143, .7); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--accent-soft); color: var(--brand-strong); }
.btn-outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--brand-strong);
}
.btn-outline:hover { border-color: var(--accent); background: #f7fafe; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-arrow, .btn-ico { width: 18px; height: 18px; flex: none; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(11, 27, 43, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { width: 30px; height: 33px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .14em; color: var(--navy-800); }
.brand-sub {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600; margin-top: 3px;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color .18s ease, background .18s ease;
}
.nav a:hover, .nav a.is-active { color: var(--navy-800); background: var(--bg-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--bg-tint);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.lang-btn {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink-muted);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.lang-btn.is-active { background: #fff; color: var(--brand-strong); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  background: #fff; border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(900px 500px at 82% -10%, #eaf1fa 0%, rgba(234, 241, 250, 0) 65%),
    linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(47, 93, 143, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 93, 143, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  background: #f0f5fb;
  border: 1px solid #dbe6f3;
  padding: 7px 14px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 128, 188, .18);
}
.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(31px, 4.2vw, 50px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--navy-800);
  text-wrap: balance;
}
.hero h1 em {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(15px, 1.35vw, 17.5px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-stats dd {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy-800);
  margin: 6px 0 2px;
  line-height: 1.1;
}
.hero-stats dd .unit { font-size: .5em; font-weight: 700; margin-left: 3px; color: var(--ink-muted); }
.hero-stats p { font-size: 12.5px; color: var(--ink-muted); }

.hero-visual { position: relative; }
.hero-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(.4deg);
}
.hero-card-media {
  background: #fcfcfc;
  padding: 14px 14px 6px;
}
.hero-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.hero-card figcaption {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: #fcfdff;
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand-strong);
  background: #eaf1f9;
  border: 1px solid #d8e4f2;
  padding: 4px 9px;
  border-radius: 6px;
}
.hero-card-note { font-size: 12px; color: var(--ink-muted); font-weight: 600; letter-spacing: .04em; }
.hero-chip {
  position: absolute;
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.hero-chip strong { font-size: 15px; color: var(--navy-800); letter-spacing: -.01em; }
.hero-chip span { font-size: 11px; color: var(--ink-muted); font-weight: 600; letter-spacing: .04em; }
.hero-chip-1 { left: -22px; top: 18%; }
.hero-chip-2 { right: -18px; bottom: 16%; animation-delay: -3.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Sections ----------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-label::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section-head { max-width: 820px; }
.section-head h2 {
  font-size: clamp(25px, 3.2vw, 38px);
  letter-spacing: -.03em;
  color: var(--navy-800);
  text-wrap: balance;
}
.section-sub {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 64ch;
}
.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head-row .catalog-link { margin-bottom: 4px; }

/* ---------- About -------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.8; }
.about-copy p + p { margin-top: 18px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.about-tags span {
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line-strong);
  padding: 6px 12px; border-radius: 999px;
}
.fact-card {
  background: var(--navy-800);
  color: #dbe5ef;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.fact-card::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 128, 188, .35) 0%, transparent 70%);
  pointer-events: none;
}
.fact-card h3 {
  color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.fact-card dl > div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.fact-card dl > div:first-child { border-top: 0; padding-top: 0; }
.fact-card dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fabca; }
.fact-card dd { margin-top: 5px; font-size: 14.5px; line-height: 1.6; color: #e8eef5; }

/* ---------- Capabilities ------------------------------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e2f0; }
.cap-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(160deg, #eef4fb, #dfe9f5);
  color: var(--brand);
  margin-bottom: 18px;
}
.cap-icon svg { width: 24px; height: 24px; }
.cap-card h3 { font-size: 19px; color: var(--navy-800); }
.cap-card > p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.cap-card ul { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.cap-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.cap-card li + li { margin-top: 8px; }
.cap-card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-soft);
}

.wide-card {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  background: linear-gradient(120deg, #0d2033 0%, #12304b 100%);
  color: #e6eef6;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.wide-card h3 { color: #fff; font-size: 21px; }
.wide-card p { margin-top: 10px; color: #b9cadd; font-size: 14.5px; line-height: 1.7; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #cfe0f0;
  letter-spacing: .01em;
}

/* ---------- Process ------------------------------------------------------ */
.section-process { background: #fff; }
.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  counter-reset: step;
}
.process li {
  position: relative;
  padding: 22px 18px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process li::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: 0;
  height: 2px; background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}
.step-no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .1em;
}
.process h3 { margin: 10px 0 8px; font-size: 16.5px; color: var(--navy-800); }
.process p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Products ----------------------------------------------------- */
.section-products { background:
  radial-gradient(1000px 400px at 50% 0%, #f7fafd 0%, #fff 70%); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3e0ef; }
.product-media {
  background: #fcfcfc;
  border-bottom: 1px solid var(--line);
  padding: 4% 6% 2%;
  display: flex; align-items: center; justify-content: center;
}
.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
}
.product-body h3 { margin: 6px 0 10px; font-size: 20px; color: var(--navy-800); letter-spacing: -.02em; }
.product-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.spec-chips li {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-strong);
  background: #eef4fb;
  border: 1px solid #dce7f3;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  position: absolute; left: 2px; top: .5em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.product-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: auto; padding-top: 20px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover::after { transform: translateX(3px); }

.product-card-wide { grid-column: span 2; flex-direction: row; }
.product-card-wide .product-media {
  flex: 0 0 46%;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  padding: 5%;
}
.product-card-wide .product-body {
  padding: clamp(22px, 3vw, 34px);
  justify-content: center;
}
.product-card-wide .product-actions { margin-top: 0; padding-top: 18px; }
.product-card-wide h3 { font-size: clamp(22px, 2.4vw, 27px); }

.product-foot-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Applications ------------------------------------------------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.app-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.app-tile:hover { transform: translateY(-3px); border-color: #d3e0ef; box-shadow: var(--shadow-sm); }
.app-tile h3 { font-size: 17px; color: var(--navy-800); }
.app-tile h3::before {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--accent-soft); margin-bottom: 12px;
}
.app-tile p { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Contact ------------------------------------------------------ */
.section-contact {
  background:
    radial-gradient(900px 420px at 12% 0%, #eef4fb 0%, rgba(238, 244, 251, 0) 60%),
    #fff;
  border-top: 1px solid var(--line);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(25px, 3.1vw, 36px); color: var(--navy-800); margin-top: 6px; text-wrap: balance; }
.contact-lead { margin-top: 16px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; max-width: 48ch; }
.contact-list { margin-top: 32px; display: grid; gap: 18px; }
.contact-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-list a, .contact-value, .contact-list address {
  font-size: 16px; font-weight: 600; color: var(--navy-800); line-height: 1.55;
}
.contact-list a:hover { color: var(--brand); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 18px; color: var(--navy-800); margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-row .req { color: #c0392b; margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 11px 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 128, 188, .16);
}
.form-row input.is-invalid, .form-row textarea.is-invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, .12);
}
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--ink-muted); line-height: 1.6; }
.form-note strong { color: var(--ink-soft); }
.form-status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--brand-strong);
  font-weight: 600;
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #93a7bd;
  padding: clamp(40px, 6vw, 64px) 0 26px;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; max-width: 340px; }
.footer-brand .brand-mark { width: 34px; height: 38px; }
.footer-brand strong { color: #fff; font-size: 18px; letter-spacing: .14em; }
.footer-brand p { font-size: 13px; margin-top: 6px; color: #8ba1b8; line-height: 1.6; }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; }
.footer-cols h4 {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #6f879e; margin-bottom: 12px;
}
.footer-cols li { font-size: 13.5px; line-height: 1.9; }
.footer-cols a { color: #c4d2e0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 20px;
  font-size: 12px;
  color: #6f879e;
}
.footer-meta { font-family: var(--mono); letter-spacing: .01em; }

/* ---------- Modal -------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 18, 31, .55);
  backdrop-filter: blur(3px);
  animation: fade .2s ease;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 1040px;
  max-height: min(90vh, 900px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(7, 18, 31, .6);
  overflow: hidden;
  animation: pop .22s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: none; } }
.modal-body {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  max-height: min(90vh, 900px);
}
.modal-media {
  background: #fcfcfc;
  border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 7%;
  position: sticky; top: 0;
}
.modal-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.modal-content { padding: clamp(24px, 3vw, 38px); overflow-y: auto; }
.modal-content h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--navy-800); margin-bottom: 8px; }
.modal-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.modal-close {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .95);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.modal-close:hover { background: #fff; color: var(--navy-800); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table tr + tr { border-top: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 11px 12px; text-align: left; vertical-align: top; }
.spec-table th {
  width: 38%;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ink-muted);
  background: #f8fafc;
  white-space: nowrap;
}
.spec-table td { color: var(--navy-800); font-weight: 500; }
.spec-note {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: #f4f8fc;
  border: 1px solid #dde8f3;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
.spec-note strong { color: var(--brand-strong); }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

body.modal-open { overflow: hidden; }

/* ---------- Reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-chip { animation: none; }
  .btn, .product-card, .cap-card, .app-tile, .modal-panel, .modal-backdrop { transition: none; animation: none; }
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card-wide { grid-column: span 2; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 .cap-card:last-child { grid-column: span 2; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process li:nth-child(4), .process li:nth-child(5) { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .wide-card { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media { border-right: 0; border-bottom: 1px solid var(--line); position: static; padding: 8%; }
  .modal-media img { max-width: 380px; margin: 0 auto; }
  .modal-content { overflow: visible; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; margin: 8px auto 0; width: 100%; }
  .hero-chip-1 { left: 4px; }
  .hero-chip-2 { right: 4px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(11, 27, 43, .3);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    margin-left: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .hero-stats > div:last-child { grid-column: span 2; }
  .cards-3, .product-grid, .apps-grid { grid-template-columns: 1fr; }
  .cards-3 .cap-card:last-child { grid-column: auto; }
  .product-card-wide { grid-column: auto; flex-direction: column; }
  .product-card-wide .product-media { flex: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .section-head-row { align-items: flex-start; }
  .modal { padding: 0; align-items: stretch; }
  .modal-panel { max-height: 100vh; border-radius: 0; }
  .modal-body { max-height: 100vh; }
  .spec-table th { width: 40%; white-space: normal; }
  .footer-inner { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .hero-chip { display: none; }
  .process { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Print -------------------------------------------------------- */
@media print {
  .site-header, .hero-bg, .hero-chip, .modal, .contact-form, .skip-link, .catalog-link { display: none !important; }
  body { color: #000; }
  .section { padding: 16px 0; }
  .reveal { opacity: 1; transform: none; }
  a { color: #000; text-decoration: underline; }
}
