/* =========================================================================
   HIT Electronics Poland — main stylesheet
   Palette taken from the company profile: charcoal, burgundy, HIT red, rose
   ========================================================================= */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --charcoal: #1b1d20;
  --charcoal-2: #24272c;
  --charcoal-3: #2f333a;
  --burgundy: #761c35;
  --burgundy-2: #5e1529;
  --red: #aa0233;
  --rose: #e5a9bd;
  --paper: #f6f4f6;
  --white: #ffffff;
  --ink: #1b1d20;
  --muted: #6a6e76;
  --line: #e2dfe3;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(20, 20, 30, .35);
  --max: 1240px;
  --header-h: 76px;
  --font: "Inter", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.lang-ko body, body.lang-ko { word-break: keep-all; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.small { font-size: .85rem; line-height: 1.5; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
.center { text-align: center; }
.mt { margin-top: 1.25rem; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.25); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav ul a {
  display: block; padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: .95rem;
  color: #3a3d44; border-radius: 8px; position: relative; transition: color .2s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav ul a:hover { color: var(--red); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch a {
  text-decoration: none; font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: #555a62;
  transition: background .2s, color .2s;
}
.lang-switch a:hover { color: var(--red); }
.lang-switch a.active { background: var(--burgundy); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: all .2s ease; cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--burgundy); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(170,2,51,.7); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--burgundy); }
.btn-light:hover { background: var(--rose); color: var(--charcoal); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.section-dark .link-arrow, .site-footer .link-arrow { color: var(--rose); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-light { background: var(--paper); }
.section-light + .section-light { background: #fff; }
.section-dark { background: var(--charcoal); color: #e9e9ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #9ea2aa; }
.section-burgundy { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-2) 100%); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--rose); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.6; }
.section-dark .lead { color: #b9bcc3; }
.accent-title { color: var(--burgundy); font-size: 1.2rem; }
.section-dark .accent-title, .section-burgundy .accent-title { color: var(--rose); }
.accent-text { color: var(--burgundy); font-weight: 600; font-size: 1.1rem; margin-top: 28px; }
.section-dark .accent-text { color: var(--rose); }
.source-note { font-size: .75rem; color: #80848c; margin-top: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--charcoal); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27,29,32,.94) 0%, rgba(27,29,32,.72) 42%, rgba(27,29,32,.15) 100%),
              linear-gradient(0deg, rgba(27,29,32,.9) 0%, rgba(27,29,32,0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { position: relative; padding-top: 120px; padding-bottom: clamp(80px, 12vh, 140px); }
.hero h1 { max-width: 780px; margin-bottom: 20px; }
.hero .lead { color: #d8d9dd; max-width: 560px; margin-bottom: 36px; }
.hero-badge-wrap { position: absolute; top: calc(var(--header-h) + 28px); left: 0; right: 0; z-index: 2; display: flex; justify-content: flex-end; pointer-events: none; }
.hero-badge { width: clamp(84px, 9vw, 128px); height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.lang-ko .hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }

.page-hero {
  position: relative; color: #fff; padding: clamp(110px, 16vw, 190px) 0 clamp(60px, 8vw, 100px);
  background: var(--charcoal) var(--bg) center/cover no-repeat; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(27,29,32,.95) 0%, rgba(27,29,32,.78) 55%, rgba(27,29,32,.45) 100%);
}
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--red), var(--burgundy) 40%, transparent); }
.page-hero h1 { max-width: 900px; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-hero .lead { color: #cfd1d6; max-width: 700px; margin: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--burgundy); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.35) 22px 23px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stat { padding: 38px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgba(255,255,255,.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .92rem; color: #f1d6df; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.align-start { align-items: start; }
.split-reverse .split-media { order: -1; }
.split-media { position: relative; }
.media-inset { position: absolute; right: -24px; bottom: -40px; width: 46%; border: 6px solid #fff; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.img-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.img-pair img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.check-list.light li { border-color: rgba(255,255,255,.2); }
.check-list.light li::before { background-color: rgba(255,255,255,.2); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--charcoal-2); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #e9e9ec;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; border: 1px solid rgba(255,255,255,.06);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(0,0,0,.7); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 22px 22px 26px; position: relative; }
.card-body h3 { margin-top: 6px; }
.card-body p { font-size: .93rem; color: #b3b6bd; margin: 0; }
.card-num { font-size: .8rem; font-weight: 700; color: var(--rose); letter-spacing: .1em; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 24px 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-size: 1.9rem; font-weight: 700; color: var(--burgundy); letter-spacing: -.02em; }
.tl-text { font-size: 1.05rem; }

/* ---------- Tech teaser ---------- */
.tech-teaser { overflow: hidden; }
.tech-teaser::before {
  content: ""; position: absolute; right: -10%; top: 10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(118,28,53,.55), transparent); pointer-events: none;
}
.big-figure { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 34px; padding-left: 18px; border-left: 3px solid var(--red); }
.big-num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.big-label { color: var(--rose); font-weight: 600; }
.machine-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 380px; }
.machine-stage img { filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); }
.machine-stage .m-main { width: 58%; position: relative; z-index: 2; }
.machine-stage .m-side { width: 34%; position: absolute; bottom: 0; }
.machine-stage .m-left { left: 0; }
.machine-stage .m-right { right: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li {
  background: #fff; border-radius: var(--radius); padding: 30px 28px; position: relative; border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.section-light + .section-light .steps li { background: var(--paper); }
.steps li:hover { border-color: var(--rose); transform: translateY(-3px); }
.steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 50%; font-size: .8rem; z-index: 2;
}
.step-num { display: inline-block; font-size: 2rem; font-weight: 700; color: var(--burgundy); margin-bottom: 8px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; padding: clamp(64px, 8vw, 100px) 0; background: var(--burgundy) var(--bg) center/cover; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(118,28,53,.97) 0%, rgba(94,21,41,.9) 55%, rgba(27,29,32,.7) 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #f1d6df; margin: 0; max-width: 620px; }

/* ---------- About ---------- */
.lang-feature { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.lang-feature .lead { color: #f1d6df; margin: 0; }
.lang-bubbles { display: flex; }
.lang-bubbles span {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.4rem;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.35); margin-left: -18px; backdrop-filter: blur(4px);
}
.lang-bubbles span:first-child { margin-left: 0; background: #fff; color: var(--burgundy); }
.map-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.map-figure { margin: 0; background: var(--charcoal-2); border-radius: var(--radius); padding: 18px; border: 1px solid rgba(255,255,255,.06); }
.map-figure figcaption { color: var(--rose); font-weight: 600; font-size: .85rem; margin-top: 10px; }
.distances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 14px; }
.distances div { padding: 16px 12px 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.distances dt { font-size: .85rem; color: #a4a8b0; }
.distances dd { margin: 2px 0 0; font-size: 1.65rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.address-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin-top: 28px; background: var(--charcoal-2); border-radius: var(--radius); overflow: hidden; }
.address-card img { width: 100%; height: 100%; object-fit: cover; }
.address-card > div { padding: 20px 20px 20px 0; }
.address-card p { margin-bottom: .5em; }
.wide-banner { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0 0 40px; }
.wide-banner img { width: 100%; max-height: 520px; object-fit: cover; }
.banner-badge {
  position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: max-content; background: var(--burgundy); color: #fff;
  font-weight: 600; padding: 14px 22px; border-radius: 10px; box-shadow: var(--shadow);
}
.layout-drawing { background: #fff; border-radius: var(--radius); padding: 14px; }
.zone-list { list-style: none; padding: 0; margin: 22px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zone-list li { display: flex; gap: 10px; align-items: baseline; background: var(--charcoal-2); padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.zone-list span { color: var(--rose); font-weight: 700; }

/* ---------- Services ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--charcoal-2); border-bottom: 1px solid rgba(255,255,255,.08); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; color: #cfd1d6; text-decoration: none; padding: 14px 16px; font-size: .9rem; font-weight: 500; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.active { color: #fff; border-color: var(--red); }
.pill-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 500; }
.section-light + .section-light .pill-list li { background: var(--paper); }
.flow { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 0; flex-wrap: wrap; }
.flow li {
  flex: 1 1 0; min-width: 150px; background: var(--charcoal-3); color: #fff; padding: 16px 20px 16px 30px; font-weight: 600; font-size: .95rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%); margin-left: -6px;
}
.flow li:first-child { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); margin-left: 0; padding-left: 20px; border-radius: 8px 0 0 8px; }
.flow li.hl { background: var(--burgundy); }
.section-light .flow li { background: #e6e2e7; color: var(--ink); }
.section-light .flow li.hl { background: var(--burgundy); color: #fff; }
.flow.compact li { font-size: .85rem; padding-top: 11px; padding-bottom: 11px; min-width: 110px; }
.flow-light li { background: rgba(255,255,255,.14); }
.img-caption-block { margin: 0; }
.img-caption-block figcaption { margin-top: -30px; margin-left: 20px; margin-right: 20px; position: relative; background: var(--burgundy); color: #fff; padding: 16px 20px; border-radius: 10px; }
.feature-row { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.feature-row h3 { color: var(--rose); }
.feature-row h3 span { color: #fff; opacity: .5; margin-right: 6px; }
.feature-row p { margin: 0; color: #c4c7cd; }
.supply h2 { color: #fff; }
.supply .flow { margin-bottom: 26px; }
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cost-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.section-light:not(.section-light + .section-light) .cost-card { background: #fff; }
.cost-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.cost-body { padding: 22px 24px 26px; }
.cost-body .card-num { color: var(--red); }
.cost-body h3 { color: var(--burgundy); margin-top: 4px; }
.cost-body p { margin-bottom: .5em; }

/* ---------- Technology ---------- */
.machines { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr 1fr; gap: 18px; align-items: end; }
.machine-photo { margin: 0; grid-row: span 1; }
.machine-photo img { width: 100%; height: 420px; object-fit: cover; }
.machine-card { margin: 0; background: linear-gradient(180deg, #fff 0%, #eeeaef 100%); border-radius: var(--radius); padding: 22px 18px 18px; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.machine-card img { filter: drop-shadow(0 18px 18px rgba(0,0,0,.18)); margin: 0 auto; max-height: 280px; width: auto; }
.machine-card figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.machine-card figcaption span { color: var(--burgundy); font-weight: 700; }
.note-box { margin-top: 30px; padding: 26px 30px; background: #fff; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.note-box p { margin: 0; color: var(--muted); }
.line-diagram { margin: 0 0 56px; background: #fff; border-radius: var(--radius); padding: 24px; }
.line-diagram img { width: 100%; }
.line-steps { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.line-steps li { color: var(--ink); font-weight: 600; font-size: .9rem; padding: 10px; border-top: 3px solid #d4d0d6; }
.line-steps li.hl { color: var(--burgundy); border-color: var(--burgundy); }
.line-diagram figcaption { color: var(--muted); }
.table-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.table-head h3 { margin: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 820px; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; white-space: nowrap; }
.spec-table thead th { background: var(--burgundy); color: #fff; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.spec-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.07); }
.spec-table tbody tr:nth-child(even) { background: rgba(255,255,255,.03); }
.spec-table tbody tr:hover { background: rgba(229,169,189,.08); }
.spec-table tbody th { color: var(--rose); }
.spec-table tfoot { background: var(--charcoal-3); font-weight: 700; color: #fff; }
.footnotes { list-style: none; padding: 0; margin: 18px 0 0; font-size: .8rem; color: #8f939b; }
.footnotes li { margin-bottom: 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.duo-img { background: #fff; border-radius: var(--radius); height: 170px; display: grid; place-items: center; padding: 14px; margin-bottom: 14px; border: 1px solid var(--line); }
.duo-img { position: relative; }
.duo-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.duo-item h3 { font-size: 1.02rem; }
.duo-item p { margin-bottom: .4em; font-size: .93rem; }
.placement { background-color: var(--charcoal); background-image: linear-gradient(rgba(27,29,32,.88), rgba(27,29,32,.96)), var(--bg); background-size: cover; background-position: center; background-attachment: fixed; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-2 > img { width: 100%; height: 100%; object-fit: cover; }
.dark-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 16px 16px 22px; backdrop-filter: blur(6px); }
.dark-card img { border-radius: 10px; width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 18px; background: #fff; }
.dark-card p { color: #b9bcc3; margin: 0; }
.aoi-grid { display: grid; grid-template-columns: .7fr 1.3fr 1.2fr; gap: 26px; align-items: start; }
.aoi-grid .flow { margin-top: 12px; }
.big-callout { margin: 44px 0 0; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--burgundy); padding-top: 28px; border-top: 2px solid var(--line); letter-spacing: -.01em; }
.big-callout.light { color: var(--rose); border-color: rgba(255,255,255,.12); }
.spec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-card { background: var(--charcoal-2); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(255,255,255,.06); }
.spec-label { color: var(--rose); font-weight: 600; font-size: .88rem; }
.spec-value { font-size: 1.45rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 20px; }
.cap-card { background: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.cap-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(170,2,51,.06); }
.cap-card.dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.cap-card.dark::after { background: rgba(229,169,189,.1); }
.cap-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--red); }
.cap-card.dark .cap-label { color: var(--rose); }
.cap-num { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cap-unit { font-weight: 600; }
.cap-card.dark .muted { color: #9ea2aa; }

/* ---------- Quality ---------- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.exp-card { background: var(--burgundy); color: #fff; border-radius: var(--radius); padding: 30px 32px; display: flex; flex-direction: column; gap: 6px; }
.exp-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.exp-card span:last-child { color: #f1d6df; }
.loop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.loop li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.loop li strong { font-size: 1.1rem; color: var(--burgundy); }
.loop li span { color: var(--muted); font-size: .93rem; }
.loop li.hl { border-top: 3px solid var(--red); }
.loop li:first-child { border-top: 3px solid var(--charcoal); }
.loop li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--red); font-weight: 700; z-index: 2; background: var(--paper); width: 16px; text-align: center; }
.staff-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.staff-grid figure { margin: 0; }
.staff-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.staff-grid figcaption { margin-top: 12px; color: var(--rose); font-weight: 600; font-size: .95rem; }
.staff-grid figcaption span { color: #fff; opacity: .5; }
.num-list { list-style: none; padding: 0; margin: 10px 0 0; }
.num-list li { display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.section-dark .num-list li { border-color: rgba(255,255,255,.1); }
.num-list li > span { font-weight: 700; color: var(--red); font-size: 1.1rem; }
.section-dark .num-list li > span { color: var(--rose); }
.num-list strong { font-size: 1.08rem; }
.num-list p { margin: 2px 0 0; color: var(--muted); }
.section-dark .num-list p { color: #a4a8b0; }
.trace-report { background: #fff; border-radius: var(--radius); padding: 16px; margin-top: -10px; }
.trace-report p { margin: 10px 0 0; }

/* ---------- Contact ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--burgundy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; }
.person h3 { margin-bottom: 2px; font-size: 1.25rem; }
.person .role { color: var(--muted); margin-bottom: 18px; font-size: .93rem; }
.contact-line { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: .95rem; word-break: break-all; }
.contact-line:hover { color: var(--red); }
.ico { width: 22px; color: var(--red); flex: none; display: grid; place-items: center; }
.big-address { font-style: normal; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.35; color: #fff; margin: 10px 0 20px; }
.section-dark a[href^="tel"] { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #141518; color: #aeb1b8; position: relative; overflow: hidden; padding-top: 72px; font-size: .93rem; }
.footer-pattern {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%; opacity: .25; pointer-events: none;
  background: url("../img/pcb-pattern.jpg") right center/cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; position: relative; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 12px; line-height: 1.7; }
.footer-lang { margin-top: 16px; border-color: rgba(255,255,255,.15); display: inline-flex; }
.footer-lang a { color: #aeb1b8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 22px; padding-bottom: 26px; font-size: .82rem; position: relative; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .machines { grid-template-columns: repeat(3, 1fr); }
  .machine-photo { grid-column: 1 / -1; }
  .machine-photo img { height: 320px; }
  .aoi-grid { grid-template-columns: 1fr 1.4fr; }
  .aoi-grid > :last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { height: 30px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 20px 24px 40px; gap: 24px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-size: 1.2rem; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a[aria-current="page"] { color: var(--red); }
  .lang-switch { align-self: flex-start; }
  .lang-switch a { font-size: .95rem; padding: 8px 16px; }
  body.nav-open { overflow: hidden; }
  .split, .map-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .media-inset { right: 12px; bottom: -28px; }
  .split-media { margin-bottom: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 0 26px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .steps, .cost-grid, .people { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { right: 50%; top: auto; bottom: -17px; transform: translateX(50%) rotate(90deg); }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop li::after { display: none; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid figure:first-child { grid-column: 1 / -1; }
  .lang-feature { grid-template-columns: 1fr; gap: 24px; }
  .machine-stage { min-height: 300px; }
  .placement { background-attachment: scroll; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero { min-height: 86vh; }
  .hero-badge-wrap { top: calc(var(--header-h) + 16px); }
  .hero-badge { width: 72px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(27,29,32,.96) 0%, rgba(27,29,32,.75) 55%, rgba(27,29,32,.35) 100%); }
  .card-grid, .grid-2, .duo, .spec-cards, .cap-grid, .exp-grid, .zone-list { grid-template-columns: 1fr; }
  .machines { grid-template-columns: 1fr 1fr; }
  .machine-card img { max-height: 180px; }
  .machines .machine-card:nth-of-type(2) { grid-column: 1 / -1; }
  .aoi-grid { grid-template-columns: 1fr; }
  .distances { grid-template-columns: 1fr 1fr; }
  .address-card { grid-template-columns: 1fr; }
  .address-card img { max-height: 200px; }
  .address-card > div { padding: 0 20px 20px; }
  .flow { flex-direction: column; gap: 6px; }
  .flow li, .flow li:first-child { clip-path: none; margin-left: 0; border-radius: 8px; padding: 12px 16px; }
  .loop, .staff-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 84px 1fr; }
  .tl-year { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-pattern { width: 100%; opacity: .12; }
  .banner-badge { left: 12px; right: 12px; bottom: 12px; font-size: .88rem; padding: 10px 14px; }
  .img-pair { grid-template-columns: 1fr; }
  .lang-bubbles span { width: 70px; height: 70px; font-size: 1.1rem; }
  .btn { width: 100%; }
  .btn-row { width: 100%; }
}
