/* ==========================================================================
   SIC 서울통역센터 — 공용 스타일
   The Matrix Group 재구현본의 토큰·컴포넌트를 그대로 계승했습니다.
   페이지가 여러 장이 되면서 인라인 <style>을 이 파일로 뺐습니다.
   외부 의존성은 여전히 0 (로컬 파일만 참조).
   ========================================================================== */

/* ============ 웹폰트 (자체 호스팅) ============ */
@font-face {
  font-family: "YES24 Gothic";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/yes24gothic-400.woff2") format("woff2");
}
@font-face {
  font-family: "YES24 Gothic";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/yes24gothic-500.woff2") format("woff2");
}
@font-face {
  font-family: "YES24 Gothic";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/yes24gothic-700.woff2") format("woff2");
}
@font-face {
  font-family: "YES24 Gothic";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/yes24gothic-800.woff2") format("woff2");
}

/* ============ 토큰 (원본 사이트 실측값) ============ */
:root {
  --bg:          #f8f8f9;
  --surface:     #eaedf0;
  --surface-brd: #c4c4c3;
  --divider:     #e1e5e6;
  --radius:      6px;

  --text:    #333333;
  --heading: #30383a;
  --label:   #454f51;
  --link:    #223b66;

  /* 밝은 톤을 주 브랜드 색으로 사용 — 헤더·버튼·활성 상태 등 '면'에 쓴다.
     흰 글씨 대비 4.82:1 (AA 통과). */
  --brand:      #1079ac;
  --brand-deep: #004376;
  --footer-bg:  #1079ac;

  /* 밝은 배경 위 강조 '글씨'용. --brand를 그대로 쓰면 #f8f8f9 위에서
     4.48:1로 AA에 미달하므로 진한 톤을 따로 둔다 (6.28:1). */
  --brand-ink:  #006195;

  /* 유동 여백: 320px→16px, 375px→17px, 430px→19px, 최대 24px */
  --gutter: clamp(16px, 4.5vw, 24px);

  --section-gap: clamp(28px, 8vw, 44px);
  --card-pad:    clamp(16px, 5vw, 24px);
}

/* ============ 전역 리셋 ============ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "YES24 Gothic", Arial, Helvetica, sans-serif;
  font-size: 16px;            /* 본문 16px 미만 금지 */
  line-height: 1.55;
  word-break: keep-all;       /* 한글 단어 중간에서 끊기지 않게 */
}

/* 중국어·일본어 페이지는 keep-all이 줄바꿈 자체를 막아 320px에서 넘친다
   (띄어쓰기가 없는 문자 체계) — 기본 줄바꿈으로 되돌린다 */
html[lang="zh-CN"] body,
html[lang="ja"] body { word-break: normal; }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

p, li, dd, h1, h2, h3 { overflow-wrap: break-word; }

a { color: var(--link); }

/* 포커스는 항상 보이게 — outline:0 금지 */
:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============ 컨테이너 ============ */
.container {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
}
/* 카드가 여러 장 들어가는 페이지는 조금 넓게 */
.container.wide { max-width: 900px; }

