/* ADBASE 랜딩 가이드 — 공개 사이트 스타일 (v4)
   톤: 흰 배경 + 초굵은 대형 타이포(검정) + 코랄 레드 포인트. 큰 여백, 분할 히어로, 가로 슬라이드 카드. */

:root {
  --coral: #ff5a50;
  --coral-dark: #e8443a;
  --coral-soft: #fff0ee;
  --ink: #1a1a1a;
  --text: #3a3a3a;
  --muted: #777;
  --line: #e6e6e6;
  --soft: #f6f5f3;
  --white: #fff;
  --warn-bg: #fff7ed;
  --warn-line: #fed7aa;
  --warn-ink: #9a3412;
  --radius: 4px;
  --max: 1240px;
  --header-h: 84px;
  --display: "Archivo Black", "Black Han Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Impact, sans-serif;
  --font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; color: var(--text); background: var(--white);
  font-family: var(--font); font-size: 16px; line-height: 1.8; font-weight: 400;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.wrap.narrow { max-width: 860px; }
.dot { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--coral); margin-left: .08em; vertical-align: baseline; }
.red { color: var(--coral); }

/* ───── Header ───── */
body { padding-top: var(--header-h); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: #fff; border-top: 3px solid var(--ink); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-inner { max-width: 1600px; margin: 0 auto; padding: 0 44px; height: calc(var(--header-h) - 3px); display: flex; align-items: center; gap: 44px; }
.brand { font-family: var(--display); font-size: 25px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; text-transform: uppercase; line-height: 1; }
.brand .dot { width: 8px; height: 8px; margin-left: 3px; }
.brand { display: inline-flex; align-items: center; max-width: 280px; }
.brand .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand.has-logo img { height: 40px; width: auto; max-width: 240px; object-fit: contain; }
.main-nav { display: flex; align-items: stretch; gap: 6px; height: 100%; flex: 1; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-item > a { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 14px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.2; position: relative; }
.nav-item > a .en { font-family: var(--font); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); font-weight: 600; font-style: normal; margin-top: 3px; }
.nav-item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--coral); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.nav-item:hover > a, .nav-item:focus-within > a { color: var(--coral); }
.nav-item:hover > a::after, .nav-item:focus-within > a::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-fee { color: var(--coral); font-size: 14.5px; font-weight: 600; }
.nav-fee:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { background: var(--coral); color: #fff; font-weight: 700; font-size: 14.5px; padding: 0 34px; height: 40px; display: inline-flex; align-items: center; white-space: nowrap; transition: background .15s; }
.header-cta:hover { background: var(--coral-dark); }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 13px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: 1240px; margin: 0 auto; padding: 34px 40px 38px; display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.mega-lead strong { display: block; font-family: var(--display); font-size: 30px; line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.mega-lead p { font-size: 14px; color: var(--muted); margin: 12px 0 18px; line-height: 1.7; }
.mega-lead a.more-link { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--coral); border-bottom: 2px solid var(--coral); }
.mega-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; align-content: start; }
.mega-links a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 15px; }
.mega-links a small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.mega-links a:hover { color: var(--coral); }

