/* ==========================================================================
   세무회계 더마인드 — Design Tokens
   Signature: 로고의 대각선 절단 리본을 사이트 전반의 구조적 신호로 재사용.
   Palette : Ink / Navy / Navy-Light / Paper / Mist / Line / Muted
   Type    : Noto Serif KR (Display, 신뢰·권위) + Pretendard (Body, 명료함)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --color-ink: #14161b;
  --color-navy: #1f3e85;
  --color-navy-deep: #142a5c;
  --color-navy-light: #3b5fb0;
  --color-paper: #ffffff;
  --color-mist: #f5f6f8;
  --color-mist-deep: #eceef2;
  --color-line: #e2e5eb;
  --color-muted: #62697a;
  --color-muted-2: #9aa1b0;

  --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;

  --container: 1160px;
  --radius-sm: 4px;
  --radius-md: 10px;

  --diagonal: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
p { word-break: keep-all; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}
.site-header .logo img { height: 61px; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  position: relative;
  padding: 6px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--color-navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-navy);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #153f98;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover { background: #102f75; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--color-ink);
  }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--color-line);
    gap: 18px;
  }
  .site-header.open .header-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all .15s ease;
}
.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-navy-deep); }
.btn-outline { border-color: var(--color-ink); color: var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-ghost-white { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--color-navy); }
.btn-kakao { background: #fee500; color: #191919; border-color: #fee500; font-weight: 700; }
.btn-kakao:hover { background: #f5d900; border-color: #f5d900; }
.btn-white { background: #ffffff; color: var(--color-navy); border-color: #ffffff; font-weight: 700; }
.btn-white:hover { background: #eef2fb; }
.btn-hero { width: 240px; justify-content: center; }
@media (max-width: 480px) {
  .btn-hero { width: 100%; }
}

/* ---------- Hero (diagonal signature) ---------- */
.hero {
  position: relative;
  background: var(--color-navy);
  color: #fff;
  padding: 96px 0 140px;
  clip-path: var(--diagonal);
  overflow: hidden;
}
.hero:not(.hero-home)::after {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 480px; height: 480px;
  background: var(--color-navy-light);
  opacity: .35;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 70%);
}
.hero .inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* ---- Home hero: photo slider ---- */
.hero-home {
  padding: 168px 0 168px;
  clip-path: none;
}
.hero-home .inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-home .lead { margin: 0 auto 36px; }
.hero-home .actions { justify-content: center; }
.nowrap-line { white-space: nowrap; }
@media (max-width: 760px) {
  .nowrap-line { white-space: normal; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10,14,26,0.88) 0%, rgba(12,20,45,0.72) 40%, rgba(31,62,133,0.42) 100%);
}
.hero .eyebrow { color: #cddaf7; }
.hero .eyebrow::before { background: #cddaf7; }
.hero h1 {
  font-size: 46px;
  color: #fff;
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 18px;
  color: #d8e0f5;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  padding: 72px 0 100px;
}
.page-hero h1 { font-size: 38px; margin-bottom: 14px; }
.page-hero p.lead { color: #d8e0f5; font-size: 16px; max-width: 560px; }

.service-hero {
  background-image: url('../img/service-hero.jpg');
  background-size: cover;
  background-position: center 65%;
}
.service-hero::after { display: none; }
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10,14,26,0.90) 0%, rgba(12,20,45,0.80) 45%, rgba(31,62,133,0.60) 100%);
}

.corp-establish-hero {
  background-image: url('../img/corp-establish-hero.jpg');
  background-size: cover;
  background-position: center 65%;
}
.corp-establish-hero::after { display: none; }
.corp-establish-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10,14,26,0.90) 0%, rgba(12,20,45,0.82) 45%, rgba(31,62,133,0.62) 100%);
}

.about-hero {
  background-image: url('../img/about-hero.jpg');
  background-size: cover;
  background-position: center 60%;
}
.about-hero::after { display: none; }
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10,14,26,0.88) 0%, rgba(12,20,45,0.78) 45%, rgba(31,62,133,0.55) 100%);
}