/* ============ Skip link ============ */
.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 200;
  background: var(--brand-deep);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* ============ 헤더 ============ */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);          /* 푸터와 같은 밝은 톤 */
  border-bottom: 3px solid var(--brand-deep);
  color: #fff;
}
header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding-block: 8px;
}
header .logo {
  min-width: 0;
  max-width: 78%;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

/* 워드마크 + 기존 뱃지 락업.
   모바일은 뱃지가 아래, 600px 이상에서는 오른쪽으로 간다. */
.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
@media (min-width: 600px) {
  .brand-lockup {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

.brand-mark {
  height: 30px;
  width: auto;
  max-width: 100%;
}
.brand-badge { flex: 0 0 auto; }
.brand-badge img {
  height: 20px;
  width: auto;
}
@media (min-width: 600px) {
  .brand-mark  { height: 38px; }
  /* 데스크톱 헤더에서는 뱃지를 빼고 워드마크만 쓴다.
     모바일 헤더(워드마크 아래)와 푸터에는 그대로 남는다.
     아래쪽 .sic-logo-3d{display:block}과 특이도가 같아 덮이므로 header를 붙인다. */
  header .brand-badge { display: none; }
}

/* ============ 로고 진입 모션 ============ */
/* 접속 시 1회, 세로축 기준 오른쪽으로 한 바퀴 + 오버슈트("또잉").
   앞뒷면 두 장을 겹쳐 양면으로 만든다. */
@keyframes sic-logo-spin {
  0%   { transform: rotateY(0deg); }
  55%  { transform: rotateY(382deg); }
  75%  { transform: rotateY(347deg); }
  89%  { transform: rotateY(367deg); }
  100% { transform: rotateY(360deg); }
}

.sic-logo-3d { perspective: 900px; display: block; }

.sic-logo-3d__inner {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  animation: sic-logo-spin 1400ms cubic-bezier(.34, 1.2, .5, 1) 250ms 1 both;
}

.sic-logo-3d__face { backface-visibility: hidden; }

.sic-logo-3d__face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}

.hamburger {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
}
.hamburger:hover { background: rgba(255,255,255,.22); }
.hamburger svg { width: 22px; height: 22px; }
.no-js .hamburger { display: none; }

/* ============ 주 내비게이션 ============ */
/* JS 없을 때 기본값: 일반 흐름에 세로로 펼쳐져 그대로 사용 가능 */
.primary-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--surface-brd);
}
.primary-nav ul {
  list-style: none;
  margin: 0; padding: 8px 0;
  display: flex; flex-direction: column;
}
.primary-nav li { padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--link);
  border-radius: 7px;
  overflow-wrap: break-word;
}
.primary-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}
.primary-nav a:hover { background: var(--surface); }
.primary-nav a[aria-current="page"]:hover { background: var(--brand-deep); }

/* JS 모드: 오프캔버스 드로어 */
.js .primary-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(84vw, 320px);
  z-index: 160;
  border-bottom: 0;
  border-left: 1px solid var(--surface-brd);
  box-shadow: -8px 0 24px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
  padding-block: 8px;
  padding-inline-end: env(safe-area-inset-right);
}
.js .primary-nav.open { transform: translateX(0); }

.drawer-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px max(var(--gutter), 12px);
  min-height: 60px;
  border-bottom: 1px solid var(--divider);
}
.js .drawer-head { display: flex; }
.drawer-head .title { font-weight: bold; color: var(--heading); }
.drawer-close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--surface-brd);
  border-radius: var(--radius); color: var(--heading); cursor: pointer;
}
.drawer-close svg { width: 20px; height: 20px; }

