/* ===== UNIQUE COMPANY — COMMON STYLES ===== */
:root {
  --blue:    #1a5fb4;
  --blue-dk: #1246a0;
  --blue-lt: #e8f0fd;
  --gold:    #c9a227;
  --gray:    #f4f4f4;
  --gray2:   #e0e0e0;
  --gray3:   #666;
  --dark:    #1a1a2e;
  --r:       10px;
  --nav-h:   62px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:"Noto Sans KR", sans-serif; color:#333; background:#fff; }

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background:var(--blue-dk);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 40px; height:var(--nav-h);
  box-shadow:0 2px 12px rgba(0,0,0,.2);
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo img { height:30px; filter:brightness(0) invert(1); }
.nav-logo .fb { font-size:18px; font-weight:900; color:#fff; letter-spacing:-.5px; display:none; }
.nav-logo .fb em { color:var(--gold); font-style:normal; }
.nav-links { display:flex; list-style:none; }
.nav-links > li > a {
  display:block; padding:0 15px; line-height:var(--nav-h);
  color:rgba(255,255,255,.88); font-size:14px; font-weight:500;
  text-decoration:none; transition:.2s; white-space:nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { background:rgba(255,255,255,.12); color:#fff; }
.nav-links li { position:relative; }
.dropdown {
  display:none; position:absolute; top:var(--nav-h); left:0;
  background:#fff; min-width:160px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  border-radius:0 0 8px 8px; overflow:hidden;
}
.nav-links li:hover .dropdown { display:block; }
.dropdown a { padding:12px 16px; color:#333; font-size:13px; display:block; }
.dropdown a:hover { background:var(--blue-lt); color:var(--blue); }

/* ── LAYOUT ── */
.page-wrap { padding-top:var(--nav-h); }
.container { max-width:1100px; margin:0 auto; padding:0 40px; }
section { padding:72px 0; }

/* ── TYPOGRAPHY ── */
.sec-label { font-size:13px; font-weight:700; letter-spacing:3px; color:var(--blue); text-transform:uppercase; margin-bottom:10px; }
.sec-title { text-align:center; margin-bottom:50px; }
.sec-title h2 { font-size:clamp(24px,3.5vw,38px); font-weight:900; color:var(--dark); letter-spacing:-.5px; line-height:1.3; }
.sec-title h2 em { color:var(--blue); font-style:normal; }
.sec-title p { font-size:16px; color:var(--gray3); margin-top:14px; line-height:1.8; }
.section-sub {
  font-size:17px; font-weight:800; color:var(--dark); margin-bottom:16px;
  display:flex; align-items:center; gap:10px;
}
.section-sub::before { content:""; width:4px; height:18px; background:var(--blue); border-radius:2px; flex-shrink:0; }

/* ── BUTTONS ── */
.btn-p { background:var(--gold); color:#fff; padding:13px 28px; border-radius:6px; font-size:14px; font-weight:700; text-decoration:none; transition:.2s; display:inline-block; }
.btn-p:hover { background:#b8901e; transform:translateY(-2px); }
.btn-o { background:transparent; color:#fff; padding:13px 28px; border-radius:6px; font-size:14px; font-weight:600; text-decoration:none; border:2px solid rgba(255,255,255,.5); transition:.2s; display:inline-block; }
.btn-o:hover { border-color:#fff; background:rgba(255,255,255,.1); }

/* ── BADGES ── */
.bg-blue   { background:var(--blue);   color:#fff; padding:2px 7px; border-radius:3px; font-size:11px; font-weight:700; white-space:nowrap; }
.bg-green  { background:#28a745;       color:#fff; padding:2px 7px; border-radius:3px; font-size:10px; font-weight:700; white-space:nowrap; }
.bg-orange { background:#fd7e14;       color:#fff; padding:2px 7px; border-radius:3px; font-size:10px; font-weight:700; white-space:nowrap; }
.bg-teal   { background:#0dcaf0;       color:#fff; padding:2px 7px; border-radius:3px; font-size:10px; font-weight:700; white-space:nowrap; }
.bg-red    { background:#dc3545;       color:#fff; padding:2px 7px; border-radius:3px; font-size:10px; font-weight:700; white-space:nowrap; }
.bg-gray   { background:#6c757d;       color:#fff; padding:2px 7px; border-radius:3px; font-size:10px; font-weight:700; white-space:nowrap; }
.bg-gold   { background:var(--gold);   color:#fff; padding:2px 7px; border-radius:3px; font-size:10px; font-weight:700; white-space:nowrap; }

/* ── CARDS ── */
.card-white  { background:#fff;        border-radius:var(--r); padding:28px; }
.card-gray   { background:var(--gray); border-radius:var(--r); padding:28px; }
.card-blue   { background:linear-gradient(135deg,var(--blue-dk),var(--blue)); color:#fff; border-radius:var(--r); padding:28px; }
.card-border { background:#fff; border:1px solid var(--gray2); border-radius:var(--r); padding:28px; transition:.2s; }
.card-border:hover { border-color:var(--blue); box-shadow:0 4px 16px rgba(26,95,180,.1); }
.card-top-blue { background:var(--gray); border-radius:var(--r); padding:26px; border-top:3px solid var(--blue); }

/* ── GRIDS ── */
.g2  { display:grid; grid-template-columns:1fr 1fr;             gap:22px; }
.g3  { display:grid; grid-template-columns:repeat(3,1fr);       gap:22px; }
.g33 { display:grid; grid-template-columns:repeat(3,1fr);       gap:16px; }
.g4  { display:grid; grid-template-columns:repeat(4,1fr);       gap:18px; }

/* ── CHECKLIST ── */
.chk  { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.chk1 { list-style:none; }
.chk li, .chk1 li {
  display:flex; align-items:flex-start; gap:8px;
  font-size:15px; color:#444; line-height:1.6; padding:5px 0;
  border-bottom:1px solid var(--gray2);
}
.chk li:last-child, .chk1 li:last-child { border-bottom:none; }
.chk li::before, .chk1 li::before { content:"✓"; color:var(--blue); font-weight:900; flex-shrink:0; margin-top:2px; }

/* ── MOCKUP (screen preview) ── */
.mock { background:#fff; border:1px solid var(--gray2); border-radius:var(--r); overflow:hidden; }
.mock-bar {
  background:var(--blue); height:34px;
  display:flex; align-items:center; padding:0 14px; gap:8px;
}
.mock-bar .dots { display:flex; gap:5px; }
.mock-bar .dots i { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.35); }
.mock-bar span { color:#fff; font-size:13px; font-weight:600; }
.mock-body { padding:14px; }
.mock-table { width:100%; border-collapse:collapse; font-size:11px; }
.mock-table th { background:var(--gray); padding:7px 9px; text-align:left; font-weight:700; color:#555; border:1px solid var(--gray2); }
.mock-table td { padding:6px 8px; border:1px solid var(--gray2); color:#444; }
.mock-table tr.row-green { background:#d4edda; }
.mock-table tr.row-gray  { background:#e9ecef; }

/* ── DEV CASE CARD ── */
.dev-case { background:var(--gray); border-radius:var(--r); padding:28px 30px; margin-bottom:18px; }
.dc-co { font-size:17px; font-weight:800; color:var(--blue); margin-bottom:5px; }
.dc-sub { font-size:12px; color:#888; margin-bottom:10px; }
.dc-desc { font-size:14px; color:#555; line-height:1.8; margin-bottom:14px; }

/* ── STEPS FLOW (horizontal) ── */
.steps { display:flex; align-items:stretch; }
.steps .st {
  flex:1; background:var(--gray); padding:18px 14px; text-align:center; position:relative;
}
.steps .st:not(:last-child)::after {
  content:"→"; position:absolute; right:-13px; top:50%; transform:translateY(-50%);
  font-size:18px; color:var(--blue); font-weight:700; z-index:1;
}
.steps .st-n {
  width:28px; height:28px; border-radius:50%; background:var(--blue); color:#fff;
  font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center;
  margin:0 auto 8px;
}
.steps .st p { font-size:13px; color:#555; line-height:1.6; }
.steps .st strong { font-size:13px; display:block; margin-bottom:5px; }

/* ── PROCESS BANNER ── */
.proc-banner { background:linear-gradient(135deg,var(--blue-dk),var(--blue)); border-radius:var(--r); padding:32px; margin-bottom:22px; color:#fff; }
.proc-banner h4 { font-size:17px; font-weight:800; margin-bottom:20px; }
.proc-flow { display:flex; align-items:center; gap:0; flex-wrap:wrap; }
.proc-step { flex:1; min-width:100px; background:rgba(255,255,255,.15); border-radius:6px; padding:14px 12px; text-align:center; margin:4px; }
.proc-step .pw { font-size:11px; color:rgba(255,255,255,.7); margin-bottom:5px; font-weight:600; }
.proc-step .pa { font-size:13px; font-weight:700; line-height:1.5; }
.proc-arr { color:rgba(255,255,255,.5); font-size:18px; padding:0 2px; flex-shrink:0; }

/* ── CTA BLUE ── */
.cta-blue { background:linear-gradient(135deg,var(--blue-dk),var(--blue)); color:#fff; border-radius:var(--r); padding:26px; text-align:center; font-size:16px; font-weight:800; line-height:1.7; }

/* ── YEAR-END FLOW ── */
.ye-flow { display:flex; gap:0; margin-bottom:28px; overflow-x:auto; }
.ye-s { flex:1; min-width:110px; padding:16px 10px; text-align:center; color:#fff; }
.ye-s:nth-child(odd)  { background:var(--blue); }
.ye-s:nth-child(even) { background:var(--blue-dk); }
.ye-n { width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.25); color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 6px; }
.ye-s p { font-size:11px; line-height:1.5; }

/* ── DIVIDER ── */
.divider { height:1px; background:var(--gray2); margin:24px 0; }

/* ── SVC INTRO BANNER ── */
.svc-intro { background:#fff; border-radius:var(--r); padding:34px 42px; margin-bottom:28px; display:flex; align-items:center; gap:40px; }
.si-text .si-sub { font-size:11px; color:var(--blue); font-weight:700; letter-spacing:2px; margin-bottom:7px; text-transform:uppercase; }
.si-text h3 { font-size:clamp(22px,2.5vw,30px); font-weight:900; color:var(--dark); margin-bottom:12px; line-height:1.35; }
.si-text p  { font-size:16px; color:var(--gray3); line-height:1.9; }
.si-icon { width:130px; height:130px; border-radius:50%; background:linear-gradient(135deg,var(--blue),#2a7be4); display:flex; align-items:center; justify-content:center; font-size:50px; flex-shrink:0; }

/* ── FOOTER ── */
footer { background:var(--dark); color:rgba(255,255,255,.6); padding:34px; text-align:center; }
.ft-logo { font-size:18px; font-weight:900; color:#fff; margin-bottom:8px; }
.ft-logo em { color:var(--gold); font-style:normal; }
.ft-links { display:flex; justify-content:center; gap:22px; margin-bottom:12px; }
.ft-links a { color:rgba(255,255,255,.4); font-size:13px; text-decoration:none; }
.ft-links a:hover { color:#fff; }
.ft-copy { font-size:13px; color:rgba(255,255,255,.3); }

/* ── SCROLL TOP ── */
#totop {
  position:fixed; bottom:26px; right:26px; width:42px; height:42px;
  border-radius:50%; background:var(--blue); color:#fff; border:none; cursor:pointer;
  font-size:16px; box-shadow:0 4px 12px rgba(26,95,180,.4);
  display:none; align-items:center; justify-content:center; z-index:900; transition:.2s;
}
#totop:hover { background:var(--blue-dk); transform:translateY(-3px); }

/* ── BACK BUTTON (서브 페이지용) ── */
.back-bar { background:var(--gray); padding:10px 40px; display:flex; align-items:center; gap:12px; font-size:14px; color:var(--gray3); }
.back-bar a { color:var(--blue); text-decoration:none; font-weight:700; }
.back-bar a:hover { text-decoration:underline; }

/* ── CLIENT LOGO GRID ── */
.clients-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin-bottom:10px; }
.ci {
  background:#fff; border:1px solid var(--gray2); border-radius:8px;
  padding:12px 8px; text-align:center; min-height:64px;
  display:flex; align-items:center; justify-content:center;
  transition:.2s; cursor:default;
}
.ci:hover { border-color:var(--blue); box-shadow:0 3px 10px rgba(26,95,180,.1); }
.ci img { width:auto; max-width:110px; height:44px; object-fit:contain; transition:.2s; }
.ci:hover img { opacity:.8; }
.ci span { display:none; }
.clients-note { text-align:center; font-size:13px; color:#999; margin-top:14px; }

/* ── RESPONSIVE ── */
@media(max-width:860px) {
  nav { padding:0 20px; }
  .nav-links { display:none; }
  .container { padding:0 20px; }
  section { padding:52px 0; }
  .g2,.g3,.g33,.g4 { grid-template-columns:1fr; }
  .chk { grid-template-columns:1fr; }
  .svc-intro { flex-direction:column; padding:24px; }
  .si-icon { width:90px; height:90px; font-size:36px; }
  .steps { flex-direction:column; }
  .steps .st:not(:last-child)::after { content:"↓"; right:auto; bottom:-13px; top:auto; left:50%; transform:translateX(-50%); }
  .proc-flow { flex-direction:column; }
  .ye-flow { flex-direction:column; }
  .back-bar { padding:10px 20px; }
}
