@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* 색은 회사 로고에서 가져왔다: 먹색 글자, 금색·청회색 물결. */
:root {
  --gold: #d39a55;
  --gold-deep: #9a6520;      /* 흰 바탕 위 작은 글씨용 */
  --slate: #6f7a88;
  --brand: var(--gold);
  --brand-tint: #f7f1e8;
  --ink: #232425;
  --sub: #62656b;
  --line: #e6e4df;
  --gray: #f4f3f0;
  --dark: #26272a;
  --bg: #ffffff;
  --r: 8px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.arr { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
a:hover > .arr, a:hover .more .arr, a:hover .state .arr { transform: translateX(4px); }
.cat { font-size: 13px; font-weight: 500; opacity: 0.75; }

/* ---------- 머리 ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.logo { position: relative; padding-bottom: 9px; }
.wordmark { font-size: 36px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.swoosh { position: absolute; left: -4%; bottom: 0; width: 108%; height: 10px; overflow: visible; }
.swoosh path { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.swoosh .g { stroke: var(--gold); } .swoosh .s { stroke: var(--slate); }
.logo.small { padding-bottom: 7px; }
.logo.small .swoosh { height: 7px; }
.logo.small img { height: 24px; }
.logo.small .wordmark { font-size: 24px; }
nav.gnb { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; }
nav.gnb a { padding: 6px 0; border-bottom: 2px solid transparent; }
nav.gnb a:hover, nav.gnb a[aria-current] { border-bottom-color: var(--ink); }
nav.gnb a.lang { font-weight: 600; color: var(--sub); border: 0; }
nav.gnb a.lang:hover { color: var(--ink); }

/* ---------- 메인: 첫 화면 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr); gap: 24px; padding-top: 12px; }
.hero-main::after { content: ""; position: absolute; left: 44px; right: 44px; top: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold) 0 46%, transparent 46% 54%, #8f99a6 54% 100%); opacity: 0.9; width: 72px; }
.hero-main { position: relative; display: flex; align-items: flex-end; min-height: 500px; border-radius: var(--r); background: var(--dark); color: #fff; padding: 44px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: calc(100% - 320px); }
.hero-copy h1 br { display: none; }
.hero-copy h1 { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 700; margin: 12px 0 22px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.hero-main .phone { position: absolute; right: 64px; top: 54px; }
.hero-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 24px; }
.side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; border-radius: var(--r); padding: 24px 56px 24px 24px; min-height: 150px; transition: transform 0.2s ease; }
.side:hover { transform: translateY(-3px); }
.side strong { font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; font-weight: 700; }
.side .arr { position: absolute; right: 24px; bottom: 28px; }
.side.gray { background: var(--gray); }
.side.dark { background: var(--slate); color: #fff; }
.side.tint { background: var(--brand-tint); }
.slogan { text-align: center; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; padding: 110px 0 30px; }
.slogan b { color: var(--brand); font-weight: 800; }

/* 정리되는 휴대전화 */
.phone { width: 248px; padding: 12px; background: #0e0f10; outline: 1px solid rgba(255, 255, 255, 0.16); border-radius: 40px; box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.55); flex: none; }
.phone .screen { position: relative; height: 396px; background: #f6f4f0; border-radius: 29px; overflow: hidden; }
.phone .notch { position: absolute; top: 10px; left: 50%; width: 56px; height: 14px; margin-left: -28px; border-radius: 999px; background: #0e0f10; z-index: 3; }
.grid { position: absolute; top: 44px; left: 8px; width: 208px; height: 268px; }
.folder { position: absolute; width: 84px; height: 84px; border-radius: 22px; background: rgba(26, 29, 36, 0.08); opacity: 0; transform: scale(0.8); transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s; }
.folder::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -14px; height: 6px; border-radius: 3px; background: rgba(26, 29, 36, 0.08); }
.tile { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px; transform: translate(var(--mx), var(--my)) rotate(var(--mr)); transition: transform 0.9s cubic-bezier(0.6, 0, 0.2, 1); transition-delay: var(--d); }
.tile.c0 { background: #d39a55; } .tile.c1 { background: #7f8894; } .tile.c2 { background: #2f3033; } .tile.c3 { background: #e7cfa9; }
.phone.tidy .tile { transform: translate(var(--tx), var(--ty)) scale(0.8); }
.phone.tidy .folder { opacity: 1; transform: none; }
.dock { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 56px; border-radius: 20px; background: rgba(26, 29, 36, 0.08); display: flex; align-items: center; justify-content: space-around; padding: 0 10px; }
.dock i { width: 36px; height: 36px; border-radius: 11px; background: #cfccc5; }

/* ---------- 구역 ---------- */
section { padding: 80px 0; }
section.line { padding-top: 0; }
section.line > .wrap { border-top: 1px solid var(--line); padding-top: 80px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; }
.all, .text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.text-link { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* 서비스 카드 */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc { display: flex; flex-direction: column; min-height: 280px; border-radius: var(--r); background: var(--gray); padding: 28px; transition: transform 0.2s ease; }
a.svc:hover { transform: translateY(-3px); }
.svc h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 10px; }
.svc p { color: var(--sub); font-size: 15px; }
.svc h3 small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--gold-deep); border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 4px; white-space: nowrap; }
.svc .state { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.svc.ht { background: var(--dark); color: #fff; }
.svc.ht p { color: rgba(255, 255, 255, 0.7); }

/* 소개 띠 */
.band { background: var(--brand-tint); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.band p { color: var(--sub); margin: 14px 0 22px; max-width: 32em; }
.check { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; font-weight: 500; }
.check li { padding-left: 28px; position: relative; }
.check li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 18px 22px; }
.two .step { background: var(--gray); }
.step b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.step strong { display: block; font-size: 17px; }
.step span { color: var(--sub); font-size: 15px; }

/* 원칙 */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.values > div { border-top: 2px solid var(--ink); padding-top: 20px; }
.values .n { font-size: 13px; font-weight: 600; color: var(--sub); }
.values h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 8px; }
.values p { color: var(--sub); font-size: 15px; }
.values.stack { grid-template-columns: 1fr; gap: 28px; }

/* ---------- 하위 페이지 ---------- */
.sub-head { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.crumb { font-size: 14px; font-weight: 600; color: var(--gold-deep); margin-bottom: 14px; }
.sub-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.sub-head .lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--sub); max-width: 34em; margin-top: 18px; }
.sub-head.feature { background: var(--brand-tint); border: 0; padding: 64px 0; }
.sub-head.feature .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.prose p { font-size: 18px; line-height: 1.8; max-width: 36em; }
.prose p + p { margin-top: 18px; }
dl.info { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; margin: 0; border-top: 1px solid var(--ink); }
dl.info dt, dl.info dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
dl.info dt { font-weight: 600; padding-right: 32px; }
dl.info dd { color: var(--sub); }
dl.info a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.note { color: var(--sub); font-size: 15px; margin-top: 18px; }
.mail { display: inline-block; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; border-bottom: 3px solid var(--brand); padding-bottom: 2px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 400; color: var(--sub); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--sub); padding: 0 32px 22px 0; }
.list { border-top: 1px solid var(--ink); }
.list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }

/* 문서(개인정보처리방침) */
.doc .wrap { max-width: 920px; }
.doc h2 { font-size: 21px; margin: 44px 0 12px; }
.doc h2:first-of-type { margin-top: 36px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc dl.info { margin-top: 16px; }
.table { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--r); }
.doc table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 14.5px; line-height: 1.55; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; background: var(--gray); white-space: nowrap; }
.doc tr:last-child td { border-bottom: 0; }

/* ---------- 바닥 ---------- */
footer.site { background: var(--gray); margin-top: 40px; padding: 56px 0 40px; font-size: 14px; }
.foot-top { align-items: flex-start; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.foot-cols a { display: block; color: var(--sub); padding: 4px 0; }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; color: var(--sub); }
.foot-bottom a { border-bottom: 1px solid currentColor; }

@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  header.site .wrap { height: 68px; }
  .wordmark { font-size: 28px; }
  .logo img { height: 28px; }
  nav.gnb { gap: 18px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 16px; }
  .hero-main { min-height: 0; padding: 28px 24px; flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .hero-main .phone { position: static; align-self: center; }
  .hero-copy { max-width: none; }
  .hero-side { grid-template-rows: none; gap: 12px; }
  .side { min-height: 0; padding: 20px 52px 20px 20px; gap: 8px; }
  .side strong br { display: none; }
  .side .arr { bottom: 22px; right: 20px; }
  .slogan { padding: 72px 0 10px; }
  section { padding: 56px 0; }
  section.line > .wrap { padding-top: 56px; }
  .svc-grid, .values, .band .wrap, .two, .sub-head.feature .wrap { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .band .wrap, .two { gap: 28px; }
  .sub-head { padding: 40px 0 44px; }
  .sub-head.feature .phone { justify-self: center; }
  .foot-cols { gap: 36px; }
  dl.info { grid-template-columns: 1fr; }
  dl.info dt { border-bottom: 0; padding-bottom: 0; }
  dl.info dd { padding-top: 4px; }
}
@media (max-width: 420px) {
  nav.gnb { gap: 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .folder, .side, .svc, .arr { transition: none; }
}