.drawer-cta {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px max(var(--gutter), 12px) 4px;
  border-top: 1px solid var(--divider);
  margin-top: 8px;
}
.js .drawer-cta { display: flex; }
/* .primary-nav a(0,1,1)가 .btn-primary(0,1,0)의 글자색을 덮는 것 방지 */
.drawer-cta .btn-primary { color: #fff; }
.drawer-cta .btn-primary:hover { color: #fff; }
.drawer-cta .btn-secondary { color: var(--brand-deep); }

.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 150;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ============ 드로어 언어 전환 ============ */
.drawer-lang {
  padding: 14px max(var(--gutter), 12px) 4px;
  border-top: 1px solid var(--divider);
  margin-top: 8px;
}
.drawer-lang .lang-title {
  margin: 0 0 .6em;
  font-size: 14px;
  font-weight: bold;
  color: var(--label);
}
.drawer-lang ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.drawer-lang li { padding: 0; }   /* .primary-nav li의 패딩 무효화 */
.drawer-lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--surface-brd);
  border-radius: 999px;
  background: var(--bg);
  color: var(--link);
  font-size: 14px;
  text-decoration: none;
}
.drawer-lang a:hover { background: var(--surface); }
.drawer-lang a[aria-current="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ============ 상단 3색 띠 ============ */
/* 높이 26px 고정 — 모바일·데스크톱 동일. 흰 seam 1px 헤어라인. */
.hero {
  width: 100%;
  height: 26px;
  display: flex;
  gap: 1px;
  background: #fff;
  overflow: hidden;
}
.hero .panel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero .p1 { background: linear-gradient(160deg, #3b3f8f 0%, #23245f 100%); }
.hero .p2 { background: linear-gradient(160deg, #2f7d3a 0%, #1c5226 100%); }
.hero .p3 { background: linear-gradient(160deg, #1a7aa8 0%, #0a5478 100%); }
.hero .panel .cap {
  padding: 2px 6px;
  font-size: clamp(9px, 2.4vw, 13px);
  line-height: 1.1;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  overflow-wrap: break-word;
}

/* ============ 섹션 ============ */
main { display: block; }
section { padding-block: var(--section-gap); }
section + section { padding-top: 0; }

/* ============ 히어로 패널 (다크) ============ */
/* 첫 화면에서 약속(30분 배정)과 전환 동선(전화·문자)을 함께 보여준다 */
.hero-panel {
  background: radial-gradient(130% 150% at 88% -12%, var(--brand) 0%, var(--brand-deep) 58%);
  color: #fff;
  padding-block: clamp(32px, 9vw, 56px);
}
.hero-panel .eyebrow {
  margin: 0 0 .8em;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .04em;
  color: rgba(255,255,255,.88);
}
.hero-panel h1 { color: #fff; }
.hero-panel .lead { color: #fff; opacity: .94; }
/* 다크 배경 위 버튼 반전 */
.hero-panel .btn-primary {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}
.hero-panel .btn-primary:hover { background: var(--surface); border-color: var(--surface); }
.hero-panel .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.75);
}
.hero-panel .btn-secondary:hover { background: rgba(255,255,255,.14); }

/* 팩트 칩 */
.chips {
  list-style: none;
  margin: 1.4em 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  line-height: 1.3;
}

/* ============ 신뢰 스트립 ============ */
.trust-strip {
  padding-top: clamp(20px, 5.5vw, 30px);
  border-bottom: 1px solid var(--divider);
}
.trust-title {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--label);
  margin-bottom: .9em;
}
/* 로고 12개 — 3열(모바일), 6열(600px~) 모두 나눠떨어져 빈칸이 없음 */
.trust-logos {
  list-style: none;
  margin: 0 0 .9em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 14px 18px;
}
@media (min-width: 600px) {
  .trust-logos { grid-template-columns: repeat(6, 1fr); }
}
/* 로고마다 종횡비가 달라 높이만 맞추면 시각적 크기가 들쭉날쭉해짐 —
   높이·폭을 함께 제한해 상자 규격을 통일 */
.trust-logos li { display: flex; align-items: center; height: 26px; }
.trust-logos img { max-height: 22px; height: auto; width: auto; max-width: 96px; object-fit: contain; }
.trust-more { margin: 0; font-size: 14px; }

/* ============ 문의 3가지 박스 ============ */
.ask-box {
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  padding: var(--card-pad);
  margin-bottom: 1.6em;
}
.ask-title {
  margin: 0 0 .7em;
  font-weight: bold;
  color: var(--heading);
}
.ask-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: ask;
}
.ask-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  counter-increment: ask;
}
.ask-list li::before {
  content: counter(ask, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: bold;
  color: var(--brand-ink);
}
.ask-list strong { color: var(--heading); }
.ask-list span { font-size: 15px; color: var(--text); }
@media (min-width: 600px) {
  .ask-list { grid-template-columns: repeat(3, 1fr); }
  .ask-list li { flex-direction: column; gap: 2px; }
}

/* ============ 진행 타임라인 ============ */
.timeline {
  list-style: none;
  margin: 1.4em 0 1.2em;
  padding: 0;
}
.timeline li {
  position: relative;             /* 장식용 연결선의 기준 */
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 14px;
  align-items: start;
  padding-bottom: 26px;
}
.timeline li:last-child { padding-bottom: 0; }
/* 아이콘 노드를 잇는 세로 연결선 — 순수 장식 */
.timeline li::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 6px;
  width: 2px;
  background: var(--surface-brd);
}
.timeline li:last-child::before { display: none; }
.timeline .t-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: 50%;
}
.timeline .t-icon img { width: 34px; height: 34px; }
.timeline .t-body .step-no { margin-bottom: .1em; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { margin: 0; }
.timeline-note { margin: 0; font-size: 15px; color: var(--label); }

/* ============ 모바일 고정 하단 CTA ============ */
/* 핵심 목표 2(전환 동선 노출) — 768px 미만에서만 표시 */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;                    /* 오버레이(150)·드로어(160)보다 아래 */
  display: flex;
  gap: 10px;
  background: var(--brand-deep);
  border-top: 1px solid rgba(255,255,255,.25);
  padding: 10px
           max(var(--gutter), env(safe-area-inset-right))
           calc(10px + env(safe-area-inset-bottom))
           max(var(--gutter), env(safe-area-inset-left));
}
.sticky-cta .btn { flex: 1 1 0; min-height: 46px; padding: 10px 12px; }
.sticky-cta .btn-primary {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}
.sticky-cta .btn-primary:hover { background: var(--surface); border-color: var(--surface); }
.sticky-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.75);
}
.sticky-cta .btn-secondary:hover { background: rgba(255,255,255,.14); }
/* 본문 CTA가 보이는 동안 site.js가 붙이는 숨김 상태 */
.sticky-cta.is-hidden {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s ease;
}
.sticky-cta { transition: transform .25s ease, visibility .25s ease; }
/* 바에 가려지는 만큼 본문 하단 여백 확보 */
body.has-sticky-cta { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 0; }
}

