/* ────────────────────────────────────────────────────────
   원성페이먼츠 — Light Theme (per docs/design-guide.md)
   Single font: Pretendard (KR + EN + numerics)
   Background: #FFFFFF (white) · Ink: #000000 (black)
   Accents: #F3C623 (gold) + #0D9488 (deep teal)
──────────────────────────────────────────────────────── */

:root {
  /* ── Color tokens ── */
  --bg:           #FFFFFF;          /* 절대 베이스 */
  --bg-alt:       #F4F6FF;          /* 섹션 분리 cool light */
  --bg-subtle:    #F8FAFF;          /* 부드러운 영역 */
  --ink:          #000000;          /* 헤딩 / 다크 섹션 (검정) */
  --ink-body:     #000000;          /* 본문 기본 글씨 — 검정 */
  --ink-muted:    #5C6470;          /* 캡션/메타 — 중간 그레이 */
  --ink-faint:    #8B919E;          /* 디스에이블 — 연그레이 */
  --line:         rgba(0, 0, 0, 0.10);
  --line-strong:  rgba(0, 0, 0, 0.18);
  --accent:       #0D9488;          /* 딥 틸 — CTA, 키 숫자 (골드와 페어링) */
  --accent-deep:  #0F766E;          /* 호버/프레스 */
  --accent-soft:  #CCFBF1;          /* 라이트 하이라이트 배경 */
  --gold:         #F3C623;          /* 보조 액센트 */
  --gold-soft:    #FFF4C8;
  --ink-section:  #000000;          /* Final CTA 다크 */
  --section-soft: #0A0A0A;          /* Footer (살짝 elevation) */

  /* ── Typography (single family) ── */
  --font-sans: "Pretendard Variable", "Pretendard",
               -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic",
               system-ui, sans-serif;

  /* ── Geometry ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(0,0,0,.18);
  --shadow-pop:  0 1px 0 rgba(0,0,0,.06), 0 24px 56px -24px rgba(0,0,0,.22);

  --pad-x: clamp(20px, 5vw, 56px);
  --maxw:  1240px;
}

/* ───── Base — Typography refined for Korean (Pretendard) ───── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-body);
  font-size: 16.5px;
  line-height: 1.72;            /* breathing room for KR */
  letter-spacing: -0.012em;     /* Pretendard 가독성 보정 */
  word-spacing: 0.01em;
  word-break: keep-all;         /* 한국어 줄바꿈 자연스럽게 */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss03", "cv01", "kern", "calt";
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
body.is-modal-open { overflow: hidden; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.22;
  color: var(--ink);
  word-break: keep-all;         /* 한국어 어절 단위 줄바꿈 */
  text-wrap: balance;           /* 줄 길이 균형 (modern) */
}
p { line-height: 1.72; word-break: keep-all; overflow-wrap: break-word; }
p, em, i, span { font-style: normal; }
em { font-style: normal; font-weight: 700; }
b, strong { font-weight: 800; letter-spacing: -0.015em; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* legacy class neutralizer (no italic, no serif) */
.hl, .serif, .italic { font-family: inherit; font-style: normal; }

/* numeric alignment helper */
.tnum, [data-counter], .num-inline, .stat__num, .stat__unit,
.pcard__big, .hero__bigfig-num, .footer-corp, .phone__statusbar,
.kakao-bubble__time, .footer-copy {
  font-feature-settings: "tnum", "ss03";
  font-variant-numeric: tabular-nums;
}

/* ───── Reveal animation ───── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.015em;
  word-spacing: -0.01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 13.5px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 1px var(--ink), 0 12px 30px -12px rgba(0,0,0,.45);
}
.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 16px 36px -10px rgba(13,148,136,.5);
  transform: translateY(-1px);
}
.btn--primary svg { transition: transform .25s ease; }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.btn--outline-light {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--ink);
}

/* ───── Header ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 28%, var(--gold) 28%, var(--gold) 56%, var(--ink) 56%, var(--ink) 100%);
}
.site-header.is-scrolled {
  background: rgba(244,246,255,.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.18);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { color: var(--ink); display: inline-flex; }
.brand__wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__ko { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand__en { font-size: 11px; font-weight: 600; color: var(--ink-muted); margin-top: 3px; letter-spacing: 0.04em; text-transform: uppercase; }

.brand--inverse, .brand--inverse .brand__mark, .brand--inverse .brand__ko { color: #fff; }
.brand--inverse .brand__en { color: rgba(255,255,255,.55); }

.primary-nav { display: flex; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.primary-nav .nav-link:hover { background: var(--bg-alt); color: var(--accent); }
.nav-caret {
  flex: 0 0 auto;
  margin-left: 1px;
  color: var(--ink-faint);
  transition: transform .25s ease, color .2s ease;
}
.nav-link:hover .nav-caret { color: var(--accent); }

/* Has-mega trigger: keep menu visible while pointer is between trigger and dropdown */
.has-mega { position: relative; }
.has-mega::after {
  content: ""; position: absolute;
  top: 100%; left: 0; right: 0; height: 12px;
  pointer-events: none;
}
.has-mega:hover::after, .has-mega:focus-within::after { pointer-events: auto; }
.has-mega:hover .nav-link, .has-mega:focus-within .nav-link {
  background: var(--bg-alt);
  color: var(--accent);
}
.has-mega:hover .nav-caret, .has-mega:focus-within .nav-caret {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Mega dropdown */
.has-mega .mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 14px 12px;
  min-width: 260px;
  box-shadow: var(--shadow-pop);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.has-mega .mega::before {
  content: ""; position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 2px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
.mega--wide { min-width: 480px; }

.mega__label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 10px 10px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.mega__grid { display: grid; gap: 2px; padding-top: 6px; }
.mega__grid--2 { grid-template-columns: 1fr 1fr; gap: 2px 8px; }

.mega a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 12px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  position: relative;
}
.mega a::after {
  content: "→";
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%) translateX(-4px);
  color: var(--accent);
  opacity: 0;
  font-weight: 800;
  transition: opacity .18s ease, transform .18s ease;
}
.mega a:hover { background: var(--bg-alt); }
.mega a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.mega__title {
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mega__desc {
  font-size: 12px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
}
.mega a:hover .mega__title { color: var(--accent); }

.mega__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink) !important;
  letter-spacing: -0.005em;
  width: 100%;
  justify-content: center;
  transition: background .18s ease;
}
.mega__more:hover { background: var(--ink); color: #fff !important; }
.mega__more::after { content: none !important; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* Header portal link (선샤인페이) */
.header-portal {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.header-portal:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
}
.header-portal__sun {
  display: inline-flex;
  color: var(--gold);
  animation: spin 14s linear infinite;
}
.header-portal:hover .header-portal__sun { color: var(--gold); }
.header-portal__ext {
  font-size: 12px;
  font-weight: 700;
  opacity: .55;
  margin-left: 1px;
}
@keyframes spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* Hide portal label on small screens, keep icon */
@media (max-width: 880px) {
  .header-portal { padding: 8px 10px; }
}
@media (max-width: 540px) {
  .header-portal span:not(.header-portal__sun):not(.header-portal__ext) { display: none; }
}

/* ───── HERO (3-slide carousel) ───── */
.hero {
  position: relative;
  padding: 48px 0 56px;
  background: var(--bg);
  overflow: hidden;
}

/* Stage holds slides absolutely-positioned for crossfade */
.hero-stage {
  position: relative;
  min-height: clamp(560px, 64vw, 660px);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility .55s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  position: relative; /* lift active out so stage gets natural height */
  inset: auto;
}
.hero-slide.is-leaving {
  transform: translateX(-20px);
}

/* Slider controls — magazine-style segmented tabs */
.hero-controls {
  margin-top: clamp(28px, 4vw, 44px);
}
.hero-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  gap: 0;
}
.hero-dots li { display: flex; }
.hero-dot {
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px;
  padding: 18px 18px 16px;
  text-align: left;
  color: var(--ink-faint);
  transition: color .25s ease, background .2s ease;
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.hero-dots li:last-child .hero-dot { border-right: 0; }
.hero-dot:hover { color: var(--ink); background: var(--bg-alt); }
.hero-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.hero-dot.is-active { color: var(--ink); }

.hero-dot__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  transition: color .25s ease;
}
.hero-dot.is-active .hero-dot__num { color: var(--accent); }

.hero-dot__label {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
}
.hero-dot.is-active .hero-dot__label { font-weight: 800; }

/* Progress bar sits ON the top divider — fills L→R while active */
.hero-dot__progress {
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s linear;
}
.hero-dot.is-active .hero-dot__progress { width: 100%; transition: width 7s linear; }
.hero[data-paused="true"] .hero-dot.is-active .hero-dot__progress { transition: none; }

/* Active indicator caret on the bottom */
.hero-dot::after {
  content: "";
  position: absolute;
  left: 18px; bottom: 12px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.hero-dot.is-active::after { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-dot.is-active .hero-dot__progress { transition: none; width: 100%; }
  .hero-slide { transition: none; }
}

@media (max-width: 720px) {
  .hero-dot { padding: 14px 12px 12px; gap: 4px; }
  .hero-dot::after { left: 12px; }
}
@media (max-width: 540px) {
  .hero-dots { grid-template-columns: repeat(3, 1fr); }
  .hero-dot__label { font-size: 13px; }
  .hero-dot::after { display: none; }
  .hero-dot { padding: 12px 10px 10px; }
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--gold) 0%, transparent 65%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -180px; left: -120px;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 60%);
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
  word-spacing: 0.02em;
}
.eyebrow-dot::before, .eyebrow__dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(13,148,136,.16);
  animation: pulse 2.4s ease-in-out infinite;
  display: inline-block;
}
.eyebrow .eyebrow__dot { content: ""; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,148,136,.30); }
  50%      { box-shadow: 0 0 0 8px rgba(13,148,136,0);  }
}

