/* 세무회계 우호 — woohotax.com
   정적 CSS. 모바일 우선, 외부 폰트는 시스템 폰트 스택만 사용(외부 의존 0). */

:root {
  --navy: #0d2a4a;
  --navy-deep: #081d36;
  --blue: #1763c7;
  --blue-light: #e8f1fc;
  --accent: #f7b733;
  --ink: #1a2331;
  --muted: #5c6b7e;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --ok: #198754;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(13, 42, 74, 0.08);
  --maxw: 1080px;
  --kakao: #fae100;
  --kakao-ink: #3c1e1e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic",
    "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}
.brand small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--muted); }
.nav-links { display: none; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-cta {
  background: var(--kakao);
  color: var(--kakao-ink) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}
.nav-cta:hover { text-decoration: none; filter: brightness(0.96); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao:hover { filter: brightness(0.96); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(23, 99, 199, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 72px 0 84px;
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #cfe2fb;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 2.1rem;
  line-height: 1.28;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .hl { color: var(--accent); }
.hero p.lead {
  font-size: 1.1rem;
  color: #d7e3f2;
  max-width: 620px;
  margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #b9cbe2;
  font-size: 0.9rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
@media (min-width: 720px) { .hero h1 { font-size: 2.8rem; } }

/* ===== Sections ===== */
section.block { padding: 72px 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .kicker {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 1.8rem;
  margin: 10px 0 12px;
  letter-spacing: -0.5px;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ===== Service cards ===== */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0 0 14px; font-size: 0.97rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 0.93rem; }
.card ul li { margin-bottom: 5px; }
.card .price-tag {
  display: inline-block;
  margin-top: 4px;
  font-weight: 800;
  color: var(--navy);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

/* ===== Differentiators ===== */
.diff { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .diff { grid-template-columns: repeat(3, 1fr); } }
.diff-item {
  text-align: center;
  padding: 26px 20px;
}
.diff-item .big {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.diff-item h3 { margin: 0 0 6px; font-size: 1.15rem; }
.diff-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ===== Fee table ===== */
.fee-note {
  background: var(--blue-light);
  border: 1px solid #cfe0f7;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--navy);
  margin: 0 auto 28px;
  max-width: 760px;
  text-align: center;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.fee {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.94rem;
  min-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.fee caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  color: var(--navy);
  padding: 0 0 10px;
  font-size: 1.05rem;
}
table.fee th, table.fee td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
table.fee thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
table.fee tbody tr:nth-child(even) { background: var(--bg-soft); }
table.fee td.num, table.fee th.num { text-align: right; white-space: nowrap; }
table.fee .hl-row td { background: #fff8e7 !important; font-weight: 700; }
.fee-tables { display: grid; gap: 34px; }
.vat-line { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 20px;
  padding: 48px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 1.7rem; margin: 0 0 10px; }
.cta-band p { color: #d7e3f2; margin: 0 0 26px; font-size: 1.05rem; }
.cta-band .hero-cta { justify-content: center; }

/* ===== Contact ===== */
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-card .ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 10px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .label { font-size: 0.8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-card .val { font-weight: 700; font-size: 1.02rem; color: var(--ink); word-break: break-all; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: #b9cbe2;
  padding: 48px 0 28px;
  font-size: 0.9rem;
}
.footer-top {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #b9cbe2; }
.site-footer a:hover { color: #fff; }
.biz-info { margin-top: 22px; line-height: 1.9; font-size: 0.85rem; color: #8ba3bf; }
.biz-info strong { color: #cfe0f7; font-weight: 700; }
.footer-bottom {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #7e96b3;
}

/* ===== Legal / document pages ===== */
.doc {
  padding: 56px 0 72px;
}
.doc .doc-head { border-bottom: 2px solid var(--line); padding-bottom: 20px; margin-bottom: 34px; }
.doc h1 { font-size: 1.9rem; margin: 0 0 8px; color: var(--navy); }
.doc .doc-head p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.doc article { max-width: 820px; }
.doc h2 {
  font-size: 1.25rem;
  margin: 38px 0 12px;
  color: var(--navy);
  padding-top: 6px;
}
.doc h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink); font-size: 0.97rem; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc table {
  width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem;
}
.doc table th, .doc table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.doc table th { background: var(--bg-soft); }
.doc .ph {
  background: #fff3cd;
  border: 1px dashed #e0b400;
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 700;
  color: #7a5c00;
  font-size: 0.92em;
}
.doc .updated { color: var(--muted); font-size: 0.88rem; }
.back-link { display: inline-block; margin-top: 40px; font-weight: 700; }

/* skip link for a11y */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 10px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
