/* =========================================================
   UVTECH 공통 스타일
   ========================================================= */
:root {
    /* 색감: 네이비(#10307a) · 포인트 블루(#1767c1) · 라이트 그레이(#efefef) */
    --brand: #1767c1;
    --brand-dark: #10307a;
    --uv: #1767c1;
    --uv-light: #8db9ec;
    --uv-soft: #eaf2fb;
    --ink: #111111;
    --text: #333333;
    --muted: #5f6673; /* 회색 배경(#efefef) 위에서도 글자 대비 4.5:1 이상 */
    --line: #dddddd;
    --bg: #ffffff;
    --bg-soft: #efefef;
    --navy: #10307a;
    --danger: #c62828; /* 오류 표시 전용 (흰 배경 대비 5.6:1) */
    --radius: 12px;
    --header-h: 84px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
/* height:auto — 이미지에 width·height 를 적어 두면 자리를 미리 잡되(화면 흔들림 방지) 비율은 유지 */
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--brand); color: #fff; }
/* 키보드(Tab)로 이동할 때만 보이는 초점 테두리 */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .band :focus-visible, .lineup-card.wide :focus-visible, .lineup-card.cta:focus-visible,
.business-card :focus-visible, footer :focus-visible, #header:not(.scrolled):not(.open) :focus-visible { outline-color: #fff; }
.btn:focus-visible, .btn-more:focus-visible, .chips a:focus-visible, .lang-toggle:focus-visible { border-radius: 999px; }

/* ---------- Header ---------- */
#header {
    position: fixed; inset: 0 0 auto 0; height: var(--header-h);
    z-index: 1000; transition: background .3s, box-shadow .3s;
}
#header.scrolled, #header.open {
    background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
#header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
/* 로고: 사진 위(맨 위)에서는 흰 글자 버전, 흰 배경(스크롤 후)에서는 원래 색 버전 */
.logo { display: flex; align-items: center; }
/* 로고는 스크롤 전후 모두 헤더 높이의 세로 가운데에 고정 (위치 이동 모션 없음) */
.logo img { height: 60px; width: auto; }
@media (max-width: 640px) { .logo img { height: 50px; } }
.logo .logo-color { display: none; }
#header.scrolled .logo .logo-white, #header.open .logo .logo-white { display: none; }
#header.scrolled .logo .logo-color, #header.open .logo .logo-color { display: block; }

/* GNB - 1단계 */
.gnb { display: flex; gap: 8px; height: var(--header-h); }
.gnb > li { position: relative; display: flex; align-items: center; }
.top-link {
    display: flex; align-items: center; gap: 6px; padding: 8px 18px;
    font-size: 16px; font-weight: 500; color: rgba(255,255,255,.92);
    background: none; border: 0; cursor: pointer; transition: color .2s;
}
#header.scrolled .top-link, #header.open .top-link { color: #333; }
.top-link .caret { width: 10px; height: 10px; transition: transform .25s; }
/* 선택·마우스오버 메뉴: 흰 배경(스크롤 후)에서는 네이비, 사진 위(맨 위)에서는 흰색 굵은 글씨 + 밑줄 */
.gnb > li:hover > .top-link, .gnb > li.open > .top-link, .gnb > li.current > .top-link { color: var(--navy) !important; font-weight: 700; }
#header:not(.scrolled):not(.open) .gnb > li:hover > .top-link,
#header:not(.scrolled):not(.open) .gnb > li.open > .top-link,
#header:not(.scrolled):not(.open) .gnb > li.current > .top-link { color: #fff !important; }
#header:not(.scrolled):not(.open) .gnb > li.current > .top-link { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

/* 드롭다운 공통 */
.dropdown {
    position: absolute; top: 100%; left: 50%;
    min-width: 230px; padding: 8px 0;
    background: #fff; border-radius: 10px;
    box-shadow: 0 14px 40px rgba(17,24,39,.16); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown li { position: relative; }
.dropdown a, .dropdown .sub-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 10px 20px; font-size: 15px; color: #333; text-align: left;
    background: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.dropdown a:hover, .dropdown .sub-toggle:hover,
.dropdown li.open > .sub-toggle, .dropdown a.active { background: var(--uv-soft); color: var(--uv); }
.dropdown .sub-toggle .chev { width: 12px; height: 12px; flex: 0 0 12px; opacity: .6; }

/* 2·3단계 하위 메뉴: 메뉴가 화면 오른쪽에 있으므로 왼쪽으로 펼침 */
.dropdown .dropdown {
    top: -9px; left: auto; right: calc(100% + 4px);
    transform: translateX(8px);
}
.dropdown .sub-toggle .chev { transform: rotate(180deg); }

/* 열림 상태 */
.gnb li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown li.open > .dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
/* 3단계(디지털·간헐식 등)는 짧은 메뉴라 폭을 줄임 */
.dropdown .dropdown .dropdown { min-width: 140px; }

/* 화면이 조금 좁을 때(노트북 확대 배율 등): 메뉴 간격만 줄이고 한 줄 유지 */
@media (min-width: 641px) and (max-width: 1024px) {
    .gnb { gap: 0; }
    .top-link { padding: 8px 12px; font-size: 15px; }
    .logo img { height: 56px; }
}

@media (hover: hover) and (min-width: 641px) {
    .gnb > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .gnb > li:hover > .top-link .caret { transform: rotate(180deg); }
    .dropdown li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
    .dropdown li:hover > .sub-toggle { background: var(--uv-soft); color: var(--uv); }
}
.gnb > li.open > .top-link .caret { transform: rotate(180deg); }

/* 자동번역 버튼 */
#nav { margin-left: auto; }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.lang-toggle {
    font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .5px; white-space: nowrap;
    padding: 7px 14px; border-radius: 999px; cursor: pointer;
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); transition: all .2s;
}
.lang-toggle:hover { background: #fff; color: var(--navy); }
#header.scrolled .lang-toggle, #header.open .lang-toggle { color: var(--navy); border-color: var(--navy); }
#header.scrolled .lang-toggle:hover, #header.open .lang-toggle:hover { background: var(--navy); color: #fff; }
/* Google 번역 상단 바·말풍선 숨김 */
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.menu-toggle {
    display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer;
    flex-direction: column; justify-content: center; gap: 6px; padding: 8px;
}
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
#header.scrolled .menu-toggle span, #header.open .menu-toggle span { background: var(--ink); }
#header.open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#header.open .menu-toggle span:nth-child(2) { opacity: 0; }
#header.open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 999px;
    font-size: 15px; font-weight: 700; cursor: pointer; border: 2px solid transparent;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--brand); color: var(--brand); }
