/* =========================================================
   세무회계 마루 — 미니멀 블로그 스타일
   색상/여백/타이포를 한곳에서 관리합니다.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f6fd;
  --text: #16213a;
  --text-soft: #5a6782;
  --line: #e3e8f3;
  --accent: #2348d6;          /* 세무회계 마루 브랜드 로열 블루 */
  --accent-strong: #16329e;   /* 더 진한 블루 (그라데이션·강조) */
  --accent-soft: #e8edfd;     /* 밝은 블루 배경 */
  --highlight: #ffd23a;       /* 브랜드 포인트 옐로우 */
  --max-width: 760px;         /* 본문(블로그) 가독성 폭 */
  --max-wide: 1120px;         /* 히어로 등 넓은 영역 */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 33, 58, .04), 0 10px 30px rgba(35, 72, 214, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-wide);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}

.brand .mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--text-soft);
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav a:hover, .nav a.active { color: var(--accent); }

/* 앵커 이동 시 고정 헤더에 가리지 않도록 여백 */
.card, #services { scroll-margin-top: 90px; }

/* ---------- 히어로 ---------- */
.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  margin: 0 0 14px;
  font-size: 2.3rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.hero p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
}

/* ---------- 글 목록 ---------- */
.section-title {
  margin: 48px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: none;
}

/* 방송 출연 영상 — 썸네일(왼쪽) + 강의 제목(오른쪽) 가로 행으로 나열 */
.media-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 8px;
  max-width: 720px;
}
.media-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s;
}
.media-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.video-frame {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -.01em;
}

/* 클릭 전 썸네일(파사드) — 클릭하면 iframe으로 교체되어 재생됩니다 */
.video-facade {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.video-facade .thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-facade .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 36px;
  border-radius: 9px;
  background: rgba(20, 20, 20, .72);
  display: grid;
  place-items: center;
  transition: background .15s, transform .15s;
}
.video-facade .play-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}
.video-facade:hover .play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}

@media (max-width: 600px) {
  .media-card { gap: 12px; padding: 10px; }
  .video-frame { width: 150px; }
  .media-card h3 { font-size: .92rem; }
}

.post-list { list-style: none; margin: 0; padding: 0; }

.post-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.post-item:last-child { border-bottom: none; }

.post-item a.post-link { display: block; }

.post-item .post-meta {
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.post-item h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  transition: color .15s ease;
}
.post-item:hover h2 { color: var(--accent); }
.post-item .excerpt {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}
.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--text-soft);
}

/* ---------- 글 본문 ---------- */
.article { padding: 56px 0 40px; }
.article .post-meta {
  font-size: .9rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.article h1 {
  margin: 0 0 28px;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.article-body { font-size: 1.05rem; }
.article-body h2 {
  margin: 40px 0 14px;
  font-size: 1.4rem;
  letter-spacing: -.01em;
}
.article-body h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  color: var(--text);
}
.article-body code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .92em;
}
.article-body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: 10px;
  overflow-x: auto;
}
.article-body pre code { background: none; padding: 0; }
.article-body img { max-width: 100%; border-radius: 10px; }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--bg-soft); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 600;
  font-size: .95rem;
}
.back-link:hover { text-decoration: underline; }

/* ---------- 소개 페이지 ---------- */
.about { padding: 56px 0 40px; }
.about h1 { font-size: 2rem; margin: 0 0 24px; letter-spacing: -.02em; }
.about p { color: var(--text); margin: 0 0 18px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-soft); font-size: .95rem; }

.contact-box {
  margin: 32px 0 8px;
  padding: 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-box h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  font-size: 1.1rem;
  color: var(--accent-strong);
}
.contact-box h3 span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.contact-box dl { display: grid; grid-template-columns: 88px 1fr; gap: 10px 16px; margin: 0; }
.contact-box dt { color: var(--text-soft); font-weight: 600; }
.contact-box dd { margin: 0; }

/* ---------- 푸터 ---------- */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--text-soft);
  font-size: .9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  max-width: var(--max-wide);
}

