/* =========================================================
   법률사무소 든솔 — 메인 레퍼런스 스타일
   디자인 토큰은 :root 변수로 관리 (그누보드7 이식 시 그대로 옮기기)
   ========================================================= */
:root {
  /* Color */
  --c-primary: #2F5D4A;      /* 딥 소나무 그린: 포인트·주 버튼 */
  --c-title: #1F3D31;        /* 진한 그린: 제목·푸터 배경 */
  --c-bg: #FBF8F2;           /* 아이보리: 기본 배경 */
  --c-bg-alt: #F3EDE2;       /* 크림: 섹션 구분 배경 */
  --c-accent: #C2704F;       /* 테라코타: 장식 전용(글자색 사용 금지, 대비 부족) */
  --c-text: #2B2B2B;         /* 본문 */
  --c-line: #E3DCCF;         /* 구분선 */
  --c-white: #FFFFFF;
  --c-muted: #55554C;        /* 보조 텍스트(고지문·날짜) */
  --c-placeholder: #D6D3CC;  /* 사진 플레이스홀더 */

  /* Typography */
  --font-title: "Noto Serif KR", serif;
  --font-body: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  --lh-body: 1.7;

  /* Shape & spacing */
  --radius-sm: 16px;
  --radius: 20px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1280px;
  --gutter: 20px;
  --section-y: 96px;
  --btn-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--lh-body);
  word-break: keep-all;          /* 어절 단위 줄바꿈 */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- Button (모든 CTA 공통 스타일) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h); padding: 0 28px;
  border-radius: var(--radius-pill); border: 2px solid var(--c-primary);
  font-weight: 700; font-size: 17px; line-height: 1.3; text-align: center;
  transition: background .2s, color .2s;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-title); border-color: var(--c-title); }
.btn--secondary { background: var(--c-bg); color: var(--c-primary); }
.btn--secondary:hover { background: var(--c-bg-alt); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-group--center { justify-content: center; }

/* ---------- Chip / Tag ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--c-bg-alt); color: var(--c-title); font-size: 15px; font-weight: 700; }
.chip--outline { background: var(--c-bg); border: 1.5px solid var(--c-line); color: var(--c-primary); }
.tag { display: inline-flex; align-self: flex-start; min-height: 34px; align-items: center; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--c-accent); color: var(--c-title); font-size: 15px; font-weight: 700; }

/* ---------- Icon (라인 아이콘) ---------- */
.icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c-bg); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--c-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 56px; height: 56px; background: var(--c-bg-alt); }
.icon--lg svg { width: 28px; height: 28px; }

