/* 긴급법률상담센터 (긴급법률상담센터.kr): 긴급 상담형. 짙은 남청색 바탕 첫 화면 + 경보 주황 한 가지(전화 버튼·지금 할 일·분야 표시).
   맨 위 띠에 '공공기관이 아닙니다'를 늘 둔다. site.css 뒤에 덧씌운다. */
html:root {
  --baize: #14324a;
  --baize-deep: #0d2335;
  --baize-text: #f1f5f9;
  --baize-muted: #a8bccd;
  --ink: #142231;
  --muted: #5a6876;
  --line: #dde3e9;
  --sage: #f2f5f8;
  --paper: #ffffff;
  --link: #14324a;
  --seal: #d9480f;
  --r: 14px;
}

.ug-strip { margin: 0; padding: 6px 16px; background: #0a1a28; color: #c9d6e2; font-size: 12.5px; line-height: 1.5; text-align: center; }
.top { background: var(--baize); }
.top .call-apply { background: var(--seal); color: #fff; }
.top .call-apply:hover { background: #b93d0c; color: #fff; }
.btn, .call, .sheet, .hook, .tool, .note, .mid-cta, .gist, .cta, .case-cta, .kakao, .opts label { border-radius: var(--r); }
.btn { background: var(--seal); }
.btn:hover { background: #b93d0c; }

/* 첫 화면 */
.ug-hero { background: radial-gradient(120% 90% at 85% 0%, #1d4a6b 0%, transparent 60%), var(--baize-deep); color: var(--baize-text); padding: clamp(36px, 7vw, 84px) 0 clamp(40px, 7vw, 80px); }
.ug-live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fde3d6; }
.ug-live span { width: 8px; height: 8px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 0 rgba(217, 72, 15, .7); animation: ugPulse 1.8s infinite; }
@keyframes ugPulse { 70% { box-shadow: 0 0 0 9px rgba(217, 72, 15, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 72, 15, 0); } }
.ug-hero h1 { margin: 0 0 14px; font-size: clamp(36px, 7vw, 68px); line-height: 1.12; font-weight: 900; letter-spacing: -.04em; }
.ug-lede { margin: 0 0 26px; max-width: 34em; color: var(--baize-muted); font-size: clamp(16px, 2vw, 18.5px); line-height: 1.7; }
.ug-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ug-call, .ug-apply { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .1s, background .15s; }
.ug-call { background: var(--seal); color: #fff; }
.ug-call:hover { background: #b93d0c; color: #fff; }
.ug-call svg { width: 20px; height: 20px; fill: currentColor; }
.ug-apply { background: #fff; color: var(--baize-deep); }
.ug-apply:hover { background: #e8eef4; color: var(--baize-deep); }
.ug-call:active, .ug-apply:active { transform: translateY(1px); }
.ug-fields { padding: clamp(28px, 5vw, 48px) 0 8px; }
.ug-fields h2 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.03em; }
.ug-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ug-tile { display: flex; flex-direction: column; gap: 6px; min-height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ug-tile strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.ug-tile strong::after { content: ' →'; color: var(--seal); }
.ug-tile span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ug-tile:hover { border-color: var(--baize); box-shadow: 0 10px 24px -16px rgba(20, 50, 74, .5); transform: translateY(-1px); color: var(--ink); }
.ug-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; padding: 28px 0 8px; }
.ug-lists h3 { margin: 18px 0 6px; font-size: 17px; font-weight: 800; }
.ug-lists h3 a { color: var(--ink); text-decoration: none; }
.ug-lists ul { margin: 0; padding: 0; list-style: none; }
.ug-lists li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.ug-lists li a { color: #2b3a48; text-decoration: none; }
.ug-lists li a:hover { color: var(--seal); text-decoration: underline; }
.ug-home .cta { margin-top: clamp(30px, 5vw, 52px); }
.ug-cols { padding: clamp(26px, 4vw, 40px) 0 4px; }
.ug-cols h2 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.03em; }
.ug-cols ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ug-cols li a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; box-shadow: inset 4px 0 0 var(--seal); transition: border-color .15s; }
.ug-cols li a:hover { border-color: var(--baize); color: var(--ink); }
.ug-cols strong { font-size: 17px; line-height: 1.45; font-weight: 800; }
.ug-cols span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ug-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--seal); }
@media (max-width: 700px) { .ug-cols ul { grid-template-columns: minmax(0, 1fr); } }

/* 글: 맨 위 '지금 할 일' */
.now3 { margin: 0 0 30px; padding: 18px 20px 14px; border-radius: var(--r); background: #fff6f1; box-shadow: inset 4px 0 0 var(--seal); }
.now3-h { margin: 0 0 8px; color: var(--seal); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.now3 ol { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.now3 li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; padding: 6px 0; font-size: 16.5px; line-height: 1.6; font-weight: 600; }
.now3 li::before { content: counter(n); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--seal); color: #fff; font-size: 13px; font-weight: 800; }
.page-head h1 { font-weight: 900; letter-spacing: -.035em; }
.article h2 { font-weight: 800; letter-spacing: -.02em; }
.gist { background: var(--sage); box-shadow: none; }
.tw th { background: var(--baize); color: #fff; }
.note { background: var(--sage); box-shadow: inset 3px 0 0 var(--baize); }
.steps li::before { background: var(--baize); border-color: var(--baize); color: #fff; }
.cta { background: var(--baize-deep); }
.case-cta { background: #fff6f1; box-shadow: none; }
.foot { background: #0a1a28; }
.lp-hero, .lp-promo, .lp-trust { background: #0d2335; }
.lp-hero .kw, .lp-live b, .lp-hero h1 em { color: #fdba8c; }

@media (max-width: 900px) { .ug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ug-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ug-grid { grid-template-columns: minmax(0, 1fr); }
  .ug-tile { min-height: 0; }
  .ug-lists { grid-template-columns: minmax(0, 1fr); }
  .ug-call, .ug-apply { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ug-live span { animation: none; } .ug-tile:hover { transform: none; } }
