/* 이오메모리 홈페이지 — 한 장짜리 정적 사이트 */
:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #566274;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --navy: #0a1a3a;
  --navy-2: #102a5c;
  --blue: #1f5eff;
  --blue-ink: #1546c9;
  --red: #e4002b;
  --ok: #067647;
  --warn: #b54708;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, video { max-width: 100%; display: block; }
img { height: auto; } /* width·height 속성이 있어도 비율대로 */
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- 상단 메뉴 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(15, 23, 42, .06); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brandmark { display: flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.brandmark b { font-size: 21px; font-weight: 900; letter-spacing: -.4px; }
.brandmark b span { color: var(--red); }
.brandmark small { font-size: 13px; color: var(--muted); font-weight: 600; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px;
  padding: 10px 12px; border-radius: 10px;
}
.menu a:hover { background: var(--soft); color: var(--ink); }
.menu a.active { color: var(--blue-ink); }
.nav-cta {
  text-decoration: none; background: var(--navy); color: #fff; font-weight: 700; font-size: 14.5px;
  padding: 11px 16px; border-radius: 12px; white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-2); }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.drawer { display: none; }

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative; color: #fff; background: #050d22;
  min-height: min(760px, 92vh); display: flex; align-items: center; overflow: hidden;
}
/* 배경 사진을 브라우저가 소수점 단위로 천천히 확대·이동 — 영상보다 부드럽고 가볍다 */
.hero-bg {
  position: absolute; inset: -2%; background: #050d22 url("../img/hero-chip.webp") 80% center / cover no-repeat;
  transform-origin: 70% 55%; will-change: transform; animation: hero-drift 26s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}
