/* ===== Base ===== */
:root {
  /* 2026-10-15 단순한 디자인(더노드 회사소개 페이지 기준): 검정 글자 + 주황 강조 하나 + 남색 띠, 각진 모서리, 그림자·그라데이션 없음 */
  --primary: #111418;
  --primary-light: #3a3f47;
  --accent: #e4572e;
  --dark: #111418;
  --navy: #0e1f38;
  --gray-50: #f4f5f7;
  --gray-100: #ebedf0;
  --gray-200: #d9dce1;
  --gray-300: #d9dce1;
  --gray-400: #5b626c;
  --gray-500: #5b626c;
  --gray-600: #3a3f47;
  --gray-700: #3a3f47;
  --gray-800: #111418;
  --radius: 0;
  --shadow: none;
  --shadow-lg: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Pretendard', system-ui, sans-serif;
  color: var(--gray-800);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--dark);
  padding: 6px 0;
  font-size: 12px;
  color: var(--gray-400);
}
.top-bar a { color: var(--gray-400); transition: color .2s; }
.top-bar a:hover { color: #fff; }

/* ===== Header ===== */
.main-header {
  background: transparent;
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.main-header > .container { max-width: 1560px; }
.main-header.scrolled {
  background: #fff;
  box-shadow: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.logo { display: inline-flex; align-items: center; }
.logo .logo-img { height: 32px; width: auto; transition: all .3s; }   /* 40 → 32px: 옆에 OMR 글자가 붙어 줄임(2026-11-10 사용자 지시) */
.logo .logo-scrolled { display: none; }
.main-header.scrolled .logo .logo-default { display: none; }
.main-header.scrolled .logo .logo-scrolled { display: block; height: 28px; }
/* 로고 옆 「OMR」 글자(2026-11-10 사용자 지시 — 사이트 이름 교육24 OMR) = 로고와 같은 색(위 = 흰색 · 내려가면 검정) · 로고 숫자 「24」와 같은 기하 굵은 글꼴 Outfit 800(후보 Poppins · Montserrat · Figtree · Red Hat Display 와 견줘 고름) */
.logo { gap: 0; direction: ltr; }
.logo .logo-omr { margin-inline-start: 3px; font-family: 'Outfit', 'Pretendard', sans-serif; font-size: 25px; font-weight: 800; line-height: 1; letter-spacing: .02em; color: #fff; transition: all .3s; }
.main-header.scrolled .logo .logo-omr { font-size: 22px; color: var(--primary); }
.mobile-nav .mn-logo { display: inline-flex; align-items: center; direction: ltr; }
.mobile-nav .mn-logo .logo-omr { margin-inline-start: 2px; font-family: 'Outfit', 'Pretendard', sans-serif; font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: .02em; color: var(--primary); }

.main-nav { align-items: center; }
.main-nav .nav-link {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  border-radius: 0;
  transition: all .2s;
}
/* 메뉴가 한 줄에 들어오게 화면 폭별로 줄임(2026-10-18 머리글 C안 — 가장 긴 스페인어·일본어 기준) */
@media (min-width: 992px) and (max-width: 1439px) {
  .main-nav .nav-link { padding: 8px 8px; font-size: 14px; }
  .main-nav .nav-naver { margin-inline-start: 0; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .main-nav .nav-link { padding: 8px 4px; font-size: 13px; }
  .main-nav .nav-sep { margin-inline: 2px; }
  .main-nav .nav-naver { gap: 4px; }
  .main-nav .nav-dev { padding-inline: 1px; }   /* 「셀프디자인(Free)」 이름이 길어져(2026-10-20) 992px에서도 로고와 16px 넘게 띄우려고 */
  .main-nav .nav-free { font-size: .95em; padding-inline: 0; letter-spacing: -.2px; }
}
/* 키보드 이동 위치 표시 (2026-10-15) */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; box-shadow: none !important; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #fff;
  background: none;
}
.main-header.scrolled .main-nav .nav-link {
  color: var(--gray-600);
}
.main-header.scrolled .main-nav .nav-link:hover,
.main-header.scrolled .main-nav .nav-link.active {
  color: var(--primary);
  background: none;
}
/* 스토어 = 네이버 스토어 → 바탕 없이 글자만 네이버 초록(#03C75A) + N 표시 (2026-10-15) */
.nav-naver,
.nav-naver:hover,
.main-header.scrolled .nav-naver,
.main-header.scrolled .nav-naver:hover { display: inline-flex !important; align-items: center; gap: 7px; background: none !important; color: #03C75A !important; font-weight: 700 !important; border: 0; margin-inline-start: 8px; }
.nav-naver:hover,
.main-header.scrolled .nav-naver:hover { text-decoration: underline; text-underline-offset: 4px; }
/* [셀프 디자인] [무료 셀프 판독] 대메뉴 — 고객지원 다음 세로줄 뒤, 스토어와 같은 네이버 초록 글자(2026-10-18 머리글 C안) */
.nav-sep { width: 1px; height: 18px; background: rgba(255,255,255,.4); margin-inline: 8px; flex: 0 0 auto; }
.main-header.scrolled .nav-sep { background: #c9ced6; }
.nav-dev,
.main-header.scrolled .nav-dev { color: #03C75A !important; font-weight: 700 !important; }
.nav-dev:hover,
.main-header.scrolled .nav-dev:hover { color: #03C75A !important; background: none !important; text-decoration: underline; text-underline-offset: 4px; }
.mobile-nav a.mn-top.mn-dev, .mobile-nav a.mn-top.mn-dev i { color: #03C75A; }
/* 「셀프디자인(Free)」의 Free = 손글씨(2026-10-20 사용자 지시 — 원어민이 아니어도 읽히는 Kalam, header.php에서 네 글자만 받음) */
.nav-free { display: inline-block; font-family: 'Kalam', cursive; font-weight: 700; font-size: 1.1em; line-height: 1; letter-spacing: 0; padding-inline: 1px; }
.nav-free::first-letter { font-size: .86em; }   /* 손글씨 대문자 F가 한글보다 위로 솟아 F만 한글 높이로 줄임(2026-10-21 사용자 지시) */
/* 「셀프판독 PRO」(2026-10-28 사용자 지시 — 초록 대신 다른 디자인): 글자는 다른 메뉴와 같은 색 · 굵게, PRO = 사이트 주황 네모 */
.main-nav .nav-prolink { font-weight: 700; }
.nav-pro { display: inline-flex; align-items: center; height: 16px; padding: 0 5px; margin-inline-start: 2px; vertical-align: 1px; background: var(--accent); color: #fff; font: 800 10px/1 Arial, sans-serif; letter-spacing: .06em; }
.mobile-nav a.mn-top.mn-prolink i { color: var(--accent); }
/* 「셀프판독 PRO」 글자 = 예전 Free 메뉴와 같은 초록(2026-11-10 사용자 지시 — Free 를 PRO 로 통합) · PRO 주황 네모는 그대로 */
.main-nav .nav-prolink, .main-header.scrolled .main-nav .nav-prolink { color: #03C75A !important; }
.main-nav .nav-prolink:hover, .main-header.scrolled .main-nav .nav-prolink:hover { color: #03C75A !important; background: none !important; text-decoration: underline; text-underline-offset: 4px; }
.mobile-nav a.mn-top.mn-prolink { color: #03C75A; }
.naver-n { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: #03C75A; color: #fff; font: 900 11px/1 Arial, sans-serif; flex-shrink: 0; }
.mobile-nav a.mn-naver { display: flex; align-items: center; gap: 8px; color: #03a14b; font-weight: 700; }
.mobile-nav a.mn-naver .naver-n { background: #03C75A; color: #fff; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu-custom {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 0;
  min-width: 180px;
  z-index: 1001;
}
.nav-dropdown:hover .dropdown-menu-custom { display: block; }
.dropdown-menu-custom a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--gray-600);
  transition: all .2s;
}
.dropdown-menu-custom a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.mobile-menu-btn {
  font-size: 28px;
  color: #fff;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .3s;
}
.main-header.scrolled .mobile-menu-btn { color: var(--gray-800); }

/* ===== Mobile Nav — 오른쪽에서 밀려 나오는 메뉴판 (2026-10-16 사용자 지시, cutoff 방식) =====
 * 화면 4/5 폭을 덮고, 남은 쪽은 보던 화면이 어둡게 비침(누르면 닫힘) · 0.3초 미끄러짐 · 아랍어는 왼쪽에서 나옴 */
.mobile-nav {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -4px 0 24px rgba(15, 23, 42, .18);
  position: fixed;
  top: 0; bottom: 0;
  inset-inline-end: 0;
  width: 80%;
  max-width: 420px;
  z-index: 1060;
  padding: 0 0 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; transition: transform .3s ease, visibility 0s linear 0s; }
html[dir=rtl] .mobile-nav { transform: translateX(-100%); box-shadow: 4px 0 24px rgba(15, 23, 42, .18); }
html[dir=rtl] .mobile-nav.open { transform: translateX(0); }
.mobile-nav .mn-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; padding-inline: 20px 12px; border-bottom: 1px solid var(--gray-200); flex-shrink: 0; }
/* 메뉴판 위 로고 + 소제목 — 머리글 로고보다 작게 */
.mobile-nav a.mn-brand, .mobile-nav a.mn-brand:hover { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; border: 0; background: none; min-width: 0; }
.mobile-nav .mn-logo-img { height: 22px; width: auto; display: block; }
.mobile-nav .mn-tagline { font-size: 12px; font-weight: 700; line-height: 1.35; color: #c2410c; letter-spacing: .02em; }   /* 세부 메뉴(회색)와 구분되게 진한 주황 (2026-10-16 사용자 지시) */
.mobile-nav .mn-close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: none; background: none; color: var(--gray-800); font-size: 22px; cursor: pointer; }
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 1059;
  background: rgba(15, 23, 42, 0);
  visibility: hidden; pointer-events: none;
  transition: background-color .3s ease, visibility 0s linear .3s;
}
.mobile-nav-backdrop.open { background: rgba(15, 23, 42, .45); visibility: visible; pointer-events: auto; transition: background-color .3s ease, visibility 0s linear 0s; }
body.mobile-nav-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav.open, .mobile-nav-backdrop, .mobile-nav-backdrop.open { transition: none; }
}
@media (min-width: 992px) { .mobile-nav, .mobile-nav-backdrop { display: none; } }   /* PC는 메뉴 단추가 없음 */
.mobile-nav a {
  padding: 14px 24px;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  transition: background .2s;
  font-size: 14px;
}
.mobile-nav a:hover { background: var(--gray-50); color: var(--primary); }
/* 대메뉴 · 하위 메뉴 구분 (2026-10-17 사용자 지시: 상위·하위가 구분되게, 덜 산만하게)
 * 대메뉴 = 진하고 굵게 + 줄마다 구분선 · 하위 메뉴 = 들여 쓰고 작은 회색 글자, 왼쪽 세로선으로 묶음(하위끼리는 구분선 없음) */
.mobile-nav a.mn-top { padding: 13px 20px; font-size: 15px; font-weight: 700; color: var(--gray-800); border-bottom: 1px solid var(--gray-200); }
.mobile-nav a.mn-top.has-sub { border-bottom: 0; padding-bottom: 6px; }
.mobile-nav a.mn-top { display: flex; align-items: center; gap: 10px; }
.mobile-nav a.mn-top > i { flex: 0 0 18px; font-size: 17px; line-height: 1; color: var(--accent); text-align: center; }   /* 대메뉴 앞 아이콘(2026-10-17 사용자 지시) — 하위 메뉴 세로선은 아이콘 아래 끝선에 맞춤 */
.mobile-nav .mn-subs { display: flex; flex-direction: column; padding: 0 0 10px; border-bottom: 1px solid var(--gray-200); }
.mobile-nav .mn-subs a { margin-inline-start: 28px; padding: 7px 14px; border: 0; border-inline-start: 2px solid var(--gray-200); font-size: 14px; font-weight: 500; color: var(--gray-600); }
.mobile-nav .mn-subs a:hover { background: none; color: var(--gray-800); border-inline-start-color: var(--accent); }
@media (max-height: 700px) {   /* 낮은 모바일 화면(360×640 등): 메뉴가 한 화면에 들어가게 줄 간격만 줄임 */
  .mobile-nav a.mn-top { padding-top: 11px; padding-bottom: 11px; }
  .mobile-nav a.mn-top.has-sub { padding-bottom: 4px; }
  .mobile-nav .mn-subs { padding-bottom: 8px; }
  .mobile-nav .mn-subs a { padding-top: 6px; padding-bottom: 6px; }
}

/* ===== Hero Slider ===== */
.hero-section {
  position: relative;
  height: 70vh;
  height: 70svh;   /* 대문 = 화면 높이의 70%(2026-11-12 사용자 지시 — 아래 셀프판독 PRO 섹션이 첫 화면에 보이게) · svh=주소창 뺀 실제 높이 */
  min-height: 620px;   /* 낮은 화면(1280 × 720 등)에서 글이 머리글 · 아래 띠와 겹치지 않는 최소 높이 = 머리글 72 + 가장 긴 글(es · pt · ar 약 330) + 띠 + 위아래 여백 */
  overflow: hidden;
}
.hero-slider { height: 100%; position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,31,56,0.62);
  z-index: 2;
}
.hero-slide-bg { z-index: 0; }
.hero-slide .container { position: relative; z-index: 3; }
.hero-slide.active { opacity: 1; }

.hero-content { color: #fff; max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.hero-content .hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-content p { font-size: 18px; color: #d5dae2; line-height: 1.7; }

.btn-hero-primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 0;
  transition: transform .2s, box-shadow .2s;
  border: none;
}
.btn-hero-primary:hover {
  background: #e9ecf0;
  color: var(--primary);
}
.btn-hero-outline {
  border: 1px solid #fff;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 0;
  transition: all .2s;
  background: transparent;
}
.btn-hero-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}
.hero-arrow {
  width: 40px; height: 40px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.6);
  background: none;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.hero-arrow:hover { background: #fff; border-color: #fff; color: var(--primary); }
.hero-dots { display: flex; gap: 8px; }
/* 점: 누르는 칸은 위아래 20px, 보이는 선은 2px (2026-10-15 — 2px 선만 눌리던 것) */
.dot {
  width: 24px; height: 20px; padding: 0;
  border: 0; border-radius: 0;
  background: none;
  cursor: pointer;
  position: relative;
  transition: width .3s;
}
.dot::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,0.4); transition: background .3s; }
.dot.active { width: 40px; }
.dot.active::before { background: #fff; }
.hero-content .d-flex { flex-wrap: wrap; }
/* 대문 공통 문구 띠 (2026-10-19) — 사진 3장 공통 · 넘김 단추도 띠 안 · 장마다 글은 띠 위 공간 가운데(--hs-h = 띠 높이, common.js 실측) */
.hero-statement { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; background: rgba(9,18,34,.80); border-top: 1px solid rgba(255,255,255,.18); }
.hero-statement .container { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.hs-text { flex: 1; min-width: 0; color: #fff; }
.hs-text strong { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; margin-bottom: 8px; }
.hs-text strong::before { content: ''; width: 4px; height: 24px; background: var(--accent); flex-shrink: 0; }
.hs-text p { margin: 0; padding-inline-start: 16px; font-size: 15px; line-height: 1.75; color: #d5dae2; max-width: 820px; text-align: justify; word-break: normal; }
.hero-statement .hero-controls { position: static; transform: none; flex-shrink: 0; }
.hero-slide .container { padding-bottom: var(--hs-h, 0px); padding-top: 72px; }   /* 위 72px = 머리글 자리(2026-11-12 대문 70% — 글이 머리글 밑으로 들어가지 않게, 모바일 64px) */

/* ===== Showcase Section (zigzag) ===== */
/* 2026-11-23: 바로 위에 짝 없는 「}」가 있어 아래 .showcase-section 규칙이 통째로 무시되던 것(PC 위아래 여백 0) — 지움 */
.showcase-section { padding: 80px 0; background: #fff; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-badge::before,
.text-center > .section-badge::after { content: ''; width: 28px; height: 2px; background: var(--accent); }
.showcase-item { padding: 60px 0; border-bottom: 1px solid var(--gray-200); }
.showcase-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.showcase-img-wrap {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}
.showcase-media-wrap {
  position: relative;
}
/* 사진·영상 두 칸은 한 쌍으로 — 어긋난 받침 판 없이 같은 높이, 사이 간격 12px (2026-10-15) */
.showcase-item .row > .col-6:has(+ .col-6) { padding-inline-end: 6px; }
.showcase-item .row > .col-6 + .col-6 { padding-inline-start: 6px; }
.showcase-img-wrap,
.showcase-video-mock,
.showcase-video-wrap {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--gray-200);
  height: 320px;
  position: relative;
  z-index: 1;
}
.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.showcase-video-mock {
  background: var(--gray-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
  transition: all .3s;
}
.showcase-video-mock:hover { background: var(--gray-600); }
.mock-yt-logo {
  width: 60px;
  height: auto;
  opacity: .85;
  transition: all .3s;
  filter: drop-shadow(0 4px 12px rgba(255,0,0,0.3));
}
.showcase-video-mock:hover .mock-yt-logo {
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 8px 24px rgba(255,0,0,0.5));
}
.showcase-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* 메인 오픈 준비 팝업 */
.open-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 20, 24, 0.6);
}
.open-popup[hidden] { display: none; }
.open-popup-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 32px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
.open-popup-x {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--gray-800);
  font-size: 18px;
  cursor: pointer;
}
.open-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.open-popup-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.open-popup-box p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: 28px;
}
.open-popup-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.open-popup-btn:hover { background: var(--primary-light); }

/* 유튜브: 처음엔 썸네일만, 누르면 영상 불러오기 */
.yt-lite {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000 center / cover no-repeat;
  cursor: pointer;
}
.yt-lite-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border: none;
  border-radius: 0;
  background: rgba(17, 20, 24, 0.88);
  color: #fff;
  font-size: 30px;
  line-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.yt-lite:hover .yt-lite-btn,
.yt-lite-btn:focus-visible { background: var(--accent); }
.showcase-item .col-lg-4:has(.showcase-step) {
  position: relative;
}
.showcase-step {
  position: absolute;
  top: -34px;
  inset-inline-start: calc(var(--bs-gutter-x) * .5);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}
.showcase-item h3,
.showcase-item p,
.showcase-features,
.btn-showcase {
  position: relative;
  z-index: 1;
}
.showcase-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.showcase-item p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  word-break: normal;
  overflow-wrap: anywhere;
}
.showcase-features {
  list-style: none;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.showcase-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
}
.showcase-features i {
  font-size: 16px;
  color: var(--accent);
}
.btn-showcase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  padding: 10px 24px;
  border: 1px solid var(--primary);
  border-radius: 0;
  transition: all .3s;
}
.btn-showcase:hover {
  background: var(--primary);
  color: #fff;
  transform: none;
  box-shadow: none;
}

/* ===== Showcase Layout (main + sidebar) ===== */
.showcase-container {
  max-width: calc(1188px + 378px + 72px);
  margin: 0 auto;
  padding: 0 14px;
}
.showcase-layout {
  display: flex;
  gap: 54px;
}
.showcase-item .row { --bs-gutter-x: 3rem; }
.showcase-main { flex: 1; min-width: 0; }
.showcase-sidebar {
  width: 378px;
  flex-shrink: 0;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-panel {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-panel:first-child { padding-top: 0; }
/* 4th NEIS OMR 바로가기 칸(2026-11-22 사용자 지시) — 사이드 맨 위 · 고객지원 칸과 같은 남색 · 각진 모서리 · 그림자 없음 · 칸 전체가 링크 */
.sidebar-neis { display: block; margin-bottom: 20px; padding: 18px 20px; background: var(--navy); color: #fff; text-decoration: none; border-left: 3px solid var(--accent); }
.sidebar-neis:hover { color: #fff; background: #1d3a66; }
.sidebar-neis .sn-tag { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #ff8a66; }
.sidebar-neis .sn-name { display: block; margin-top: 4px; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.sidebar-neis .sn-desc { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: #d5dbe5; }
.sidebar-neis .sn-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding-bottom: 2px; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.7); }
.sidebar-neis:hover .sn-go i { transform: translateX(3px); }
.sidebar-neis .sn-go i { transition: transform .15s; }
html[dir="rtl"] .sidebar-neis { border-left: 0; border-right: 3px solid var(--accent); }
html[dir="rtl"] .sidebar-neis .sn-go i { transform: scaleX(-1); }
html[dir="rtl"] .sidebar-neis:hover .sn-go i { transform: scaleX(-1) translateX(3px); }
.sidebar-panel:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.sidebar-panel-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sidebar-panel-header h4 i { color: var(--accent); font-size: 14px; }
.sidebar-support {
  margin-top: auto;
  padding: 20px;
  background: var(--navy);
  border-radius: 0;
  color: #fff;
}
.sidebar-support h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-support h4 i { color: #c5ccd8; }
.sidebar-support ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.sidebar-support ul li {
  font-size: 13px;
  color: #c5ccd8;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-support ul li i { color: #c5ccd8; font-size: 13px; width: 16px; text-align: center; }
.sidebar-support ul li strong { color: #fff; min-width: 56px; }
.sidebar-support-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: 0;
  transition: all .2s;
}
.sidebar-support-btn:hover {
  background: #e9ecf0;
  color: var(--primary);
  transform: none;
}
.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.board-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.board-list li:last-child { border-bottom: none; }
.board-list a {
  flex: 1;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.board-list a:hover { color: var(--primary); text-decoration: underline; }
.board-list .date { font-size: 12px; color: var(--gray-400); flex-shrink: 0; }

@media (max-width: 1199px) {
  .showcase-layout { flex-direction: column; }
  .showcase-sidebar { width: 100%; position: static; }
}

/* ===== Download Section ===== */
.download-section {
  padding: 80px 0;
  background: var(--gray-50);
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--gray-200);
  transition: all .3s;
  text-decoration: none;
  color: var(--primary);
  height: 100%;
}
.download-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--primary);
  color: var(--primary);
}
.download-icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: all .3s;
}
.download-card:hover .download-icon {
  transform: none;
}
.download-card h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

/* ===== Location ===== */
.location-section { padding: 0; }
.root_daum_roughmap {
  width: 100% !important;
}
.root_daum_roughmap .wrap_map {
  width: 100% !important;
}
.location-bar {
  background: var(--navy);
  padding: 20px 0;
  position: relative;
}
.location-text {
  font-size: 14px;
  color: #d5dae2;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.location-text i { color: var(--accent); }
.location-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
}

/* ===== Notice Compact ===== */
.notice-compact-section { padding: 48px 0; background: var(--gray-50); }
.notice-compact-card {
  background: #fff;
  border-radius: 0;
  padding: 28px 32px;
  box-shadow: none;
}
.notice-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.notice-compact-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-compact-header h3 i { color: var(--primary); }
.more-link { font-size: 13px; color: var(--gray-400); font-weight: 500; transition: color .2s; }
.more-link:hover { color: var(--primary); }
.notice-compact-list { display: flex; flex-direction: column; }
.notice-compact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color .2s;
}
.notice-compact-item:last-child { border-bottom: none; }
.notice-compact-item:hover .notice-compact-title { color: var(--primary); }
.notice-compact-title {
  flex: 1;
  font-size: 14px;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.notice-compact-item .date { font-size: 12px; color: var(--gray-400); flex-shrink: 0; }
/* 메인 공지사항 목록 — 7일 안에 올라온 글은 제목 앞에 작은 빨간 점 (2026-10-18 사용자 지시: NEW 배지 대신) */
.dot-new {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e53935;
  flex-shrink: 0;
}

/* ===== Stats ===== */
.stats-section {
  padding: 100px 0;
  background: url('../images/hero/slide-2.jpg') center/cover no-repeat fixed;
  color: #fff;
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 31, 56, 0.82);
}
.stats-section .container { position: relative; z-index: 1; }
.stat-item { padding: 20px; text-align: center; }
.stat-number { font-size: 48px; font-weight: 800; display: inline; letter-spacing: -0.02em; }
.stat-unit { font-size: 16px; font-weight: 500; color: #c5ccd8; display: inline; margin-inline-start: 2px; }
.stat-label { font-size: 14px; color: #c5ccd8; margin-top: 4px; }

/* ===== Section Header ===== */
.section-header { margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 8px; }
.section-header p { font-size: 16px; color: var(--gray-400); }
.section-header-title { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.5px; }

/* ===== Popular Scanner Models ===== */
.models-section { padding: 80px 0; background: var(--dark); position: relative; overflow: hidden; }
.models-section .section-header h2 { color: #fff; }
.models-section .section-header p { color: #a3aab4; }
.model-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  contain: layout style paint;
}
.model-track {
  display: flex;
  gap: 0;   /* 간격은 카드 오른쪽 여백으로 — gap 이면 띠 절반(-50%)이 한 바퀴보다 간격 반 칸 짧아 돌 때마다 튐 (2026-10-16) */
  width: max-content;
  animation: scrollModels 40s linear infinite paused;
  will-change: transform;
  backface-visibility: hidden;
}
.model-slider:hover .model-track {
  animation-play-state: paused !important;
}
.model-track .model-card {
  flex-shrink: 0;
  width: 220px;
  margin-right: 24px;   /* 띠는 언어와 상관없이 왼쪽→오른쪽 배치라 물리 방향 그대로 */
}
@keyframes scrollModels {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.model-card {
  background: #191d22;
  border-radius: 0;
  padding: 24px 20px 20px;
  text-align: center;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
  position: relative;
  border: 1px solid #2c3139;
}
.model-card:hover {
  transform: none;
  border-color: #fff;
  box-shadow: none;
}
.model-badge {
  position: absolute;
  z-index: 2;   /* 마우스를 올리면 그림이 커지며(transform) 새 층이 되어 배지를 덮던 것 — 배지를 그림 위 층에(2026-10-18) */
  top: 12px;
  inset-inline-end: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0;
}
.model-badge.best { background: #d92d20; color: #fff; }
.model-badge.new,
.model-badge.hot { background: var(--accent); color: #fff; }
.model-img {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: all .3s;
}
.model-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .4s;
}
.model-card:hover .model-img img { transform: none; }
.model-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.model-spec {
  list-style: none;
  text-align: start;
  margin-bottom: 16px;
}
/* 카드 높이를 같게 + 사양 목록이 남는 높이를 채우고 아래 가로선 → 「자세히 보기」 위치 통일 (2026-10-15) */
.model-track .model-card { display: flex; flex-direction: column; }
.model-track .model-spec { flex: 1 0 auto; margin-bottom: 0; padding-bottom: 6px; border-bottom: 1px solid #3a414b; }
.model-track .model-link { align-self: center; margin-top: 16px; }
.model-spec li {
  font-size: 12px;
  color: #c5ccd8;
  padding: 5px 0;
  border-bottom: 1px solid #2c3139;
  display: flex;
  gap: 8px;
}
.model-spec li:last-child { border-bottom: none; }
.model-spec strong {
  color: #fff;
  font-weight: 600;
  min-width: 44px;
  font-size: 12px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.model-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 0;
  transition: all .3s;
  letter-spacing: 0.3px;
}
.model-link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
  box-shadow: none;
}

/* ===== Process Section ===== */
.process-section { padding: 80px 0; background: #fff; }
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 260px;
}
.process-icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
  box-shadow: none;
  transition: transform .3s;
}
.process-step:hover .process-icon { background: var(--primary); color: #fff; }
.process-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .16em;
  margin-bottom: 8px;
}
.process-step h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 24px;
  color: var(--gray-200);
  font-size: 20px;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.cta-section {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}
.cta-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 15px; color: #c5ccd8; margin-bottom: 28px; }
.btn-cta-primary {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  border: none;
}
.btn-cta-primary:hover { background: #e9ecf0; color: var(--navy); }
.btn-cta-outline {
  border: 1px solid #fff;
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  background: transparent;
}
.btn-cta-outline:hover { border-color: #fff; background: #fff; color: var(--navy); }

/* ===== Language Switcher ===== */
.lang-switcher {
  position: relative;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  padding: 4px 10px;
  border-radius: 0;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all .3s;
}
.lang-btn:hover {
  color: #fff;
}
.main-header.scrolled .lang-btn {
  color: var(--gray-700);
}
.main-header.scrolled .lang-btn:hover {
  color: var(--primary);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-end: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  min-width: 120px;
  z-index: 9999;
}
.lang-dropdown.open {
  display: block;
}
.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  text-align: left;   /* 언어 이름은 아랍어 화면에서도, العربية 도 모두 왼쪽 정렬 (2026-10-16 사용자 지시) */
  transition: background .2s;
}
.lang-dropdown a:hover {
  background: #f5f5f5;
}
.lang-dropdown a.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--gray-50);
}

/* ===== Footer ===== */
/* 바닥글은 늘 맨 아래(2026-10-17 사용자 지시): 본문이 짧아도 머리글~본문이 화면 높이를 다 채우고, 바닥글은 그 아래에 붙어 스크롤해야 보임
   남는 높이는 마지막 칸이 늘어나 채움(그 칸 배경색이 바닥글 바로 위까지 이어짐 — 흰 띠 없음) */
body { position: relative; display: flex; flex-direction: column; min-height: 100vh; }
body > section:last-of-type { flex-grow: 1; }
.main-footer {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #0b0d10;
  color: #a3aab4;
  padding: 48px 0 24px;
  font-size: 13px;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo .footer-logo-img { height: 32px; width: auto; }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 320px; }
.main-footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 14px; }
.main-footer ul { list-style: none; }
.main-footer ul li { margin-bottom: 8px; }
.main-footer ul a { color: #a3aab4; transition: color .2s; }
.main-footer ul a:hover { color: #fff; }
.contact-list li { display: flex; align-items: center; gap: 8px; }
.contact-list i { color: #a3aab4; }
.main-footer hr { border-color: #23272e; opacity: 1; margin: 32px 0 16px; }
.ft-corp { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; font-size: 12px; }
.ft-scrape { margin: 0 0 8px; font-size: 12px; line-height: 1.6; }   /* 자동 수집 금지 고지(2026-11-22) — 업체 정보 줄과 같은 글자 크기 · 색 */
.footer-bottom { font-size: 12px; }
.footer-bottom a { color: #a3aab4; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ===== Sub Page Hero ===== */
.sub-hero {
  background: url('../images/hero/sub-hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 0 48px;
  position: relative;
}
.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,31,56,0.72);
  z-index: 0;
}
.sub-hero .container { position: relative; z-index: 2; }
.sub-hero h1 { font-weight: 800; font-size: 28px; margin-bottom: 8px; letter-spacing: -0.02em; }
.sub-hero p { color: #d5dae2; font-size: 14px; margin: 0; }
.breadcrumb-custom { background: none; padding: 0; margin-bottom: 12px; }
.breadcrumb-custom .breadcrumb-item { font-size: 12px; }
.breadcrumb-custom .breadcrumb-item a { color: #c5ccd8; transition: color .2s; }
.breadcrumb-custom .breadcrumb-item a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb-custom .breadcrumb-item.active { color: rgba(255,255,255,0.8); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: #8a93a0; }

/* ===== Sub Page Content ===== */
.content-area { padding: 48px 0 60px; background: var(--gray-50); min-height: 60vh; }
.content-area h2 { font-weight: 800; font-size: 20px; margin-top: 32px; margin-bottom: 16px; color: var(--dark); }
.content-area h2:first-child { margin-top: 0; }
.content-area p { font-size: 14px; color: var(--gray-600); line-height: 1.8; }

.content-sidebar { position: sticky; top: 100px; }

/* Sidebar Menu */
.sidebar-menu {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.sidebar-menu .menu-title {
  background: var(--dark);
  color: #fff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
}
.sidebar-menu .menu-list { list-style: none; padding: 0; margin: 0; }
.sidebar-menu .menu-list li a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}
.sidebar-menu .menu-list li a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 0;
  background: var(--gray-400);
  margin-inline-end: 10px;
  flex-shrink: 0;
  transition: all .2s;
}
.sidebar-menu .menu-list li a:hover,
.sidebar-menu .menu-list li a.active {
  background: var(--gray-50);
  color: var(--primary);
  font-weight: 700;
}
.sidebar-menu .menu-list li a:hover::before,
.sidebar-menu .menu-list li a.active::before {
  background: var(--accent);
  width: 6px; height: 6px;
}
.sidebar-menu .menu-list li:last-child a { border-bottom: none; }

/* ===== Feature Items ===== */
.feature-item {
  padding: 24px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  height: 100%;
  transition: all .3s;
  border: 1px solid var(--gray-200);
}
.feature-item:hover { border-color: var(--primary); }
.feature-item .feature-icon {
  width: 48px; height: 48px;
  border-radius: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-item h4 { font-weight: 800; font-size: 15px; margin-bottom: 8px; color: var(--dark); }
.feature-item p { font-size: 13px; color: var(--gray-400); line-height: 1.6; margin: 0; }

/* Info Box */
.info-box {
  background: var(--gray-50);
  border-inline-start: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0;
  margin: 24px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-600);
}
.info-box strong { color: var(--dark); }

/* Tables */
.table-custom { border-radius: 0; overflow: hidden; box-shadow: none; }
.table-custom thead th {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border: none;
  padding: 14px 16px;
}
.table-custom tbody td {
  font-size: 13px;
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-100);
}
.table-custom tbody tr:hover { background: var(--gray-50); }

/* Buttons */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 0;
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); }
.btn-naver {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.btn-naver:hover { background: var(--primary-light); color: #fff; }

/* ===== Scroll Fade-in Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }
.fade-up-delay-5 { transition-delay: .5s; }

/* ===== Hero Typing Cursor ===== */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #fff;
  margin-inline-start: 4px;
  animation: blink .7s infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* (quick menu removed - replaced by showcase) */

/* (card hover overlay moved to content-card-overlay) */

/* ===== Stats Icons ===== */
.stat-icon {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--accent);
  display: block;
}

/* ===== Client Logo Slider ===== */
.clients-section {
  padding: 48px 0;
  background: #fff;
  overflow: hidden;
}
.clients-section .section-header { margin-bottom: 32px; }
.logo-track {
  display: flex;
  gap: 60px;
  animation: scrollLogos 20s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }
.client-logo {
  height: 40px;
  opacity: .4;
  filter: grayscale(100%);
  transition: all .3s;
  flex-shrink: 0;
}
.client-logo:hover {
  opacity: .8;
  filter: grayscale(0%);
}
.client-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .3s;
  letter-spacing: -0.5px;
}
.client-logo-text:hover { color: var(--primary); }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== CTA Background Pattern ===== */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section .container { position: relative; z-index: 1; }

/* ===== FAQ + Blog ===== */
.faq-blog-section { padding: 80px 0; background: var(--gray-50); }
.faq-blog-section .row { align-items: stretch; }
.faq-blog-section .col-lg-6 { display: flex; flex-direction: column; }
.faq-list, .blog-list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.active { border-color: var(--primary); }
.faq-question {
  display: flex; width: 100%; background: none; border: 0; text-align: start; font: inherit;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  transition: background .2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question span { font-size: 15px; font-weight: 600; color: var(--dark); }
.faq-question i {
  font-size: 18px;
  color: var(--gray-400);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--primary); }
.faq-item.active .faq-question span { color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
}
.faq-answer p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

/* ===== Blog ===== */
.blog-list { display: flex; flex-direction: column; gap: 11px; }
.blog-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  padding: 14px 16px;   /* 그림 없이 글만 (2026-10-15 사용자 지시 — 공지와 상관없는 제품 사진을 돌려 붙이던 것 뺌) */
  transition: border-color .3s;
}
.blog-card-row:hover {
  border-color: var(--primary);
}
.blog-row-img {
  width: 56px;
  height: 56px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-row-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-row-body { flex: 1; min-width: 0; }
.blog-row-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card {
  display: block;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all .3s;
  height: 100%;
}
.blog-card:hover {
  border-color: var(--primary);
}
.blog-card-img {
  height: 100px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.blog-card:hover .blog-card-img img { transform: none; }
.blog-card-body { padding: 20px; }
.blog-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 2px 8px;
  margin-bottom: 6px;
  border: 1px solid #f3f4f6;
  background: #f3f4f6;
  color: #4b5563;
}
/* 공지사항 화면 분류와 같게 (2026-10-16 사용자 지시): 중요 = 꽉 찬 빨간 배지 · 업데이트·행사·점검 = 검은 테두리 흰 바탕 검은 글자 · 공지 = 회색 */
.blog-category.red { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.blog-category.blue, .blog-category.amber, .blog-category.orange { background: #fff; border-color: #111418; color: #111418; }
.blog-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-date { font-size: 12px; color: var(--gray-400); }

/* ===== Scroll Top Button ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  inset-inline-end: 32px;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s;
  box-shadow: none;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--dark);
  color: #fff;
}

/* 메인 목록 · 소식 카드 — 글이 없을 때 */
/* 메인 오른쪽 목록(공지·묻고답하기·자료실·견적문의): 글 수와 상관없이 4줄 높이로 고정
   (4줄 = 43px × 4 — 목록 4개를 합쳐 왼쪽 소개 칸 3개 높이에 맞춤) */
.board-list { height: 172px; overflow: hidden; }
.board-list li { height: 43px; padding: 0; }
.board-list li.empty { height: 100%; justify-content: center; color: var(--gray-600); border-bottom: none; }
/* PC(1200px 이상) 메인 오른쪽 사이드 — 맨 위 4th NEIS OMR 칸이 생겨 길어진 만큼 목록 4줄 → 3줄 · 간격을 줄여 왼쪽 소개 칸 3개 높이에 맞춤(2026-11-23 사용자 지시)
   태블릿 · 모바일(1199px 이하)은 그대로 · 사이드는 왼쪽 높이까지 늘어나고 남는 높이는 칸 사이에 고르게 나눔(space-between — 한곳에 빈칸이 몰리지 않게)
   글이 긴 언어(베트남어 등) · 넓은 화면(왼쪽이 가장 낮아짐)에서도 사이드가 왼쪽보다 길어지지 않게 기본 간격은 촘촘하게 */
@media (min-width: 1200px) {
  .showcase-sidebar { justify-content: space-between; }
  .sidebar-support { margin-top: 0; }
  .board-list { height: 123px; }
  .board-list li { height: 41px; }
  .sidebar-neis { margin-bottom: 0; }
  .sidebar-panel { padding: 11px 0; }
  .sidebar-panel-header { margin-bottom: 6px; padding-bottom: 8px; }
}
/* 헤더 고객지원 「회사소개」(thenodehq.com) 바깥 링크 표시(2026-11-23) */
.hd-ext { font-size: .78em; margin-inline-start: 2px; }
html[dir="rtl"] .hd-ext { display: inline-block; transform: scaleX(-1); }
/* 메인 「자주 묻는 질문」·「소식」 두 칸 세로폭 같게 (2026-10-18 사용자 지시)
   소식 = 글 수와 상관없이 5칸(같은 높이) · 질문 칸은 남는 높이를 나눠 늘어나 두 칸 아래 끝이 맞음 */
.faq-blog-section .faq-item { flex: 1 0 auto; display: flex; flex-direction: column; }
.faq-blog-section .faq-question { flex: 1 0 auto; }
@media (min-width: 992px) {
  .faq-blog-section .blog-list { display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); }
  .faq-blog-section .blog-empty { grid-row: 1 / -1; }
}
/* 소식 제목 오른쪽 「더보기」 → 공지사항 (제목 칸 높이는 그대로) */
.blog-head { position: relative; }
.blog-more { position: absolute; inset-inline-end: 0; bottom: 12px; }
.blog-empty { flex:1; display:flex; align-items:center; justify-content:center; padding:24px; text-align:center; color:var(--gray-600); background:#fff; border:1px solid var(--gray-200); border-radius: 0; font-size:14px; }

/* =====================================================================
   반응형 (태블릿 · 모바일) — PC(1200px 이상) 화면은 바꾸지 않음
   태블릿: 768~1199px · 모바일: 767px 이하 (모바일은 여백·높이를 줄여 촘촘하게)
   ===================================================================== */
@media (max-width: 1199px) {
  /* 줄 간격(gutter)이 화면 여백보다 커서 옆으로 넘치던 것 */
  .showcase-item .row { --bs-gutter-x: 1.5rem; }
  .faq-blog-section .row { --bs-gutter-x: 1.5rem; }
  /* 메인 오른쪽 목록: 소개 칸 아래로 내려오면 2칸씩 두 줄 + 고객지원 안내는 가로로 */
  .showcase-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding: 24px; margin-top: 8px; }
  .sidebar-neis { grid-column: 1 / -1; }   /* 두 칸으로 나뉠 때 NEIS 칸은 가로 전체 */
  .sidebar-panel, .sidebar-panel:first-child, .sidebar-panel:last-child { padding: 0 0 20px; border-bottom: none; }
  .sidebar-support { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 24px; }
  .sidebar-support h4 { grid-column: 1 / -1; margin: 0; }
  .sidebar-support ul { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 0 32px; margin: 0; }
  .sidebar-support ul li { white-space: nowrap; }
  .sidebar-support-btn { padding: 10px 20px; }
  /* 글 수에 맞춘 높이 (PC는 4줄 고정) */
  .board-list { height: auto; }
  .board-list li.empty { height: 86px; }
}

@media (max-width: 991px) {
  /* 머리글: 누르기 쉬운 크기 */
  .lang-btn { min-width: 40px; height: 40px; justify-content: center; font-size: 14px; }
  .mobile-menu-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav a { padding: 13px 20px; }

  .hero-section { height: 70vh; height: 70svh; min-height: 620px; }   /* 태블릿도 화면의 70%(2026-11-12) */
  .hero-content .hero-title { font-size: 30px; }
  .content-sidebar { margin-top: 30px; position: static; }
  .sub-hero { padding: 36px 0; }

  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 28px; }
  .showcase-section, .download-section, .models-section, .process-section, .faq-blog-section { padding: 64px 0; }
  .showcase-item { padding: 40px 0; }
  .showcase-img-wrap, .showcase-video-mock, .showcase-video-wrap { height: 240px; }
  .showcase-step { position: static; display: block; font-size: 15px; font-weight: 800; color: var(--primary); letter-spacing: 1px; margin-bottom: 6px; }
  .showcase-item h3 { font-size: 24px; }
  .stats-section { padding: 64px 0; background-attachment: scroll; }
  .process-step { padding: 0 10px; }
  .cta-section { padding: 56px 0; }

  /* 바닥글 */
  .main-footer ul { padding-inline-start: 0; }
}

@media (max-width: 767px) {
  /* 첫 화면 */
  .hero-section { height: 70vh; height: 70svh; min-height: 510px; }   /* PC처럼 화면의 70%(2026-11-12 사용자 지시 — 예전 2026-10-19 꽉 채움) · svh=주소창 뺀 실제 높이 · 최소 = 머리글 64 + 가장 긴 글 + 띠 + 여백 */
  .hero-slide .container { padding-top: 64px; }
  .hero-slide { background-attachment: scroll; }
  .hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 12px; }
  .hero-content .hero-title { font-size: 20px; margin-bottom: 10px; }
  .hero-content p { font-size: 13px; line-height: 1.6; }
  .btn-hero-primary, .btn-hero-outline { padding: 9px 20px; font-size: 12px; }
  .hero-controls { bottom: 16px; gap: 12px; }
  .hero-statement .container { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 16px; padding-bottom: 14px; }
  .hs-text strong { font-size: 17px; gap: 10px; margin-bottom: 6px; }
  .hs-text strong::before { width: 3px; height: 18px; }
  .hs-text p { padding-inline-start: 13px; font-size: 12px; line-height: 1.7; }
  .hero-statement .hero-controls { justify-content: center; }
  .hero-arrow { width: 34px; height: 34px; }

  /* 제목 */
  .section-header { margin-bottom: 22px; }
  .section-badge { font-size: 12px; margin-bottom: 8px; }
  .section-header h2 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.3px; }
  .section-header p { font-size: 12px; }
  .section-header-title { font-size: 18px; }
  /* 구역 제목: 모바일은 왼쪽 정렬 (부트스트랩 text-center 가 !important 라 같이 씀) · 주황 선은 앞쪽 하나만 */
  .section-header.text-center { text-align: start !important; }
  .text-center > .section-badge::after { display: none; }

  /* 제품 소개 (사진 2장 나란히 + 글) */
  .showcase-section { padding: 40px 0 32px; }
  .showcase-container { padding: 0 16px; }
  .showcase-item { padding: 24px 0; }
  .showcase-item:first-child { padding-top: 0; }
  .showcase-item .row { --bs-gutter-x: 10px; --bs-gutter-y: 14px; }
  .showcase-media-wrap { padding: 0; }
  .showcase-media-wrap::before { display: none; }
  .showcase-img-wrap, .showcase-video-mock, .showcase-video-wrap { height: 118px; border-radius: 0; box-shadow: none; }
  .yt-lite-btn { width: 48px; height: 34px; font-size: 19px; border-radius: 0; }
  .showcase-step { font-size: 12px; margin-bottom: 4px; }
  .showcase-item h3 { font-size: 16px; margin-bottom: 8px; }
  .showcase-item p { font-size: 12px; line-height: 1.7; margin-bottom: 12px; }
  .showcase-features { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
  .showcase-features li { font-size: 12px; gap: 5px; }
  .showcase-features i { font-size: 13px; }
  .btn-showcase { font-size: 12px; padding: 7px 16px; border-width: 1.5px; }

  /* 공지·묻고답하기·자료실·견적문의·고객지원 (한 줄씩, 목록은 4개까지) */
  .showcase-sidebar { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 0; box-shadow: none; }
  .sidebar-panel, .sidebar-panel:first-child, .sidebar-panel:last-child { padding: 0 0 14px; }
  .sidebar-panel-header { margin-bottom: 4px; padding-bottom: 8px; }
  .sidebar-panel-header h4 { font-size: 13px; }
  .board-list li { height: 38px; }
  .board-list li:nth-child(n+5) { display: none; }
  .board-list li.empty { height: 56px; }
  .more-link { padding-block: 6px; padding-inline: 10px 0; }
  .sidebar-support { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
  .sidebar-support ul { grid-template-columns: 1fr; }
  .sidebar-support ul li { padding: 3px 0; white-space: normal; }
  .sidebar-support-btn { padding: 10px; }

  /* 프로그램 다운로드: 한 줄 목록 (아이콘 · 이름 · 화살표) */
  .download-section { padding: 40px 0; }
  .download-section .row { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 0; border-top: 2px solid var(--dark); }
  .download-section .row > [class*="col-"] { width: 100%; padding: 0; }
  .download-card { position: relative; flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; padding-inline-end: 28px; text-align: start; background: none; border: 0; border-bottom: 1px solid var(--gray-200); border-radius: 0; box-shadow: none; }
  .download-card::after { content: ''; position: absolute; inset-inline-end: 6px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--dark); border-top: 1.5px solid var(--dark); transform: translateY(-50%) rotate(45deg); }
  .download-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
  .download-icon svg { width: 20px; height: 20px; }
  .download-card h5 { font-size: 13px; line-height: 1.45; }

  /* 위치 · 숫자 */
  .location-bar { padding: 14px 16px; }
  .location-text { font-size: 12px; align-items: flex-start; }
  .stats-section { padding: 36px 0; }
  .stats-section .row { --bs-gutter-y: 8px; }
  .stat-item { padding: 8px 4px; }
  .stat-icon { font-size: 19px; margin-bottom: 4px; }
  .stat-number { font-size: 22px; letter-spacing: -1px; }
  .stat-unit { font-size: 13px; }
  .stat-label { font-size: 12px; }

  /* 인기 모델 */
  .models-section { padding: 40px 0; }
  .model-track .model-card { margin-right: 12px; }
  .model-track .model-card { width: 176px; }
  .model-card { padding: 16px 14px 14px; border-radius: 0; }
  .model-img { height: 96px; margin-bottom: 10px; }
  .model-card h4 { font-size: 13px; margin-bottom: 8px; }
  .model-spec { margin-bottom: 10px; }
  .model-track .model-link { margin-top: 12px; }
  .model-spec li { padding: 3px 0; gap: 6px; }
  .model-spec strong { min-width: 38px; }
  .model-slider::before, .model-slider::after { width: 24px; }

  /* 도입 과정: 2칸 × 2줄 */
  .process-section { padding: 40px 0; }
  .process-steps { display: block; border-top: 2px solid var(--dark); }
  .process-arrow { display: none; }
  .process-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; max-width: none; padding: 14px 0; text-align: start; background: none; border: 0; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
  .process-icon { grid-row: 1 / span 3; width: 44px; height: 44px; font-size: 17px; margin: 2px 0 0; box-shadow: none; }
  .process-number { font-size: 12px; margin-bottom: 2px; }
  .process-step h4 { font-size: 13px; margin-bottom: 4px; }
  .process-step p { font-size: 12px; line-height: 1.6; margin: 0; }

  /* 자주 묻는 질문 · 소식 */
  .faq-blog-section { padding: 40px 0; }
  .faq-blog-section .row { --bs-gutter-y: 32px; }
  .faq-list { gap: 8px; }
  .faq-question { padding: 13px 16px; gap: 10px; }
  .faq-question span { font-size: 13px; }
  .faq-answer p { padding: 0 16px 14px; font-size: 12px; }
  .blog-list { gap: 8px; }
  .blog-card-row { padding: 10px 12px; }
  .blog-row-body h4 { font-size: 12px; }

  /* 견적 안내 띠 */
  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 17px; margin-bottom: 8px; }
  .cta-section p { font-size: 12px; margin-bottom: 18px; }
  .btn-cta-primary, .btn-cta-outline { padding: 11px 20px; font-size: 13px; }

  /* 바닥글 */
  .main-footer { padding: 32px 0 20px; }
  .main-footer .row { --bs-gutter-y: 20px; }
  .footer-desc { font-size: 12px; margin: 0; }
  .main-footer h6 { margin-bottom: 10px; font-size: 12px; }
  .main-footer ul li { margin-bottom: 6px; }
  .main-footer hr { margin: 20px 0 12px; }
  .scroll-top-btn { bottom: 16px; inset-inline-end: 16px; width: 42px; height: 42px; font-size: 15px; }

  /* 하위 화면 공통 */
  .content-area { padding: 32px 0 48px; }
  .sub-hero h1 { font-size: 19px; }
}

/* 디자인 검수 반영 (2026-10-15) */
.main-footer ul { padding-inline-start: 0; }                             /* 바닥글 목록 들여쓰기 */
.naver-n { font-size: 12px; }                                              /* 12px 미만 금지 */
.form-check-input { border-radius: 0 !important; }                         /* 각진 모서리 */
.lang-btn { white-space: nowrap; }
.stat-number, .stat-unit { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 991px) { .stat-number { font-size: 34px; } }
.model-track .model-card { width: 236px; }
.model-spec li { word-break: keep-all; overflow-wrap: anywhere; }
/* 작은 주황 글자는 진한 주황으로 (명도 대비 4.5:1 이상) */
.section-badge, .section-label, .process-number, .showcase-step { color: #c2410c; }
.models-section .section-badge, .ab-global .section-label, .trust-section .section-label, .cta-section .section-label { color: #f5875f; }   /* 어두운 바탕은 밝은 주황 */
@media (max-width: 767px) {
  html:is([lang=en],[lang=pt-BR],[lang=tr],[lang=vi],[lang=id]) p { text-align: left !important; }                          /* 영어는 양끝 정렬 시 단어 사이가 벌어짐 */
}
/* 영어·스페인어·포르투갈어·튀르키예어·인도네시아어는 단어가 길어 양끝 정렬 시 PC에서도 단어 사이가 크게 벌어짐 → 양끝 정렬 문단만 왼쪽 정렬(가운데 정렬 문단은 그대로) */
html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .showcase-item p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .page-hero .ab-lead, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ab-mvv-item p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ab-vs-old p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ab-vs-new p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .modal-info .modal-desc, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .modal-office p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .why-lead, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .why-py p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .why-reason p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ir-abstract, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ir-p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ir-cap p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ir-tc p, html:is([lang=en],[lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .ir-rules li p { text-align: start !important; }
/* 모바일 카드형 표 (2026-10-15 — 옆으로 밀리던 비교표) */
.m-stack-wrap { overflow-x: auto; }
@media (max-width: 767px) {
  .m-stack-wrap { overflow: visible; margin: 0; }
  table.m-stack { min-width: 0 !important; width: 100%; border: 0 !important; }
  table.m-stack thead { display: none; }
  table.m-stack tbody, table.m-stack tr { display: block; width: 100%; }
  table.m-stack tr { border: 1px solid #d9dce1; margin-bottom: 10px; background: #fff !important; }
  table.m-stack tbody td, table.m-stack tbody th { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px !important; border: 0 !important; border-bottom: 1px solid #ebedf0 !important; white-space: normal !important; text-align: end !important; font-size: 13px !important; background: none; }
  table.m-stack tbody tr > :last-child { border-bottom: 0 !important; }
  table.m-stack tbody td::before, table.m-stack tbody th::before { content: attr(data-label); font-weight: 700; color: #5b626c; text-align: start; flex-shrink: 0; max-width: 55%; }
  table.m-stack tbody tr > :first-child { background: var(--navy) !important; color: #fff !important; justify-content: flex-start; text-align: start !important; font-weight: 800; font-size: 14px !important; }
  table.m-stack tbody tr > :first-child * { color: #fff; }
  table.m-stack tbody tr > :first-child::before { display: none; }
}
/* 모바일 로고·머리글 크기 (2026-10-15 사용자 지시 — 로고가 너무 컸음) */
@media (max-width: 767px) {
  .main-header { padding: 12px 0; }
  .main-header.scrolled { padding: 8px 0; }
  .logo .logo-img { height: 24px; }
  .main-header.scrolled .logo .logo-scrolled { height: 22px; }
  .logo .logo-omr { font-size: 17px; margin-inline-start: 2px; }
  .main-header.scrolled .logo .logo-omr { font-size: 16px; }
  .footer-logo .footer-logo-img { height: 24px; }
}
/* ===== 마우스 올림 효과 (2026-10-15, 사용자 요청) =====
   카드: 4px 떠오르고 테두리가 주황 / 사진: 틀 안에서 5% 확대 — 그림자·둥근 모서리는 그대로 없음
   마우스가 없는 기기(터치)에서만 꺼짐 — Windows 「애니메이션 효과 표시」를 끈 PC에서도 보이게(2026-10-15 사용자 확인) */
@media (hover: hover) {
html body .model-card,
html body .download-card,
html body .strength-card,
html body .product-card,
html body .size-guide-card,
html body .sample-card,
html body .process-card,
html body .item-card,
html body .bento-card,
html body .why-reason,
html body .why-flow-step,
html body .ir-tc,
html body .blog-card-row,
html body .dl-item,
html body .feature-item { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s, background-color .25s; }
html body .model-card:hover,
html body .download-card:hover,
html body .strength-card:hover,
html body .product-card:hover,
html body .size-guide-card:hover,
html body .sample-card:hover,
html body .process-card:hover,
html body .item-card:hover,
html body .bento-card:hover,
html body .why-reason:hover,
html body .why-flow-step:hover,
html body .ir-tc:hover,
html body .blog-card-row:hover,
html body .dl-item:hover,
html body .feature-item:hover { transform: translateY(-4px); border-color: var(--accent) !important; }
html body .showcase-img-wrap,
html body .model-img,
html body .product-img,
html body .sample-img,
html body .item-img-wrap,
html body .detail-media-inner,
html body .why-shots figure,
html body .tab-screenshot-grid figure,
html body .blog-row-img,
html body .showcase-media-wrap,
html body .featured-media-inner { overflow: hidden; }
html body .showcase-img-wrap img,
html body .model-card .model-img img,
html body .product-card .product-img img,
html body .sample-card .sample-img img,
html body .item-card .item-img-wrap img,
html body .detail-media-inner img,
html body .why-shots figure img,
html body .tab-screenshot-grid figure img,
html body .blog-card-row .blog-row-img img,
html body .showcase-media-wrap img,
html body .featured-media-inner img { transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
html body .showcase-img-wrap:hover img,
html body .model-card:hover .model-img img,
html body .product-card:hover .product-img img,
html body .sample-card:hover .sample-img img,
html body .item-card:hover .item-img-wrap img,
html body .detail-media-inner:hover img,
html body .why-shots figure:hover img,
html body .tab-screenshot-grid figure:hover img,
html body .blog-card-row:hover .blog-row-img img,
html body .showcase-media-wrap:hover img,
html body .featured-media-inner:hover img { transform: scale(1.05); }
}

/* ===== 아랍어(오른쪽→왼쪽) — html dir="rtl" 일 때만 (2026-10-15) ===== */
html[dir="rtl"] body,
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select, html[dir="rtl"] button { font-family: 'Noto Sans Arabic', 'Pretendard', system-ui, sans-serif; }
html[dir="rtl"] body * { letter-spacing: 0 !important; }   /* 글자 간격을 주면 아랍 글자 이음이 끊어짐 */
html[dir="rtl"] .bi-arrow-right::before,
html[dir="rtl"] .bi-chevron-right::before,
html[dir="rtl"] .bi-chevron-left::before,
html[dir="rtl"] .bi-chevron-double-left::before,
html[dir="rtl"] .bi-chevron-double-right::before { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .model-slider { direction: ltr; }             /* 끝없이 흐르는 띠는 왼쪽 끝에 붙여 움직임 — 오른쪽 끝에 붙으면 흐르다 빈칸이 생기고 처음으로 튐 */
html[dir="rtl"] .model-track .model-card { direction: rtl; }
html[dir="rtl"] .download-card::after { transform: translateY(-50%) rotate(-135deg); }   /* 모바일 다운로드 줄 꺾쇠를 왼쪽으로 */
@media (min-width: 768px) and (max-width: 1199px) {   /* 태블릿: 스페인어·아랍어는 고객지원 안내 문구가 길어 줄바꿈 허용 */
  html:is([lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .sidebar-support, html[lang=ar] .sidebar-support { grid-template-columns: minmax(0, 1fr) auto; }
  html:is([lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .sidebar-support ul, html[lang=ar] .sidebar-support ul { grid-template-columns: minmax(0, 1fr); }
  html:is([lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .sidebar-support ul li, html[lang=ar] .sidebar-support ul li { white-space: normal; }
  html:is([lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .sidebar-support ul li strong, html[lang=ar] .sidebar-support ul li strong { flex-shrink: 0; }
}
/* ===== 전화번호·이메일은 눌러서 연결하지 않음 (2026-10-16 사용자 지시) — 글자로만 보여 줌
 * 단추 모양으로 남은 것은 마우스를 올려도 누르는 것처럼 바뀌지 않게 */
.tel-static { cursor: text; }
.btn-cta-outline.tel-static, .modal-btn-outline.tel-static, .tab-btn-outline.tel-static, .ab-cta .o.tel-static, .mh-tel.tel-static { pointer-events: none; }
/* 메인은 지도 없이 위치 한 줄만 (2026-10-18 사용자 지시 — PC·모바일 모두) */
html[lang=ko] .cta-section p { word-break: keep-all; }   /* 메인 맺음 문구가 단어 가운데서 끊기지 않게 (2026-10-16) */

/* ===== 바닥글 방문자 수 한 줄 (2026-10-16, gumgosi 방식) — 마크업 includes/footer.php · 채우기 js/common.js initVisitStats ===== */
.ft-visit { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: #a3aab4; text-decoration: none; }
.ft-visit[hidden] { display: none; }
/* 패밀리 사이트(2026-11-08 select → details+링크, 겉모양은 예전 칸 그대로) — 마크업 includes/footer.php */
.ft-family { position: relative; font-size: 12px; }
.ft-family > summary { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; color: #c5ccd8; background: transparent; border: 1px solid #4b5360; border-radius: 4px; cursor: pointer; list-style: none; user-select: none; }
.ft-family > summary::-webkit-details-marker { display: none; }
.ft-family > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ft-family[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.ft-family > summary:hover, .ft-family > summary:focus-visible, .ft-family[open] > summary { border-color: #a3aab4; outline: none; }
.ft-family ul { position: absolute; bottom: calc(100% + 4px); inset-inline-end: 0; z-index: 20; min-width: 100%; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #c5ccd8; border-radius: 4px; white-space: nowrap; }
.ft-family.ft-flip ul { inset-inline-end: auto; inset-inline-start: 0; }   /* 바닥 줄이 접혀 칸이 줄 첫머리로 내려가면(모바일·태블릿) 반대쪽으로 펼침 — 판단은 includes/footer.php 의 toggle 스크립트(2026-11-15) */
.footer-bottom .ft-family ul li { margin: 0; }   /* 바닥 목록 공통 줄 간격(.main-footer ul li 8px)이 펼친 목록에 번지지 않게 */
.footer-bottom .ft-family ul a { display: block; padding: 6px 12px; color: #202020; }
.footer-bottom .ft-family ul a:hover { color: #202020; background: #eef1f5; }
.ft-visit .ftv-t { color: #c5ccd8; font-weight: 700; }
.ft-visit b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.ft-visit:hover .ftv-t { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* 접속 통계 화면 「Global Access」 앞 초록 점 */
.ftg-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.ftg-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; opacity: 0; animation: ftgPulse 2s ease-out infinite; }
@keyframes ftgPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ftg-dot::after { animation: none; } }