/* ---------- 반응형 ---------- */
/* 메뉴 항목이 많아 좁은 화면에서는 헤더를 2행(로고 + 메뉴 가로 스크롤)으로 */
@media (max-width: 820px) {
  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav {
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .card, #services { scroll-margin-top: 110px; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 1.8rem; }
  .nav { gap: 16px; font-size: .9rem; }
  .brand span.full { display: none; }
}

/* ---------- 빈 상태 ---------- */
.empty {
  padding: 40px 0;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: transform .06s ease, filter .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); }

.btn-call { background: var(--bg-soft); border-color: var(--line); color: var(--text); }
.btn-call:hover { background: #eef0f3; }

.btn-block { width: 100%; }

/* 히어로 CTA */
.hero-cta { margin-top: 26px; }

/* ---------- 상담신청 페이지 ---------- */
.contact { padding: 56px 0 40px; }
.contact h1 {
  margin: 14px 0 16px;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.contact-intro {
  margin: 0 0 32px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* 전화 상담 카드 */
.call-card {
  text-align: center;
  padding: 44px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.call-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
}
.call-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--accent);
  line-height: 1.1;
}
.call-hours {
  margin: 14px 0 4px;
  color: var(--text-soft);
  font-size: .95rem;
}
.call-card .btn-block { max-width: 320px; margin: 0 auto; }
.call-addr { margin: 0 0 22px; color: var(--text-soft); font-size: .98rem; }

/* 네이버 지도 링크 */
.map-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-link:hover { color: var(--accent-strong); }

.mail-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.mail-link:hover { color: var(--accent-strong); }

/* ---------- 찾아오시는 길 (지도 카드) ---------- */
.map-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: inherit;
  transition: box-shadow .15s ease, transform .1s ease;
}
.map-card:hover { box-shadow: 0 14px 32px rgba(35, 72, 214, .16); transform: translateY(-2px); }
.map-card-visual {
  flex: 0 0 40%;
  min-height: 170px;
  display: grid;
  place-items: center;
  background-color: #e8eefc;
  background-image:
    linear-gradient(rgba(35, 72, 214, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 72, 214, .09) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-card-pin { font-size: 2.8rem; filter: drop-shadow(0 4px 5px rgba(16, 33, 58, .25)); }
.map-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 24px 26px;
}
.map-card-info strong { font-size: 1.2rem; letter-spacing: -.01em; }
.map-card-addr { color: var(--text); font-size: 1rem; }
.map-card-sub { color: var(--text-soft); font-size: .9rem; }
.map-card-cta { margin-top: 8px; color: var(--accent); font-weight: 700; font-size: .95rem; }

@media (max-width: 600px) {
  .map-card { flex-direction: column; }
  .map-card-visual { flex-basis: auto; min-height: 130px; }
}

/* ---------- 플로팅 빠른 상담 버튼 ---------- */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
}
.float-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(35, 72, 214, .38);
  transition: transform .12s ease, filter .15s ease;
}
.float-call:hover { transform: translateY(-2px); filter: brightness(1.06); }
.float-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 1.15rem;
}
.float-label { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1rem; }
.float-label small { font-weight: 600; font-size: .8rem; opacity: .92; }

/* ---------- 반응형 (상담 관련) ---------- */
@media (max-width: 600px) {
  .contact h1 { font-size: 1.7rem; }
  .call-number { font-size: 2.1rem; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-label { font-size: .92rem; }
  .float-label small { font-size: .76rem; }
}

/* =========================================================
   프로 히어로 (소개형) — 좌: 인물/소개, 우: 실적 카드 + 강조박스
   ========================================================= */
.hero-pro {
  background: linear-gradient(180deg, #e6ecfd 0%, #f3f6ff 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;   /* 오른쪽 패널을 더 넓게 */
  gap: 36px;
  align-items: center;
}

/* ----- 왼쪽: 소개 ----- */
.hero-photo {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(29, 78, 216, .26);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: .95rem;
}
.hero-name {
  margin: 0 0 10px;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
}
.hero-name .accent { color: var(--accent); }
.hero-lead {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
}
/* 핵심 이력 노출 */
.hero-creds {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid #d7e0fb;
  border-radius: 12px;
}
.hero-creds li {
  position: relative;
  padding-left: 24px;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--text);
}
.hero-creds li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.hero-creds li span { color: var(--accent); font-weight: 700; }   /* (개업 N년) 강조 */
.hero-creds #years-open { font-size: 1.15em; font-weight: 800; color: var(--accent-strong); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-outline {
  background: transparent;
  border-color: rgba(29, 78, 216, .4);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); }