/* ---------- Section ---------- */
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.section--cream { background: var(--c-bg-alt); }
.section__title { font-family: var(--font-title); font-weight: 700; font-size: 36px; line-height: 1.4; color: var(--c-title); text-align: center; }
.section__title--left { text-align: left; }
.section__sub { margin-top: 12px; font-size: 18px; text-align: center; }
.card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 36px; }
.card--ivory { background: var(--c-bg); border-color: transparent; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.placeholder { display: flex; align-items: center; justify-content: center; background: var(--c-placeholder); color: var(--c-muted); border-radius: var(--radius); font-size: 15px; text-align: center; }

/* 소나무 라인 일러스트 (배경 장식) */
.deco-pine { position: absolute; width: 240px; opacity: .2; pointer-events: none; }
.deco-pine--br { right: 60px; bottom: 40px; }
.deco-pine--tl { left: 80px; top: 40px; }
.deco-pine--tr { right: 80px; top: 40px; }
.deco-pine--cta { right: 40px; bottom: 30px; width: 220px; }
/* 섹션 전체 배경형 (공감 섹션) */
.deco-pine.deco-pine--bg { inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; z-index: 0; }
.empathy > .container, .about > .container { position: relative; z-index: 1; }

/* ---------- 1) GNB ---------- */
.gnb { position: sticky; top: 0; z-index: 50; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.gnb__inner { display: flex; align-items: center; height: 88px; gap: 40px; }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo__ko { font-family: var(--font-title); font-weight: 700; font-size: 28px; color: var(--c-title); }
.logo__en { font-size: 14px; color: var(--c-primary); }
.logo__img { flex-shrink: 0; align-self: center; width: auto; height: 44px; }
.logo__ko, .logo__en { white-space: nowrap; line-height: 1; }
/* 데스크톱: 심볼 왼쪽 + 국문/영문 2단 로고 */
@media (min-width: 1201px) {
  .logo { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; row-gap: 6px; }
  .logo__img { grid-row: 1 / 3; height: 58px; }
  .logo__ko { align-self: end; font-size: 30px; letter-spacing: .02em; }
  .logo__en { align-self: start; font-size: 13px; letter-spacing: .04em; }
}
.gnb__nav { display: flex; align-items: center; align-self: stretch; gap: 36px; margin-left: auto; }
.gnb__nav a { font-size: 16px; }
.gnb__nav a:hover { color: var(--c-primary); }
/* 2단 메뉴: 든솔 소개에 마우스오버 시 바로 아래에 하위메뉴 노출 */
.gnb__item { position: relative; display: flex; align-items: center; align-self: stretch; }
.gnb__sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 150px; padding: 8px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-sm); box-shadow: 0 12px 24px rgba(31, 61, 49, .08); display: none; }
.gnb__sub a { display: block; padding: 10px 16px; border-radius: 10px; white-space: nowrap; font-size: 15px; text-align: center; }
.gnb__sub a:hover { background: var(--c-bg-alt); }
.gnb__item:hover > .gnb__sub, .gnb__item:focus-within > .gnb__sub { display: block; }
/* 고정 헤더에 앵커 섹션이 가려지지 않도록 */
section[id] { scroll-margin-top: 88px; }
/* 메인 배너는 페이지 맨 위(0)까지 올라가도록 여유를 크게 */
section.hero[id] { scroll-margin-top: 200px; }
.gnb__menu { display: none; }
.br-m { display: none; }

/* ---------- 2) Hero ---------- */
.hero { padding: 16px var(--gutter) 0; }
.hero__frame { position: relative; max-width: 1392px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; }
.hero__img { width: 100%; height: auto; aspect-ratio: 2 / 1; } /* 원본 비율 그대로, 크롭 없음 */
.hero__text { position: absolute; inset: 0 auto 0 0; width: 52%; padding: 7.5% 0 0 5%; }
.hero__label { display: inline-block; padding: 6px 18px; border-radius: var(--radius-pill); background: rgba(251, 248, 242, .9); color: var(--c-primary); font-size: 15px; font-weight: 700; }
.hero__title { margin-top: 22px; font-family: var(--font-title); font-weight: 700; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.35; color: var(--c-title); }
.hero__sub { margin-top: 24px; max-width: 34em; font-size: 18px; }
.hero__text .btn-group { margin-top: 32px; }

/* ---------- 3) 안심 바 ---------- */
.trust { padding: 32px 0; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-bg-alt); border-radius: var(--radius-lg); padding: 32px 0; max-width: 1280px; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 0 20px; font-weight: 700; color: var(--c-title); line-height: 1.5; }
.trust__item + .trust__item { border-left: 1px solid var(--c-line); }

/* ---------- 4) 공감 ---------- */
.empathy .container { display: flex; flex-direction: column; align-items: center; }
.empathy__label { margin-top: 24px; }
.empathy__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; width: 100%; margin-top: 40px; }
.bubble { position: relative; background: var(--c-bg); border-radius: var(--radius-lg); padding: 72px 36px 40px; font-size: 19px; }
.bubble::before { content: "\201C"; position: absolute; left: 32px; top: 14px; font-family: var(--font-title); font-size: 56px; line-height: 1; color: var(--c-accent); }
.bubble::after { content: ""; position: absolute; left: 48px; bottom: -22px; border-style: solid; border-width: 24px 32px 0 0; border-color: var(--c-bg) transparent transparent transparent; }
.empathy__close { margin-top: 64px; font-size: 22px; font-weight: 700; color: var(--c-title); text-align: center; }

