@charset "utf-8";

/* 휴앤서손해사정 — 공통 스타일
   외부 의존성 없음: 웹폰트·스크립트·아이콘 라이브러리를 불러오지 않습니다. */

:root {
  --ink: #0f1b2d;
  --ink-soft: #334155;
  --body: #475569;
  --muted: #64748b;
  --sky: #1cb5e8;
  --sky-deep: #0b7fa8;
  --sky-soft: #eaf7fd;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --paper: #ffffff;
  --mist: #f6f9fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .06);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.32;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* ── 헤더 ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 138px; height: auto; }
.brand:hover { text-decoration: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.site-nav a:hover { color: var(--sky-deep); text-decoration: none; }
.header-tel {
  font-weight: 700; color: var(--ink) !important; font-size: 14.5px;
  border-left: 1px solid var(--line); padding-left: 22px;
}
.header-tel span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-tel { margin-left: auto; border-left: 0; padding-left: 0; }
  .header-tel span { display: none; }
  .brand img { width: 118px; }
}

/* ── 버튼 ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--sky-deep); color: #fff; }
.btn-primary:hover { background: #096a8c; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ── 공통 섹션 ──────────────────────────────────────── */
.section { padding: 84px 0; }
.section--mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--sky-deep); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin-top: 14px; color: var(--body); font-size: 16px; }

.section-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-foot p { font-size: 14px; color: var(--muted); }

/* ── 히어로 ─────────────────────────────────────────── */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: start; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--sky-deep);
  background: var(--sky-soft); border: 1px solid #cbeaf7; border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.035em; line-height: 1.26; }
.hero h1 em { font-style: normal; color: var(--sky-deep); }
.hero .lead { margin-top: 22px; font-size: 17px; line-height: 1.8; color: var(--body); max-width: 34em; }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts {
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none;
}
.hero-facts li { font-size: 14px; color: var(--body); display: flex; gap: 8px; align-items: baseline; }
.hero-facts strong { color: var(--ink); font-size: 15px; }

.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 26px 24px;
}
.review-card h2 { font-size: 17px; letter-spacing: 0; }
.review-card .rc-sub { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.checklist { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.checklist li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.6;
}
.checklist .num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--sky-soft);
  color: var(--sky-deep); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.review-card .rc-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-strong);
  font-size: 13.5px; color: var(--body);
}
.review-card .rc-foot strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .lead { font-size: 16px; }
}