h1 {
  font-size: clamp(24px, 6.8vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--heading);
  margin: 0 0 .5em;
}
h2 {
  font-size: clamp(19px, 5.2vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--heading);
  margin: 0 0 .6em;
}
h3 {
  font-size: 17px;
  font-weight: bold;
  color: var(--label);
  margin: 0 0 .4em;
}
p { margin: 0 0 1em; }
.lead { margin-bottom: 1em; }

/* 시설/현장 이미지 블록 */
.facility {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.1em;
}
.facility img { width: 100%; }

/* ============ CTA 버튼 ============ */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.2em;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: break-word;   /* 긴 라벨은 줄바꿈. nowrap 금지 */
  line-height: 1.25;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-secondary {
  background: #fff;
  color: var(--brand-deep);
  border: 2px solid var(--brand);
}
.btn-secondary:hover { background: var(--surface); }

@media (min-width: 600px) {
  .cta-group { flex-direction: row; }
  .cta-group .btn { flex: 1 1 0; }
}

/* ============ 카드 ============ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  padding: var(--card-pad);
}
.card .svc-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--link);
  margin: 0 0 .4em;
}
.card p { margin: 0; }
.card p + .tags { margin-top: .7em; }

/* 카드 안 태그 */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  border: 1px solid var(--surface-brd);
  background: var(--bg);
  border-radius: 7px;
  padding: 2px 8px;
  font-size: 14px;
  color: var(--label);
}

/* 카드 안 단계 표기 */
.step-no {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--brand-ink);
  margin-bottom: .2em;
}
.card .step-icon { width: 56px; height: 56px; margin: 0 auto .6em; }

/* ============ 지표 ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}
@media (min-width: 600px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}
.stat dt { font-size: 14px; font-weight: bold; color: var(--brand-ink); }
.stat dd {
  margin: 4px 0 2px;
  font-size: 24px; font-weight: bold;
  letter-spacing: -0.5px;
  color: var(--heading);
}
.stat p { margin: 0; font-size: 14px; }

/* ============ 배지 ============ */
.badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 600px) {
  .badges { grid-template-columns: repeat(4, 1fr); }
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--label);
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
}
.badge:hover { background: #fff; }
.badge .ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--brand-ink);
}
.badge .ico svg { width: 100%; height: 100%; }

/* ============ 고객사 로고 ============ */
.logo-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--surface-brd);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  overflow: hidden;
}
/* 열 수는 로고 28개가 나눠떨어지는 2, 4, 7만 사용 — 마지막 줄이 비지 않게 */
@media (min-width: 480px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(7, 1fr); } }
.logo-grid li {
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 10px;
  min-height: 64px;
}
.logo-grid img { height: 26px; width: auto; max-width: 100%; object-fit: contain; }

/* 접힘 상태 — 타일 높이(64px)가 균일해서 열 수가 바뀌어도 정확히 2줄에서 잘린다.
   64 + 1(gap) + 64 = 129px. JS가 없으면 펼쳐진 채로 그냥 다 보인다. */