.hero-h1 {
  font-weight: 750;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  word-spacing: -0.02em;
  margin-top: 18px;
  color: var(--ink);
  text-wrap: balance;
}
.accent-mark {
  position: relative;
  display: inline-block;
  color: var(--accent-deep);
  font-weight: 800;
}
.accent-mark::before {
  content: "";
  position: absolute; left: -3px; right: -3px; bottom: 4px;
  height: 38%;
  background: var(--gold);
  opacity: .85;
  z-index: -1;
  border-radius: 4px;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.2vw, 17px);
  color: var(--ink-muted);
  max-width: 520px;
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
}
.hero-sub b { color: var(--ink); font-weight: 800; }

.hero-cta { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-microcopy {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-microcopy__zero { color: var(--accent); font-weight: 800; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: clamp(420px, 56vw, 540px);
}

/* New compact phone */
.phone {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: clamp(220px, 26vw, 290px);
  aspect-ratio: 9/19;
  background: #000;
  border-radius: 38px;
  padding: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.06),
    0 30px 60px -18px rgba(0,0,0,.4),
    0 6px 18px -6px rgba(0,0,0,.25);
  z-index: 2;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
  50%      { transform: translate(-50%, calc(-50% - 8px)) rotate(-2deg); }
}
.phone-screen {
  background: #F4F4F5;
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 18px; background: #000; border-radius: 999px; z-index: 3;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700;
  color: var(--ink);
  padding: 32px 18px 8px;
}
.phone-status .icons { display: inline-flex; gap: 3px; }
.phone-status .icons span {
  width: 4px; height: 4px; border-radius: 999px; background: var(--ink); opacity: .7;
}

.chat-header {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11.5px; font-weight: 700;
  padding: 8px 14px;
  letter-spacing: -0.005em;
}
.chat-header-mark {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  background: var(--ink); color: var(--gold);
  border-radius: 5px;
  font-size: 10px; font-weight: 800;
}

.chat-body {
  flex: 1;
  padding: 12px 12px 16px;
  background: #9DBED7;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.chat-time {
  align-self: center;
  font-size: 9.5px; font-weight: 600;
  color: rgba(0,0,0,.55);
  background: rgba(255,255,255,.5);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 2px;
}
.chat-msg {
  align-self: flex-start;
  max-width: 80%;
  background: #fff;
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 4px 12px 12px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.chat-card {
  align-self: flex-start;
  width: 92%;
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.18);
}
.chat-card-top { padding: 12px 12px 10px; }
.chat-card-label {
  display: inline-block;
  font-size: 9.5px; font-weight: 800;
  color: #fff;
  background: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.chat-card-title {
  font-size: 13px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.chat-card-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px;
  padding: 3px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.chat-card-row span { color: var(--ink-muted); font-weight: 500; }
.chat-card-row b { color: var(--ink); font-weight: 700; font-size: 10.5px; }
.chat-card-amount {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.chat-card-amount span { font-size: 10.5px; color: var(--ink-muted); font-weight: 600; }
.chat-card-amount b { font-size: 16px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.chat-card-btn {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.chat-typing {
  align-self: flex-start;
  display: inline-flex; gap: 3px;
  background: #fff;
  padding: 7px 10px;
  border-radius: 4px 12px 12px 12px;
}
.chat-typing span {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.4);
  animation: typing 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-2px); }
}

/* Floating cards beside phone */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
  z-index: 3;
  min-width: 180px;
}
.float-card-1 { top: 8%; left: -2%; animation: floaty 6s ease-in-out -1s infinite; }
.float-card-2 { bottom: 6%; right: -4%; animation: floaty 7.5s ease-in-out -2s infinite; min-width: 200px; }

.fc-row { display: flex; align-items: center; gap: 10px; }
.fc-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}
.fc-icon--up { background: #16A34A; color: #fff; font-size: 16px; }
.fc-label { font-size: 11px; color: var(--ink-muted); font-weight: 600; }
.fc-value { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.015em; margin-top: 2px; }

.fc-spark {
  display: flex; align-items: flex-end; gap: 3px;
  margin-top: 10px;
  height: 28px;
}
.fc-spark span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-radius: 2px;
  min-height: 4px;
}
.fc-spark span:last-child { background: linear-gradient(180deg, #16A34A, #0E7C3A); }

/* ── 히어로 콜라주 비주얼 (C안: 디바이스 + 보조카드 + 스탯) ── */
.hero-collage {
  height: auto;
  min-height: clamp(440px, 52vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-collage__inner { position: relative; display: inline-block; }
.hero-shot {
  display: block;
  width: clamp(212px, 22vw, 282px);
  border-radius: 34px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.22));
  position: relative;
  z-index: 2;
}
.hero-subcard {
  position: absolute;
  left: -4%; bottom: 6%;
  width: clamp(170px, 16vw, 216px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 26px 52px -20px rgba(0,0,0,.32);
  background: #fff;
  z-index: 3;
  animation: floaty 7s ease-in-out -1.5s infinite;
}
.hero-subcard img { display: block; width: 100%; }
.float-card.hero-float {
  top: 4%; right: -12%; bottom: auto; left: auto;
  z-index: 4;
  animation: floaty 6.5s ease-in-out infinite;
}
@media (max-width: 880px) {
  .hero-collage { min-height: clamp(360px, 70vw, 460px); }
  .hero-shot { width: clamp(208px, 52vw, 256px); }
  .hero-subcard { display: none; }
  .float-card.hero-float { right: -6%; top: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  .phone, .float-card, .float-card-1, .float-card-2, .hero-subcard { animation: none !important; }
}

/* ── Slide 2: Card Terminal ── */
.terminal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: clamp(240px, 30vw, 310px);
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  border-radius: 24px;
  padding: 14px 14px 16px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.06),
    0 30px 60px -18px rgba(0,0,0,.45),
    0 6px 18px -6px rgba(0,0,0,.25);
  z-index: 2;
  animation: floaty 7s ease-in-out infinite;
  display: flex; flex-direction: column; gap: 12px;
}
@keyframes floaty {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
  50%      { transform: translate(-50%, calc(-50% - 8px)) rotate(-2deg); }
}
.terminal__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.04em;
  padding: 0 4px;
}
.terminal__brand { color: var(--gold); }
.terminal__signal { letter-spacing: 0.08em; color: rgba(255,255,255,.4); }

.terminal__screen {
  position: relative;
  background: linear-gradient(180deg, #DCEDF2, #BFD8E0);
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6);
  overflow: hidden;
}
.terminal__status {
  font-size: 11px; font-weight: 800;
  color: #16653B;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 5px;
}
.terminal__status::before {
  content: ""; width: 7px; height: 7px;
  background: #16A34A;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(22,163,74,.25);
}
.terminal__amount {
  font-size: 32px; font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.terminal__amount span {
  font-size: 14px; font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
}
.terminal__meta {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0,0,0,.12);
}
.terminal__meta > div {
  display: flex; justify-content: space-between;
  font-size: 10.5px;
  color: rgba(0,0,0,.6);
}
.terminal__meta b { color: var(--ink); font-weight: 700; letter-spacing: -0.005em; }

.terminal__seal {
  position: absolute;
  top: 12px; right: 12px;
  color: #16A34A;
  opacity: .6;
}

.terminal__keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px 0 2px;
}
.terminal__keypad span {
  display: grid; place-items: center;
  height: 28px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  border-radius: 7px;
  font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.04);
}
.terminal__key--ok { background: var(--gold) !important; color: #000 !important; }
.terminal__key--alt { background: rgba(201,33,58,.85) !important; color: #fff !important; font-size: 11px !important; }

.terminal__slot {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  margin: 2px 14px 0;
}

/* Card brand chips around terminal float-card */
.terminal-pays {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 10px;
}
.terminal-pays span {
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 7px;
  background: var(--bg-alt);
  border-radius: 4px;
  color: var(--ink);
}

/* ── Slide 3: Franchise POS ── */
.pos {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-1deg);
  width: clamp(320px, 40vw, 440px);
  background: #0F0F12;
  border-radius: 20px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.04),
    0 30px 60px -18px rgba(0,0,0,.45),
    0 6px 18px -6px rgba(0,0,0,.25);
  z-index: 2;
  animation: floaty 7s ease-in-out infinite;
  display: flex; flex-direction: column;
}
.pos__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px 8px;
  font-size: 10.5px; font-weight: 700;
  color: rgba(255,255,255,.7);
}
.pos__brand { color: var(--gold); letter-spacing: 0.04em; }
.pos__store { color: rgba(255,255,255,.45); font-weight: 600; }
.pos__time { color: rgba(255,255,255,.55); }