/* ---------- 5) 분야 ---------- */
.area { display: flex; flex-direction: column; }
.area__name { margin-top: 20px; font-family: var(--font-title); font-size: 24px; font-weight: 700; color: var(--c-title); line-height: 1.4; }
.area__lead { margin-top: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); font-size: 18px; font-weight: 700; color: var(--c-primary); line-height: 1.6; }
.area__body { margin-top: 22px; flex: 1; }
.area .chips { margin-top: 24px; }
.area .btn { margin-top: 32px; }

/* ---------- 6) 해결 사례 ---------- */
.case { display: flex; flex-direction: column; padding: 32px; }
.case__rows { margin-top: 28px; flex: 1; }
.case__rows dt { font-size: 15px; font-weight: 700; color: var(--c-primary); }
.case__rows dd { margin: 2px 0 16px; }
.link-more { padding-top: 16px; border-top: 1px solid var(--c-line); font-weight: 700; color: var(--c-primary); }
.cases__notice { margin: 40px auto 0; max-width: 1120px; font-size: 15px; color: var(--c-muted); text-align: center; }

/* ---------- 7) 프로세스 + FAQ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; counter-reset: step; }
.step { position: relative; background: var(--c-bg-alt); border-radius: var(--radius-lg); padding: 28px; }
.step + .step::before { content: "→"; position: absolute; left: -26px; top: 36px; color: var(--c-accent); font-weight: 700; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: var(--c-white); font-weight: 700; font-size: 18px; }
.step__title { margin: 20px 0 10px; font-size: 21px; font-weight: 700; color: var(--c-title); }
.faq__label { margin-top: 64px; text-align: center; font-size: 15px; font-weight: 700; color: var(--c-primary); }
.faq { max-width: 960px; margin: 16px auto 40px; display: grid; gap: 12px; }
.faq details { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.faq summary { position: relative; list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; padding: 20px 64px 20px 32px; font-size: 18px; font-weight: 700; color: var(--c-title); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 30px; font-size: 24px; font-weight: 400; color: var(--c-primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 32px; padding: 16px 0 24px; border-top: 1px solid var(--c-line); }

/* ---------- 8) 소개 ---------- */
.about__inner { display: grid; grid-template-columns: 600px 1fr; gap: 80px; align-items: center; }
.about__photo { aspect-ratio: 600 / 520; }
.about__body { margin-top: 28px; font-size: 18px; }
.profile { margin-top: 28px; padding: 24px 28px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: 16px; }
.profile__group { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; margin: 0; }
.profile__group + .profile__group { border-top: 1px solid var(--c-line); }
.profile__group:first-child { padding-top: 0; }
.profile__group:last-child { padding-bottom: 0; }
.profile dt { font-weight: 700; font-size: 16px; color: var(--c-primary); }
.profile dd { margin: 0; }
.profile ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.6; color: var(--c-text); word-break: keep-all; }
.profile li + li { margin-top: 6px; }
.profile__now li { font-weight: 700; color: var(--c-title); }
.profile__now li::before, .profile__prev li::before { display: inline-block; min-width: 30px; margin-right: 8px; font-size: 13px; font-weight: 700; }
.profile__now li::before { content: "현"; min-width: 0; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: var(--c-primary); color: var(--c-white); margin-right: 10px; }
.profile__prev { margin-top: 14px !important; padding-top: 14px !important; border-top: 1px dashed var(--c-line); }
.profile__prev li { color: var(--c-muted); }
.profile__prev li::before { content: "전"; min-width: 0; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-muted); margin-right: 10px; }
.about .btn-group { margin-top: 32px; flex-wrap: nowrap; gap: 12px; }
.about .btn-group .btn { flex: 1 1 0; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.about .btn { font-size: 16px; min-height: 52px; }

/* ---------- 8-1) 오시는 길 ---------- */
.location__inner { display: grid; grid-template-columns: 1fr 440px; gap: 40px; margin-top: 56px; align-items: stretch; }
.location__map { width: 100%; height: 480px; overflow: hidden; } /* 지도 API 컨테이너: 높이 고정 */
/* 카카오맵 (README D-40): 지도 위 사무소 이름표, 불러오기 실패 시 링크 */
.location__map { border-radius: var(--radius); }
.location__map-label { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--c-primary); color: var(--c-white); font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px rgba(31, 61, 49, .2); }
.location__map-fallback { padding: 16px; color: var(--c-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.location__info { display: flex; flex-direction: column; }
.location__list { display: grid; gap: 24px; flex: 1; }
.location__row { display: flex; align-items: flex-start; gap: 16px; }
.location__label { font-size: 15px; font-weight: 700; color: var(--c-primary); }
.location__value { margin-top: 2px; font-size: 17px; color: var(--c-title); }
.location__btns { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); gap: 12px; }
.location__btns .btn { flex: 1; }

/* ---------- 9) 소식 ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.tab { min-width: 130px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--c-line); background: var(--c-bg); font: 700 16px/1 var(--font-body); color: var(--c-text); cursor: pointer; }
.tab.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.news__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.news-card__thumb { aspect-ratio: 296 / 196; }
.news-card__cat { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--c-primary); }
.news-card__title { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--c-title); line-height: 1.5; }
.news-card__date { margin-top: 8px; font-size: 15px; color: var(--c-muted); }

/* ---------- 10) CTA + 푸터 ---------- */
.cta { padding-top: 0; }
.cta__box { position: relative; overflow: hidden; background: var(--c-bg-alt); border-radius: var(--radius-lg); padding: 68px 32px; }
.cta .btn-group { margin-top: 32px; }
.footer { background: var(--c-title); color: var(--c-line); padding: 52px 0 64px; }
/* 푸터 로고: 헤더 데스크톱 로고와 같은 2단 구성 (심볼은 어두운 배경용 밝은 버전) */
.footer__logo { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; row-gap: 6px; }
.footer__logo-img { grid-row: 1 / 3; width: auto; height: 58px; }
.footer__logo-ko { align-self: end; font-family: var(--font-title); font-weight: 700; font-size: 30px; letter-spacing: .02em; line-height: 1; color: var(--c-bg); white-space: nowrap; }
.footer__logo-en { align-self: start; font-size: 13px; letter-spacing: .04em; line-height: 1; color: #A9BFA9; white-space: nowrap; }
.footer__info { margin-top: 18px; font-size: 15px; line-height: 1.8; }
.footer__info > * + *::before { content: "·"; margin: 0 8px; }
.footer__info a { text-decoration: underline; }
.step p a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.mbar { display: none; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1200px) {
  .gnb__nav { gap: 24px; }
  .logo__en { display: none; }
  .grid-3, .empathy__list { gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step::before { display: none; }
  .news__list { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about .btn-group { flex-direction: column; align-items: flex-start; }
  .about .btn-group .btn { flex: none; padding: 0 28px; font-size: 16px; white-space: normal; }
  .location__inner { grid-template-columns: 1fr 360px; gap: 24px; }
  .location__map { height: 420px; }
  .hero__sub { font-size: 16px; }
}

/* =========================================================
   Mobile (기준 390px)
   ========================================================= */
@media (max-width: 767px) {
  :root { --section-y: 56px; }
  body { padding-bottom: 77px; } /* 하단 고정 바 높이 (12 + 52 + 12 + 상단 선 1) */

  .gnb__inner { height: 64px; gap: 0; justify-content: space-between; }
  .logo__ko { font-size: 24px; }
  .logo { gap: 8px; padding: 5px 0; } /* 터치 영역 44px (심볼 34 + 위아래 5) */
  .logo__img { height: 34px; }
  .gnb__nav, .gnb__cta { display: none; }
  .gnb__menu { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
  .gnb__menu span { height: 2.5px; border-radius: 2px; background: var(--c-title); }
  .gnb__menu span { transition: transform .2s, opacity .2s; }
  /* 메뉴 열림 상태 */
  .gnb.is-open .gnb__nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px 20px 16px; background: var(--c-bg); border-bottom: 1px solid var(--c-line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
  .gnb.is-open .gnb__nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--c-line); }
  .gnb.is-open .gnb__nav > a:last-child { border-bottom: 0; }
  /* 모바일 2단 메뉴: 하위 메뉴를 펼친 상태로 들여쓰기 표시 */
  .gnb.is-open .gnb__nav { max-height: calc(100vh - 64px - 77px); overflow-y: auto; } /* 헤더 64 + 하단 고정 바 77 (마지막 메뉴가 하단 바에 가려지지 않게, README 13장 DR-01) */
  .gnb__item { display: block; }
  .gnb.is-open .gnb__item > a { display: block; }
  .gnb__sub { display: block; position: static; transform: none; min-width: 0; padding: 4px 0 8px 16px; background: none; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; box-shadow: none; }
  .gnb.is-open .gnb__sub a { text-align: left; }
  .gnb.is-open .gnb__sub a { padding: 10px 0; font-size: 16px; color: var(--c-muted); border-bottom: 0; border-radius: 0; }
  .gnb.is-open .gnb__sub a::before { content: "– "; color: var(--c-line); }
  .gnb.is-open .gnb__sub a:hover { background: none; color: var(--c-primary); }
  section[id] { scroll-margin-top: 64px; }
  .gnb.is-open .gnb__menu span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .gnb.is-open .gnb__menu span:nth-child(2) { opacity: 0; }
  .gnb.is-open .gnb__menu span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

  .section__title { font-size: 24px; }
  .section__sub { font-size: 16px; }

  /* Hero: 이미지(2:1)는 그대로 두고 라벨만 이미지 위, 나머지 텍스트는 아래 */
  .hero { padding-top: 16px; }
  .hero__frame { border-radius: var(--radius-sm); overflow: visible; }
  .hero__img { border-radius: var(--radius-sm); }
  .hero__text { position: static; width: auto; padding: 0; }
  .hero__label { position: absolute; left: 12px; top: 12px; font-size: 13px; padding: 4px 12px; }
  .hero__title { margin-top: 24px; font-size: 28px; }
  .br-pc { display: none; }
  .br-m { display: inline; }
  .hero__sub { font-size: 17px; margin-top: 16px; }
  .hero__text .btn-group { flex-direction: column; gap: 12px; margin-top: 24px; }
  .hero__text .btn { width: 100%; }

  .trust { padding: 24px 0; } /* 아래 여백: 다음 섹션(크림 배경)과 박스가 붙지 않도록 */
  .trust__list { grid-template-columns: 1fr 1fr; gap: 16px; background: none; padding: 0 var(--gutter); }
  .trust__item { flex-direction: column; justify-content: flex-start; text-align: center; gap: 12px; padding: 24px 12px; background: var(--c-bg-alt); border-radius: var(--radius); font-size: 14px; }
  .trust__item + .trust__item { border-left: 0; }
  .trust .icon { width: 42px; height: 42px; }

  .grid-3, .empathy__list, .news__list, .steps { grid-template-columns: 1fr; }
  .grid-3 { margin-top: 32px; gap: 20px; }
  .empathy__list { gap: 32px; margin-top: 32px; }
  .bubble { padding: 60px 24px 28px; font-size: 17px; border-radius: var(--radius); }
  .empathy__close { margin-top: 48px; font-size: 18px; }
  .deco-pine { width: 130px; }
  .deco-pine--br, .deco-pine--tl { display: none; }
  .deco-pine--tr { right: 10px; top: 20px; }
  .deco-pine--cta { width: 115px; right: 10px; top: 10px; bottom: auto; }

  .card { padding: 24px; border-radius: var(--radius); }
  .area__name { font-size: 22px; }
  .area__lead { font-size: 17px; }
  .chip, .tag { font-size: 14px; }
  .cases__notice { font-size: 14px; text-align: left; }

  /* 프로세스: 세로 타임라인 */
  .steps { gap: 0; margin-top: 32px; }
  .step { background: none; padding: 0 0 32px 60px; border-radius: 0; }
  .step::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--c-line); }
  .step:last-child::after { display: none; }
  .step__num { position: absolute; left: 0; top: 0; }
  .step__title { margin: 8px 0 6px; font-size: 19px; }
  .faq__label { margin-top: 24px; font-size: 14px; }
  .faq summary { min-height: 64px; padding: 18px 52px 18px 22px; font-size: 17px; }
  .faq summary::after { right: 20px; }
  .faq details p { margin: 0 22px; }
  .process .btn { width: 100%; }

  .about__inner { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { aspect-ratio: 4 / 3; }
  .section__title--left { font-size: 28px; }
  .about__body { font-size: 16px; margin-top: 16px; }
  .about .btn-group { align-items: stretch; }
  .profile { padding: 20px 18px; }
  .profile__group { grid-template-columns: 44px 1fr; gap: 10px; }

  .location__inner { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .location__map { height: 280px; border-radius: var(--radius); }
  .location__list { gap: 20px; }
  .location .icon--lg { width: 48px; height: 48px; }
  .location__value { font-size: 16px; }
  .location__btns { margin-top: 24px; padding-top: 20px; }

  .tabs { justify-content: flex-start; gap: 10px; }
  .tab { min-width: 0; flex: 1; min-height: 44px; font-size: 15px; padding: 0 8px; }
  .news__list { gap: 0; margin-top: 24px; }
  .news-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
  .news-card__thumb { aspect-ratio: 4 / 3; border-radius: 14px; font-size: 14px; }
  .news-card__cat { margin-top: 0; font-size: 14px; }
  .news-card__title { font-size: 16px; }
  .news-card__date { font-size: 14px; }

  .cta { padding-bottom: 32px; }
  .cta__box { padding: 40px 20px; border-radius: var(--radius); }
  .cta .btn-group { flex-direction: column; gap: 12px; }
  .footer { padding: 36px 0 40px; }
  .footer__logo { column-gap: 10px; row-gap: 5px; }
  .footer__logo-img { height: 48px; }
  .footer__logo-ko { font-size: 26px; }
  .footer__logo-en { font-size: 12px; }
  .footer__info { display: flex; flex-direction: column; font-size: 14px; }
  .footer__info a { align-self: flex-start; padding: 10px 0; margin: -10px 0; } /* 터치 영역 44px, 줄 간격은 유지 */
  .footer__info > * + *::before { content: none; }

  /* 하단 고정 CTA 바 (전화 / 상담예약 / 오시는 길) */
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 8px; padding: 12px; background: var(--c-bg); border-top: 1px solid var(--c-line); }
  .mbar .btn { min-height: 52px; padding: 0 8px; font-size: 16px; }
  /* 한 화면에 주 버튼 하나: 모바일은 하단 바가 항상 보이므로 본문 안 주 버튼은 보조 버튼 모양으로 */
  main .btn--primary { background: var(--c-bg); color: var(--c-primary); }
  main .btn--primary:hover { background: var(--c-bg-alt); border-color: var(--c-primary); }
}

/* ===== 인사말 ===== */
.letter .container { display: flex; flex-direction: column; align-items: center; }
.letter__label { margin-bottom: 16px; }
.letter__body { width: 100%; max-width: 960px; margin-top: 40px; font-size: 18px; line-height: 1.9; color: var(--c-text); text-align: left; word-break: keep-all; }
.letter__body p + p,
.letter__body p + .letter__points,
.letter__points + p { margin-top: 1.2em; }
.letter__points { padding-left: 20px; border-left: 3px solid var(--c-primary); }
.letter__points p + p { margin-top: 0.9em; }
.letter__points strong { font-weight: 700; color: inherit; }
.letter__lead { font-size: 1.1em; padding-bottom: 1.2em; border-bottom: 1px solid var(--c-line); }
.letter__body strong { font-weight: 700; color: var(--c-title); }
.letter__body mark { background: linear-gradient(transparent 62%, rgba(47,93,74,.18) 62%); color: var(--c-title); font-weight: 700; padding: 0 2px; }
.letter__points { padding: 4px 0 4px 20px; }
.letter__body .letter__sign { margin-top: 2em; text-align: right; }

@media (max-width: 767px) {
  .letter__label { margin-bottom: 12px; }
  .letter__body { margin-top: 28px; font-size: 16px; }
  .letter__body .letter__sign { text-align: left; }
}

/* ===== 접근성 공통 (README 13장 DR-09 · DR-12) ===== */
/* 키보드 포커스 표시: 마우스 클릭 때는 보이지 않고 Tab 이동 때만 표시 */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; }
/* 본문 바로가기: 평소에는 숨기고 키보드 포커스 때만 왼쪽 위에 표시 */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 70; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--c-primary); color: var(--c-white); font-weight: 700; }
.skip-link:focus { top: 12px; }