/* 빛줄기가 대각선으로 한 번씩 지나간다 */
.hero-sweep {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-sweep::before {
  content: ""; position: absolute; top: -40%; bottom: -40%; width: 38%; left: -45%;
  background: linear-gradient(100deg, transparent 0%, rgba(120, 170, 255, .0) 30%, rgba(150, 190, 255, .16) 50%, rgba(120, 170, 255, 0) 70%, transparent 100%);
  transform: rotate(12deg); will-change: transform; animation: hero-sweep 11s ease-in-out infinite;
}
@keyframes hero-sweep {
  0%, 18% { transform: translate3d(0, 0, 0) rotate(12deg); }
  60%, 100% { transform: translate3d(420%, 0, 0) rotate(12deg); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 12, 32, .95) 0%, rgba(4, 12, 32, .88) 45%, rgba(4, 12, 32, .5) 72%, rgba(4, 12, 32, .18) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.partner-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 999px; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.partner-badge img { height: 22px; width: auto; }
.hero h1 { text-shadow: 0 2px 18px rgba(4, 12, 32, .75); font-size: clamp(34px, 5.4vw, 60px); line-height: 1.18; letter-spacing: -1.2px; margin: 0 0 20px; font-weight: 800; max-width: 680px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8fb5ff, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { text-shadow: 0 1px 12px rgba(4, 12, 32, .75); font-size: clamp(16px, 1.6vw, 19px); color: #d6e2ff; max-width: 600px; margin: 0 0 34px; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 290px)); gap: 14px; }
.hero-card {
  display: block; text-decoration: none; border-radius: 16px; padding: 18px 20px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
  transition: transform .2s, background .2s;
}
.hero-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .16); }
.hero-card.primary { background: #fff; color: var(--ink); border-color: #fff; }
.hero-card.primary:hover { background: #eef3ff; }
.hero-card b { display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
.hero-card span { display: block; font-size: 14px; opacity: .8; margin-top: 2px; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: 2px; }

/* ---------- 공식 대리점 띠 ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.trust p { margin: 0; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.trust-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-left: auto; }
.trust-logos img { height: 30px; width: auto; }
.trust-logos .sep { width: 1px; height: 26px; background: var(--line); }

/* ---------- 공통 섹션 ---------- */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy) url("../gen/bg-circuit.webp") center / cover; color: #fff; }
.eyebrow { display: inline-block; color: var(--blue-ink); font-weight: 800; font-size: 13px; letter-spacing: 1.8px; margin-bottom: 10px; }
.dark .eyebrow { color: #8fb5ff; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.8px; margin: 0 0 14px; }
.section-lead { color: var(--ink-2); font-size: 17px; margin: 0; max-width: 720px; }
.dark .section-lead { color: #c9d6f3; }
.section-head { margin-bottom: 48px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: #eaf0ff; color: var(--blue-ink);
}
.icon svg { width: 24px; height: 24px; }

/* 회사 소개 */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 26, 58, .18); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(10, 26, 58, .82); color: #fff;
  font-size: 13px; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.about-list { display: grid; gap: 14px; margin-top: 30px; }
.about-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.about-item .icon { margin: 0; }
.about-item h3 { margin: 2px 0 4px; font-size: 18px; }
.about-item p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* 브랜드 */
.brand-card { display: flex; flex-direction: column; gap: 18px; }
.brand-card .logo-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; }
.brand-card .logo-row img { height: 40px; width: auto; }
.badge-official {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ok);
  background: #ecfdf3; border: 1px solid #abefc6; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.brand-card ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.brand-card li { margin: 4px 0; }
.brand-card .sub-brand { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 15px; }
.brand-card .sub-brand img { height: 24px; width: auto; }

/* 제품 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; min-height: 44px;
  font-size: 14.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.chip-btn:hover { border-color: #b8c4d9; color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .1); }
.product[hidden] { display: none; }
.product .thumb { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #f7f9fd, #eef2f9); display: grid; place-items: center; padding: 18px; }
.product .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product .brand-tag { font-size: 12px; font-weight: 800; letter-spacing: .6px; color: var(--muted); }
.product .brand-tag.hy { color: var(--red); }
.product .cat { font-size: 12px; font-weight: 700; color: var(--blue-ink); background: #eef3ff; padding: 3px 8px; border-radius: 999px; }
.product h3 { margin: 0; font-size: 17px; letter-spacing: -.2px; line-height: 1.35; }
.product p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.specs span { font-size: 12.5px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; color: var(--ink-2); }
.product .ask {
  margin-top: auto; padding-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--blue-ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}
.product .ask:hover { text-decoration: underline; }
.products-note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* 강점 */
.why .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.why .card h3 { color: #fff; }
.why .card p { color: #c9d6f3; }
.why .icon { background: rgba(143, 181, 255, .16); color: #b9d0ff; }

/* A/S */
.as-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.as-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 26, 58, .16); }
.as-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.as-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fact b { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.fact span { font-size: 17px; font-weight: 800; letter-spacing: -.2px; }
.fact small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; margin: 0 0 32px; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 10px;
}
.steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 14.5px; }
.as-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.acc summary {
  cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 800; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; color: var(--muted); font-weight: 400; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; }
.acc .acc-body ul { margin: 0; padding-left: 20px; }
.acc .acc-body li { margin: 6px 0; }
.acc .acc-body strong { color: var(--ink); }
.acc .warn-line { color: #b42318; font-weight: 700; }
.side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.side .card { padding: 22px; }
.side h3 { font-size: 17px; }
.addr-box { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; margin: 10px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 16px;
  border-radius: 12px; font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--navy-2); }
.btn.line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.line:hover { border-color: #b8c4d9; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-ink); }

/* 보증 기간 확인 */
.wcheck label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.wcheck .row { display: flex; gap: 8px; }
.wcheck input {
  flex: 1; min-width: 0; height: 46px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 14px; font-size: 17px;
  letter-spacing: 2px; font-weight: 700;
}
.wcheck .result { margin-top: 12px; font-size: 15px; border-radius: 12px; padding: 12px 14px; display: none; }
.wcheck .result.ok { display: block; background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }
.wcheck .result.no { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.wcheck .result.err { display: block; background: #fffaeb; color: var(--warn); border: 1px solid #fedf89; }
.wcheck .hint { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* 문의 */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.contact-card h3 { display: flex; align-items: center; gap: 10px; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.contact-line a, .contact-line strong { font-weight: 800; font-size: 16px; text-decoration: none; text-align: right; }
.contact-line a:hover { color: var(--blue-ink); }
.form-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.form-card h3 { font-size: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; min-height: 46px;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* 하단 */
.site-footer { background: #06112a; color: #9fb0d4; font-size: 14px; padding: 46px 0 110px; }
.site-footer .row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer b { color: #fff; font-size: 16px; }
.site-footer p { margin: 6px 0; }
.site-footer .legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: #7a8bb0; }

/* 휴대폰 하단 고정 버튼 */
.mobile-bar { display: none; }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14.5px; transition: all .25s; z-index: 80;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 등장 효과 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero-sweep::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product, .hero-card { transition: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .menu, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .drawer {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .12); padding: 8px 20px 20px; z-index: 49;
  }
  .drawer.open { display: block; }
  .drawer a { display: block; padding: 14px 4px; font-size: 17px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
  .drawer a:last-child { border-bottom: 0; }
  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(4, 12, 32, .72) 0%, rgba(4, 12, 32, .9) 60%, rgba(4, 12, 32, .96) 100%); }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .trust-logos { margin-left: 0; gap: 22px; }
  .section { padding: 72px 0; }
  .about, .as-top, .as-grid, .form-card, .grid-2 { grid-template-columns: 1fr; }
  .about { gap: 32px; }
  .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .side { position: static; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .mobile-bar a { min-height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; text-decoration: none; }
  .mobile-bar .call { background: var(--navy); color: #fff; }
  .mobile-bar .as { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid-4, .steps, .as-facts, .form-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .product .body { padding: 14px; }
  .product h3 { font-size: 15.5px; }
  .product p { display: none; }
  .specs span:nth-child(n + 3) { display: none; }
  .partner-badge { font-size: 12.5px; }
  .partner-badge img { height: 18px; }
  .trust .wrap { gap: 14px; }
  .trust-logos img { height: 24px; }
  .contact-line { flex-direction: column; align-items: flex-start; gap: 2px; }
  .contact-line a, .contact-line strong { text-align: left; }
}

/* ---------- 로고 크기 (공식 파일 비율 그대로) ---------- */
img.logo-hy, img.logo-es, img.logo-kv { width: auto; display: inline-block; }
.partner-badge img.logo-hy { height: 22px; }
.partner-badge img.logo-es { height: 14px; }
.trust-logos img.logo-hy { height: 34px; }
.trust-logos img.logo-es { height: 18px; }
.trust-logos img.logo-kv { height: 24px; }
.brand-card .logo-row img.logo-hy { height: 42px; }
.brand-card .logo-row img.logo-es { height: 18px; }
.brand-card .sub-brand img.logo-kv { height: 22px; }

/* ---------- 브랜드 카드 사진 ---------- */
.brand-media { border-radius: 14px; overflow: hidden; }
.brand-media.hy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; border: 1px solid var(--line); padding: 10px; }
.brand-media.hy img { width: 100%; aspect-ratio: 640 / 340; object-fit: contain; }
.brand-media.es img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* 하이닉스 제품 사진은 흰 배경이라 흰 칸에 둔다 */
.product .thumb.white { background: #fff; border-bottom: 1px solid var(--line); }

/* ---------- 판매가 ---------- */
.price-card { padding: 0; overflow: hidden; }
.price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.price-head b { font-size: 17px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 12px 22px; background: var(--soft); }
.price-table td { padding: 14px 22px; border-top: 1px solid var(--line); vertical-align: middle; }
.price-table .num { text-align: right; white-space: nowrap; }
.price-table td.num b { font-size: 18px; letter-spacing: -.3px; }
.price-table .brand { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.price-table .ask-sm { font-size: 14px; font-weight: 700; color: var(--blue-ink); text-decoration: none; white-space: nowrap; }
.price-table .ask-sm:hover { text-decoration: underline; }
.price-note { margin: 0; padding: 14px 22px 18px; color: var(--muted); font-size: 13.5px; border-top: 1px solid var(--line); }

/* ---------- 영상 (누르면 재생) ---------- */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yt {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: 16px; overflow: hidden;
  background: #000; aspect-ratio: 16 / 9; text-align: left; box-shadow: var(--shadow);
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .3s; }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt .play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(228, 0, 43, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.yt .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt .yt-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; color: #fff; font-weight: 700; font-size: 15px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .videos { grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 560px) {
  .price-table .brand { display: none; }
  .price-table th:nth-child(2) { display: none; }
  .price-table { font-size: 14.5px; }
  .brand-card .logo-row img.logo-hy { height: 36px; }
}

/* 휴대폰: 첫 화면 사진을 오른쪽(모듈) 위주로 */
@media (max-width: 900px) {
  .hero-bg { background-position: 72% center; }
}


/* ===== 2차 레이아웃 수정 (Codex 검토 반영) ===== */
/* figure 기본 좌우 여백(40px) 제거 — 사진이 안쪽으로 들어가 보이던 원인 */
.about-media, .as-photo, .yt-item { margin: 0; min-width: 0; }

/* 견적 양식으로 바로 이동 */
#inquiry, #wcheck, #as-address { scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.form-card > div:first-child { max-width: 72ch; }

/* 제품 사진 칸을 비율로 고정하고 사진은 그 안에 맞춘다 */
.product .thumb { position: relative; flex: 0 0 auto; aspect-ratio: 4 / 3; min-height: 0; padding: 0; }
.product .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 18px; object-fit: contain; }
.product .body { min-width: 0; }
.product .cat { flex-shrink: 0; white-space: nowrap; }

/* 브랜드 카드: 사진 칸 높이를 같게 */
.brand-card .brand-media { height: 216px; flex: 0 0 auto; }
.brand-media.hy { grid-template-rows: minmax(0, 1fr); align-items: center; }
.brand-media.hy img, .brand-media.es img { height: 100%; min-height: 0; aspect-ratio: auto; }

/* KLEVV 공식 로고(137x100)는 여백이 넓어 크게 잡는다 — 보이는 글자 높이 약 20px */
.trust-logos img.logo-kv, .brand-card .sub-brand img.logo-kv { width: auto; height: 64px; flex-shrink: 0; }
.trust .wrap { padding-top: 12px; padding-bottom: 12px; }

/* 판매가: 휴대폰용 브랜드 표시, 문의 누르는 영역 44px */
.price-brand-mobile { display: none; }
.price-table .ask-sm { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.price-table td { padding-top: 8px; padding-bottom: 8px; }

/* 영상 제목은 썸네일 아래 */
.yt-item figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }

/* A/S: 바로가기, 보증 확인·주소는 PC에서 오른쪽, 휴대폰에서 먼저 */
.as-shortcuts { margin-top: 20px; }
.as-grid { grid-template-areas: "details tools"; }
.as-grid > .acc { grid-area: details; }
.as-grid > .side { grid-area: tools; }

/* 여백 정리 */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { margin-bottom: 32px; }
.eyebrow { letter-spacing: .04em; }

/* 첫 화면 움직임: 확대 3.5%, 34초, 빛줄기는 가늘고 옅게 — 어두운 덮개 아래로 */
.hero { isolation: isolate; }
.hero-bg { z-index: 0; animation: hero-drift-soft 34s ease-in-out infinite alternate; }
@keyframes hero-drift-soft {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(-.5%, -.3%, 0); }
}
.hero-sweep { z-index: 0; }
.hero-sweep::before {
  left: -36%; width: 24%; opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(150, 190, 255, .08) 50%, transparent 70%);
  animation: hero-sweep-soft 16s linear infinite;
}
@keyframes hero-sweep-soft {
  0%, 18% { transform: translate3d(0, 0, 0) rotate(12deg); opacity: 0; }
  24%, 56% { opacity: 1; }
  62%, 100% { transform: translate3d(650%, 0, 0) rotate(12deg); opacity: 0; }
}
@keyframes hero-drift-mobile {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.02) translate3d(-.25%, 0, 0); }
}

@media (max-width: 900px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 24px; }
  .brand-card .brand-media { height: clamp(160px, 40vw, 260px); }
  .as-grid { grid-template-areas: "tools" "details"; }
  .hero-bg { animation-name: hero-drift-mobile; animation-duration: 40s; background-image: url("../img/hero-memory-m.webp"); background-position: 62% 55%; }
  .hero-sweep { display: none; }
  /* 휴대폰 첫 화면이 너무 어두워 사진이 안 보이던 것 — 아래쪽만 진하게 */
  .hero::before { background: linear-gradient(180deg, rgba(4, 12, 32, .55) 0%, rgba(4, 12, 32, .78) 55%, rgba(4, 12, 32, .9) 100%); }
}
@media (max-width: 560px) {
  .product .meta { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: start; gap: 4px; min-height: 50px; }
  .product .brand-tag { letter-spacing: 0; }
  .product h3 { min-height: 2.7em; }
  .specs span:nth-child(n + 3) { display: inline-flex; }
  .trust-logos { gap: 10px; flex-wrap: nowrap; }
  .trust-logos img { flex-shrink: 0; }
  .trust-logos img.logo-hy { height: 28px; }
  .trust-logos img.logo-es { height: 16px; }
  .trust-logos img.logo-kv { height: 58px; }
  .price-brand-mobile { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
  .price-table th, .price-table td { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-sweep::before { animation: none; will-change: auto; }
  .hero-sweep { display: none; }
}

/* 브랜드 카드 사진: 두 카드 모두 사진 1장, 같은 높이 */
.brand-media.hy { display: block; padding: 0; border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 100%, #eef3fb 0%, #ffffff 60%); }
.brand-media.hy img { width: 100%; height: 100%; object-fit: contain; padding: 18px 28px; }


/* ===== 여러 페이지 구조 ===== */
.menu a[aria-current="page"] { color: var(--blue-ink); background: #eef3ff; }
.drawer a[aria-current="page"] { color: var(--blue-ink); }

/* 하위 페이지 머리 띠 */
.page-hero { background: var(--navy) url("../gen/bg-circuit.webp") center / cover; color: #fff; padding: 64px 0 56px; }
.page-hero .eyebrow { color: #8fb5ff; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.25; letter-spacing: -.8px; margin: 0 0 12px; }
.page-hero p { margin: 0; color: #c9d6f3; max-width: 720px; font-size: 17px; }

/* 홈 바로가기 카드 */
.quick-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; padding: 0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .12); }
.quick-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; }
.quick-card h3 { padding: 6px 22px 0; color: var(--ink); }
.quick-card p { padding: 0 22px 22px; }
.more-link { display: inline-flex; margin-top: 22px; font-weight: 700; color: var(--blue-ink); text-decoration: none; min-height: 44px; align-items: center; }
.more-link:hover { text-decoration: underline; }

/* 브랜드 카드: SK hynix 제품 사진의 흰 바탕을 배경에 녹인다 */
.brand-media.hy img { mix-blend-mode: multiply; }
.brand-card .sub-brand img.logo-mark { height: 26px; width: auto; }

/* 일반 판매가 안내 상자 */
.price-notice { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #eef3ff; border: 1px solid #c7d7fe; border-radius: 16px; padding: 18px 22px; margin-bottom: 26px; }
.price-notice b { font-size: 16px; }
.price-notice p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.price-notice .btn { flex: none; }

/* 제품 카드 안 일반 판매가 */
.price-lines { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 14px; }
.price-lines .pl-title { display: inline-block; font-size: 12px; font-weight: 800; color: var(--blue-ink); background: #eef3ff; border-radius: 6px; padding: 2px 7px; margin-bottom: 6px; }
.price-lines .pl-row { display: flex; justify-content: space-between; gap: 8px; }
.price-lines .pl-row b { font-size: 16px; }
.price-lines.none { color: var(--muted); font-size: 13.5px; }
.product .thumb.noimg { display: grid; place-items: center; background: linear-gradient(135deg, #0a1a3a, #1d3f8f); color: #fff; font-weight: 800; padding: 18px; text-align: center; }

/* 하단 견적 띠 */
.cta-band { background: linear-gradient(120deg, #0a1a3a, #1546c9); color: #fff; padding: 46px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.4px; }
.cta-band p { margin: 0; color: #d6e2ff; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* 오시는 길 */
.location { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.map-box { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #e8edf5; min-height: 380px; box-shadow: var(--shadow); }
.map { width: 100%; height: 100%; min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-label { background: #0a1a3a; color: #fff; font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); white-space: nowrap; }
.company { display: flex; flex-direction: column; gap: 16px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 9px 12px 9px 0; vertical-align: top; white-space: nowrap; width: 1%; }
.info-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.info-table tr:last-child td { border-bottom: 0; }
.info-table a { text-decoration: none; font-weight: 700; color: var(--ink); }
.info-table a:hover { color: var(--blue-ink); }

@media (max-width: 900px) {
  .page-hero { padding: 44px 0 40px; }
  .price-notice { flex-direction: column; align-items: flex-start; }
  .location { grid-template-columns: 1fr; }
  .map-box, .map, .map iframe { min-height: 300px; }
}

/* 제품 카드: 브랜드와 종류를 두 줄로 — 긴 종류 이름에 브랜드가 끊기지 않게 */
.product .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.product .brand-tag { white-space: nowrap; }
.product .cat { white-space: normal; text-align: left; }

/* 공식 사진이 검은 배경인 제품(소비자용 SSD) — 카드 사진칸도 검게 맞춘다 */
.product .thumb.dark { background: #000; border-bottom: 1px solid #000; }
.product .thumb.dark img { padding: 0; }

/* 판매가표 묶음 제목 줄 */
.price-table tr.grp th { background: #eef3ff; color: var(--blue-ink); font-size: 13.5px; font-weight: 800; padding: 10px 22px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .price-table tr.grp th { padding-left: 14px; padding-right: 14px; } }
/* 문의 양식 선택 칸 */
.form-grid select { width: 100%; }

/* 언어 선택(한국어·영어·중국어) */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; flex: none; }
.lang-switch a { font-size: 12.5px; font-weight: 800; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 7px; line-height: 1; }
.lang-switch a:hover { color: var(--ink); background: var(--soft); }
.lang-switch a[aria-current="true"] { color: #fff; background: var(--navy); }
.lang-switch.in-drawer { display: none; }
.menu + .lang-switch { margin-left: -12px; }
@media (max-width: 900px) {
  .lang-switch.in-nav { display: none; }
  .drawer .lang-switch.in-drawer { display: inline-flex; margin-top: 14px; }
  .drawer .lang-switch a { display: inline-block; padding: 9px 14px; font-size: 14px; border-bottom: 0; }
}
/* 중국어 글꼴: Pretendard에 한자가 없어 시스템 중국어 글꼴로 */
html[lang="zh-CN"] body { font-family: "Pretendard Variable", Pretendard, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }

/* 제품 카드: 견적 문의 · 품번 보기 */
.card-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: auto; }
.card-links .ask { margin-top: 0; }
.parts-link { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.parts-link:hover { color: var(--blue-ink); text-decoration: underline; }

/* 품번 확인표 */
.parts-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.parts-q { width: 100%; font-size: 17px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.parts-q:focus { outline: 3px solid #c7d7fe; border-color: var(--blue); }
.parts-fam { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #eef3ff; border: 1px solid #c7d7fe; border-radius: 12px; padding: 10px 14px; }
.parts-fam[hidden] { display: none; }
.btn.sm { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
.parts-count { margin: 0; font-size: 15px; }
.parts-card { padding: 0; overflow: hidden; }
.parts-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.parts-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 12px 14px; background: var(--soft); white-space: nowrap; }
.parts-table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.parts-table tr[hidden] { display: none; }
.parts-table .c-fam { color: var(--ink-2); }
.parts-table .c-detail { color: var(--muted); font-size: 13.5px; }
.parts-table .c-cap, .parts-table .c-speed { white-space: nowrap; }
.parts-table .c-ask { white-space: nowrap; text-align: right; }
.parts-table .ask-sm { font-size: 14px; font-weight: 700; color: var(--blue-ink); text-decoration: none; white-space: nowrap; }
.parts-table .ask-sm:hover { text-decoration: underline; }
.parts-table .c-st { white-space: nowrap; }
.pt-brand { font-size: 12px; font-weight: 800; color: var(--muted); margin-right: 4px; }
.pt-brand.hy { color: var(--red); }
.pn { font: 700 14.5px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); background: none; border: 0; padding: 6px 0; cursor: copy; text-align: left; white-space: nowrap; }
.pn:hover { color: var(--blue-ink); text-decoration: underline; }
.st { display: inline-block; font-size: 12.5px; font-weight: 800; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.st.mp { color: #067647; background: #ecfdf3; }
.st.cs { color: #b54708; background: #fffaeb; }
.st.na { color: var(--muted); }
@media (max-width: 760px) {
  .parts-table thead { display: none; }
  .parts-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .parts-table td { padding: 0; border: 0; }
  .parts-table .c-fam { order: 1; flex: 1 1 60%; font-size: 13px; }
  .parts-table .c-st { order: 2; }
  .parts-table .c-pn { order: 3; flex: 1 1 calc(100% - 96px); }
  .pn { white-space: normal; word-break: break-all; }
  .parts-table .c-ask { order: 4; }
  .parts-table .c-cap { order: 5; font-weight: 700; }
  .parts-table .c-speed { order: 6; }
  .parts-table .c-speed:not(:empty)::before { content: "· "; color: var(--muted); }
  .parts-table .c-detail { order: 7; flex-basis: 100%; }
}

.addr-ko-label { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* 제품 카드 판매가: 가격이 쪼개지지 않게, 좁은 화면에서는 글자를 조금 작게 */
.price-lines .pl-row { align-items: baseline; }
.price-lines .pl-row span { min-width: 0; }
.price-lines .pl-row b { white-space: nowrap; }
@media (max-width: 560px) {
  .price-lines { font-size: 12.5px; }
  .price-lines .pl-row b { font-size: 14px; }
  .drawer { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}


/* ===== 3차 수정: 협의 품목·거래 안내·404·모바일 보정 ===== */
.neg-tag { display: inline-block; width: fit-content; margin: 2px 0 2px; font-size: 12px; font-weight: 800; color: #b54708; background: #fffaeb; border: 1px solid #fedf89; border-radius: 6px; padding: 2px 8px; }
.products-note + .products-note { margin-top: 8px; }
.trade-card { margin: 0 0 28px; }
.trade-card h3 { margin: 0 0 12px; font-size: 18px; }
.trade-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.trade-list > div { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.trade-list dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.trade-list dd { margin: 2px 0 0; font-size: 16px; font-weight: 800; }
.trade-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.nf-card h2 { margin: 0 0 6px; font-size: 20px; }
.nf-card p { margin: 0 0 14px; }

/* 서비스 페이지: 휴대폰에서 가로로 넘치던 것(그리드 자식이 내용 폭만큼 넓어짐) */
.as-grid > *, .as-top > *, .side > * { min-width: 0; }
.addr-box { overflow-wrap: anywhere; }
@media (max-width: 900px) { .as-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .trade-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 품번표: 휴대폰에서 '문의'·품번 누르는 영역을 키운다 */
@media (max-width: 760px) {
  .parts-table .ask-sm { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
  .parts-table .pn { min-height: 44px; }
}

/* 문의 메일이 길 때 '내용 복사' 단추를 눈에 띄게 */
.btn.attn { outline: 3px solid #fdb022; outline-offset: 2px; }

/* 자바스크립트를 못 쓰는 환경(미리보기·로봇)에서는 등장 효과 없이 바로 보인다 */
@media (scripting: none) { .reveal { opacity: 1; transform: none; } }


/* ===== 4차 수정: 개인정보 처리방침·푸터 링크 ===== */
.policy > * { max-width: 880px; }
.policy-lead { margin: 0 0 8px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.policy h2 { margin: 40px 0 12px; font-size: 21px; line-height: 1.35; letter-spacing: -.3px; }
.policy p { margin: 0 0 14px; line-height: 1.8; color: var(--ink-2); font-size: 16px; }
.policy ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); font-size: 16px; }
.policy li { margin: 6px 0; line-height: 1.75; }
.policy a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { margin: 0 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.policy-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.65; }
.policy-table thead th { background: var(--soft); font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.policy-table tbody tr:last-child td { border-bottom: 0; }
.policy-table td:first-child { font-weight: 700; }
.site-footer .legal-links { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.site-footer .legal-links a { color: #c3cde6; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .legal-links a:hover { color: #fff; }
.site-footer .legal-links + .legal { margin-top: 10px; padding-top: 0; border-top: 0; }
@media (max-width: 560px) {
  .policy h2 { font-size: 19px; margin-top: 32px; }
  .policy p, .policy ul { font-size: 15.5px; }
}

/* 문의 버튼으로 들어올 때: 카드가 등장 효과(18px 아래)에 걸린 채로 스크롤되지 않게 처음부터 제자리에 둔다 */
#inquiry:target { opacity: 1; transform: none; transition: none; }

/* 처리방침 표: 휴대폰에서는 옆으로 밀지 않고 항목별 카드로 쌓는다 */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .policy-table { min-width: 0; }
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; width: 100%; }
  .policy-table tr { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
  .policy-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .policy-table td:last-child { border-bottom: 0; }
  .policy-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .policy-table tbody tr:last-child td:last-child { border-bottom: 0; }
  .policy-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .policy-table td:first-child { background: var(--soft); font-size: 16px; }
  .policy-table td:first-child::before { display: none; }
}