.column-hero {
  background-image: url('../img/column-hero.jpg');
  background-size: cover;
  background-position: center 78%;
}
.column-hero::after { display: none; }
.column-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(10,14,26,0.88) 0%, rgba(12,20,45,0.80) 45%, rgba(31,62,133,0.60) 100%);
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--color-mist); }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: 32px; margin-bottom: 16px; }
.section-head p { color: var(--color-muted); font-size: 16px; }
.section-head .eyebrow { color: var(--color-navy); font-size: 13px; }
.work-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.work-desc {
  color: var(--color-muted);
  font-size: 16px;
  margin: 0;
}
.work-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.work-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--color-ink);
  white-space: nowrap;
  border-bottom: 2px solid var(--color-navy);
  padding-bottom: 6px;
}
.work-price-small { font-size: 14px; color: var(--color-muted); font-weight: 500; }
.work-price-big { font-size: 28px; font-weight: 800; color: var(--color-navy); }
.work-price-num { font-size: 1.44em; }
@media (max-width: 700px) {
  .work-row { flex-direction: column; align-items: flex-start; }
  .work-cta { flex-direction: column; align-items: flex-start; width: 100%; }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20,22,27,0.08);
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #fff;
}
.service-card .num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  transition: color .18s ease;
}
.service-card:hover .num { color: #cddaf7; }
.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--color-muted);
  font-size: 14.5px;
  margin: 0;
  transition: color .18s ease;
}
.service-card:hover p { color: #d8e0f5; }
.service-card .hl { color: var(--color-navy); }
.service-card:hover .hl { color: #cddaf7; }
.service-card.featured {
  background: var(--color-navy);
  color: #fff;
}
.service-card.featured .num { color: #cddaf7; }
.service-card.featured p { color: #d8e0f5; }

.category-preview {
  display: block;
  text-decoration: none;
  padding: 40px 36px;
}
.category-preview .num {
  font-size: 32px;
  margin-bottom: 20px;
}
.category-preview h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.category-preview-tagline {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 15px;
  margin: 0 0 10px;
  line-height: 1.5;
  transition: color .18s ease;
}
.category-preview:hover .category-preview-tagline { color: #fff; }

/* ---------- Stats strip ---------- */
.stats {
  display: flex;
  gap: 0;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(20,22,27,0.12);
  overflow: hidden;
}
.stats .stat {
  flex: 1;
  padding: 32px 28px;
  border-right: 1px solid var(--color-line);
}
.stats .stat:last-child { border-right: none; }
.stats .stat .n {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-navy);
  display: block;
  margin-bottom: 8px;
}
.stats .stat .n b {
  font-weight: 800;
}
.stats .stat .l { font-size: 14px; color: var(--color-muted); }
@media (max-width: 700px) {
  .stats { flex-direction: column; }
  .stats .stat { border-right: none; border-bottom: 1px solid var(--color-line); }
}

/* ---------- Feature items (home, "이렇게 달라집니다") ---------- */
.feature-item { position: relative; display: flex; padding: 8px 4px; }
.feature-circle {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.feature-item:hover .feature-circle {
  border-color: var(--color-navy);
  box-shadow: 0 10px 24px rgba(31,62,133,0.16);
  transform: translateY(-3px);
}
.check-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(20,22,27,0.18);
  z-index: 2;
}
.feature-top {
  background: var(--color-navy);
  height: 104px;
  flex-shrink: 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.feature-outcome {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  word-break: keep-all;
  line-height: 1.35;
  margin: 0;
}
.feature-bottom {
  flex: 1;
  background: var(--color-mist);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 22px;
}
.feature-bottom .f-icon {
  color: var(--color-navy);
  margin-bottom: 12px;
  display: inline-flex;
}
.feature-bottom .f-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 8px;
  word-break: keep-all;
}
.feature-bottom .f-title b { font-weight: 800; }
.feature-bottom .f-desc {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.55;
  word-break: keep-all;
}
@media (max-width: 900px) {
  .feature-circle { height: auto; min-height: 300px; }
}

/* ---------- Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.info-table th, .info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}
.info-table th {
  background: var(--color-mist);
  font-weight: 600;
  color: var(--color-ink);
}
.info-table td { color: var(--color-muted); }
.info-table tr:last-child td { border-bottom: none; }

/* ---------- Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--color-line);
}
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--color-navy);
  transition: transform .15s ease;
}
.accordion-item[open] summary .plus { transform: rotate(45deg); }
.accordion-item .body {
  padding: 0 4px 26px;
  color: var(--color-muted);
  font-size: 15px;
}
.accordion-item .body h4 {
  font-size: 15.5px;
  color: var(--color-ink);
  margin: 18px 0 8px;
}
.accordion-item .body ul { padding-left: 18px; list-style: disc; margin-bottom: 10px;}
.accordion-item .body li { margin-bottom: 6px; }
.accordion-item .body table { margin: 10px 0 16px; }

/* ---------- Calculator ---------- */
.calc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}
.calc-tab {
  background: none;
  border: none;
  padding: 14px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-muted);
  border-bottom: 2px solid transparent;
  transform: translateY(1px);
}
.calc-tab.active {
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-box {
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) {
  .calc-box { grid-template-columns: 1fr; padding: 28px; }
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-ink);
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--color-navy);
}
.field .hint { font-size: 12.5px; color: var(--color-muted-2); margin-top: 6px; }
.calc-result {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
}
.calc-result .r-label { font-size: 13px; color: #cddaf7; margin-bottom: 6px; }
.calc-result .r-value {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 20px;
}
.calc-result .r-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #d8e0f5;
  padding: 10px 12px;
  margin: 0 -12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  transition: background-color .18s ease, padding-left .18s ease, color .18s ease;
  cursor: default;
}
.calc-result .r-line:hover {
  background-color: rgba(255,255,255,0.10);
  padding-left: 18px;
  color: #fff;
}
.calc-result .r-line span:last-child {
  transition: transform .18s ease, color .18s ease;
  display: inline-block;
  color: #9fd6a8;
}
.calc-result .r-line:hover span:last-child {
  transform: scale(1.35);
  color: #baf5c4;
}
.calc-disclaimer {
  font-size: 13px;
  color: var(--color-muted-2);
  margin-top: 20px;
  line-height: 1.6;
}

/* ---------- Board ---------- */
.board-tabs { display: flex; gap: 10px; margin-bottom: 28px; }
.board-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
}
.board-tab.active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.board-list { border-top: 1px solid var(--color-ink); }
.board-row {
  display: grid;
  grid-template-columns: 90px 1fr 140px 100px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14.5px;
}
.board-row.head {
  font-weight: 600;
  color: var(--color-muted);
  font-size: 13px;
  background: var(--color-mist);
}
.board-row .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  background: #e7edfa;
  padding: 3px 9px;
  border-radius: 999px;
  width: fit-content;
}
@media (max-width: 700px) {
  .board-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; }
  .board-row .col-date, .board-row .col-num { color: var(--color-muted-2); font-size: 12.5px; }
}