.pos__main {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
}
.pos__menu { display: flex; flex-direction: column; gap: 8px; }
.pos__menu-row {
  display: flex; align-items: center;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.02em;
}
.pos__menu-cat {
  background: var(--ink);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
}
.pos__menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pos__item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s ease;
}
.pos__item.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.pos__item-name {
  font-size: 11px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.pos__item-price {
  font-size: 10px; font-weight: 700;
  color: var(--ink-muted);
}
.pos__item.is-active .pos__item-price { color: var(--accent-deep); }

.pos__order {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px;
  background: #FAFBFE;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.pos__order-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 800;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}
.pos__order-tag {
  background: var(--gold);
  color: var(--ink);
  font-size: 9.5px; font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.pos__order-list { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; }
.pos__line {
  display: flex; justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-body);
  font-weight: 600;
}
.pos__line span { color: var(--ink-muted); font-weight: 500; }
.pos__line b { font-weight: 700; }
.pos__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.pos__total span { font-size: 11px; font-weight: 700; color: var(--ink-muted); }
.pos__total b { font-size: 17px; font-weight: 900; color: var(--ink); letter-spacing: -0.025em; }

.pos__pay {
  margin-top: 4px;
  background: var(--ink);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: -0.005em;
}


/* ───── Section heads ───── */
.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  max-width: none;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  word-spacing: 0.04em;
  color: #fff;
  padding: 7px 16px 7px 8px;
  background: var(--ink);
  border-radius: 999px;
  margin-bottom: 22px;
}
.kicker::before {
  content: ""; width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(13,148,136,.22);
  animation: pulse 2.4s ease-in-out infinite;
}
.kicker--light {
  background: rgba(255,255,255,.10);
}
.kicker--light::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(243,198,35,.22); }
.section-title {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  word-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title > span { display: block; }
.section-title .hl {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.section-title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 12px;
  background: var(--gold);
  opacity: .85;
  z-index: -1;
  border-radius: 4px;
}
.section-sub {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--ink-muted);
  max-width: 580px;
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
}
.section-sub--right { text-align: right; margin-left: auto; }

/* ───── PROBLEM ───── */
.problem { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.problem__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.pcard {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}
.problem__grid > .pcard:nth-child(2) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-12px);
}
.problem__grid > .pcard:nth-child(2) .pcard__title { color: #fff; }
.problem__grid > .pcard:nth-child(2) .pcard__body { color: rgba(255,255,255,.72); }
.problem__grid > .pcard:nth-child(2) .pcard__index { color: var(--gold); }
.problem__grid > .pcard:nth-child(2) .pcard__big { color: var(--gold); -webkit-text-fill-color: var(--gold); background: none; }
.problem__grid > .pcard:nth-child(2) .pcard__tag { color: rgba(255,255,255,.55); border-top-color: rgba(255,255,255,.18); }
.problem__grid > .pcard:nth-child(2):hover {
  transform: translateY(-16px);
  border-color: var(--ink);
}
.pcard__index {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.pcard__big {
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.pcard__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.45;
  color: var(--ink);
}
.pcard__body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
}
.pcard__tag {
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.problem__close {
  margin-top: clamp(40px, 5vw, 60px);
  font-size: clamp(18px, 1.8vw, 22px);
  text-align: center;
  color: var(--ink-body);
  letter-spacing: -0.01em;
  font-weight: 600;
}
.problem__close .hl { color: var(--accent); font-weight: 800; }
.problem__close em { font-weight: 800; color: var(--accent); }

/* ───── SERVICES (with tabs) ───── */
.services {
  background: var(--bg-alt);
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Tabs */
.svc-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}
.svc-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  transition: background .25s ease, color .25s ease;
}
.svc-tab:hover { color: var(--ink); }
.svc-tab.is-active {
  background: var(--ink);
  color: #fff;
}
.svc-tab__count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0;
}
.svc-tab.is-active .svc-tab__count {
  background: var(--accent);
  color: #fff;
}

.svc-pane { display: none; animation: fadeIn .35s ease; }
.svc-pane.is-active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.svc {
  padding: 28px 24px 26px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: background .3s ease;
  min-height: 300px;
  color: inherit;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}
.svc:hover { background: var(--bg-subtle); }
.svc:hover .svc__more { color: var(--accent); gap: 8px; }
.svc:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.svc__more {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color .25s ease, gap .25s ease;
}
.svc__more svg { transition: transform .25s ease; }
.svc:hover .svc__more svg { transform: translateX(3px); }
.svc__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.svc:hover .svc__icon { background: var(--accent); color: #fff; transform: scale(1.05) rotate(-3deg); }
.svc__icon svg { width: 26px; height: 26px; }
.svc__title {
  font-size: 21px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.3;
}
.svc__lede {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  letter-spacing: -0.008em;
  font-weight: 500;
}
.svc__metrics {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-body);
}
.svc__metrics .metric {
  font-weight: 800;
  color: var(--ink); margin-right: 6px;
  letter-spacing: -0.01em;
}