.js .logo-grid.is-collapsed { max-height: 129px; }

.logo-toggle {
  font: inherit;
  font-size: 14px;
  color: var(--link);
  background: none;
  border: 0;
  padding: 10px 2px;
  min-height: 44px;
  cursor: pointer;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo-toggle:hover { color: var(--brand-ink); }
/* 화살표는 펼침 상태에서 뒤집는다 */
.logo-toggle::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease;
}
.logo-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

/* ============ 통역사 일러스트 ============ */
.people { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 1em; }
/* 네모 3장이 나란히 붙으면 위 배너 그래픽과 뒤엉켜 보임 —
   원형으로 잘라 살짝 겹치는 페이스파일로 정리 */
.people .faces { display: flex; flex: 0 0 auto; }
.people img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--surface-brd);
  background: var(--surface);
  object-fit: cover;
}
.people img + img { margin-left: -12px; }
.people p { margin: 0; font-size: 15px; }

/* ============ FAQ ============ */
.faq { border: 1px solid var(--surface-brd); border-radius: var(--radius); background: var(--surface); }
.faq details { border-bottom: 1px dashed var(--divider); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px;
  padding: 10px var(--card-pad);
  font-size: 16px; font-weight: bold;
  color: var(--label);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--brand-ink); flex: 0 0 auto; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--brand-ink); }
.faq .answer { padding: 0 var(--card-pad) 14px; }
.faq .answer p { margin: 0; }

/* ============ 글(블로그) ============ */
.article-meta { font-size: 15px; color: var(--label); margin: 0 0 1em; }
.article-body h2 { margin-top: 1.6em; }
.article-body ul { margin: 0 0 1em; padding-left: 1.1em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  margin: 1.4em 0;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--surface-brd);
  border-radius: var(--radius);
  font-weight: bold;
  color: var(--label);
}
.article-body blockquote p { margin: 0; }
.excerpt {
  margin: 0 0 1.4em;
  padding-left: 12px;
  border-left: 3px solid var(--brand-ink);
  color: var(--label);
}

/* 글 목록 */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .post-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
/* 800px 통일 폭에서는 260px 기준이 2열+1로 꺾임 — 3열 고정 */
@media (min-width: 900px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-list .cat { display: block; font-size: 14px; font-weight: bold; color: var(--brand-ink); margin-bottom: .2em; }
.post-list h3 { margin-bottom: .4em; }
.post-list h3 a { color: var(--link); text-decoration: underline; }
.post-list h3 a:hover { color: var(--brand-ink); }
.post-list time { font-size: 14px; color: var(--label); }

/* 강조 박스 (반전면) */
.cta-panel {
  background: var(--brand-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--card-pad);
  text-align: center;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #fff; opacity: .92; }
.cta-panel .btn-secondary { background: #fff; }

/* ============ 푸터 ============ */
footer.site {
  background: var(--footer-bg);
  color: #fff;
  margin-top: var(--section-gap);
}
footer .container { padding-block: var(--section-gap); }
footer h2 { color: #fff; }
footer .f-logo { height: 34px; width: auto; margin-bottom: 12px; }
footer nav ul {
  list-style: none; margin: 0 0 1.2em; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 2px;
}
@media (min-width: 600px) {
  footer nav ul { grid-template-columns: 1fr 1fr; }
}
footer nav a {
  display: flex; align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
footer nav a:hover { text-decoration: underline; }
footer .contact { font-size: 15px; line-height: 1.6; }
footer .contact a { color: #fff; }
footer .copyright {
  margin-top: 1.2em;
  font-size: 14px;
  color: #fff;
  opacity: .92;
}

/* ============ 모션 축소 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ============ 태블릿 2컬럼 ============ */
@media (min-width: 768px) {
  .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .intro-grid .facility { margin-bottom: 0; }
}

/* ============ 데스크톱 폭 통일 ============ */
/* 섹션마다 640px(.container)과 900px(.container.wide)을 오가며
   좌우 가장자리가 지그재그로 어긋나 보이던 문제 —
   900px 이상에서는 헤더·본문·그리드 전부 한 폭으로 맞춘다. */
@media (min-width: 900px) {
  .container,
  .container.wide { max-width: 800px; }
}