.notice-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--color-muted);
}
.notice-banner strong { color: var(--color-ink); }

/* ---------- FAQ list ---------- */
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  display: flex;
  gap: 14px;
  font-weight: 600;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  color: var(--color-navy);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.faq-item .a-body {
  padding: 0 4px 22px 36px;
  color: var(--color-muted);
  font-size: 14.5px;
}

/* ---------- Contact / Footer ---------- */
.contact-panel {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) {
  .contact-panel { grid-template-columns: 1fr; padding: 32px; }
}
.contact-panel h3 { font-size: 24px; margin-bottom: 18px; }
.contact-line {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 14.5px;
}
.contact-line .k { width: 70px; color: #9aa1b0; flex-shrink:0; }
.contact-line .v { color: #fff; }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 0;
}
.map-card {
  height: 100%;
  min-height: 260px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.map-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #cddaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.map-card-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.map-card-addr {
  font-size: 14px;
  color: #cddaf7;
  line-height: 1.6;
  margin: 0 0 24px;
}
.kakao-map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.kakao-map-embed > a { display: block; line-height: 0; }
.kakao-map-embed > a > img { width: 100%; height: auto; display: block; }
.kakao-map-canvas {
  width: 100%;
  flex: 1;
  min-height: 300px;
  background: var(--color-mist);
}

.site-footer {
  background: var(--color-navy-deep);
  color: #cddaf7;
  padding: 56px 0 32px;
  font-size: 14px;
}
.site-footer .f-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.site-footer .f-top img { height: 30px; margin-bottom: 14px; }
.site-footer .f-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.site-footer .f-links a { color: #cddaf7; }
.site-footer .f-links a:hover { color: #fff; }
.site-footer .f-info p { margin: 4px 0; color: #9fb0d9; }
.site-footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  color: #7f92c2;
  font-size: 12.5px;
}

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.tag-pill {
  display: inline-block;
  background: #e7edfa;
  color: var(--color-navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Reason cards (법인전환: 이유) ---------- */
.reason-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1px 1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 32px 34px;
  box-shadow: 0 8px 24px rgba(20,22,27,0.05);
  margin-bottom: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.reason-card:hover {
  border-color: var(--color-navy);
  box-shadow: 0 18px 36px rgba(31,62,133,0.12);
  transform: translateY(-4px);
}
@media (max-width: 760px) {
  .reason-card { grid-template-columns: 1fr; gap: 16px; }
  .reason-divider { display: none; }
}
.reason-title h3 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
  transition: color .2s ease;
}
.reason-card h3 b {
  color: var(--color-navy);
  position: relative;
}
.reason-divider {
  width: 1px;
  height: 100%;
  min-height: 80px;
  background: var(--color-line);
  transition: background .2s ease;
  justify-self: center;
}
.reason-card:hover .reason-divider {
  background: var(--color-navy);
}
.reason-content p {
  color: var(--color-muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.75;
}

/* ---------- Process steps (법인전환 / 법인설립) ---------- */
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.process-step:hover {
  border-color: var(--color-navy);
  box-shadow: 0 12px 28px rgba(20,22,27,0.07);
  transform: translateY(-2px);
}
.process-step .p-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}
.process-step .p-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}
.process-step h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.process-arrow {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  color: var(--color-navy-light);
}
@media (max-width: 700px) {
  .process-step { flex-direction: column; }
}

/* ---------- Tax Column (세무칼럼) ---------- */
.column-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.column-filter button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
}
.column-filter button.active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

.column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .column-grid { grid-template-columns: 1fr; }
}
.column-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.column-card:hover {
  border-color: var(--color-navy);
  box-shadow: 0 16px 32px rgba(20,22,27,0.08);
  transform: translateY(-3px);
}
.column-card .c-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.column-card .c-date { font-size: 13px; color: var(--color-muted-2); }
.column-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.column-card p {
  color: var(--color-muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}
.column-card .c-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-navy);
}