/* ───── ADDSERVICE (cards inside services tab) ───── */
.addservice__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.add {
  background: var(--ink);
  color: #fff;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s ease;
}
.add:hover { transform: translateY(-3px); }
.add::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(60% 80% at 100% 0%, rgba(13,148,136,.22), transparent 60%);
  z-index: -1;
  opacity: 0; transition: opacity .4s ease;
}
.add:hover::before { opacity: 1; }
.add:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.add__more {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .25s ease, gap .25s ease;
  align-self: flex-start;
}
.add__more svg { transition: transform .25s ease; }
.add:hover .add__more { color: var(--accent); gap: 9px; }
.add:hover .add__more svg { transform: translateX(3px); }
.add__head { display: flex; align-items: baseline; gap: 14px; }
.add__num {
  font-size: 28px; font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.add__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: #fff;
  line-height: 1.25;
}
.add__lede {
  font-size: 15.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.78;
  letter-spacing: -0.008em;
  max-width: 500px;
  font-weight: 500;
}
.add__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.add__metrics > div { display: flex; flex-direction: column; gap: 2px; }
.add__metrics strong {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.add__metrics span {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* ───── USE CASES ───── */
.usecases {
  background: var(--bg-alt);
  padding: clamp(80px, 10vw, 140px) 0;
}
/* 문제해결형 카테고리 맵 (업종 일러스트 → 문제 → 해결) */
.usecases__map {
  display: flex; flex-direction: column;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}
.uc-row {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr) minmax(0, 1.05fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.uc-row:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px rgba(13,148,136,.4); }
.uc-cat {
  position: relative;
  min-height: 152px;
  display: flex; align-items: flex-end;
  padding: 0; overflow: hidden;
  background: var(--bg-alt);
}
.uc-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.uc-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-cat > div:last-child {
  position: relative; z-index: 1; width: 100%;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(255,255,255,.97) 52%, rgba(255,255,255,0));
}
.uc-cat__name { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.uc-cat__ind { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; margin-top: 3px; }
.uc-prob {
  padding: 20px 22px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.uc-prob__lab { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: #c0392b; }
.uc-prob p { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.5; margin-top: 6px; }
.uc-sol {
  padding: 20px 22px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(13,148,136,.04);
}
.uc-sol__lab { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: var(--accent); }
.uc-sol__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.uc-sol__arrow { color: var(--accent); font-weight: 800; margin-right: 2px; }
.uc-tag {
  font-size: 11.5px; font-weight: 700; color: var(--accent);
  background: rgba(13,148,136,.08); border: 1px solid rgba(13,148,136,.16);
  padding: 4px 10px; border-radius: 999px;
}
@media (max-width: 880px) {
  .uc-row { grid-template-columns: 1fr; }
  .uc-cat { min-height: 150px; }
  .uc-prob, .uc-sol { border-left: 0; border-top: 1px solid var(--line); }
}

/* ───── WHY ───── */
.why { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.why__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.why__intro { position: sticky; top: 100px; }
.why__lead {
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.8;
  font-weight: 500;
  max-width: 320px;
}
.why__list { display: flex; flex-direction: column; }
.why-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 2vw, 22px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 30px) 0;
  border-top: 1px solid var(--line);
}
.why-row:last-child { border-bottom: 1px solid var(--line); }
.why-row__ico {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  flex: 0 0 auto;
  transition: background .2s ease, color .2s ease;
}
.why-row:hover .why-row__ico { background: var(--accent); color: #fff; }
.why-row__ico svg { width: 24px; height: 24px; }
.why-row__body h3 {
  font-size: clamp(18px, 1.8vw, 21px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.3;
  display: flex; align-items: baseline; gap: 10px;
}
.why-row__body h3 i {
  font-style: normal;
  font-size: 12px; font-weight: 800;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.why-row__body p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.7;
  letter-spacing: -0.008em;
  font-weight: 500;
  margin-top: 5px;
}
.why-row__body p b { color: var(--ink); font-weight: 800; }
.why-row__metric {
  font-size: 13px; font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@media (max-width: 880px) {
  .why__wrap { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .why-row { grid-template-columns: auto 1fr; }
  .why-row__metric { grid-column: 2; margin-top: 4px; }
}

/* ───── TESTIMONIALS ───── */
.testimonials {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) 0;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
.t {
  grid-column: span 2;
  padding: 32px 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.t:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.t--featured {
  grid-column: span 3;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.t--featured .t__body { color: #fff; }
.t--featured .t__body em { color: var(--accent); font-style: normal; font-weight: 800; }
.t--featured .t__quote { color: var(--accent); }
.t--featured .t__who span { color: rgba(255,255,255,.55); }
.t--featured .t__who strong { color: #fff; }
.t--featured .t__avatar { background: #fff; color: var(--ink); }
.t--featured .t__foot { border-top-color: rgba(255,255,255,.12); }

.t__quote {
  font-size: 56px; font-weight: 900; line-height: 0.6;
  color: var(--accent);
  margin-top: 6px;
  letter-spacing: -0.05em;
}
.t__body {
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-body);
  letter-spacing: -0.012em;
  word-spacing: 0.02em;
  font-weight: 500;
}
.t__body em { font-style: normal; font-weight: 800; color: var(--accent); }
.t__body b { font-weight: 800; color: var(--ink); }
.t__foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.t__avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.t__who { display: flex; flex-direction: column; line-height: 1.3; }
.t__who strong { font-size: 14.5px; color: var(--ink); }
.t__who span { font-size: 12.5px; color: var(--ink-muted); font-weight: 500; }

@media (min-width: 901px) {
  .t-grid > .t:nth-child(1) { grid-column: span 3; }
  .t-grid > .t:nth-child(2),
  .t-grid > .t:nth-child(3) { grid-column: span 3; }
  .t-grid > .t:nth-child(4),
  .t-grid > .t:nth-child(5) { grid-column: span 3; }
}

/* ───── SUB-PAGE HEADER (공지·FAQ·문의 등) ───── */
.page-header {
  background: var(--bg-alt);
  padding: clamp(40px, 5vw, 64px) 0 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--ink-muted); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--ink-faint); margin: 0 2px; }
.breadcrumb__current { color: var(--ink); font-weight: 700; }

.page-header__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 44px);
}
.page-header__text { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.page-header__title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--ink);
}
.page-header__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-muted);
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
}

.page-header__cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  text-align: left;
  transition: background .2s ease, transform .2s ease;
}
.page-header__cta:hover { background: var(--accent); transform: translateY(-2px); }
.page-header__cta strong {
  display: block;
  font-size: 14.5px; font-weight: 800;
  letter-spacing: -0.015em;
}
.page-header__cta span:not(.page-header__cta-icon) {
  display: block;
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.page-header__cta-icon {
  font-size: 22px;
  color: var(--gold);
  font-weight: 800;
}

/* Sub-nav (고객센터 5개 메뉴) */
.page-subnav {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-subnav::-webkit-scrollbar { display: none; }
.page-subnav a {
  position: relative;
  padding: 16px 22px;
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color .2s ease;
}
.page-subnav a:hover { color: var(--ink); }
.page-subnav a.is-active { color: var(--ink); }
.page-subnav a.is-active::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; bottom: -1px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 720px) {
  .page-header__row { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .page-header__cta { align-self: flex-start; }
  .page-subnav a { padding: 14px 14px; font-size: 13px; }
  .page-subnav a.is-active::after { left: 14px; right: 14px; }
}

/* ───── NOTICE BOARD ───── */
.notice-board {
  padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
  background: var(--bg);
}
.notice-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.notice-filters {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.notice-filters > li { display: inline-flex; flex: 0 0 auto; }
.notice-filters button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.notice-filters button:hover { color: var(--ink); border-color: var(--line-strong); }
.notice-filters button.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.notice-filters__count {
  font-size: 11px; font-weight: 800;
  padding: 1px 6px;
  background: rgba(0,0,0,.06);
  border-radius: 999px;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.notice-filters button.is-active .notice-filters__count {
  background: var(--accent);
  color: #fff;
}

.notice-search {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-width: 220px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.notice-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
}
.notice-search svg { color: var(--ink-faint); flex: 0 0 auto; }
.notice-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.notice-search input::placeholder { color: var(--ink-faint); font-weight: 500; }

.notice-board__list {
  border-top: 2px solid var(--ink);
  display: flex; flex-direction: column;
}
.notice-row { border-bottom: 1px solid var(--line); }
.notice-row__link {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  padding: 18px 4px;
  transition: padding-left .2s ease, background .2s ease;
}
.notice-row__link:hover {
  padding-left: 12px;
  background: var(--bg-alt);
}
.notice-row__link:hover .notice-row__title { color: var(--accent); }
.notice-row__link:hover .notice-row__arrow { transform: translateX(4px); color: var(--accent); }

.notice-row__cat {
  display: inline-grid; place-items: center;
  min-width: 64px;
  padding: 4px 10px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}
.notice-row__cat[data-cat="긴급"]    { background: #C9213A; }
.notice-row__cat[data-cat="이벤트"]  { background: var(--accent); }
.notice-row__cat[data-cat="무이자"]  { background: var(--ink); color: var(--gold); }
.notice-row__cat[data-cat="점검"]    { background: var(--ink-muted); }
.notice-row__cat[data-cat="업데이트"]{ background: #16A34A; }
.notice-row__cat[data-cat="공지"]    { background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line-strong); }

.notice-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.notice-row__title {
  font-size: 15.5px; font-weight: 700;
  color: var(--ink-body);
  letter-spacing: -0.018em;
  line-height: 1.45;
  word-break: keep-all;
  transition: color .2s ease;
}
.notice-row__excerpt {
  font-size: 13px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.55;
  letter-spacing: -0.008em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-row__date {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0;
  white-space: nowrap;
}
.notice-row__arrow {
  font-size: 16px; font-weight: 800;
  color: var(--ink-faint);
  transition: color .2s ease, transform .2s ease;
}

.notice-row--error {
  text-align: center;
  padding: 30px 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Skeleton */
.notice-board__skeleton {
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.notice-board__skeleton:first-child { border-top: 2px solid var(--ink); }

.notice-board__empty {
  padding: 56px 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14.5px;
}

.notice-board__foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}
.notice-board__foot a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.notice-board__foot a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .notice-toolbar { flex-direction: column; align-items: stretch; }
  .notice-search { min-width: 0; }
  .notice-row__link {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "cat title"
      ".   excerpt"
      ".   meta";
    gap: 6px 12px;
    padding: 16px 4px;
  }
  .notice-row__cat { grid-area: cat; align-self: start; margin-top: 2px; }
  .notice-row__body { grid-area: title / span 1 / excerpt / span 1; }
  .notice-row__date { grid-area: meta; font-size: 11.5px; }
  .notice-row__arrow { display: none; }
}

/* ───── LEGAL PAGE (이용약관 / 개인정보처리방침 / 마케팅 수신동의) ───── */
.legal-page {
  padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
  background: var(--bg);
}
.legal-page__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.legal-meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: -0.008em;
  font-weight: 500;
}
.legal-meta b { color: var(--ink); font-weight: 800; }
.legal-meta__sep { color: var(--ink-faint); }

/* TOC (왼쪽 sticky) */
.legal-toc {
  position: sticky; top: 92px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  font-size: 13px;
  scrollbar-width: thin;
}
.legal-toc__head {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.legal-toc__head::before {
  content: ""; width: 14px; height: 1px; background: var(--ink-faint);
}
.legal-toc__list {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid var(--line);
  padding-left: 0;
}
.legal-toc__list a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.5;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.legal-toc__list a:hover { color: var(--ink); }
.legal-toc__list a.is-active {
  color: var(--ink);
  border-left-color: var(--accent);
  font-weight: 800;
}

/* 본문 */
.legal-content {
  max-width: 780px;
}
.legal-content > h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 12px;
  color: var(--ink);
}
.legal-content > .legal-intro {
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}

.legal-section {
  margin-top: 44px;
  scroll-margin-top: 96px;
}
.legal-section:first-of-type { margin-top: 0; }
.legal-section > h2 {
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.legal-section > h2 .num {
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  min-width: 32px; height: 24px;
  font-size: 11px; font-weight: 800;
  background: var(--ink); color: #fff;
  border-radius: 4px;
  letter-spacing: 0.04em;
  padding: 0 8px;
  position: relative;
  top: -2px;
}
.legal-section h3 {
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 22px 0 8px;
  scroll-margin-top: 96px;
}
.legal-section p {
  font-size: 14.5px;
  color: var(--ink-body);
  line-height: 1.85;
  letter-spacing: -0.012em;
  margin-bottom: 12px;
  word-break: keep-all;
}
.legal-section ul,
.legal-section ol {
  margin: 8px 0 18px 0;
  display: flex; flex-direction: column; gap: 6px;
}
/* 직계 자식만 스타일링 — 중첩된 ul/ol이 부모 카운터를 상속받지 않게 */
.legal-section ul > li,
.legal-section ol > li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.85;
  letter-spacing: -0.012em;
  word-break: keep-all;
}
.legal-section ul > li::before {
  content: ""; position: absolute;
  left: 6px; top: 0.85em;
  width: 4px; height: 4px;
  background: var(--ink-muted);
  border-radius: 999px;
}

/* 1depth ol — 숫자 카운터 (오렌지) */
.legal-section ol { counter-reset: legal-li; }
.legal-section ol > li {
  counter-increment: legal-li;
  padding-left: 28px;
}
.legal-section ol > li::before {
  content: counter(legal-li) ".";
  position: absolute; left: 0; top: 0;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0;
  min-width: 22px;
}

/* 2depth — 중첩 리스트 간격 + 부모 li 안에서 들여쓰기 */
.legal-section li > ul,
.legal-section li > ol {
  margin: 8px 0 4px;
}

/* 2depth ol — 자체 counter-reset으로 새로 1부터 시작, 한글식 들여쓰기 */
.legal-section ol ol {
  counter-reset: legal-li-2;
}
.legal-section ol ol > li {
  counter-increment: legal-li-2;
  padding-left: 30px;
}
.legal-section ol ol > li::before {
  content: counter(legal-li-2, lower-alpha) ".";
  color: var(--ink-muted);
  font-weight: 700;
}

/* 3depth ol */
.legal-section ol ol ol {
  counter-reset: legal-li-3;
}
.legal-section ol ol ol > li {
  counter-increment: legal-li-3;
}
.legal-section ol ol ol > li::before {
  content: counter(legal-li-3, lower-roman) ".";
  color: var(--ink-faint);
  font-weight: 700;
}

/* 2depth ul (ol 안의 ul) — 작은 점·연한 색으로 위계 표시 */
.legal-section ol > li > ul > li,
.legal-section ul > li > ul > li {
  font-size: 13.5px;
  color: var(--ink-muted);
}
.legal-section ol > li > ul > li::before,
.legal-section ul > li > ul > li::before {
  background: var(--ink-faint);
  width: 3px; height: 3px;
}
.legal-section strong { font-weight: 800; color: var(--ink); }
.legal-section em { font-style: normal; font-weight: 700; color: var(--ink); }
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }

.legal-callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 16px 0 22px;
  border-radius: 0 8px 8px 0;
}
.legal-callout p { margin-bottom: 0; font-size: 13.5px; color: var(--ink-body); }
.legal-callout strong { color: var(--ink); }

.legal-table {
  width: 100%;
  margin: 12px 0 22px;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: -0.008em;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
  word-break: keep-all;
}
.legal-table th {
  background: var(--bg-alt);
  font-weight: 800;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.legal-table td { color: var(--ink-body); }
.legal-table td.tnum-cell { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

.legal-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: -0.008em;
}
.legal-footer b { color: var(--ink); font-weight: 800; }

@media (max-width: 880px) {
  .legal-page__layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 24px;
  }
  .legal-toc__list { border-left: 0; padding-left: 0; gap: 6px; }
  .legal-toc__list a {
    margin-left: 0; padding-left: 0; border-left: 0; padding: 6px 0;
  }
  .legal-toc__list a.is-active { padding-left: 8px; border-left: 2px solid var(--accent); }
}

/* ───── SERVICE DETAIL — 공용 ───── */

/* Image placeholder (이미지 영역 자리표시자) */
.img-ph {
  position: relative;
  width: 100%;
  max-width: var(--ph-w, 100%);
  aspect-ratio: var(--ph-ratio, 16/10);
  background:
    repeating-linear-gradient(135deg, var(--bg-alt) 0 12px, var(--bg-subtle) 12px 24px);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
  color: var(--ink-muted);
}
.img-ph__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  margin-bottom: 4px;
}
.img-ph__size {
  display: inline-block;
  font-size: 13px; font-weight: 800;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.img-ph__hint {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
  max-width: 320px;
}
.img-ph__hint b { color: var(--ink); font-weight: 800; }

/* 서비스 sub-nav (8개 비대면 결제 채널 이동) */
.service-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.service-tabs::-webkit-scrollbar { display: none; }
.service-tabs a {
  position: relative;
  padding: 14px 18px;
  font-size: 13.5px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color .2s ease;
}
.service-tabs a:hover { color: var(--ink); }
.service-tabs a.is-active { color: var(--ink); }
.service-tabs a.is-active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: -1px;
  height: 2px;
  background: var(--ink);
}

/* Service hero — 2컬럼 (좌측 텍스트 + 우측 이미지 영역) */
.svc-hero {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg);
}
.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.svc-hero__text { display: flex; flex-direction: column; gap: 14px; }
.svc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.svc-hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(13,148,136,.2);
}
.svc-hero__title {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--ink);
  word-break: keep-all;
  text-wrap: balance;
}
.svc-hero__title .hl {
  position: relative;
  display: inline-block;
  color: var(--accent-deep);
}
.svc-hero__title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 12px;
  background: var(--gold);
  opacity: .85;
  z-index: -1;
  border-radius: 4px;
}
.svc-hero__sub {
  font-size: clamp(15.5px, 1.2vw, 17px);
  color: var(--ink-muted);
  line-height: 1.78;
  letter-spacing: -0.008em;
  max-width: 540px;
}

.svc-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 22px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}
.svc-hero__stats li {
  display: flex; flex-direction: column; gap: 2px;
  position: relative;
  padding-left: 14px;
}
.svc-hero__stats li::before {
  content: ""; position: absolute;
  left: 0; top: 2px;
  width: 4px; height: 18px;
  background: var(--gold);
  border-radius: 999px;
}
.svc-hero__stats li:nth-child(2)::before { background: var(--accent); }
.svc-hero__stats li:nth-child(3)::before { background: #16A34A; }
.svc-hero__stats li:nth-child(4)::before { background: var(--ink); }
.svc-hero__stats b {
  font-size: 22px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.svc-hero__stats span {
  font-size: 12px; font-weight: 600;
  color: var(--ink-muted);
}

.svc-hero__cta { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Service section common */
.svc-section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.svc-section--alt { background: var(--bg-alt); }
.svc-section__head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.svc-section__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.svc-section__kicker::before {
  content: ""; width: 8px; height: 1px; background: var(--accent);
}
.svc-section__kicker::after {
  content: ""; width: 8px; height: 1px; background: var(--accent);
}
.svc-section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}
.svc-section__title .hl { color: var(--accent); }
.svc-section__sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.78;
  max-width: 620px;
  font-weight: 500;
}

/* How it works (3-step) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 16%; right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 12px;
}
.step__num {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.step:hover .step__num { background: var(--accent); color: #fff; border-color: var(--accent); }
.step__title {
  margin-top: 6px;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.step__desc {
  font-size: 14px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 260px;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
}

/* 4-feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}
.feature-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--gold);
  border-radius: 12px;
  margin-bottom: 6px;
}
.feature-card__num {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.feature-card__title {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.35;
}
.feature-card__desc {
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.65;
  letter-spacing: -0.008em;
}
@media (max-width: 880px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

/* Use case chips */
.usecase-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.usecase-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  color: var(--ink-body);
  letter-spacing: -0.012em;
}
.usecase-chips li::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

