/* 노무법인 위너스 기준진단 브랜드 v1.1 (2026-10-18) — 믿음은 같게, 표정은 다르게 */
:root {
  --site: #2E7D32; --site-hover: #1B5E20; --site-soft: #E8F5E9;
  --consult: #1F4E79; --consult-hover: #173B5C;
  --accent: #2E7D32; --accent-soft: #E8F5E9;
}
.brand-mark b { color: var(--site); }
.hero h1 em { color: var(--site); }

/* A1 패밀리 바 */
.fambar { height: 40px; background: #FFFFFF; border-bottom: 1px solid #E5E7EB; font-family: Pretendard, system-ui, sans-serif; font-size: 14px; color: #111827; }
.fambar-in { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fam-name { color: #1F4E79; }
.fam-links { display: flex; gap: 18px; }
.fam-links a { color: #4B5563; text-decoration: none; }
.fam-links a:hover { color: #1F4E79; text-decoration: underline; }
@media (max-width: 767px) { .fam-links { display: none; } }

/* A6 상담 버튼 · B 사이트 색 */
.btn-consult, .nav a.nav-cta, .fab { background: var(--consult) !important; color: #fff !important; }
.btn-consult:hover, .nav a.nav-cta:hover, .fab:hover { background: var(--consult-hover) !important; }
.btn-site { background: var(--site); color: #fff; }
.btn-site:hover { background: var(--site-hover); }
.btn-primary { background: var(--site); }
.btn-primary:hover { background: var(--site-hover); }
.progress i { background: var(--site) !important; }

/* A2 약속 */
.promise { margin-top: 14px; font-size: 15px; color: var(--ink-3); }

/* A5 푸터 */
.footer .ft-row { margin: 6px 0 0; font-size: 14px; color: #4B5563; line-height: 1.7; }
.footer .ft-fam { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: 0 0 10px; }
.footer .ft-fam a { color: #4B5563; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.footer .ft-promise { font-weight: 700; color: #111827; }
.footer .ft-legal { color: #6B7280; margin-top: 12px; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.footer .kakao { display: inline-block; background: #FEE500; color: #391B1B; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-decoration: none; }
.footer a { color: inherit; }

/* A4 결과지 */
.sheet { background: #FFFFFF; border: 1px solid #D1D5DB; border-radius: 12px; padding: 32px; margin-bottom: 28px; font-family: Pretendard, system-ui, sans-serif; color: #374151; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid #111827; }
.sheet-head h2 { font-size: 22px; color: #111827; }
.sheet-head span { font-size: 15px; color: #6B7280; }
.sheet-sec { padding: 20px 0; border-bottom: 1px solid #E5E7EB; }
.sheet-sec:last-of-type { border-bottom: 0; }
.sheet-sec h3 { font-size: 18px; color: #111827; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.sheet-sec h3 .no { color: var(--site); margin-right: 6px; }
.sheet-sec h3 small { font-size: 14px; font-weight: 600; color: #6B7280; }
.sheet-sec p, .sheet-sec li { font-size: 17px; line-height: 1.7; }
.sheet-sec ol, .sheet-sec ul { margin: 10px 0 0; padding-left: 22px; }
.sheet-sec li { margin-top: 8px; }
.sheet-sec li small { display: block; font-size: 15px; color: #6B7280; }
.sheet-concl { margin-top: 8px; font-size: 20px !important; font-weight: 700; color: #111827; }
.sheet-concl b { color: var(--site); }
.sheet-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sheet-tools .btn { height: 46px; font-size: 16px; }
.sheet-foot { text-align: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid #E5E7EB; font-size: 15px; color: #6B7280; font-weight: 600; }
.sheet-cta { margin: -8px 0 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 640px) { .sheet { padding: 20px; } }

/* D3 법 개정 한 장 */
.lawcal { border-top: 2px solid #111827; background: #fff; border-radius: 0 0 12px 12px; }
.lawcal-row { display: grid; grid-template-columns: 120px 130px 1fr; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #E5E7EB; align-items: baseline; }
.lawcal-row .d { font-weight: 800; font-size: 18px; color: #111827; }
.lawcal-row .s { font-size: 15px; font-weight: 700; }
.lawcal-row h4 { margin: 0; font-size: 18px; color: #111827; }
.lawcal-row small { display: block; font-size: 15px; color: #6B7280; margin-top: 2px; }
@media (max-width: 720px) { .lawcal-row { grid-template-columns: 1fr; gap: 4px; } }
@media print { .fambar { display: none; } }

/* 회사 소개 링크 (2026-10-18) */
a.fam-name { font-weight: 700; color: #1F4E79; text-decoration: none; }
a.fam-name:hover { text-decoration: underline; }
.fam-links a.fam-about, .footer .ft-fam a.fam-about { color: #1F4E79 !important; font-weight: 700; }
@media (max-width: 767px) { .fam-links { display: flex; gap: 0; } .fam-links a:not(.fam-about) { display: none; } }
