/* KTC homepage — white base, navy brand (from logo), gold accent (from blog thumbnails) */
:root {
  --navy: #172a5c;
  --navy-2: #22397a;
  --gold: #c99a2e;
  --ink: #1b2230;
  --muted: #5b6577;
  --line: #e3e7ee;
  --bg-soft: #f5f7fa;
  --max: 1080px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.7; font-size: 16px; background: #fff; word-break: keep-all; }
a { color: var(--navy-2); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand b { font-size: 17px; letter-spacing: -0.01em; }
.brand span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }

/* hero */
.hero { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .04em; font-size: 14px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.3; margin: 0 0 18px; letter-spacing: -0.02em; text-wrap: balance; }
.hero p.lead { font-size: 18px; color: #dfe5f2; max-width: 46em; margin: 0 0 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-line { border: 1px solid rgba(255,255,255,.5); color: #fff; margin-left: 8px; }
.btn:hover { filter: brightness(1.07); }

.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 34px); color: var(--navy); letter-spacing: -0.02em; }
.page-head p { margin: 0; color: var(--muted); max-width: 48em; }

/* sections */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); }
h2 { font-size: 26px; color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; }
h2 + .sub { color: var(--muted); margin: 0 0 28px; }
h3 { font-size: 19px; margin: 0 0 6px; color: var(--ink); }
.summary { border-left: 4px solid var(--gold); background: #fffaf0; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 0 0 8px; }
.summary p { margin: 0; }

.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.card .num { color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: .05em; }
.card p { margin: 6px 0 0; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy); background: #e8ecf6; border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.tag.opt { color: #7a5a12; background: #f6ecd3; }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.flow > div { padding: 22px; border-right: 1px solid var(--line); }
.flow > div:last-child { border-right: 0; }
.flow b { color: var(--navy); display: block; margin-bottom: 4px; }
.flow p { margin: 0; color: var(--muted); font-size: 15px; }

.fields { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields li { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.fields li b { color: var(--navy); }
.fields li p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.fields li.main { border-color: #c9d2e8; background: #f7f9fd; }

.note { color: var(--muted); font-size: 14px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--gold); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact .card b { display: block; color: var(--navy); font-size: 20px; margin-top: 4px; }
.contact .card b a { color: inherit; text-decoration: none; }

.cta { background: var(--navy); color: #fff; padding: 44px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; font-size: 22px; }
.cta p { margin: 4px 0 0; color: #dfe5f2; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 2px 0; }

@media (max-width: 820px) {
  .grid.c3, .grid.c2, .flow, .fields, .contact { grid-template-columns: minmax(0, 1fr); }
  .flow > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow > div:last-child { border-bottom: 0; }
  .hero { padding: 52px 0 48px; }
  .btn-line { margin: 10px 0 0; }
}