/* Usage steps (PC + Mobile) */
.usage-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usage-step {
  display: flex; flex-direction: column;
  gap: 14px;
}
.usage-step__head {
  display: flex; align-items: center; gap: 10px;
}
.usage-step__num {
  display: inline-grid; place-items: center;
  min-width: 32px; height: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.02em;
}
.usage-step__label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.usage-step__title {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.usage-step__desc {
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.65;
  letter-spacing: -0.008em;
}
@media (max-width: 880px) { .usage-steps { grid-template-columns: 1fr; gap: 28px; } }

.usage-block { display: flex; flex-direction: column; gap: 28px; }
.usage-block + .usage-block { margin-top: clamp(40px, 5vw, 64px); }
.usage-block__h3 {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.usage-block__h3::before {
  content: ""; width: 6px; height: 22px;
  border-radius: 2px;
  background: var(--accent);
}

/* Service detail final CTA */
.svc-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.svc-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 90% 10%, rgba(243,198,35,.22), transparent 60%),
    radial-gradient(50% 80% at 10% 100%, rgba(13,148,136,.18), transparent 60%);
  z-index: -1;
}
.svc-cta__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 12px;
}
.svc-cta__title .hl { color: var(--gold); }
.svc-cta__sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.78;
  max-width: 580px;
  margin: 0 auto;
}
.svc-cta__buttons {
  margin-top: 24px;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}