/* ---------- Column article (post) ---------- */
.article-head {
  max-width: 760px;
  margin: 0 auto;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-ink);
}
.article-body h2 {
  font-size: 22px;
  margin: 40px 0 16px;
}
.article-body p { margin: 0 0 18px; color: var(--color-ink); }
.article-body ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; }
.article-body li { margin-bottom: 8px; color: var(--color-ink); }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14.5px;
}
.article-body th, .article-body td {
  border: 1px solid var(--color-line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.article-body th {
  background: var(--color-mist);
  font-weight: 700;
  color: var(--color-ink);
}
.article-tip {
  background: var(--color-mist);
  border-left: 4px solid var(--color-navy);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--color-ink);
}
.article-tip b { color: var(--color-navy); }
.article-cta {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
}

/* ---------- Profile (대표 세무사 소개) ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px) {
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
}
.profile-photo-col {
  position: sticky;
  top: 96px;
}
@media (max-width: 800px) {
  .profile-photo-col { position: static; }
}
.profile-photo-col .eyebrow { margin-bottom: 16px; }
.profile-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-mist);
}
.profile-photo img { width: 100%; height: auto; display: block; }
.profile-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 18px;
}
.profile-name-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-muted);
  margin-left: 6px;
}
.profile-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.profile-bio {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.profile-bio li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
  color: var(--color-ink);
}
.profile-bio li:first-child { border-top: 1px solid var(--color-line); }
.bio-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
}
.bio-badge.now { background: var(--color-navy); color: #fff; }
.bio-badge.past { background: var(--color-mist); color: var(--color-muted); border: 1px solid var(--color-line); }

/* ---------- Founder Letter (대표 세무사의 편지) ---------- */
.founder-letter {
  background: transparent;
  border: none;
  border-left: 4px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: 8px 0 8px 32px;
  margin-bottom: 40px;
}
.founder-letter-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  margin: 0 0 18px;
}
.founder-letter p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 0 0 16px;
}
.founder-letter p:last-of-type { margin-bottom: 0; }
.founder-letter-sign {
  text-align: right;
  font-weight: 600;
  font-size: 16px !important;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-top: 8px !important;
}
.founder-letter-sign-name {
  font-family: 'KyoboHandwriting2020ParkDoYeon', var(--font-body);
  font-weight: 400;
  font-size: 31px;
  color: var(--color-ink);
  margin: 0 2px;
  display: inline-block;
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
  .founder-letter { padding: 8px 0 8px 20px; }
}