.flash { max-width: var(--max); margin: 16px auto 0; padding: 12px 16px; font-size: 14px; }
.flash-success { background: #ecfdf5; color: #065f46; }
.flash-error { background: #fef2f2; color: #991b1b; }

/* ───── Buttons ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; border-radius: 0; }
.btn-lg { min-height: 58px; padding: 0 36px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-more { display: inline-flex; align-items: center; justify-content: center; min-width: 214px; height: 52px; border: 1px solid var(--coral); color: var(--coral); font-weight: 500; letter-spacing: .02em; background: #fff; transition: background .15s, color .15s; }
.btn-more:hover { background: var(--coral); color: #fff; }
.text-link { font-weight: 700; font-size: 15px; border-bottom: 2px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }
.text-link-accent { color: var(--coral); }

/* ───── Common headings ───── */
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; color: var(--ink); margin: 0; font-weight: 400; }
.section { padding: 120px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 56px; }
.display { display: block; }
.section-head h2 .ko-sub { display: block; font-family: var(--font); font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; margin-top: 22px; color: var(--ink); }
.section-head .display { font-size: clamp(40px, 6.4vw, 92px); }
.section-head h2:not(.display) { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); margin: 18px 0 0; max-width: 640px; font-size: 17px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.more { margin: 36px 0 0; text-align: center; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ───── Hero (split) ───── */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; background: #fff; }
.hero-block { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; background: var(--coral); }
.hero-block .zig { position: absolute; left: 22px; top: 50%; width: 22px; height: 70px; transform: translateY(-50%); }
.hero-block .orb { position: absolute; left: 33%; top: 44%; width: 42px; height: 42px; border-radius: 50%; background: #a8a458; display: grid; place-items: center; animation: float 5s ease-in-out infinite; }
.hero-block .orb::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #4a4a4a; }
.hero-block .scroll { position: absolute; right: 24px; bottom: 36px; writing-mode: vertical-rl; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hero-inner { position: relative; width: 100%; max-width: 1600px; margin: 0 auto; padding: 60px 100px 60px 40px; display: flex; justify-content: flex-end; }
.hero-copy { text-align: right; max-width: 980px; }
.hero-ko { font-size: clamp(22px, 3.1vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.3; }
.hero .display { font-size: clamp(54px, 10.4vw, 168px); margin-top: 6px; }
.hero-lead { font-size: clamp(17px, 1.7vw, 24px); font-weight: 300; color: var(--ink); margin: 34px 0 0; line-height: 1.7; }
.hero-lead b { color: var(--coral); font-weight: 500; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; justify-content: flex-end; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-points li::before { content: "●"; color: var(--coral); font-size: 8px; margin-right: 8px; vertical-align: middle; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ───── Category slider ───── */
#categories { overflow-x: clip; }
.slider { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: calc(50% - 50vw); padding-right: 40px; }
.slider::-webkit-scrollbar { display: none; }
.slide-card { flex: 0 0 min(494px, 80vw); scroll-snap-align: start; display: flex; flex-direction: column; }
.slide-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 32px; color: #fff; transition: transform .35s; }
.slide-card:hover .slide-visual { transform: translateY(-6px); }
.slide-visual .no { font-family: var(--display); font-size: 22px; opacity: .9; }
.slide-visual .big { font-family: var(--display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; text-transform: uppercase; word-break: break-all; }
.slide-visual .sub { font-size: 15px; font-weight: 700; margin-top: 10px; display: block; font-family: var(--font); text-transform: none; letter-spacing: -.01em; }
.slide-visual::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.14); }
.tone-0 { background: var(--coral); } .tone-1 { background: var(--ink); } .tone-2 { background: #a8a458; } .tone-3 { background: #5b6cff; }
.slide-body { padding-top: 20px; }
.slide-body h3 { font-size: 22px; font-weight: 800; }
.slide-body p { font-size: 15px; color: var(--muted); margin: 8px 0 12px; }
.slide-body ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.slide-body li a { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border: 1px solid var(--line); color: var(--text); }
.slide-body li a:hover { border-color: var(--coral); color: var(--coral); }
.slider-bar { position: relative; height: 1px; background: var(--line); margin-top: 34px; }
.slider-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 27px; background: var(--coral); transition: left .1s; }
.slider-foot { display: flex; justify-content: flex-end; margin-top: 44px; }

/* ───── Statement (outlined letters) ───── */
.statement { position: relative; overflow: hidden; padding: 150px 0; }
.statement .outline { position: absolute; font-family: var(--display); color: transparent; -webkit-text-stroke: 1.5px #c9c9c9; line-height: .8; pointer-events: none; user-select: none; }
.statement .o1 { font-size: 200px; left: 48%; top: -30px; } .statement .o2 { font-size: 220px; left: 38%; bottom: -60px; } .statement .o3 { font-size: 220px; right: 6%; bottom: 20px; }
.statement-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.statement h2 { font-size: clamp(30px, 4.2vw, 58px); font-weight: 300; line-height: 1.4; letter-spacing: -.04em; }
.statement h2 b { font-weight: 800; color: #0b0b2e; }
.statement h2 em { font-style: normal; color: var(--coral); font-weight: 700; display: block; }
.statement p.lead { margin-top: 38px; font-size: 18px; font-weight: 300; color: var(--ink); line-height: 1.8; }
.statement-panel { background: var(--soft); padding: 40px 44px; position: relative; z-index: 1; }
.statement-panel ol { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.statement-panel li { counter-increment: s; display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.statement-panel li:last-child { border-bottom: 0; }
.statement-panel li::before { content: "0" counter(s); font-family: var(--display); font-size: 22px; color: var(--coral); min-width: 38px; }
.statement-panel strong { display: block; color: var(--ink); font-size: 17px; }
.statement-panel span { font-size: 14.5px; color: var(--muted); }

/* ───── Service map (SEO: all links) ───── */
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.map-col { padding: 28px 28px 34px 0; border-right: 1px solid var(--line); }
.map-col + .map-col { padding-left: 28px; }
.map-col:last-child { border-right: 0; }
.map-col h3 { font-size: 22px; font-weight: 800; }
.map-col h3 a:hover { color: var(--coral); }
.map-col .en { display: block; font-size: 11px; letter-spacing: .16em; color: var(--coral); font-weight: 700; margin-bottom: 8px; }
.map-col ul { list-style: none; padding: 0; margin: 18px 0 0; }
.map-col li a { display: block; padding: 9px 0; font-size: 15px; font-weight: 500; border-bottom: 1px dashed var(--line); }
.map-col li a:hover { color: var(--coral); padding-left: 4px; }
.map-col li a { transition: padding .15s, color .15s; }

/* ───── Features / steps ───── */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.feature { padding: 32px 28px 36px 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.feature span { font-family: var(--display); font-size: 40px; color: var(--coral); line-height: 1; }
.feature h3 { font-size: 20px; font-weight: 800; margin: 18px 0 10px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; padding: 28px 24px 30px; background: var(--soft); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: "0" counter(step); font-family: var(--display); font-size: 54px; line-height: 1; color: var(--coral); margin-bottom: 14px; }
.steps strong { color: var(--ink); font-size: 18px; }
.steps span { font-size: 15px; color: var(--muted); }

/* ───── Notices ───── */
.notice-wide, .notice-box { background: var(--warn-bg); border-left: 4px solid #f97316; color: var(--warn-ink); padding: 22px 28px; }
.notice-wide strong, .notice-box strong { display: block; margin-bottom: 6px; font-size: 15px; }
.notice-wide p, .notice-box p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.notice-wide a, .notice-box a { color: inherit; text-decoration: underline; }
.notice-box { margin-top: 36px; }

/* ───── Cards: category / blog / related ───── */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cat-card { border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; transition: border-color .2s; background: #fff; }
.cat-card:hover { border-color: var(--ink); }
.cat-card h2, .cat-card h3 { font-size: 24px; font-weight: 800; }
.cat-card h2 a:hover, .cat-card h3 a:hover { color: var(--coral); }
.cat-card > p { color: var(--muted); margin: 10px 0 0; }
.cat-children { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-children a { display: inline-block; font-size: 13.5px; font-weight: 600; padding: 5px 14px; border: 1px solid var(--line); }
.cat-children a:hover { border-color: var(--coral); color: var(--coral); }
.cat-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: 26px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ink); padding-top: 22px; }
.blog-card > span { font-size: 12.5px; color: var(--coral); font-weight: 700; letter-spacing: .04em; }
.blog-card h2, .blog-card h3 { font-size: 20px; line-height: 1.45; font-weight: 800; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--coral); }
.blog-card p { font-size: 15px; color: var(--muted); margin: 0; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.related-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: color .15s, padding .15s; }
.related-links a:hover { color: var(--coral); padding-left: 10px; }
.related-block { margin-top: 64px; }
.related-block h2 { font-size: 22px; margin-bottom: 14px; }

/* ───── FAQ ───── */
.faq-list { border-top: 3px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); background: #fff; }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 56px 24px 4px; position: relative; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary small { display: block; color: var(--coral); font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.faq-list summary span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--coral); transition: transform .2s; }
.faq-list details[open] summary span { transform: translateY(-50%) rotate(45deg); }
.faq-list details > div { padding: 0 4px 26px; color: var(--text); }

/* ───── CTA panel ───── */
.cta-panel { background: var(--coral); color: #fff; padding: 84px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-panel h3 { color: #fff; font-family: var(--font); font-weight: 800; font-size: clamp(26px, 3.4vw, 44px); position: relative; }
.cta-panel p { color: rgba(255,255,255,.92); max-width: 600px; margin: 18px auto 0; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; position: relative; }
.cta-panel .btn-primary { background: var(--ink); color: #fff; }
.cta-panel .btn-primary:hover { background: #000; }
.cta-panel .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-panel .btn-ghost:hover { background: #fff; color: var(--coral); }
.cta-panel small { display: block; margin-top: 22px; color: rgba(255,255,255,.8); font-size: 12.5px; position: relative; }

/* ───── Sub pages ───── */
.subhero { padding: 100px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.subhero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: var(--coral); }
.subhero h1 { font-family: var(--font); font-size: clamp(34px, 5.4vw, 72px); font-weight: 900; letter-spacing: -.045em; line-height: 1.15; }
.subhero h1::after { content: ""; display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--coral); margin-left: .12em; }
.subhero p { color: var(--muted); font-size: 18px; margin: 22px 0 0; max-width: 680px; }
.page-hero { padding: 64px 0 76px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: var(--coral); }
.page-hero h1 { font-size: clamp(32px, 4.8vw, 64px); font-weight: 900; letter-spacing: -.045em; line-height: 1.2; max-width: 980px; }
.page-lead { font-size: 19px; font-weight: 300; color: var(--ink); margin: 24px 0 0; max-width: 760px; line-height: 1.8; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--coral); }
.crumbs em { font-style: normal; color: var(--ink); font-weight: 700; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.rich-content { font-size: 17px; line-height: 1.95; color: var(--text); }
.rich-content h2 { font-size: 30px; font-weight: 800; margin: 2.4em 0 .7em; padding-top: 1.1em; border-top: 3px solid var(--ink); }
.rich-content h2:first-child, .rich-content .sr-only + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.rich-content h3 { font-size: 21px; font-weight: 800; margin: 1.8em 0 .5em; }
.rich-content ul, .rich-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.rich-content li { margin: .5em 0; }
.rich-content li::marker { color: var(--coral); }
.rich-content strong { color: var(--ink); }
.rich-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 4px; }
.rich-content table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: 15px; }
.rich-content th, .rich-content td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.rich-content th { border-bottom: 2px solid var(--ink); color: var(--ink); }
.side-stack { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.side-card { border: 1px solid var(--line); padding: 26px; background: #fff; }
.side-card > strong { display: block; color: var(--ink); font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.side-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
.side-card .btn + .btn { margin-top: 8px; }
.side-cta { background: var(--coral-soft); border-color: #ffd0cb; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 11px 0; font-size: 14.5px; font-weight: 600; color: var(--text); }
.side-links a:hover { color: var(--coral); }

.article-page { padding: 72px 0 120px; }
.article-page header { margin-bottom: 40px; }
.article-page h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.3; letter-spacing: -.045em; }
.article-cta { margin-top: 64px; padding: 44px; background: var(--coral-soft); border-left: 6px solid var(--coral); }
.article-cta h2 { font-size: 24px; margin: 0 0 8px; }
.article-cta p { color: var(--muted); }

.sitemap-tree { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.sitemap-tree h2 { font-size: 22px; font-weight: 800; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 8px; }
.sitemap-tree h2 a:hover { color: var(--coral); }
.sitemap-tree ul { list-style: none; margin: 0; padding: 0; }
.sitemap-tree li a { display: block; padding: 8px 0 8px 14px; border-bottom: 1px dashed var(--line); font-size: 15.5px; position: relative; }
.sitemap-tree li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); transform: translateY(-50%); }
.sitemap-tree li a:hover { color: var(--coral); }

.not-found { padding: 140px 0; text-align: center; }
.not-found span { display: block; font-family: var(--display); font-size: 120px; line-height: 1; color: var(--coral); }
.not-found h1 { font-size: 30px; margin: 12px 0 14px; }

/* ───── Footer ───── */
.site-footer { background: var(--ink); color: #bbb; padding: 90px 0 44px; font-size: 14.5px; }
.footer-top { max-width: var(--max); margin: 0 auto; padding: 0 40px 56px; border-bottom: 1px solid #333; }
.footer-big { font-family: var(--display); color: #fff; font-size: clamp(40px, 8vw, 120px); line-height: 1; text-transform: uppercase; }
.footer-big .dot { background: var(--coral); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 56px 40px 0; display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { margin: 12px 0 0; color: #999; line-height: 1.75; font-size: 13.5px; }
.footer-brand a { color: #fff; text-decoration: underline; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col > span:first-child, .footer-col > strong { color: #fff; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.footer-col a { color: #999; font-size: 13.5px; line-height: 1.5; }
.footer-col a:hover { color: var(--coral); }
.footer-phone { color: #999; }
.footer-note { max-width: var(--max); margin: 48px auto 0; padding: 26px 40px 0; border-top: 1px solid #333; color: #777; font-size: 12.5px; line-height: 1.85; }

/* ───── Floating buttons ───── */
.fab-wrap { position: fixed; right: 28px; bottom: 28px; z-index: 150; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fab { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, opacity .2s; padding: 0; }
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 28px; height: 28px; }
.fab-mail { background: var(--coral); box-shadow: 0 8px 22px rgba(255,90,80,.4); }
.fab-mail:hover { background: var(--coral-dark); }
.fab-top { background: #fff; color: var(--coral); border-color: var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.1); opacity: 0; pointer-events: none; height: 0; margin-top: -10px; }
.fab-top.show { opacity: 1; pointer-events: auto; height: 64px; margin-top: 0; }

/* ───── Responsive ───── */
@media (max-width: 1280px) {
  .header-inner { gap: 20px; padding: 0 24px; }
  .nav-item > a { padding: 0 9px; font-size: 14.5px; }
  .nav-fee { display: none; }
}
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav-right { display: none; }
  .main-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; height: auto; background: #fff; overflow-y: auto; padding: 8px 24px 40px; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-item > a { flex-direction: row; align-items: baseline; gap: 10px; height: auto; padding: 18px 0 8px; font-size: 18px; }
  .nav-item > a::after { display: none; }
  .nav-item > a .en { margin: 0; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; }
  .mega-inner { display: block; padding: 0 0 16px; }
  .mega-lead { display: none; }
  .mega-links { grid-template-columns: 1fr; gap: 0; }
  .mega-links a { padding: 9px 0 9px 14px; border: 0; font-weight: 500; font-size: 15px; color: var(--text); }
  .mega-links a small { display: none; }
  .nav-mobile-cta { display: block; margin-top: 22px; background: var(--coral); color: #fff; text-align: center; padding: 16px; font-weight: 700; }
  .hero-block { width: 100%; height: 38%; bottom: auto; }
  .hero { align-items: flex-end; min-height: auto; padding-top: 38vh; }
  .hero-inner { padding: 40px 24px 60px; justify-content: flex-start; }
  .hero-copy, .hero-buttons, .hero-points { text-align: left; justify-content: flex-start; }
  .hero-block .orb { left: 62%; top: 40%; }
  .statement-grid, .content-layout { grid-template-columns: 1fr; gap: 40px; }
  .map-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .map-col:nth-child(2) { border-right: 0; } .map-col:nth-child(3) { padding-left: 0; }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .side-stack { position: static; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap, .footer-inner, .footer-top { padding-left: 20px; padding-right: 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .statement { padding: 90px 0; }
  .statement .outline { display: none; }
  .map-grid, .feature-grid, .steps, .blog-grid, .related-links, .cat-grid, .sitemap-tree { grid-template-columns: 1fr; }
  .map-col, .map-col + .map-col { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature + .feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-buttons .btn { width: 100%; }
  .slider { gap: 20px; padding-right: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 56px 24px; }
  .cta-actions .btn { width: 100%; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .rich-content { font-size: 16px; }
  .rich-content h2 { font-size: 24px; }
  .fab-wrap { right: 14px; bottom: 14px; }
  .fab { width: 54px; height: 54px; }
  .fab-top.show { height: 54px; }
  .subhero, .page-hero { padding-top: 56px; padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .js .reveal { opacity: 1; transform: none; } }

/* ───── Portfolio / reviews ───── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.work-card { display: flex; flex-direction: column; }
.work-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); display: block; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-thumb.no-img { display: grid; place-items: center; padding: 24px; background: var(--coral); color: #fff; font-family: var(--display); font-size: 26px; text-align: center; line-height: 1.2; }
.work-badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; letter-spacing: .04em; }
.work-body { padding-top: 18px; }
.work-body .cat { font-size: 12.5px; color: var(--coral); font-weight: 700; letter-spacing: .04em; }
.work-body h2, .work-body h3 { font-size: 20px; font-weight: 800; margin: 6px 0 8px; }
.work-body h2 a:hover, .work-body h3 a:hover { color: var(--coral); }
.work-body p { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { font-size: 12.5px; padding: 3px 11px; border: 1px solid var(--line); color: var(--text); }
.work-hero-img { margin: 0 0 40px; background: var(--soft); }
.work-hero-img img { width: 100%; height: auto; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { border: 1px solid var(--line); padding: 32px; background: #fff; }
.review-card .stars { color: var(--coral); letter-spacing: 3px; font-size: 15px; }
.review-card p { margin: 14px 0 18px; font-size: 16.5px; color: var(--ink); line-height: 1.8; }
.review-card cite { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 600; }
.glossary-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.glossary-nav a { display: inline-block; padding: 5px 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.glossary-nav a:hover { border-color: var(--coral); color: var(--coral); }
@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work-grid, .review-grid { grid-template-columns: 1fr; } .brand.has-logo img { height: 32px; } }
@media (max-width: 1440px) { .nav-item > a { padding: 0 10px; font-size: 14px; } }

/* ───── Floating contact buttons / inquiry modal ───── */
.fab { position: relative; }
.fab-kakao { background: #fee500; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.fab-telegram { background: #27a7e7; box-shadow: 0 8px 22px rgba(39,167,231,.4); }
.fab-inquiry { background: var(--coral); box-shadow: 0 8px 22px rgba(255,90,80,.4); }
.fab-inquiry:hover { background: var(--coral-dark); }
.fab[data-label]::before { content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 11px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.fab[data-label]:hover::before, .fab[data-label]:focus-visible::before { opacity: 1; }
.inq-modal[hidden] { display: none; }
.inq-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.inq-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.inq-box { position: relative; background: #fff; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px 32px 30px; border-top: 6px solid var(--coral); }
.inq-box h2 { font-size: 26px; font-weight: 900; }
.inq-sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.inq-close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); }
.inq-box label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.inq-box label small { font-weight: 400; color: var(--muted); }
.inq-box input[type=text], .inq-box input[type=tel], .inq-box input:not([type]), .inq-box textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #ccc; border-radius: 0; font-size: 16px; font-weight: 400; background: #fff; }
.inq-box input:focus, .inq-box textarea:focus { outline: 2px solid var(--coral); border-color: var(--coral); }
.inq-box .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inq-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 12.5px !important; color: var(--muted) !important; line-height: 1.6; }
.inq-check input { margin-top: 3px; flex: none; accent-color: var(--coral); }
.inq-check a { text-decoration: underline; }
.inq-msg { min-height: 22px; font-size: 14px; margin: 4px 0 12px; }
.inq-msg.ok { color: #0a7a3d; font-weight: 700; }
.inq-msg.err { color: #c62828; font-weight: 700; }
@media (max-width: 640px) { .fab[data-label]::before { display: none; } .inq-box { padding: 30px 22px 24px; } }

/* ───── Floating button attention effect (pulse ring + wiggle) ───── */
.fab-kakao::after, .fab-telegram::after, .fab-inquiry::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 3px solid currentColor; opacity: 0; animation: fab-ring 2.4s ease-out infinite;
}
.fab-kakao { color: #fee500; }
.fab-telegram { color: #27a7e7; }
.fab-inquiry { color: var(--coral); }
.fab-kakao::after { animation-delay: 0s; }
.fab-telegram::after { animation-delay: .8s; }
.fab-inquiry::after { animation-delay: 1.6s; }
@keyframes fab-ring {
  0%   { transform: scale(1);   opacity: .75; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab-inquiry svg { animation: fab-wiggle 4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes fab-wiggle {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-12deg); }
  90% { transform: rotate(10deg); }
  94% { transform: rotate(-6deg); }
  97% { transform: rotate(3deg); }
}
.fab:hover::after, .fab:focus-visible::after { animation-play-state: paused; opacity: 0; }