/* Other (related) services grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}
.related-card__title {
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.related-card__desc {
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
@media (max-width: 880px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }

/* SVC Hero responsive */
@media (max-width: 880px) {
  .svc-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
}

/* ───── FAQ FULL PAGE ───── */
.faq-board { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); background: var(--bg); }
.faq-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
/* (필터·검색은 .notice-filters / .notice-search 스타일 재사용) */
.faq-board__list {
  border-top: 2px solid var(--ink);
  display: flex; flex-direction: column;
}
.faq-board__list .faq-item { border-bottom: 1px solid var(--line); }
.faq-board__list .faq-item summary { padding: 22px 6px; gap: 16px; }
.faq-board__list .faq-item__cat { min-width: 64px; padding: 4px 10px; font-size: 11.5px; }
.faq-board__list .faq-item__q { font-size: 16px; line-height: 1.55; }
.faq-board__list .faq-item__a { padding: 0 6px 22px 86px; font-size: 14.5px; line-height: 1.85; }
@media (max-width: 720px) {
  .faq-board__list .faq-item__a { padding-left: 6px; }
}
.faq-board__empty { padding: 56px 0; text-align: center; color: var(--ink-muted); font-size: 14.5px; }

/* ───── FORM PAGES (contact / partnership) ───── */
.form-page {
  padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
  background: var(--bg);
}
.form-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 880px) {
  .form-page__grid { grid-template-columns: 1fr; }
}
/* 사이트맵 등 3열 변형 — 반응형 단계 축소 */
.form-page__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .form-page__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .form-page__grid--3 { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.form-card__title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-card__sub {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}
.form-grid > .form-row--full { grid-column: 1 / -1; }

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row__label {
  font-size: 12.5px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.form-row__label em { font-style: normal; color: var(--accent); margin-left: 3px; font-weight: 800; }
.form-row__hint {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 2px;
  letter-spacing: -0.005em;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  letter-spacing: -0.012em;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-faint); font-weight: 500; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,148,136,.15);
  background: #fff;
}
.form-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Radio/checkbox group */
.form-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.form-pills label {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.form-pills label:hover { color: var(--ink); }
.form-pills input { position: absolute; opacity: 0; pointer-events: none; }
.form-pills input:checked + span,
.form-pills label:has(input:checked) { color: #fff; }
.form-pills label:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
}

.form-consent {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 10px;
}
.form-consent label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-body);
  letter-spacing: -0.012em;
  line-height: 1.55;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: 0 0 auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  margin-top: 1px;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.form-consent a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--accent); }

