/* =====================================================
   채움 테마 메인 스타일시트
   디자인 컨셉: 네이비 + 브라스(황동) 톤의 신뢰감 있는 법률·금융 전문기업 디자인
   ===================================================== */

:root{
  --navy-950:#0B121F;
  --navy-900:#101B30;
  --navy-800:#182848;
  --navy-700:#233A66;
  --brass:#B08D57;
  --brass-light:#D3B27E;
  --paper:#F4F1E9;
  --paper-dim:#C9C4B4;
  --slate:#8CA0BC;
  --text-light:#E9E6DC;
  --text-dim:#AEB8C9;
  --radius:2px;
  --shadow:none;
  --serif:'Noto Serif KR', serif;
  --sans:'Noto Sans KR', sans-serif;
  --font-sans:var(--sans);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body.chaeum-body{
  font-family:var(--sans);
  background:var(--navy-950);
  color:var(--text-light);
  line-height:1.7;
  font-size:16px;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; height:auto; display:block; }
button{ font-family:inherit; cursor:pointer; }

.chaeum-wrap{ max-width:1160px; margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{ font-family:var(--serif); font-weight:600; color:var(--paper); letter-spacing:-0.01em; }

/* ---------- Buttons ---------- */
.chaeum-btn{
  display:inline-block; padding:14px 28px; border-radius:var(--radius);
  font-weight:700; font-size:15px; transition:all .2s ease; border:none;
}
.chaeum-btn-primary{ background:var(--brass); color:var(--navy-950); }
.chaeum-btn-primary:hover{ background:var(--brass-light); transform:translateY(-1px); }
.chaeum-btn-ghost{ background:transparent; color:var(--paper); border:1px solid rgba(233,230,220,0.3); }
.chaeum-btn-ghost:hover{ border-color:var(--brass-light); color:var(--brass-light); }

/* ---------- Header ---------- */
.chaeum-header{
  position:sticky; top:0; z-index:200;
  background:rgba(11,18,31,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(176,141,87,0.18);
}
.chaeum-nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; gap:24px; }
.chaeum-logo{ font-family:var(--serif); font-size:19px; font-weight:700; color:var(--paper); white-space:nowrap; }
.chaeum-menu{ flex:1; position:relative; }
.chaeum-menu-list{ display:flex; gap:28px; justify-content:center; }
.chaeum-menu-list a{ font-size:14.5px; font-weight:500; color:var(--text-dim); }
.chaeum-menu-list a:hover{ color:var(--brass-light); }
.chaeum-nav-cta{
  padding:9px 20px; font-size:14px; white-space:nowrap;
  background:transparent; border:1px solid var(--brass); color:var(--brass-light) !important;
}
.chaeum-nav-cta:hover{ background:var(--brass); color:var(--navy-950) !important; }
.chaeum-hamburger{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;
}
.chaeum-hamburger span{ width:22px; height:2px; background:var(--paper); border-radius:2px; }

/* ---------- Hero ---------- */
.chaeum-hero{
  position:relative; overflow:hidden;
  padding:96px 0 84px;
  background:
    radial-gradient(ellipse 900px 500px at 82% 8%, rgba(176,141,87,0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.chaeum-hero-inner{ max-width:680px; position:relative; }
.chaeum-eyebrow{ color:var(--brass-light); font-size:13.5px; font-weight:600; margin-bottom:20px; letter-spacing:0.02em; }
.chaeum-hero-title{ font-size:44px; line-height:1.35; color:var(--paper); margin-bottom:22px; }
.chaeum-hero-sub{ font-size:16.5px; color:var(--text-dim); margin-bottom:36px; max-width:520px; }
.chaeum-hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Sections ---------- */
.chaeum-section{ padding:88px 0; }
.chaeum-section-alt{ background:var(--navy-900); }
.chaeum-section-head{ max-width:600px; margin:0 auto 48px; text-align:center; }
.chaeum-section-head h2{ font-size:30px; margin-bottom:14px; }
.chaeum-section-head p{ color:var(--text-dim); font-size:15.5px; }
.chaeum-center{ text-align:center; margin-top:32px; }

/* ---------- Trust strip ---------- */
.chaeum-trust{ padding:0 0 88px; margin-top:-46px; position:relative; }

/* ---------- Cards ---------- */
.chaeum-card-grid{ display:grid; gap:1px; background:rgba(176,141,87,0.18); }
.chaeum-card-grid-4{ grid-template-columns:repeat(4,1fr); }
.chaeum-card{
  background:var(--navy-950); padding:30px 26px; transition:background .2s;
}
.chaeum-card:hover{ background:var(--navy-900); }
.chaeum-card h3{ font-size:18px; margin-bottom:10px; }
.chaeum-card p{ color:var(--text-dim); font-size:14.5px; }
.chaeum-service-card .chaeum-icon{ font-size:24px; display:block; margin-bottom:14px; opacity:0.9; }
.chaeum-link{ display:inline-block; margin-top:14px; color:var(--brass-light); font-weight:600; font-size:14px; }

/* ---------- Timeline (추심절차) ---------- */
.chaeum-timeline{ display:flex; flex-direction:column; }
.chaeum-timeline-item{
  display:grid; grid-template-columns:90px 1fr;
  padding:30px 0; border-top:1px solid rgba(176,141,87,0.16);
}
.chaeum-timeline-item:last-child{ border-bottom:1px solid rgba(176,141,87,0.16); }
.chaeum-timeline-step{ font-family:var(--serif); font-size:15px; color:var(--brass); font-weight:700; letter-spacing:0.04em; }
.chaeum-timeline-item h3{ font-size:17px; margin-bottom:8px; }
.chaeum-timeline-item p{ color:var(--text-dim); font-size:14px; max-width:520px; }
.chaeum-timeline-vertical{ max-width:640px; }

/* ---------- Page content ---------- */
.chaeum-page-content{ max-width:820px; margin:0 auto; }
.chaeum-page-title{ font-size:32px; margin-bottom:20px; }
.chaeum-lead{ color:var(--text-dim); font-size:16px; margin-bottom:16px; }
.chaeum-entry-content p{ margin-bottom:16px; color:var(--text-light); }
.chaeum-post-meta{ color:var(--text-dim); font-size:13.5px; margin-bottom:20px; }

/* ---------- Q&A ---------- */
.chaeum-qa-list{ display:flex; flex-direction:column; gap:10px; margin-bottom:8px; }
.chaeum-qa-preview-item{
  display:flex; gap:10px; padding:16px 20px; background:var(--navy-900);
  border:1px solid rgba(176,141,87,0.18); border-radius:var(--radius); font-weight:600; color:var(--paper);
}
.chaeum-qa-preview-item:hover{ border-color:var(--brass); }
.chaeum-qa-q{ color:var(--brass-light); font-weight:800; }

.chaeum-qa-table{ width:100%; border-collapse:collapse; background:var(--navy-950); border:1px solid rgba(176,141,87,0.18); }
.chaeum-qa-table th, .chaeum-qa-table td{ padding:14px 18px; text-align:left; border-bottom:1px solid rgba(176,141,87,0.14); font-size:14.5px; }
.chaeum-qa-table th{ background:var(--navy-900); color:var(--brass-light); font-size:13px; font-weight:600; }
.chaeum-qa-table tr:last-child td{ border-bottom:none; }
.chaeum-qa-table a{ color:var(--paper); }
.chaeum-qa-table a:hover{ color:var(--brass-light); }
.chaeum-status{ display:inline-block; padding:4px 10px; border-radius:999px; font-size:12.5px; font-weight:700; }
.chaeum-status-done{ background:rgba(96,160,110,0.14); color:#9BD8AC; }
.chaeum-status-wait{ background:rgba(176,141,87,0.14); color:var(--brass-light); }

.chaeum-qa-single .chaeum-qa-block{ display:flex; gap:18px; padding:26px 0; }
.chaeum-qa-label{
  flex:none; width:40px; height:40px; border-radius:50%; background:rgba(176,141,87,0.14); color:var(--brass-light);
  font-weight:800; display:flex; align-items:center; justify-content:center; font-size:18px; font-family:var(--serif);
}
.chaeum-qa-label-a{ background:var(--brass); color:var(--navy-950); }
.chaeum-qa-question{ border-bottom:1px solid rgba(176,141,87,0.16); }
.chaeum-qa-pending{ color:var(--text-dim); font-style:italic; }

.chaeum-qa-cta{
  margin-top:56px; padding:36px; text-align:center; background:var(--navy-900);
  border:1px solid rgba(176,141,87,0.18);
}
.chaeum-qa-cta h3{ margin-bottom:16px; }

.chaeum-qa-form-wrap{ margin-top:56px; padding-top:48px; border-top:1px solid rgba(176,141,87,0.16); }
.chaeum-qa-form-wrap h2{ margin-bottom:8px; }
.chaeum-qa-form-wrap > p{ color:var(--text-dim); margin-bottom:20px; font-size:14.5px; }

/* ---------- FAQ Accordion ---------- */
.chaeum-accordion-item{ border-bottom:1px solid rgba(176,141,87,0.18); }
.chaeum-accordion-trigger{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  background:none; border:none; padding:22px 4px; text-align:left; font-size:15.5px; font-weight:600; color:var(--paper);
  font-family:var(--sans);
}
.chaeum-accordion-icon{ color:var(--brass-light); font-size:20px; font-weight:400; transition:transform .2s; }
.chaeum-accordion-trigger[aria-expanded="true"] .chaeum-accordion-icon{ transform:rotate(45deg); }
.chaeum-accordion-panel{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.chaeum-accordion-panel p{ padding:0 4px 22px; color:var(--text-dim); font-size:14.5px; }

/* ---------- Forms ---------- */
.chaeum-form{ display:flex; flex-direction:column; gap:14px; max-width:560px; }
.chaeum-form label{ font-size:13.5px; font-weight:600; color:var(--brass-light); }
.chaeum-checkbox-label{ display:flex; align-items:flex-start; gap:8px; font-weight:400 !important; font-size:13.5px !important; color:var(--text-dim); }
.chaeum-checkbox-label input{ width:auto; margin-top:3px; }
.chaeum-form input[type="text"], .chaeum-form input[type="email"], .chaeum-form textarea{
  width:100%; background:var(--navy-950); border:1px solid rgba(176,141,87,0.25); color:var(--text-light);
  padding:12px 14px; border-radius:var(--radius); font-family:inherit; font-size:14.5px;
}
.chaeum-form input:focus, .chaeum-form textarea:focus{ outline:none; border-color:var(--brass-light); }
.chaeum-form textarea{ resize:vertical; }
.chaeum-form button{ align-self:flex-start; margin-top:6px; }
.chaeum-hp-field{ position:absolute; left:-9999px; top:-9999px; }

.chaeum-contact-grid{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:56px; margin-top:32px; }
.chaeum-contact-info p{ color:var(--text-dim); margin-bottom:8px; }

.chaeum-alert{ padding:14px 18px; border-radius:var(--radius); font-size:14px; margin-bottom:16px; }
.chaeum-alert-ok{ background:rgba(96,160,110,0.12); border:1px solid rgba(96,160,110,0.4); color:#BFE3C8; }
.chaeum-alert-error{ background:rgba(196,90,90,0.12); border:1px solid rgba(196,90,90,0.4); color:#F0C1C1; }

/* ---------- CTA band ---------- */
.chaeum-cta-band{ background:var(--navy-900); color:var(--paper); padding:52px 0; border-top:1px solid rgba(176,141,87,0.16); border-bottom:1px solid rgba(176,141,87,0.16); }
.chaeum-cta-band-inner{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.chaeum-cta-band h2{ color:var(--paper); font-size:24px; margin-bottom:8px; }
.chaeum-cta-band p{ color:var(--text-dim); font-size:14.5px; }

/* ---------- Footer ---------- */
.chaeum-footer{ background:var(--navy-950); color:var(--text-dim); padding:48px 0 0; }
.chaeum-footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:40px; }
.chaeum-footer-logo{ color:var(--paper); font-family:var(--serif); font-size:17px; font-weight:700; margin-bottom:8px; }
.chaeum-footer-slogan{ color:var(--brass-light); font-size:14px; margin-bottom:14px; }
.chaeum-footer-disclaimer{ font-size:12.5px; line-height:1.7; color:var(--paper-dim); }
.chaeum-footer h4{ color:var(--paper); font-size:14px; margin-bottom:14px; font-family:var(--sans); font-weight:600; }
.chaeum-footer-contact p{ font-size:13.5px; margin-bottom:6px; }
.chaeum-footer-menu-list li{ margin-bottom:8px; font-size:13.5px; }
.chaeum-footer-bottom{ border-top:1px solid rgba(176,141,87,0.14); padding:18px 0; font-size:12.5px; text-align:center; color:var(--slate); }

/* ---------- Sidebar ---------- */
.chaeum-sidebar{ display:flex; flex-direction:column; gap:20px; }
.chaeum-sidebar-cta{ background:var(--navy-900); border:1px solid rgba(176,141,87,0.18); padding:26px; }
.chaeum-sidebar-cta h3{ margin-bottom:8px; font-size:16px; }
.chaeum-sidebar-cta p{ color:var(--text-dim); font-size:13.5px; margin-bottom:16px; }

/* ---------- Post list (index/archive fallback) ---------- */
.chaeum-post-list{ display:flex; flex-direction:column; gap:28px; }
.chaeum-post-item h2{ font-size:20px; margin-bottom:6px; }
.chaeum-post-item p{ color:var(--text-dim); font-size:13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .chaeum-menu, .chaeum-nav-cta{ display:none; }
  .chaeum-hamburger{ display:flex; }
  .chaeum-hero-title{ font-size:32px; }
  .chaeum-card-grid-4{ grid-template-columns:repeat(2,1fr); }
  .chaeum-timeline-item{ grid-template-columns:56px 1fr; }
  .chaeum-contact-grid{ grid-template-columns:1fr; }
  .chaeum-footer-grid{ grid-template-columns:1fr; }
  .chaeum-cta-band-inner{ flex-direction:column; align-items:flex-start; }

  .chaeum-menu.chaeum-menu-open{
    display:block; position:absolute; top:100%; left:0; right:0; background:var(--navy-950);
    border-bottom:1px solid rgba(176,141,87,0.18);
  }
  .chaeum-menu.chaeum-menu-open .chaeum-menu-list{ flex-direction:column; padding:12px 24px; gap:4px; }
  .chaeum-menu.chaeum-menu-open .chaeum-menu-list a{ display:block; padding:12px 0; border-bottom:1px solid rgba(176,141,87,0.14); }
  .chaeum-nav-cta.chaeum-nav-cta-open{ display:inline-block; }
}