.strength-list-head {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 22px;
}
.strength-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 14px;
  margin: 0 -14px;
  border-bottom: 1px solid var(--color-line);
  border-radius: 8px;
  transition: background-color .18s ease, padding-left .18s ease;
  cursor: default;
}
.strength-item:first-child { border-top: 1px solid var(--color-line); }
.strength-item:hover {
  background-color: var(--color-mist);
  padding-left: 22px;
}
.strength-item .s-arrow {
  flex-shrink: 0;
  color: var(--color-navy);
  margin-top: 3px;
  display: inline-flex;
  transition: transform .18s ease;
}
.strength-item:hover .s-arrow {
  transform: scale(1.25);
}
.strength-item .s-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 6px;
}
.strength-item .s-title b { color: var(--color-navy); }
.strength-item .s-desc {
  font-size: 14.5px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Our Workplace ---------- */
.workplace-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 900px) {
  .workplace-layout { grid-template-columns: 1fr; }
}
.workplace-lead {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 36px;
}
.workplace-points {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.workplace-point {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--color-line);
}
.workplace-point:last-child { border-bottom: none; padding-bottom: 0; }
.workplace-point .wp-icon {
  color: var(--color-navy);
  display: inline-flex;
  margin-bottom: 12px;
}
.workplace-point h4 {
  font-size: 16.5px;
  margin: 0 0 6px;
}
.workplace-point p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.workplace-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 460px;
}
.wg-main { grid-row: span 2; }
.workplace-gallery > div {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-mist);
}
.workplace-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.workplace-gallery > div:hover img {
  transform: scale(1.05);
}
.workplace-gallery-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
@media (max-width: 900px) {
  .workplace-gallery { height: 460px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
}
@media (max-width: 560px) {
  .workplace-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .wg-main { grid-row: auto; aspect-ratio: 4/3; }
  .wg-top, .wg-bottom { aspect-ratio: 4/3; }
  .workplace-gallery-4 { height: auto; }
  .workplace-gallery-4 .wg-tile { aspect-ratio: 4/3; }
}

/* ---------- Service page: category layout ---------- */
.category-block { padding: 84px 0; }
.category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .category-layout { grid-template-columns: 1fr; gap: 32px; }
}
.category-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.92;
}
.category-intro h2 {
  font-size: 26px;
  margin-bottom: 18px;
  line-height: 1.35;
}
.category-tagline {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.5;
  margin: 0 0 14px;
}
.category-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0;
}
.category-cta {
  margin-top: 24px;
}

.service-icon-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-icon-card:hover {
  border-color: var(--color-navy);
  box-shadow: 0 16px 32px rgba(20,22,27,0.09);
  transform: translateY(-5px);
}
.service-icon-card .sic-emoji {
  display: inline-flex;
  color: var(--color-navy);
  margin-bottom: 16px;
  transition: transform .22s ease;
}
.service-icon-card:hover .sic-emoji {
  transform: scale(1.15) rotate(-4deg);
}
.service-icon-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.service-icon-card p {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Pricing (기장 서비스 요금제) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20,22,27,0.08);
}
.price-featured {
  border: 2px solid var(--color-navy);
  box-shadow: 0 20px 44px rgba(31,62,133,0.16);
  transform: scale(1.045);
  z-index: 2;
}
.price-featured:hover {
  transform: scale(1.045) translateY(-4px);
}
@media (max-width: 900px) {
  .price-featured { transform: none; }
  .price-featured:hover { transform: translateY(-4px); }
}
.price-badge {
  position: absolute;
  top: 14px;
  right: -34px;
  background: var(--color-navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(35deg);
  z-index: 3;
  letter-spacing: 0.02em;
}
.price-top {
  padding: 18px 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.price-top-white {
  background: #fff;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
}
.price-top-blue {
  background: var(--color-navy);
  color: #fff;
}
.price-top-black {
  background: #14161b;
  color: #fff;
}
.price-body { padding: 26px 26px 30px; }
.price-tag {
  background: var(--color-mist);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-align: center;
  margin-bottom: 20px;
}
.price-tag-blue { background: #e7edfa; }
.price-tag-black { background: #ececec; }
.price-tag-row {
  font-size: 15px;
  color: var(--color-ink);
  margin: 4px 0;
}
.price-tag-row b { font-weight: 800; }
.price-tag-row span { color: var(--color-muted); font-weight: 500; font-size: 13.5px; }
.price-desc {
  text-align: center;
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 0 0 20px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.price-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 13.5px;
  color: var(--color-ink);
  line-height: 1.5;
  border-bottom: 1px solid var(--color-line);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  transform: rotate(-45deg);
}
.price-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--color-muted-2);
  margin: 32px 0 0;
}

/* ---------- Sticky Kakao CTA Bar (main page only) ---------- */
body.has-sticky-cta {
  padding-bottom: 100px;
}
.sticky-cta-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20,22,27,0.18);
  z-index: 95;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 32px);
}
.sticky-cta-text {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-ink);
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .sticky-cta-bar {
    display: none;
  }
}

.sticky-cta-mobile {
  display: none;
}
@media (max-width: 600px) {
  .sticky-cta-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: flex;
    box-shadow: 0 -4px 16px rgba(20,22,27,0.14);
  }
  .sticky-cta-mobile-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
  }
  .sticky-cta-mobile-item svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
  }
  .sticky-cta-call {
    background: #153F98;
    color: #fff;
  }
  .sticky-cta-kakao-mobile {
    background: #fee500;
    color: #191919;
  }
}