.form-submit {
  margin-top: 18px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.form-submit__note {
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: -0.005em;
}

/* Form success — full-screen modal */
.form-success {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.form-success__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .25s ease;
}
.form-success__panel {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 44px 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.45);
  animation: modalIn .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.form-success__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(22,163,74,.12);
  color: #16A34A;
  margin-bottom: 8px;
}
.form-success__title { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.form-success__sub { font-size: 14.5px; color: var(--ink-muted); line-height: 1.78; max-width: 380px; }
.form-success__sub a b { color: var(--ink); }
.form-success__actions {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  width: 100%;
}
.form-success__actions .btn { width: 100%; justify-content: center; }
.form-success__home {
  font-size: 13px; font-weight: 600;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.form-success__home:hover { color: var(--accent); }

@keyframes modalIn {
  from { opacity: 0; transform: scale(.94) translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .form-success__panel, .form-success__backdrop { animation: none; }
}

/* Right side info panel (contact/partnership) */
.info-card {
  position: sticky; top: 92px;
  display: flex; flex-direction: column;
  gap: 0;
}
.info-card__block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 14px;
}
.info-card__block--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.info-card__label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.info-card__block--dark .info-card__label { color: var(--gold); }
.info-card__title {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.025em;
  color: inherit;
  margin-bottom: 4px;
}
.info-card__phone {
  display: block;
  font-size: 28px; font-weight: 900;
  letter-spacing: -0.02em;
  color: inherit;
  margin: 8px 0 4px;
  font-feature-settings: "tnum";
}
.info-card__sub {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 500;
}
.info-card__block--dark .info-card__sub { color: rgba(255,255,255,.7); }

.info-card__list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.info-card__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-body);
  line-height: 1.6;
}
.info-card__list li b { color: var(--ink); font-weight: 800; min-width: 60px; }
.info-card__block--dark .info-card__list li { color: rgba(255,255,255,.78); }
.info-card__block--dark .info-card__list li b { color: #fff; }

@media (max-width: 880px) {
  .info-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ───── PARTNERSHIP TYPE CARDS ───── */
.partner-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.partner-types__card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 18px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.partner-types__card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.partner-types__card.is-selected {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.partner-types__num {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.partner-types__card.is-selected .partner-types__num { color: var(--gold); }
.partner-types__name {
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: inherit;
}
.partner-types__desc {
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.55;
  letter-spacing: -0.008em;
}
.partner-types__card.is-selected .partner-types__desc { color: rgba(255,255,255,.65); }

@media (max-width: 880px) {
  .partner-types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .partner-types { grid-template-columns: 1fr; }
}

/* ───── RESOURCES (자료실) ───── */
.resources { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); background: var(--bg); }
.resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 4px;
}
.resource-card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}
.resource-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.resource-card__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.resource-card__cat {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
}
.resource-card__format {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 7px;
  border-radius: 4px;
}
.resource-card__format[data-format="ZIP"]    { color: #C76C0D; background: rgba(243,198,35,.15); }
.resource-card__title {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
  word-break: keep-all;
}
.resource-card__desc {
  font-size: 13px; font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.65;
  letter-spacing: -0.008em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resource-card__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: -0.005em;
}
.resource-card__meta b { color: var(--ink-muted); font-weight: 700; }
.resource-card__cta {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -0.012em;
  transition: gap .25s ease;
}
.resource-card:hover .resource-card__cta { gap: 8px; }

.resources__skeleton {
  height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.resources__empty {
  padding: 56px 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14.5px;
}

/* ───── CUSTOMER CENTER (Notices + FAQ) ───── */
.centerhub {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.centerhub__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
}

.hub-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  display: flex; flex-direction: column;
}
.hub-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.hub-card__title {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hub-card__title a { color: inherit; transition: color .2s ease; }
.hub-card__title a:hover { color: var(--accent); }
.hub-card__more {
  font-size: 13px; font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  transition: color .2s ease, gap .2s ease;
  display: inline-flex; align-items: center; gap: 4px;
}
.hub-card__more:hover { color: var(--accent); gap: 8px; }

/* Notice list */
.notice-list { display: flex; flex-direction: column; }
.notice-item__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  transition: padding-left .2s ease;
}
.notice-list > li:last-child .notice-item__link { border-bottom: 0; }
.notice-item__link:hover { padding-left: 6px; }
.notice-item__link:hover .notice-item__title { color: var(--accent); }

.notice-item__cat {
  display: inline-grid; place-items: center;
  min-width: 56px;
  padding: 3px 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}
.notice-item__cat[data-cat="긴급"]    { background: #C9213A; }
.notice-item__cat[data-cat="이벤트"]  { background: var(--accent); }
.notice-item__cat[data-cat="무이자"]  { background: var(--ink); color: var(--gold); }
.notice-item__cat[data-cat="점검"]    { background: var(--ink-muted); }
.notice-item__cat[data-cat="업데이트"]{ background: #16A34A; }

.notice-item__title {
  font-size: 14.5px; font-weight: 600;
  color: var(--ink-body);
  letter-spacing: -0.012em;
  line-height: 1.45;
  word-break: keep-all;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s ease;
}
.notice-item__date {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0;
}

/* Notice skeleton */
.notice-skeleton {
  height: 22px;
  margin: 16px 0;
  background: linear-gradient(90deg, var(--bg-alt) 0%, #ECEEF8 50%, var(--bg-alt) 100%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 0% 0%; }
  to   { background-position: -200% 0%; }
}

/* FAQ list */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item details { width: 100%; }
.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__cat {
  display: inline-grid; place-items: center;
  min-width: 48px;
  padding: 3px 8px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.faq-item__q {
  font-size: 15px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.45;
  word-break: keep-all;
}
.faq-item__icon {
  position: relative;
  width: 18px; height: 18px;
  flex: 0 0 auto;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, background .25s ease;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item details[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item details[open] .faq-item__icon::before,
.faq-item details[open] .faq-item__icon::after { background: var(--accent); }
.faq-item details[open] .faq-item__q { color: var(--accent); }

.faq-item__a {
  padding: 0 4px 18px;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
  word-break: keep-all;
  animation: fadeDown .25s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* FAQ skeleton */
.faq-skeleton {
  height: 56px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.faq-skeleton:last-child { border-bottom: 0; }

.hub-error {
  padding: 18px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  text-align: center;
}

/* ───── SUNSHINE PAY (Merchant Portal banner) ───── */
.sunshine {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--bg);
}
.sunshine__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: clamp(64px, 9vw, 120px) 24px;
  text-align: center;
}
.sunshine__card::before {
  content: "";
  position: absolute; inset: 0;
  background: url(/assets/img/sunshine/glow.webp) center / cover no-repeat;
  opacity: .92;
  z-index: -1;
  pointer-events: none;
}
.sunshine__in {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sunshine__kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(255,255,255,.72);
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.sunshine__kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
}
.sunshine__title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--ink);
  word-break: keep-all;
  text-wrap: balance;
}
.sunshine__title .hl { color: var(--accent); }
.sunshine__sub {
  font-size: 16px;
  color: #44464d;
  line-height: 1.8;
  letter-spacing: -0.008em;
  font-weight: 500;
  max-width: 540px;
}
.sunshine__features {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  justify-content: center;
  margin-top: 4px;
}
.sunshine__features li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: -0.005em;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  color: var(--ink);
  backdrop-filter: blur(4px);
}
.sunshine__features li .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--gold); flex: 0 0 auto;
}
.sunshine__cta {
  margin-top: 10px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.sunshine__primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: #fff;
  font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sunshine__primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.sunshine__primary svg { transition: transform .25s ease; }
.sunshine__primary:hover svg { transform: translate(2px, -2px); }
.sunshine__ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.55);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.sunshine__ghost:hover { background: #fff; border-color: var(--ink); }

/* Gold variant for kicker (used in dark sections) */
.kicker--gold { background: rgba(243,198,35,.12); }
.kicker--gold::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(243,198,35,.22); }

.sunshine__note {
  margin-top: 6px;
  font-size: 11.5px;
  color: #6b6e76;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.sunshine__note .tnum { color: var(--ink); font-weight: 700; margin-right: 4px; }

@media (max-width: 880px) {
  .sunshine__card { padding: clamp(48px, 12vw, 64px) 20px; }
}

/* ───── FINAL CTA ───── */
.final-cta {
  background: var(--ink-section);
  color: #fff;
  padding: clamp(96px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 65% at 92% 0%, rgba(13,148,136,.42), transparent 62%),
    radial-gradient(50% 80% at 8% 100%, rgba(243,198,35,.20), transparent 62%);
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  text-align: center;
}
.final-cta__title {
  font-size: clamp(36px, 5.6vw, 70px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
  word-spacing: -0.01em;
  margin-top: 16px;
  margin-bottom: 26px;
  color: #fff;
  text-wrap: balance;
}
.final-cta__title span { display: block; }
.final-cta__title .hl { color: var(--accent); }
.final-cta__sub {
  max-width: 660px;
  margin: 0 auto;
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.78;
  letter-spacing: -0.008em;
  font-weight: 500;
}
.final-cta__sub b { font-weight: 800; color: #fff; }
.final-cta__buttons {
  margin-top: 36px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.final-cta__buttons .btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 16px 36px -8px rgba(13,148,136,.5);
}
.final-cta__buttons .btn--primary:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px #fff;
}
.final-cta__assure {
  margin-top: 26px;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* ───── FOOTER ───── */
.site-footer {
  background: var(--section-soft);
  color: rgba(255,255,255,.72);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col h4.mt { margin-top: 28px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color .2s ease;
  font-weight: 500;
}
.footer-col a:hover { color: var(--accent); }

.footer-corp {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.5);
  letter-spacing: -0.005em;
  font-weight: 500;
}
.footer-corp strong { letter-spacing: -0.015em; color: rgba(255,255,255,.85); }
.footer-corp__cert {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.7);
}
.footer-corp__cert svg { color: var(--gold); opacity: .9; flex: 0 0 auto; }
.footer-corp__cert b { color: rgba(255,255,255,.92); font-weight: 700; letter-spacing: 0.02em; }
.footer-contact {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-contact strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  transition: color .2s ease;
}
.footer-legal a:hover { color: var(--accent); }
.footer-disc {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  text-align: center;
  font-weight: 500;
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.02em;
  text-align: right;
  font-weight: 500;
}

/* ───── Responsive ───── */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .t, .t--featured, .t-grid > .t:nth-child(n) { grid-column: span 1 !important; }
  .problem__grid > .pcard:nth-child(2) { transform: none; }
  .centerhub__grid { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-copy, .footer-disc { text-align: center; }
}

@media (max-width: 880px) {
  .primary-nav { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--bg-alt);
  }
  .nav-toggle span { width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; }

  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 460px; }
  .float-card-1 { left: 2%; }
  .float-card-2 { right: 2%; }

  .section-head--split { grid-template-columns: 1fr; }
  .section-sub--right { text-align: left; margin-left: 0; margin-top: 8px; }

  .problem__grid { grid-template-columns: 1fr; }
  .addservice__grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-col--brand { grid-column: span 1; }
  .hero-visual { height: 420px; }
  .phone { width: 220px; }
  .float-card { min-width: 150px; padding: 10px 12px; }
  .float-card-2 { min-width: 170px; }
}

/* Mobile nav drawer */
.nav-open .primary-nav {
  display: block;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 40;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.nav-open .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
.nav-open .primary-nav a { padding: 14px 16px; font-size: 16px; }
.nav-open .has-mega .mega { position: static; transform: none; box-shadow: none; opacity: 1; pointer-events: auto; padding: 4px 12px 8px 28px; min-width: 0; background: transparent; border: 0; }

/* ───── FLOATING QUICK CONTACT ───── */
.quick-contact {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  font-family: inherit;
}

/* FAB toggle (collapsed state) */
.quick-contact__toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45), 0 4px 10px -4px rgba(0,0,0,.25);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease, padding .25s ease;
}
.quick-contact__toggle:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -10px rgba(13,148,136,.55), 0 6px 14px -4px rgba(0,0,0,.2);
}
.quick-contact__icon { display: inline-flex; }
.quick-contact__caret {
  display: inline-flex;
  margin-left: 2px;
  transition: transform .25s ease;
  opacity: .7;
}
.quick-contact__pulse {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--accent);
  opacity: .35;
  animation: qc-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes qc-pulse {
  0%   { transform: scale(1);    opacity: .45; }
  60%  { transform: scale(1.18); opacity: 0;   }
  100% { transform: scale(1.18); opacity: 0;   }
}

/* Open state — flip toggle into close shape */
.quick-contact.is-open .quick-contact__toggle {
  background: var(--ink);
  padding: 14px 18px;
}
.quick-contact.is-open .quick-contact__toggle:hover { background: #1a1a1a; transform: none; }
.quick-contact.is-open .quick-contact__caret { transform: rotate(180deg); }
.quick-contact.is-open .quick-contact__pulse { display: none; }

/* Panel */
.quick-contact__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: clamp(300px, 28vw, 380px);
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 8px 24px -10px rgba(0,0,0,.18);
  padding: 22px 22px 20px;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1), visibility .25s ease;
}
.quick-contact.is-open .quick-contact__panel {
  opacity: 1; visibility: visible;
  transform: none;
}
.quick-contact__panel::after {
  content: ""; position: absolute;
  bottom: -7px; right: 30px;
  width: 14px; height: 14px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
  border-radius: 2px;
}