.btn-line:hover { background: var(--brand); color: #fff; }

/* ---------- Hero (메인) : 원래 디자인 ---------- */
.hero {
    position: relative; min-height: clamp(520px, 72vh, 720px);
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: #fff; overflow: hidden;
    background: linear-gradient(135deg, #1767c1 0%, #1a4b9e 45%, #10307a 75%, #0a1f52 100%);
}
.hero-inner { position: relative; padding: calc(var(--header-h) + 16px) 24px 40px; text-shadow: 0 2px 20px rgba(0,0,0,.28); }
.hero .subtitle {
    display: inline-block; font-size: 15px; letter-spacing: 2px;
    padding: 6px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(48px, 9vw, 96px); font-weight: 900; letter-spacing: 4px; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .uv { color: #bfe3ff; }
.hero .tags { font-size: clamp(14px, 2vw, 18px); letter-spacing: 3px; font-weight: 500; color: #bfe3ff; margin-bottom: 10px; }
.hero .description { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.9); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-down {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.85); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-down i { width: 1px; height: 40px; background: linear-gradient(#fff, transparent); animation: drop 1.8s infinite; }
/* 세로가 낮은 화면에서는 SCROLL 표시가 버튼과 겹치므로 숨김 */
@media (max-height: 820px) { .scroll-down { display: none; } }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .scroll-down i { animation: none; } }

/* 근거 있는 실적 줄 (각 항목은 출처 페이지로 연결) */
.proof { padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.proof-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.proof-list li + li { border-left: 1px solid var(--line); }
.proof-list a { display: block; height: 100%; padding: 28px 22px; }
/* 첫 칸 글자를 위 제목과 같은 세로선에 맞춤 */
.proof-list li:first-child a { padding-left: 0; }
.proof-list a:hover span { color: var(--text); }
.proof-list strong {
    display: block; font-size: clamp(20px, 1.9vw, 25px); font-weight: 900; line-height: 1.25;
    color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.proof-list a:hover strong { color: var(--brand); }
.proof-list span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1024px) {
    .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proof-list li { border-top: 1px solid var(--line); }
    .proof-list li:nth-child(-n+2) { border-top: 0; }
    .proof-list li:nth-child(odd) { border-left: 0; }
    .proof-list a { padding: 22px 16px; }
    .proof-list li:nth-child(odd) a { padding-left: 0; }
    /* 2칸씩 놓을 때 마지막 칸이 혼자 남으면 한 줄 전체를 쓰게 (위 구분선이 끝까지 이어지도록) */
    .proof-list li:last-child:nth-child(odd) { grid-column: 1 / -1; text-align: center; }
    .proof-list li:last-child:nth-child(odd) a { padding-left: 16px; }
}


/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 60px; }
.eyebrow { display: block; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 3px; margin-bottom: 10px; }
.section-title h2 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); font-weight: 900; line-height: 1.3; margin-bottom: 14px; }
.section-title p { color: var(--muted); font-size: 16px; }
.center { text-align: center; margin-top: 48px; }

/* About (메인) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
    background: radial-gradient(circle at 50% 55%, #8db9ec 0%, #1767c1 25%, #10307a 60%, #0a1f52 100%);
    display: flex; align-items: center; justify-content: center;
}
.about-visual svg { width: 60%; height: auto; }
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge {
    position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.95); color: var(--ink);
    padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 14px;
}
.about-text h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); font-weight: 900; line-height: 1.35; margin: 0 0 24px; }
.about-text p { margin-bottom: 16px; }
.about-single { max-width: 820px; margin: 0 auto; text-align: center; }
.about-single p { margin-bottom: 32px; }

/* Product lineup (메인) */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lineup-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
/* 카드 전체가 링크인 경우에만 떠오름 (큰 카드는 안쪽 버튼들이 링크) */
a.lineup-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(17,24,39,.1); border-color: transparent; }
.lineup-card.wide { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #1a4b9e, var(--navy)); color: #fff; border: 0; }
.lineup-card .en { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--brand); }
.lineup-card.wide .en { color: #bfe3ff; }
.lineup-card h3 { font-size: 19px; color: var(--ink); margin: 6px 0 8px; line-height: 1.4; }
.lineup-card.wide h3 { color: #fff; font-size: 24px; }
.lineup-card p { font-size: 14px; color: var(--muted); flex: 1; }
.lineup-card.wide p { color: rgba(255,255,255,.7); flex: 0; margin-bottom: 20px; }
.lineup-card .more { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--uv); }
/* 문의 카드 (파란 배경) */
.lineup-card.cta { background: var(--brand); border-color: var(--brand); }
.lineup-card.cta:hover { background: var(--brand-dark); }
.lineup-card.cta .en { color: rgba(255,255,255,.88); }
.lineup-card.cta h3, .lineup-card.cta .more { color: #fff; }
.lineup-card.cta p { color: rgba(255,255,255,.92); }
.sub-group { margin-bottom: 16px; }
.sub-group strong { display: block; font-size: 14px; color: #bfe3ff; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
    font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
    color: #fff; transition: .2s;
}
.chips a:hover { background: #fff; color: var(--ink); }

/* Business cards (메인) */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.business-card {
    position: relative; border-radius: var(--radius); padding: 44px 32px; color: #fff; overflow: hidden; min-height: 260px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.business-card:nth-child(1) { background: linear-gradient(160deg, #10307a, #0a1f52); }
.business-card:nth-child(2) { background: linear-gradient(160deg, #1767c1, #10307a); }
.business-card:nth-child(3) { background: linear-gradient(160deg, #2563b0, #1a4b9e); }
/* 장식용 큰 숫자: 글자가 아닌 그림으로 처리(화면낭독기·대비 검사 대상 아님) */
.business-card .num { position: absolute; top: 20px; right: 28px; font-size: 64px; font-weight: 900; line-height: 1; }
.business-card .num::before { content: attr(data-num); color: rgba(255,255,255,.15); }
.business-card h3 { font-size: 22px; margin-bottom: 10px; }
.business-card p { font-size: 14.5px; color: rgba(255,255,255,.92); margin-bottom: 22px; }
.btn-more {
    align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.6); border-radius: 999px; transition: .25s;
}
.btn-more:hover { background: #fff; color: var(--ink); }

/* 수출 네트워크 · 전시 (메인) */
.network-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 28px; align-items: stretch; }
.network-info { display: flex; flex-direction: column; gap: 8px; }
.export-card { flex: 1; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #0a1f52, var(--navy)); color: #fff; border-radius: var(--radius); padding: 36px 36px 32px; }
/* 수출 카드 배경 지도 (장식) */
.export-card { position: relative; overflow: hidden; }
.export-card > :not(.export-map) { position: relative; z-index: 1; }
.export-map { position: absolute; top: 0; right: 3%; width: 50%; height: 100%; pointer-events: none; overflow: visible; }
/* 국가 칩은 왼쪽, 지도는 오른쪽 → 서로 겹치지 않게 */
.export-card .export-count, .export-card .export-countries { max-width: 52%; }
@media (max-width: 640px) {
    .export-card { padding-bottom: 150px; }
    .export-card .export-count, .export-card .export-countries { max-width: none; }
    .export-map { top: auto; bottom: 8px; right: 6%; width: 88%; height: 140px; }
}
.export-map .grat path { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.export-map .routes path { fill: none; stroke: rgba(191,227,255,.3); stroke-width: 1.1; stroke-dasharray: 3 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.export-map .pins circle { fill: #bfe3ff; opacity: .7; }
.export-map .origin { fill: #fff; }
.export-map .origin-ring { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.export-count { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.88); margin-bottom: 18px; }
.export-count strong { font-size: 64px; font-weight: 900; line-height: 1; color: #fff; margin-right: 6px; font-variant-numeric: tabular-nums; }
.export-countries { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.export-countries li { padding: 5px 14px; border: 1px solid rgba(191,227,255,.4); border-radius: 999px; font-size: 15px; color: #e6f2ff; }
.expo-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 24px; }
.expo-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; }
.expo-list > div + div { border-top: 1px solid var(--line); }
.expo-list dt { font-weight: 700; color: var(--ink); font-size: 16px; }
.expo-list dd { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.network-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.network-photos figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #dfe3ea; }
.network-photos .np-main { grid-column: 1 / -1; }
.network-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.network-photos .np-main img { aspect-ratio: 16 / 9; }
.network-photos figcaption {
    position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px;
    background: rgba(0,0,0,.62); color: #fff; font-size: 13px; font-weight: 500;
}
@media (max-width: 900px) { .network-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .export-card { padding: 28px 22px 160px; } .export-count strong { font-size: 52px; } }

/* Band */
.band { background: linear-gradient(120deg, #0a1f52, var(--navy) 60%, #1a4b9e); color: #fff; padding: 80px 0; text-align: center; }
.band h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; margin-bottom: 12px; }
.band p { opacity: .85; margin-bottom: 30px; }

/* Partners marquee */
.partner-track-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
/* gap 대신 각 칸 오른쪽 여백을 써야 -50% 이동이 정확히 한 묶음 길이와 같아져 끊김이 없음 */
.partner-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.partner-track .partner-item { margin-right: 24px; }
.partner-track:hover, .partner-track.is-paused { animation-play-state: paused; }

/* 자동으로 움직이는 영역의 멈춤/재생 버튼 */
.motion-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
    background: #fff; color: var(--navy); border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(17,24,39,.08); transition: background-color .2s, color .2s, border-color .2s;
}
.motion-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.motion-toggle:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.motion-toggle:focus-visible { border-radius: 50%; }
.partner-toggle { display: flex; margin: 20px auto 0; }
.partner-track-wrap + .partner-toggle + .center { margin-top: 28px; }
.slider .motion-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; background: rgba(255,255,255,.92); border: 0; }
/* 사진 위에서도 보이도록 흰색 초점 테두리를 두껍게 */
.slider .motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* 본문 바로가기: 평소엔 숨어 있다가 키보드 Tab 으로 초점을 받으면 왼쪽 위에 나타남 */
.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 2000;
    padding: 10px 18px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
    transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-item {
    min-width: 200px; height: 96px; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 20px; font-weight: 700; color: var(--muted); transition: color .2s, border-color .2s;
}
.partner-item:hover { color: var(--ink); border-color: var(--uv-light); }

/* ---------- 서브페이지 ---------- */
/* 하위 페이지 상단: 사진 대신 얇은 남색 띠 → 첫 화면을 제품 내용에 양보 */
.sub-visual {
    position: relative; padding: calc(var(--header-h) + 28px) 0 26px; color: #fff;
    background: linear-gradient(135deg, #1767c1 0%, #1a4b9e 45%, #10307a 75%, #0a1f52 100%); /* 메인 첫 화면과 같은 그라데이션 */
}
.sub-visual .container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.sub-visual .sv-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.3; }
.sub-visual p { font-size: 15px; color: rgba(255,255,255,.82); }
.breadcrumb { background: var(--navy); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; list-style: none; padding: 12px 0; font-size: 14px; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; color: rgba(255,255,255,.45); }
.breadcrumb li:last-child { color: #fff; font-weight: 700; }
.breadcrumb a:hover { color: #fff; }

.sub-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding-top: 64px; padding-bottom: 110px; align-items: start; }
.lnb { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lnb-title { display: block; width: 100%; text-align: left; border: 0; font-family: inherit; background: var(--navy); color: #fff; font-size: 20px; font-weight: 900; padding: 22px 24px; cursor: default; }
.lnb-cur { display: none; }
/* 태블릿·휴대폰: 왼쪽 메뉴를 접어서 '제품소개 · 현재 페이지 ▾' 한 줄로 표시 */
@media (max-width: 1024px) {
    .lnb-title { cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 17px; padding: 16px 20px; }
    .lnb-cur { display: inline; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); }
    .lnb-cur::before { content: "·"; margin-right: 10px; }
    .lnb-title::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
    .lnb.open .lnb-title::after { transform: rotate(-135deg) translateY(-3px); }
    .lnb > ul { display: none; }
    .lnb.open > ul { display: block; }
}
.lnb ul { padding: 8px 0; }
.lnb ul ul { padding: 0 0 4px 12px; }
.lnb a, .lnb .group {
    display: block; padding: 9px 24px; font-size: 15px; color: var(--text); transition: color .15s, background .15s;
}
.lnb .group { font-weight: 700; color: var(--ink); }
.lnb ul ul a, .lnb ul ul .group { font-size: 14.5px; padding: 7px 24px; }
.lnb ul ul ul a { color: var(--muted); }
.lnb a:hover { color: var(--brand); background: var(--bg-soft); }
.lnb a.active { color: var(--brand); font-weight: 700; background: var(--uv-soft); box-shadow: inset 3px 0 0 var(--brand); }

.sub-content { min-width: 0; }
.page-title { font-size: clamp(26px, 3.4vw, 34px); color: var(--ink); font-weight: 900; padding-bottom: 20px; margin-bottom: 40px; border-bottom: 2px solid var(--ink); }

/* 제품 페이지: 제목 오른쪽 견적 버튼 */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; margin-bottom: 40px; border-bottom: 2px solid var(--ink); }
.page-head .page-title { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.title-quote { flex: 0 0 auto; padding: 10px 22px; font-size: 14px; }
/* 사진 옆에 이미 견적 버튼이 있는 페이지에서는 중복 표시하지 않음 */
.sub-content:has(.product-summary .btn) .title-quote { display: none; }
/* 휴대폰: 화면 아래 고정 견적 줄 */
.quote-bar { display: none; }
@media (max-width: 768px) {
    .title-quote { display: none; }
    .quote-bar {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        /* 흰 띠 없이 버튼만 떠 있게 (클릭은 버튼에서만, 띠 빈 곳은 아래 내용을 그대로 누를 수 있게) */
        background: transparent; pointer-events: none;
    }
    .quote-bar .btn { width: 100%; justify-content: center; padding: 13px 20px; pointer-events: auto; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
    body.has-quote-bar { padding-bottom: 72px; }
    body.has-quote-bar .to-top { bottom: 88px; }
}
.block-title { font-size: 21px; color: var(--ink); margin: 56px 0 20px; display: flex; align-items: center; gap: 10px; }
.block-title::before { content: ""; width: 4px; height: 20px; background: var(--brand); border-radius: 2px; }
.sub-content p { margin-bottom: 14px; }
.todo { color: var(--muted); font-style: italic; }

/* 제품 상세 */
.product-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.product-img {
    aspect-ratio: 4 / 3; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--uv-soft), #f4f4f4); border: 1px dashed #b9d3f2; color: var(--uv); font-weight: 700; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
/* 실제 사진이 들어간 경우: 점선 테두리 제거, 세로 사진은 잘리지 않게 전체 표시 */
.product-img.photo { background: #fff; border: 1px solid var(--line); }
.product-img.contain img { object-fit: contain; padding: 12px; }
/* 작은 원본 사진: 늘리지 않고 원래 크기 이하로 표시 + 오른쪽에 사양표 */
.model-title { font-size: 21px; font-weight: 900; color: var(--navy); margin-bottom: 18px; }
.model-title::before { content: "- "; }
.model-title span { font-weight: 700; color: var(--brand); }
.spec-hero { display: grid; grid-template-columns: 262px 1fr; gap: 28px; align-items: start; }
.spec-hero.wide { grid-template-columns: 1fr 1fr; align-items: center; }
/* 가로로 긴 이미지 크게 + 바로 옆 표 */
.spec-hero.image-lg { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.product-img.native.fill { padding: 8px; }
.product-img.native.fill img { width: 100%; max-width: none; }
.spec-hero.image-lg .model-spec th { width: 28%; white-space: nowrap; }
/* 이미지와 표 높이 맞춤 (위·아래 줄 정렬) */
.spec-hero.pair { align-items: stretch; }
.spec-hero.pair .spec-side { display: flex; }
.spec-hero.pair .model-spec { margin-bottom: 0; height: 100%; }
.spec-hero.pair .product-img { display: flex; align-items: center; justify-content: center; }
.sub-content .pair-btn { text-align: right; margin: 20px 0 0; }
/* 이미지·표 바로 아래 오는 제목(제품 설명·제품 특징)은 위 여백을 조금 줄임 */
.pair-btn + .block-title, .spec-hero + .block-title { margin-top: 32px; }
.check-list strong { color: var(--navy); }
.sub-content .lamp-desc { font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 20px; }
.lamp-desc strong { color: var(--navy); }
.lamp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lamp-gallery figure { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.lamp-gallery a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px; }
.lamp-gallery img { width: 100%; max-width: 100%; height: auto; border-radius: 6px; }
.lamp-gallery img[width="112"] { width: auto; }
.lamp-gallery figcaption { padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; }
.lamp-gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lamp-gallery.two img { width: auto; }
.lamp-gallery.one { grid-template-columns: minmax(0, 420px); }
.lamp-gallery.one img { width: auto; }
@media (max-width: 480px) { .lamp-gallery, .lamp-gallery.two { grid-template-columns: 1fr; } }
.spec-side .btn { float: right; }
.spec-side::after { content: ""; display: block; clear: both; }
.product-img.native { aspect-ratio: auto; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.10); }
.product-img.native img { border-radius: 6px; }
.product-img.native img { width: auto; max-width: 100%; height: auto; object-fit: initial; margin: 0 auto; }
.model-spec { margin-bottom: 24px; font-size: 14.5px; border-top-color: var(--navy); }
.model-spec th, .model-spec td { padding: 10px 14px; }
.model-spec th { width: 34%; }
.model-spec thead th { background: var(--navy); color: #fff; }
.model-spec thead td { background: var(--navy); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: .5px; }
@media (max-width: 640px) { .spec-hero.wide, .spec-hero.image-lg { grid-template-columns: 1fr; } .spec-hero.pair .product-img { justify-self: center; } }
@media (max-width: 1024px) { .spec-hero { grid-template-columns: 1fr; } .product-img.native { max-width: 262px; } .spec-hero.wide .product-img.native { max-width: 100%; } .spec-side .btn { float: none; } }

/* 사용 기계 태그 */
.machine-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.machine-tags strong { color: var(--navy); font-size: 15px; margin-right: 8px; }
.machine-tags span { font-size: 14px; padding: 4px 14px; border-radius: 999px; background: var(--uv-soft); color: var(--brand); font-weight: 700; }
.machine-tags em { font-style: normal; font-size: 14px; color: var(--muted); }

/* 납품 실적 */
.track-record { display: flex; align-items: center; gap: 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.track-record .year { flex: 0 0 auto; font-size: 30px; font-weight: 900; color: var(--brand); line-height: 1; }
.track-record strong { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.sub-content .track-record p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 640px) { .track-record { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; } }

/* 단계 흐름 */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; counter-reset: none; }
.flow-steps li { position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 22px 18px; }
.flow-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--brand); font-weight: 900; font-size: 16px; z-index: 1; }
.flow-steps b { display: block; color: var(--brand); font-size: 15px; }
.flow-steps strong { display: block; color: var(--navy); font-size: 17px; margin: 2px 0 6px; }
.flow-steps span { display: block; font-size: 14px; color: var(--text); line-height: 1.6; }
.flow-steps.adv3 { grid-template-columns: repeat(3, 1fr); }
.flow-steps.adv3 li::after { display: none; }
.model-title.trans-next { margin-top: 100px; }
@media (max-width: 900px) { .flow-steps, .flow-steps.adv3 { grid-template-columns: 1fr 1fr; } .flow-steps li::after { display: none; } }
@media (max-width: 480px) { .flow-steps { grid-template-columns: 1fr; } }

/* 체크 목록 · 크기 표 */
.check-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 24px; }
.check-list li { position: relative; padding: 12px 0 12px 30px; font-size: 15px; border-bottom: 1px dashed var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.size-table { border-top-color: var(--navy); }
.size-table th { width: 22%; text-align: center; }
.size-table thead th, .size-table thead td { background: var(--navy); color: #fff; font-weight: 700; }

/* 사진 슬라이드 (화살표·점 없음, 자동 페이드 전환) */
.slider { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #3d4045; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slider .slide.on { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider .slide.contain img { object-fit: contain; }
.product-summary .en { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--brand); }
.product-summary h3 { font-size: 26px; color: var(--ink); margin: 6px 0 14px; line-height: 1.35; }
.product-summary p { color: var(--text); margin-bottom: 24px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-list li { background: var(--bg-soft); border-radius: 10px; padding: 18px 20px; font-size: 15px; display: flex; gap: 12px; }
.feature-list li b { color: var(--uv); }
.feature-detail li { align-items: flex-start; padding: 22px 22px; }
.feature-detail li b { font-size: 18px; line-height: 1.5; flex: 0 0 auto; }
.feature-detail li strong { display: block; font-size: 17px; color: var(--navy); margin-bottom: 6px; line-height: 1.5; }
.sub-content .feature-detail li p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.7; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 30%; background: var(--bg-soft); color: var(--ink); font-weight: 700; }

/* ---------- U.V LED SYSTEM (UTL-A25W) ---------- */
.slider .slide.on-white { background: #fff; }
.slider .slide.on-white img { padding: 12px; }
.product-summary .model-line { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.product-summary .model-line b { color: var(--navy); font-size: 17px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* 항목 이름 줄 수가 달라도 숫자는 같은 높이(칸 아래쪽)에 정렬 */
.stat-row > div { display: flex; flex-direction: column; padding: 14px 10px 12px 0; }
.stat-row dd { margin-top: auto; padding-top: 4px; }
.stat-row > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.stat-row dt { font-size: 13px; color: var(--muted); line-height: 1.4; }
.stat-row dd { font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-row dd small { font-size: 13px; font-weight: 700; color: var(--brand); margin-left: 3px; }
.sub-content .stat-note { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.title-sub { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.sub-content .lineup-note { margin-top: 12px; font-size: 14.5px; color: var(--text); padding: 12px 16px; background: var(--bg-soft); border-radius: 8px; }
.lineup-table tbody th { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--navy); }
.spec-table th small { font-weight: 500; color: var(--muted); margin-left: 4px; }

/* 성능 실측 */
.measure { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.measure-data dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.measure-data dt { font-size: 15px; font-weight: 700; color: var(--ink); }
.measure-data dt span { font-weight: 500; color: var(--muted); margin-left: 4px; }
.measure-data dd { font-size: clamp(40px, 5vw, 56px); font-weight: 900; color: var(--navy); line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.measure-data dd small { font-size: 18px; font-weight: 700; color: var(--brand); margin-left: 8px; letter-spacing: 0; }
.sub-content .measure-data p { margin: 16px 0 0; font-size: 15px; }
.sub-content .measure-data .measure-device { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.measure-photo { margin: 0; border-radius: var(--radius); overflow: hidden; max-width: 340px; justify-self: end; }
.measure-photo img { width: 100%; }

/* 광폭 ENDLESS */
.endless { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.endless-item { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.endless-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f4f5f7; }
.endless-item h3 { font-size: 19px; color: var(--navy); padding: 18px 22px 4px; }
.endless-item h3 span { font-size: 14px; font-weight: 700; color: var(--brand); margin-left: 6px; }
.endless-item .check-list { border: 0; padding: 4px 22px 14px; }

/* 비율이 다른 사진·도면을 같은 크기 틀에 나란히 (잘리지 않게 contain) */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.media-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-grid figure { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.media-grid a { display: block; }
.media-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; background: #f7f8fa; }
.media-grid figcaption { padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; }
.panel-parts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-parts.three li { flex-direction: column; gap: 2px; }
.panel-parts.three li b { flex: 0 0 auto; }
@media (max-width: 640px) {
    .media-grid { grid-template-columns: 1fr 1fr; }
    .panel-parts.three { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .media-grid, .media-grid.two { grid-template-columns: 1fr; } }

/* 특허 · 인증 */
.patents { display: grid; grid-template-columns: 150px 150px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 32px; }
.patents figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.patents img { width: 100%; }
@media (max-width: 900px) {
    .measure, .endless { grid-template-columns: 1fr; }
    .measure-photo { justify-self: start; }
    .patents { grid-template-columns: 1fr 1fr; }
    .patents .info-table { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .stat-row dd { font-size: 21px; } .stat-row > div + div { padding-left: 10px; } }

/* C.F.D 해석 이미지 */
.cfd-list { display: grid; gap: 24px; }
.cfd-list figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
/* 해석 이미지는 본문 폭을 꽉 채우지 않고 최대 640px로 가운데 정렬 (원본보다 크게 늘어나 흐려지지 않게) */
.cfd-list a { display: block; padding: 16px; }
.cfd-list img { width: 100%; max-width: 640px; height: auto; margin: 0 auto; transition: opacity .2s; }
.cfd-list a:hover img { opacity: .9; }
.cfd-list figcaption { padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 15px; font-weight: 700; color: var(--ink); }
.cfd-list figcaption b { color: var(--brand); margin-right: 8px; }
.cfd-list figure.fit { text-align: center; }
.panel-parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin-top: 16px; }
.panel-parts li { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: var(--bg-soft); border-radius: 8px; font-size: 14.5px; }
.panel-parts li b { flex: 0 0 92px; color: var(--navy); font-size: 14.5px; }
@media (max-width: 640px) { .panel-parts { grid-template-columns: 1fr; } }

/* 인증서 */
/* 제목은 위 전체 폭, 그 아래 인증서 이미지와 표의 윗선을 맞춰 나란히 */
.cert { display: grid; grid-template-columns: minmax(0, 300px) 1fr; grid-template-areas: "head head" "img info"; gap: 18px 36px; align-items: start; }
.cert-head { grid-area: head; }
.cert .cert-figure { grid-area: img; }
.sub-content .cert-figure .cert-note { text-align: center; }
.cert .cert-info { grid-area: info; }
.cert-head h3 { font-size: 21px; font-weight: 900; color: var(--ink); margin: 10px 0 2px; }
.cert-img { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.12); transition: transform .25s, box-shadow .25s; }
.cert-img:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.cert-img img { width: 100%; height: auto; }
.cert-badge { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 4px; padding: 2px 10px; }
.cert-info h3 { font-size: 21px; font-weight: 900; color: var(--ink); margin: 10px 0 2px; }
.cert-info .info-table th { width: 32%; }
.sub-content .cert-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 768px) { .cert { grid-template-columns: 1fr; grid-template-areas: "head" "img" "info"; gap: 18px; } .cert-img { max-width: 320px; } }

/* 제품 사양 비교표 */
.sub-content .compare-lead { color: var(--muted); font-size: 15px; margin: -6px 0 16px; }
/* position:relative — 표 안의 화면낭독기용 숨김 글자(.sr-only)가 스크롤 상자 밖으로 빠져나가 휴대폰 화면을 넓히지 않게 */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { min-width: 560px; border-top-color: var(--navy); }
.compare-table thead th { background: #f4f5f7; text-align: left; font-size: 16px; line-height: 1.4; vertical-align: bottom; padding: 18px; }
.compare-table thead th small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.compare-table thead th:first-child { width: 18%; }
.compare-table thead th.hl { background: var(--navy); color: #fff; }
.compare-table thead th.hl small { color: rgba(255,255,255,.7); }
.compare-table tbody th { width: auto; text-align: center; vertical-align: middle; font-weight: 700; }
.compare-table td { width: 41%; vertical-align: top; }
.compare-table td.hl { background: var(--uv-soft); }
.compare-table .calc { display: block; margin-bottom: 10px; }
.compare-table .calc:last-child { margin-bottom: 0; }
.compare-table .calc em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.compare-table .calc.total { font-weight: 700; color: var(--ink); padding-top: 10px; border-top: 1px dashed #c9d2e0; }
.compare-table tr.diff td { font-size: 18px; font-weight: 900; color: var(--ink); }
.compare-table tr.diff td.hl { color: var(--brand); }
.ballast-table td { text-align: center; vertical-align: middle; }
.ballast-table thead th:not(:first-child) { text-align: center; }
.ballast-table td.hl { color: var(--ink); font-weight: 500; }
.compare-note { margin-top: 18px; padding: 18px 20px; background: var(--bg-soft); border-radius: 10px; text-align: center; }
.compare-note strong { display: block; color: var(--ink); font-size: 16px; }
.compare-note strong b { color: var(--brand); font-size: 18px; }
.compare-note span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- 회사소개 (인사말 · 회사개요 · 사업영역) ---------- */
.greeting { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sub-content .greeting-lead { font-size: clamp(26px, 3vw, 32px); margin-bottom: 18px; }
.sub-content .greeting-sub { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.greeting .sign { text-align: left; margin-top: 28px; font-size: 17px; }
.greeting-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.greeting-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.overview { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.overview-photos { display: grid; gap: 12px; }
.overview-photos figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.overview-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.overview-photos figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 13px; }

.group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.group-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .25s, border-color .25s; }
.group-card:hover { border-color: var(--uv-light); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.group-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* 사진 없는 제품군 카드: 같은 4:3 높이의 남색 면 */
.group-card .group-ph { flex: 0 0 auto; aspect-ratio: 4 / 3; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(160deg, #0a1f52, var(--navy)); color: #fff; }
.group-card .group-ph span { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: .02em; }
.group-card .group-ph small { font-size: 13px; color: rgba(255,255,255,.8); }
/* IR System */
.sub-content .ir-lead { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.ir-lead strong { color: var(--navy); }
.ir-uses { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ir-uses li { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ir-uses b { display: block; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.ir-uses span { font-size: 14.5px; color: var(--text); }
.ir-cta { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sub-content .ir-cta p { margin: 0; }
@media (max-width: 640px) { .ir-uses { grid-template-columns: 1fr; } }
.group-card > div { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.group-card h3 { font-size: 17px; color: var(--navy); line-height: 1.35; }
.sub-content .group-card p { flex: 1; margin: 6px 0 12px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.group-card .more { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.sub-content .group-parts { margin-top: 16px; font-size: 15px; }
.apply-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
.apply-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.apply-list b { display: block; font-size: 16px; color: var(--ink); }
.apply-list span { font-size: 13px; color: var(--muted); }
@media (max-width: 1024px) {
    .group-grid, .apply-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .greeting, .overview { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .group-grid { grid-template-columns: 1fr; } }

/* ---------- 404 (주소를 찾을 수 없음) ---------- */
.notfound { max-width: 860px; padding-top: 64px; padding-bottom: 110px; }
.notfound-links { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.notfound-links a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--navy); transition: border-color .2s, background-color .2s; }
.notfound-links a::after { content: " →"; color: var(--brand); }
.notfound-links a:hover { border-color: var(--uv-light); background: var(--uv-soft); }
.notfound-tel a { font-weight: 700; color: var(--brand); }
@media (max-width: 640px) { .notfound-links { grid-template-columns: 1fr; } .notfound { padding-top: 40px; padding-bottom: 80px; } }

/* ---------- 한눈에 보기: 파장 지도 · 카드 ---------- */
/* 150~450nm 축 위의 위치(%) = (nm - 150) / 300 */
.nm-map { position: relative; margin: 0; padding: 18px 20px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow-x: auto; }
.nm-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 560px; }
.nm-name { font-size: 14px; font-weight: 700; color: var(--navy); }
a.nm-name:hover { color: var(--brand); }
.nm-track { position: relative; height: 40px; }
.nm-row:not(.nm-bands):not(.nm-axis) .nm-track::before { content: ""; position: absolute; left: 0; right: 0; top: 70%; border-top: 1px dashed var(--line); }
.nm-bands .nm-track { height: 30px; border-radius: 6px; overflow: hidden; }
.nm-band { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 150) / 300 * 100%); width: calc((var(--b) - var(--a)) / 300 * 100%); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--navy); border-right: 2px solid #fff; }
.nm-band.vuv { background: #eef1f6; color: var(--muted); }
.nm-band.uvc { background: #dfe7f5; }
.nm-band.uvb { background: #cfdcf2; }
.nm-band.uva { background: #bcd0ef; }
.nm-band.vis { background: #f4f5f7; color: var(--muted); border-right: 0; }
/* 점·막대는 ::before 로 그림 → 숫자 글자는 파란 바탕이 아닌 흰 바탕 위에 */
.pk { position: absolute; font-style: normal; top: 70%; left: calc((var(--n) - 150) / 300 * 100%); width: 12px; height: 12px; transform: translate(-50%, -50%); }
.pk::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px #fff; }
.range { position: absolute; top: 70%; left: calc((var(--a) - 150) / 300 * 100%); width: calc((var(--b) - var(--a)) / 300 * 100%); height: 10px; transform: translateY(-50%); }
.range::before { content: ""; position: absolute; inset: 0; border-radius: 5px; background: var(--brand); }
.pk b, .range b { position: absolute; font-style: normal; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nm-axis .nm-track { height: 22px; border-top: 1px solid var(--ink); }
.nm-axis .nm-name { font-size: 12px; color: var(--muted); font-weight: 500; }
.nm-axis .nm-track span { position: absolute; top: 4px; left: calc((var(--n) - 150) / 300 * 100%); transform: translateX(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.item-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
/* 작은 원본 이미지를 늘리지 않고 틀 가운데에 */
.item-card .frame { height: 190px; display: flex; align-items: center; justify-content: center; padding: 14px; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.item-card .frame img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.item-card h3 { padding: 16px 18px 0; font-size: 19px; line-height: 1.35; }
.item-card h3 a { color: var(--navy); }
.item-card h3 a:hover { color: var(--brand); }
.item-card h3 small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
.sub-content .item-card p { flex: 1; margin: 0; padding: 8px 18px 0; font-size: 14.5px; line-height: 1.65; }
.item-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 16px; }
.item-actions > a:first-child { font-size: 14px; font-weight: 700; color: var(--brand); }

.shade-types { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shade-types li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.shade-types img { width: auto; height: 96px; object-fit: contain; margin-bottom: 8px; }
.shade-types b { font-size: 16px; color: var(--navy); }
.shade-types span { font-size: 14px; color: var(--text); }
.shade-types .muted b { color: var(--muted); }
@media (max-width: 1024px) { .item-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .item-cards, .shade-types { grid-template-columns: 1fr; } }

/* 램프·반사경 한눈에 보기 표 */
.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; }
.sub-content .overview-lead { color: var(--text); font-size: 16px; margin: -12px 0 28px; max-width: 46em; }
.overview-table { min-width: 560px; }
.overview-table thead th { font-size: 14px; padding: 14px 16px; vertical-align: middle; }
.overview-table tbody th { width: 17%; text-align: left; vertical-align: top; }
.overview-table tbody th a { color: var(--navy); font-size: 16px; text-decoration: underline; text-decoration-color: var(--uv-light); text-underline-offset: 4px; }
.overview-table tbody th a:hover { color: var(--brand); text-decoration-color: currentColor; }
.overview-table tbody th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
.overview-table td { width: auto; font-size: 14.5px; vertical-align: top; }
.overview-table td.num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }
.row-quote {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
    border: 1px solid var(--brand); color: var(--brand); font-size: 13.5px; font-weight: 700; transition: background-color .2s, color .2s;
}
.row-quote::after { content: "→"; margin-left: 6px; }
.row-quote:hover { background: var(--brand); color: #fff; }
.text-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 회사개요 / 사업영역 / 파트너 */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; }
.info-table th, .info-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 26%; background: var(--bg-soft); color: var(--ink); }
.greeting-lead { font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.5; margin-bottom: 28px; }
.greeting-lead em { font-style: normal; color: var(--brand); }
.sign { margin-top: 36px; text-align: right; font-weight: 700; color: var(--ink); }
.sign small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
/* UV LED SYSTEM 장점 */
.sub-layout:has(+ .adv-section) { padding-bottom: 40px; }
.adv-section { padding: 0 0 90px; }
.adv-head { margin-bottom: 22px; }
.adv-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 4px; color: #555; }
.adv-eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--brand); }
.adv-head h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; color: var(--ink); line-height: 1.25; margin: 10px 0 8px; }
.adv-head p { font-size: 15px; font-weight: 700; color: var(--ink); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card { position: relative; background: #f8f9fb; border: 1px solid #e3e7ee; border-radius: 14px; padding: 26px 24px 24px; }
.adv-icon { position: absolute; top: 24px; right: 22px; width: 28px; height: 28px; color: #c5cedb; }
.adv-num { display: block; font-size: 26px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.adv-card h3 { font-size: 20px; font-weight: 900; color: var(--ink); margin: 4px 0 8px; line-height: 1.3; }
.adv-card p { font-size: 15px; color: #333; line-height: 1.65; }
.adv-card strong { color: var(--ink); font-weight: 900; }
@media (max-width: 900px) {
    .adv-grid { gap: 14px; }
    .adv-card { padding: 26px 20px; }
    .adv-icon { top: 22px; right: 18px; width: 30px; height: 30px; }
    .adv-num { font-size: 24px; }
    .adv-card h3 { font-size: 18px; }
    .adv-card p { font-size: 14px; }
}
@media (max-width: 640px) { .adv-grid { grid-template-columns: 1fr; } .adv-section { padding-bottom: 80px; } }

/* 연혁 */
.history-lead { color: var(--muted); margin-top: -8px; }
.history { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.history .era { --era-color: var(--navy); padding: 0; background: #f7f8fa; border-radius: var(--radius); overflow: hidden; }
.history .era:nth-child(2) { --era-color: #1a4b9e; }
.history .era:nth-child(3) { --era-color: var(--brand); }
.history .era:nth-child(4) { --era-color: #3d8ad8; }
.era-title { padding: 22px 26px 16px; margin: 0 26px; padding-left: 0; padding-right: 0; border-bottom: 2px solid var(--era-color); font-size: 20px; color: var(--ink); font-weight: 900; }
.era-title span { display: block; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 1px; margin-bottom: 2px; }
.history .era ul { padding: 18px 26px 24px; }
.history .era li { position: relative; padding: 0 0 16px 22px; }
.history .era li:last-child { padding-bottom: 0; }
.history .era li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--era-color); }
.history .era li::after { content: ""; position: absolute; left: 4px; top: 20px; bottom: 0; width: 1px; background: #cfd6e4; }
.history .era li:last-child::after { display: none; }
.history .era li b { display: block; color: var(--navy); font-size: 17px; line-height: 1.5; }
.history .era li p { margin: 0; font-size: 14.5px; color: var(--text); }
.history .first { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--uv-soft); border: 1px solid #b9d3f2; border-radius: 4px; padding: 0 7px; margin-left: 4px; line-height: 1.7; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.area-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .25s, transform .25s; }
.area-card:hover { box-shadow: 0 12px 30px rgba(17,24,39,.08); transform: translateY(-4px); }
.area-card .num { font-size: 14px; font-weight: 900; color: var(--brand); letter-spacing: 2px; }
.area-card h2 { font-size: 20px; color: var(--ink); margin: 6px 0 10px; }
.area-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.area-card a { font-size: 14px; font-weight: 700; color: var(--uv); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-grid .partner-item { min-width: 0; height: 120px; }

/* 문의 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 32px; }
.contact-info h2 { font-size: 22px; margin-bottom: 8px; }
.contact-info > p { opacity: .75; font-size: 15px; margin-bottom: 28px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.info-item svg { flex: 0 0 22px; width: 22px; height: 22px; stroke: var(--uv-light); margin-top: 3px; }
.info-item strong { display: block; font-size: 13px; letter-spacing: 1px; opacity: .6; font-weight: 500; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.req { color: var(--brand); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 14px; border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--uv); box-shadow: 0 0 0 3px rgba(23,103,193,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
/* 16px 미만이면 아이폰이 입력칸을 누를 때 화면을 확대해 버림 */
.form-group input, .form-group select, .form-group textarea { font-size: 16px; }
/* 칸별 오류 표시 */
.form-group.is-invalid input, .form-group.is-invalid textarea { border-color: var(--danger); }
.form-group.is-invalid input:focus, .form-group.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(198,40,40,.15); }
.field-err { margin: 6px 0 0; font-size: 13.5px; font-weight: 500; color: var(--danger); }
.field-err:empty { display: none; }
.agree + .field-err { margin: -14px 0 18px; }
.agree { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.agree input { width: 18px; height: 18px; accent-color: var(--brand); }
.agree-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { width: 100%; justify-content: center; border-radius: 8px; font-size: 16px; padding: 16px; border: 0; }
.form-msg { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: var(--danger); font-weight: 500; }

/* 개인정보처리방침 (왼쪽 메뉴 없는 단독 페이지) */
.container.policy-wrap { max-width: 920px; padding-top: 64px; padding-bottom: 110px; }
.sub-content .policy-lead { font-size: 16px; line-height: 1.85; padding: 22px 26px; background: var(--bg-soft); border-radius: var(--radius); }
.policy-toc { margin: 28px 0 8px; padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.policy-toc ol { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.policy-toc a { font-size: 14.5px; color: var(--text); }
.policy-toc a:hover { color: var(--brand); }
.policy section { padding: 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.policy .block-title { margin-top: 48px; }
.policy-list { padding-left: 4px; margin-bottom: 14px; }
.policy-list li { position: relative; padding: 4px 0 4px 16px; }
.policy-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.policy strong { color: var(--navy); }
.sub-content .policy-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.policy .info-table th { width: 30%; }
@media (max-width: 640px) { .policy-toc ol { grid-template-columns: 1fr; } .container.policy-wrap { padding-top: 40px; padding-bottom: 80px; } }

/* ---------- Footer ---------- */
footer { background: #0a1f52; color: #aab6cf; padding: 56px 0 36px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 24px; }
footer .logo img { height: 60px; }
.footer-info { margin-top: 12px; line-height: 1.9; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #d1d5db; }
.footer-links a:hover { color: #fff; }
.footer-links a.footer-privacy { color: #fff; font-weight: 700; }
.copyright { font-size: 13px; }

.to-top {
    position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--brand); color: #fff; border: 0; cursor: pointer; font-size: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 900;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .partner-track { animation: none; }
    .btn:hover, a.lineup-card:hover, .to-top:hover, .cert-img:hover, .area-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .lineup { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .product-hero { grid-template-columns: 1fr; gap: 40px; }
    .sub-layout { grid-template-columns: 1fr; gap: 32px; }
    .lnb { position: static; }
}
/* 휴대폰 크기에서만 ☰ 메뉴로 전환 */
@media (max-width: 640px) {
    :root { --header-h: 64px; }
    .menu-toggle { display: flex; }
    /* 흐림 효과가 있으면 고정 메뉴창의 높이가 0이 되어 안 보이므로 휴대폰에서는 끔 */
    #header.scrolled, #header.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    #nav {
        margin-left: 0;
        position: fixed; top: var(--header-h); right: 0; bottom: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); width: min(360px, 100%);
        background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,.12);
    }
    #header.open #nav { transform: none; }
    .gnb { flex-direction: column; height: auto; gap: 0; padding: 8px 0 24px; }
    .gnb > li { display: block; border-bottom: 1px solid var(--line); }
    .top-link { width: 100%; justify-content: space-between; padding: 16px 20px; color: #222 !important; font-size: 17px; font-weight: 700; }
    .dropdown, .dropdown .dropdown {
        position: static; transform: none !important; opacity: 1; visibility: visible;
        box-shadow: none; border: 0; border-radius: 0; min-width: 0; padding: 0;
        display: none; background: var(--bg-soft);
    }
    .gnb li.open > .dropdown { display: block; }
    .dropdown .dropdown { background: #eef0f6; }
    .dropdown .dropdown .dropdown { background: #e6e8f0; }
    .dropdown a, .dropdown .sub-toggle { white-space: normal; padding: 12px 20px 12px 32px; }
    .dropdown .dropdown a, .dropdown .dropdown .sub-toggle { padding-left: 44px; }
    .dropdown .dropdown .dropdown a { padding-left: 56px; }
    .dropdown .sub-toggle .chev { transform: rotate(90deg); transition: transform .2s; }
    .dropdown li.open > .sub-toggle .chev { transform: rotate(-90deg); }
}
@media (max-width: 768px) {
    section { padding: 80px 0; }
    .container { padding: 0 16px; }
    .business-grid, .lineup, .values, .feature-list, .area-grid, .history { grid-template-columns: 1fr; }
    .lineup-card.wide { grid-column: auto; grid-row: auto; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form, .contact-info { padding: 30px 20px; }
    .partner-item { min-width: 150px; height: 80px; font-size: 17px; }
    .info-table th, .spec-table th { width: 36%; padding: 12px; }
    .info-table td, .spec-table td { padding: 12px; }
    .compare-table thead th:first-child, .compare-table tbody th { width: 18%; }
    .compare-table thead th:not(:first-child) { width: 41%; }
    .sub-layout { padding-top: 40px; padding-bottom: 80px; }
}