/* ----- 오른쪽: 카드 패널 ----- */
.hero-panel {
  padding: 22px;
  background: linear-gradient(160deg, #e6edfe 0%, #f2f6ff 100%);
  border: 1px solid #d7e0fb;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(35, 72, 214, .12);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3칸 × 2줄 */
  gap: 14px;
}
.stat-tile {
  display: block;
  min-width: 0;
  padding: 20px 10px;
  background: #fff;
  border: 1px solid #e2e8f6;
  border-radius: 16px;
  color: inherit;
  text-align: center;
  box-shadow: 0 3px 10px rgba(35, 72, 214, .07);
  transition: border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.stat-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(35, 72, 214, .18);
  transform: translateY(-3px);
}
.stat-num {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent-strong);
  white-space: nowrap;
}
.stat-label { margin-top: 7px; color: var(--text-soft); font-size: .8rem; line-height: 1.4; white-space: nowrap; letter-spacing: -.02em; }

.highlight-box {
  display: block;
  margin-top: 12px;
  padding: 16px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(35, 72, 214, .32);
  transition: transform .12s ease, filter .15s ease;
}
.highlight-box:hover { transform: translateY(-2px); filter: brightness(1.06); }
.hl-label { display: block; font-size: .95rem; font-weight: 700; opacity: .95; }
.hl-phone {
  display: block;
  margin: 3px 0;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: #fff;
}
.hl-sub { display: block; font-size: .83rem; opacity: .85; }

/* ----- 프로 히어로 반응형 ----- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-name { font-size: 2.3rem; }
}
@media (max-width: 600px) {
  .hero-pro { padding: 44px 0 52px; }
  .hero-name { font-size: 2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }  /* 휴대폰에선 2칸 */
  .stat-num { font-size: 1.35rem; }
  .stat-label { white-space: normal; font-size: .72rem; }  /* 좁은 화면에선 줄바꿈 허용 */
  .hl-phone { font-size: 1.9rem; }
}

/* =========================================================
   대표 세무사 프로필 (소개 페이지)
   ========================================================= */
.profile {
  margin: 32px 0 8px;
  padding: 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.profile-head {
  display: flex;
  gap: 26px;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.profile-photo {
  width: 124px;
  height: 152px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(35, 72, 214, .16);
}
.profile-en {
  display: block;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.profile-headline h2 {
  margin: 5px 0 14px;
  font-size: 1.7rem;
  letter-spacing: -.02em;
}
.profile-roles { list-style: none; margin: 0; padding: 0; }
.profile-roles li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 14px;
  font-size: .98rem;
  color: var(--text);
}
.profile-roles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.profile-roles li span { color: var(--text-soft); font-size: .9rem; font-weight: 400; }

.profile-section { margin-top: 24px; }
.profile-section h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  font-size: 1.1rem;
  color: var(--accent-strong);
}
.profile-section h3 span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.profile-section ul { list-style: none; margin: 0; padding: 0; }
.profile-section li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-bottom: 1px dashed var(--line);
  font-size: .97rem;
  color: var(--text);
}
.profile-section li:last-child { border-bottom: none; }
.profile-section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* 대표 저서 카드 */
.book-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.book-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.book-cover {
  flex: 0 0 auto;
  width: 96px;
  height: 135px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-size: 2rem;
  box-shadow: 0 6px 16px rgba(35, 72, 214, .25);
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-info { display: flex; flex-direction: column; gap: 5px; }
.book-info strong { font-size: 1.08rem; letter-spacing: -.01em; }
.book-info strong em { font-style: normal; color: var(--text-soft); font-weight: 600; font-size: .92rem; }
.book-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}
.book-desc { color: var(--text-soft); font-size: .94rem; line-height: 1.5; }
.book-link { margin-top: 4px; color: var(--accent); font-weight: 700; font-size: .92rem; }

@media (max-width: 600px) {
  .profile, .contact-box { padding: 20px; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .profile-headline h2 { font-size: 1.4rem; }
}