/* ── 신뢰 바 ────────────────────────────────────────── */
.trustbar { background: var(--ink); color: #dbe6f3; }
.trustbar ul {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
}
.trustbar li {
  padding: 20px 24px; font-size: 14px; line-height: 1.55;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.trustbar li:first-child { border-left: 0; padding-left: 0; }
.trustbar strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
@media (max-width: 760px) {
  .trustbar ul { grid-template-columns: 1fr; }
  .trustbar li { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .trustbar li:first-child { border-top: 0; }
}

/* ── 전문 분야 ──────────────────────────────────────── */
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.field {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.field-tag {
  font-size: 12px; font-weight: 700; color: var(--sky-deep); letter-spacing: .04em;
}
.field h3 { font-size: 19px; margin-top: 10px; letter-spacing: -.01em; }
.field p { margin-top: 12px; font-size: 14.5px; line-height: 1.75; color: var(--body); }
.field ul { margin-top: 16px; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.field li { font-size: 13.5px; color: var(--muted); padding-left: 14px; position: relative; }
.field li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sky);
}
@media (max-width: 900px) { .field-grid { grid-template-columns: 1fr; } }

/* ── 사례 카드 ──────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease;
}
.case-card:hover { border-color: #b9dcec; transform: translateY(-2px); }
.case-body { padding: 28px 26px 24px; flex: 1; display: flex; flex-direction: column; }
.case-meta { font-size: 12.5px; font-weight: 700; color: var(--sky-deep); letter-spacing: .02em; }
.case-card h3 { font-size: 21px; margin-top: 12px; line-height: 1.42; }
.case-card h3 a { color: inherit; }
.case-card h3 a:hover { text-decoration: none; color: var(--sky-deep); }
.case-amount {
  margin-top: 20px; display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0 0; border-top: 1px solid var(--line);
}
.case-amount strong { font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.case-amount span { font-size: 13px; color: var(--muted); }
.case-card p { margin-top: 14px; font-size: 14.5px; color: var(--body); }
.case-link {
  margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--sky-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }

/* ── 절차 ───────────────────────────────────────────── */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; position: relative;
}
.process .step-no {
  font-size: 12px; font-weight: 700; color: var(--sky-deep);
  letter-spacing: .08em; margin-bottom: 10px;
}
.process h3 { font-size: 16.5px; letter-spacing: -.01em; }
.process p { margin-top: 10px; font-size: 13.8px; color: var(--body); line-height: 1.7; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ── 역할 범위 ──────────────────────────────────────── */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scope {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: #fff;
}
.scope--do { border-top: 3px solid var(--sky); }
.scope--dont { border-top: 3px solid #94a3b8; background: var(--mist); }
.scope h3 { font-size: 17px; }
.scope ul { margin-top: 16px; display: grid; gap: 10px; list-style: none; }
.scope li { font-size: 14.5px; color: var(--ink-soft); padding-left: 22px; position: relative; line-height: 1.65; }
.scope--do li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--sky-deep); font-weight: 700;
}
.scope--dont li::before {
  content: "—"; position: absolute; left: 0; top: 0; color: var(--muted); font-weight: 700;
}
.scope .law {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong);
  font-size: 12.5px; color: var(--muted); line-height: 1.65;
}
@media (max-width: 860px) { .scope-grid { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 20px;
}
.faq details[open] { border-color: #b9dcec; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0;
  font-size: 15.5px; font-weight: 600; color: var(--ink); position: relative;
  line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 15px;
  font-size: 22px; font-weight: 400; color: var(--sky-deep); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 20px; font-size: 14.8px; color: var(--body); line-height: 1.8; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { font-weight: 600; }

/* ── 상담 CTA ───────────────────────────────────────── */
.contact { background: var(--ink); color: #dbe6f3; padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); }
.contact .kicker { color: #7dd3fc; }
.contact p { margin-top: 14px; font-size: 15.5px; line-height: 1.8; color: #b9c9dd; }
.contact .cta-row { margin-top: 26px; }
.contact .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.contact .btn-ghost:hover { border-color: #fff; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li {
  display: flex; gap: 14px; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 14.5px; line-height: 1.65;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list li > span { flex: 0 0 76px; color: #8fa6c0; font-size: 13px; }
.contact-list li > div { flex: 1 1 auto; min-width: 0; color: #c3d2e4; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 600; }
.contact-list .sub { color: #8fa6c0; font-size: 13px; }
@media (max-width: 860px) {
  .contact { padding: 56px 0 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── 하단 ───────────────────────────────────────────── */
.site-footer { background: #0b1420; color: #93a6bd; padding: 40px 0 48px; font-size: 13.5px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-bottom: 22px; }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.footer-brand .sky { color: #4fc3e8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer-nav a { color: #c3d2e4; font-size: 13.5px; }
.footer-info { display: grid; gap: 4px; line-height: 1.7; }
.footer-info strong { color: #dbe6f3; }
.legal-note {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; color: #7d8fa6; line-height: 1.75;
}
@media (max-width: 640px) { .footer-nav { margin-left: 0; } }

/* ── 칼럼(사례 상세) ────────────────────────────────── */
.article-head { padding: 48px 0 36px; border-bottom: 1px solid var(--line); background: var(--mist); }
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--line-strong); }
.article-head h1 { font-size: clamp(27px, 3.6vw, 40px); margin-top: 18px; letter-spacing: -.03em; }
@media (max-width: 700px) { .article-head h1 br.desk { display: none; } }
.article-meta {
  margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 13.5px; color: var(--muted);
}
.article-meta strong { color: var(--ink-soft); font-weight: 600; }

.summary-box {
  margin: 32px 0 0; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--sky); border-radius: 12px; padding: 24px 26px;
}
.summary-box h2 { font-size: 15px; letter-spacing: .02em; color: var(--sky-deep); }
.summary-box ol { margin-top: 12px; padding-left: 20px; display: grid; gap: 8px; }
.summary-box li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

.article-body { padding: 48px 0 72px; }
.article-body .content { max-width: 760px; }
.article-body h2 {
  font-size: clamp(21px, 2.4vw, 26px); margin: 52px 0 0; letter-spacing: -.02em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 17.5px; margin: 30px 0 0; }
.article-body p { margin-top: 14px; font-size: 16px; line-height: 1.85; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.article-body li { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin: 24px 0 0; padding: 18px 22px; background: var(--mist);
  border-left: 3px solid var(--line-strong); border-radius: 0 10px 10px 0;
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.8;
}
.article-body blockquote p { margin: 0; font-size: 15.5px; }
.article-body .callout {
  margin-top: 26px; padding: 20px 22px; border: 1px solid #cbeaf7;
  background: var(--sky-soft); border-radius: 12px;
}
.article-body .callout p { margin: 0; font-size: 14.8px; line-height: 1.8; }
.article-body .callout .label {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--sky-deep);
  letter-spacing: .04em; margin-bottom: 6px;
}
.table-wrap { margin-top: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 10px; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
thead th { background: var(--mist); color: var(--ink); font-weight: 700; font-size: 13.5px; }
tbody th { font-weight: 600; color: var(--ink-soft); white-space: nowrap; }

.article-cta {
  margin-top: 48px; padding: 28px 26px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--mist);
}
.article-cta h2 { margin: 0; font-size: 19px; }
.article-cta p { margin-top: 10px; font-size: 14.8px; }
.article-cta .cta-row { margin-top: 18px; }

.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 26px; }
.related h2 { font-size: 16px; margin: 0; }
.related ul { list-style: none; margin-top: 14px; padding: 0; display: grid; gap: 10px; }
.related a { font-size: 15px; font-weight: 600; }

/* ── 모바일 하단 고정 바 ────────────────────────────── */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center;
    height: 46px; border-radius: 10px; font-size: 14.5px; font-weight: 700;
  }
  .mobile-bar .bar-call { background: #fff; border: 1.5px solid var(--line-strong); color: var(--ink); }
  .mobile-bar .bar-form { background: var(--sky-deep); color: #fff; }
  .mobile-bar a:hover { text-decoration: none; }
}

/* ── 인쇄 ───────────────────────────────────────────── */
@media print {
  .site-header, .mobile-bar, .contact, .btn { display: none !important; }
  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