/* Panel header */
.quick-contact__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.quick-contact__eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.quick-contact__title {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--ink);
  word-break: keep-all;
}
.quick-contact__title span {
  position: relative;
  display: inline-block;
  color: var(--accent-deep);
}
.quick-contact__title span::before {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: 2px; height: 35%;
  background: var(--gold);
  opacity: .6;
  z-index: -1;
  border-radius: 3px;
}
.quick-contact__close {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--ink-muted);
  transition: background .2s ease, color .2s ease;
}
.quick-contact__close:hover { background: var(--bg-alt); color: var(--ink); }

/* Phone direct call */
.quick-contact__phone {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: 12px;
  margin-bottom: 14px;
  transition: background .2s ease;
}
.quick-contact__phone:hover { background: #E9ECF7; }
.quick-contact__phone-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
}
.quick-contact__phone-meta { display: flex; flex-direction: column; line-height: 1.3; }
.quick-contact__phone-meta strong {
  font-size: 17px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quick-contact__phone-meta span {
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
}

/* OR divider */
.quick-contact__divider {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0 14px;
  font-size: 11px; font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quick-contact__divider::before,
.quick-contact__divider::after {
  content: ""; flex: 1;
  height: 1px; background: var(--line);
}

/* Form fields */
.quick-contact__form { display: flex; flex-direction: column; gap: 10px; }
.qc-field { display: flex; flex-direction: column; gap: 4px; }
.qc-field__label {
  font-size: 11.5px; font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
}
.qc-field__label em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-faint);
  margin-left: 2px;
}
.qc-field input,
.qc-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  resize: none;
}
.qc-field textarea { line-height: 1.55; }
.qc-field input::placeholder,
.qc-field textarea::placeholder { color: var(--ink-faint); font-weight: 500; }
.qc-field input:focus,
.qc-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,148,136,.18);
  background: #fff;
}
.qc-field input:invalid:not(:placeholder-shown),
.qc-field textarea:invalid:not(:placeholder-shown) {
  border-color: #C9213A;
}

/* Consent */
.qc-consent {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
  line-height: 1.5;
}
.qc-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  flex: 0 0 auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
  margin-top: 2px;
  transition: background .15s ease, border-color .15s ease;
  position: relative;
}
.qc-consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.qc-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.qc-consent a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qc-consent a:hover { color: var(--accent); }

/* Submit */
.qc-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
}

/* Success state */
.quick-contact__success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 18px 8px 8px;
  gap: 6px;
  animation: fadeDown .35s ease;
}
.quick-contact__success[hidden],
.quick-contact__form[hidden] { display: none; }
.quick-contact__success-icon { color: #16A34A; margin-bottom: 4px; }
.quick-contact__success-title {
  font-size: 16px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.quick-contact__success-sub {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Mobile: full-width-ish, attached bottom */
@media (max-width: 540px) {
  .quick-contact__toggle .quick-contact__label { display: none; }
  .quick-contact__toggle { padding: 14px; }
  .quick-contact__panel {
    width: calc(100vw - 32px);
    right: -8px;
  }
}

/* ───── 찾아오시는 길 — 본점/운영 카카오맵 ───── */
.location-maps {
  display: grid;
  grid-template-columns: 1fr;   /* 한 줄에 하나씩 — 지도가 본문 폭 전체를 채움 */
  gap: 20px;
  margin-bottom: 36px;
}
.location-map {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;            /* 지도 모서리를 카드 라운드에 맞춰 클립 */
  background: #fff;
}
.location-map__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.location-map__tag {
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--accent);
  padding: 3px 11px;
  border-radius: 999px;
}
.location-map__tag--ops { background: var(--gold); color: var(--ink); }
.location-map__addr {
  font-size: 13px;
  color: var(--ink-muted);
  word-break: keep-all;
  line-height: 1.45;
}
/* roughmap이 카드 폭을 100% 채우도록 (마커 정렬 위해 라이브러리 렌더 폭 = 컨테이너 폭) */
.location-map__canvas { width: 100%; font-size: 0; }
.location-map__canvas .root_daum_roughmap { width: 100% !important; }
/* 카카오 지도 하단 주소·출처 표시줄 숨김 (주소는 카드 헤더에 이미 표기) */
.location-map__canvas .root_daum_roughmap .cont { display: none !important; }

/* 섹션 은은한 배경 텍스처 (multiply 합성으로 흰 배경 제거, 모티프만 옅게) */
.sec-bg { position: relative; isolation: isolate; }
.sec-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sec-bg);
  background-size: cover;
  background-position: var(--sec-bg-pos, center);
  mix-blend-mode: multiply;
  opacity: var(--sec-bg-op, 0.6);
  pointer-events: none;
  z-index: 0;
}
.sec-bg > .container { position: relative; z-index: 1; }

/* 서비스 페이지 일러스트 (생성 이미지) — img-ph 자리표시자 대체 */
.svc-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .quick-contact__pulse { display: none; }
}
