@charset "utf-8";
/* ==========================================================================
   THE HERZ — 디자인 시스템
   색은 로고에서 추출: 딥그린 #1B4A33 · 골드 #C39A63
   Tailwind 2.2.19 CDN 뒤에 로드된다. (같은 특이도면 이 파일이 이긴다)
   ========================================================================== */

:root {
  --green-900: #12331F;
  --green-800: #1B4A33;   /* 브랜드 메인 */
  --green-600: #2F6B4C;
  --green-100: #E6EEE9;
  --green-50:  #F2F6F3;

  --gold-600:  #A87B45;
  --gold-500:  #C39A63;   /* 브랜드 서브 */
  --gold-200:  #E7D6BE;
  --gold-50:   #F8F1E7;

  --ink-900:   #23261F;
  --ink-700:   #4A4E45;
  --ink-500:   #767A70;
  --ink-300:   #B4B7B0;
  --line:      #E3E1DA;

  --paper:     #FAF8F3;   /* 따뜻한 배경 */
  --white:     #FFFFFF;

  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --sans:  "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
           "Malgun Gothic", sans-serif;

  --header-h: 84px;
  --radius:   4px;
  --shadow:   0 2px 24px rgba(27, 74, 51, .08);
  --ease:     cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }

/* 제목 서체는 태그가 아니라 클래스에 묶는다.
   히어로 2·3번 슬라이드처럼 h1 이 아닌 태그를 써도(페이지당 h1 은 하나) 서체가 유지된다. */
.hero__lab, .sub-banner__title, .section-title, .intro__title, .card__title,
.program__title, .stage__title, .step__title, .keyword__ko, .profile__name,
.foot-cta__title {
  font-family: var(--serif); font-weight: 700; line-height: 1.35; letter-spacing: -.02em;
}
::selection { background: var(--gold-200); color: var(--green-900); }

.skip-nav {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 20px; background: var(--green-800); color: #fff;
}
.skip-nav:focus { left: 0; }

/* 키보드 포커스 — 마우스 클릭에는 안 보이고 탭 이동에만 보인다 */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 3px;
}

/* 스크롤 진행 바 (우경엔텍 #loading-bar 를 실제로 쓰이는 형태로) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--green-600));
}

/* 마스크 리빌 — 제목이 아래에서 밀려 올라온다.
   숨기는 규칙은 .js 아래에만 둔다. JS 가 안 돌면 그냥 보이는 상태가 기본값이다. */
.reveal { overflow: hidden; }
.reveal > span { display: block; }
.js .reveal > span { transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .reveal.is-in > span { transform: none; opacity: 1; }
.reveal--d1 > span { transition-delay: .1s; }
.reveal--d2 > span { transition-delay: .2s; }

/* ==========================================================================
   아이콘
   스프라이트는 inc/icons.php 가 본문 맨 앞에 인라인한다.
   <use> 안쪽은 바깥 CSS 선택자가 못 닿으므로, 강조색은 상속되는
   커스텀 프로퍼티(--ic-a)로 넘긴다.
   ========================================================================== */
.herz-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  --ic-a: var(--gold-500);
  width: 24px; height: 24px; flex: none;
  display: inline-block; vertical-align: -.22em;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }
.icon--xl { width: 42px; height: 42px; }
.icon--mono { --ic-a: currentColor; }

/* 원형 배경을 두른 아이콘 */
.icon-badge {
  width: 64px; height: 64px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-800);
  transition: all .3s var(--ease);
}
.icon-badge--gold { background: var(--gold-50); color: var(--gold-600); }
.icon-badge--dark { background: rgba(255,255,255,.1); color: #fff; }
.icon-badge--dark .icon { --ic-a: var(--gold-500); }

/* ==========================================================================
   배경 레이어 — 종이 질감 · 로고 햇살 · 손그림 아치
   ========================================================================== */

/* 화면 전체에 얇게 깔리는 종이 결.
   밝은 점과 어두운 점이 섞여 있어 흰 배경과 딥그린 배경 양쪽에서 다 먹는다. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300;
  pointer-events: none; opacity: .4;
  background: url("/img/grain.png") repeat;
}


/* ---------- layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
/* 읽기 좋은 좁은 단. 가운데 정렬하면 서브 배너 제목보다 180px 안쪽으로
   들어가 버리므로, 폭만 줄이고 왼쪽 끝은 .container 와 같은 자리에 맞춘다. */
.container--narrow {
  max-width: 968px;                          /* 본문 920 + 좌우 패딩 48 */
  margin-left: max(0px, calc(50% - 640px));  /* .container 의 왼쪽 끝과 동일 */
  margin-right: auto;
}
.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--green { background: var(--green-800); color: #fff; }
.section--mint  { background: var(--green-50); }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.eyebrow {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 14px;
}
.section--green .eyebrow { color: var(--gold-500); }
.section-title { font-size: 40px; }
.section-desc { margin-top: 18px; color: var(--ink-700); font-size: 17px; }
.section--green .section-desc { color: rgba(255,255,255,.78); }

.rule { width: 48px; height: 2px; background: var(--gold-500); margin: 0 0 22px; }
.section-head--center .rule { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 34px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn--sm { height: 42px; padding: 0 22px; font-size: 14px; }
.btn--gold { background: var(--gold-500); color: #fff; }
.btn--gold:hover { background: var(--gold-600); color: #fff; }
.btn--green { background: var(--green-800); color: #fff; }
.btn--green:hover { background: var(--green-900); color: #fff; }
.btn--ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { border: 1px solid var(--green-800); color: var(--green-800); }
.btn--line:hover { background: var(--green-800); color: #fff; }

/* 버튼 안 아이콘 — 채움 버튼에서 골드 강조획이 묻히므로 전부 단색으로 */
.btn .icon { --ic-a: currentColor; width: 19px; height: 19px; vertical-align: 0; }
.btn--sm .icon { width: 16px; height: 16px; }
/* 이동을 뜻하는 화살표만 살짝 밀린다 */
.btn .icon-arrow { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ==========================================================================
   헤더 / GNB
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.hide { transform: translateY(-100%); }
.header__inner {
  position: relative; z-index: 2;
  max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px;
}
.header__logo { flex: 0 0 auto; }
.header__logo img { height: 34px; width: auto; }
.header__logo-w { display: none; }

/* 메인 최상단 = 투명 배경 + 흰 로고. 메가메뉴가 열리면 밝은 헤더로 바뀐다 */
.header:not(.is-sub):not(.is-scrolled):not(.is-open) { background: transparent; }
.header:not(.is-sub):not(.is-scrolled):not(.is-open) .header__logo-c { display: none; }
.header:not(.is-sub):not(.is-scrolled):not(.is-open) .header__logo-w { display: block; }
.header:not(.is-sub):not(.is-scrolled):not(.is-open) .gnb__item > a { color: #fff; }
.header:not(.is-sub):not(.is-scrolled):not(.is-open) .menubtn span { background: #fff; }

.header.is-sub,
.header.is-scrolled,
.header.is-open { background: rgba(250,248,243,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header.is-open { box-shadow: none; }

.gnb { flex: 1 1 auto; }
.gnb__list { display: flex; align-items: flex-start; justify-content: center; gap: 46px; }
.gnb__item { position: relative; }
.gnb__item > a {
  display: block; height: var(--header-h); line-height: var(--header-h);
  font-size: 17px; font-weight: 600; color: var(--ink-900);
}
.gnb__item.is-active > a,
.gnb__item:hover > a { color: var(--green-800); }
.gnb__item.is-active > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px;
  height: 2px; background: var(--gold-500);
}

/* --- 풀와이드 메가메뉴 (우경엔텍 .gnb-bg 패턴) --- */
.gnb-bg {
  position: absolute; top: var(--header-h); left: 0; right: 0; height: 0;
  background: rgba(250,248,243,.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(18,51,31,.09);
  opacity: 0; visibility: hidden; z-index: 1;
  transition: opacity .3s var(--ease), height .35s var(--ease), visibility .35s;
}
.header.is-open .gnb-bg { opacity: 1; visibility: visible; height: var(--gnb-panel-h, 220px); }
/* 패널에 깔리는 연한 장식 — 패널이 자라면서 같이 드러난다.
   해는 오른쪽 위, 나이테는 왼쪽 아래. 화면폭에 따라 패널 비율이 크게 변하므로
   한 장으로 늘리지 않고 두 겹을 각자 모서리에 붙인다. */
.gnb-bg { overflow: hidden; }
.gnb-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background:
    url("/img/art/gnb-sun.svg")   right 5% top 12% / auto 62% no-repeat,
    url("/img/art/gnb-rings.svg") left -30px bottom -44px / auto 150% no-repeat;
}

.gnb__sub {
  position: absolute; top: var(--header-h); left: 50%; transform: translateX(-50%);
  width: max-content; padding: 26px 0 32px; z-index: 2;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease) .05s, visibility .3s;
  pointer-events: none;   /* 이웃 컬럼과 겹치는 빈 영역이 클릭을 가로채지 않게 */
}
.header.is-open .gnb__sub { opacity: 1; visibility: visible; }
.gnb__sub li { text-align: center; }
.gnb__sub li a {
  display: inline-block; pointer-events: auto;
  padding: 8px 14px; font-size: 15.5px; color: var(--ink-500);
  white-space: nowrap; border-radius: 2px;
}
.gnb__sub li a:hover { color: var(--green-800); background: var(--green-50); }
.gnb__sub li a.is-active { color: var(--green-800); font-weight: 600; }

/* margin-left:auto 가 있어야 GNB 가 숨는 모바일에서도 오른쪽 끝에 붙는다.
   (데스크톱에서는 .gnb 의 flex-grow 가 여백을 먼저 가져가므로 영향 없음) */
.header__util { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 16px; }
.menubtn { display: none; width: 28px; height: 22px; flex-direction: column; justify-content: space-between; }
.menubtn span { display: block; width: 100%; height: 2px; background: var(--ink-900); border-radius: 2px; transition: background .3s; }

/* ---------- 전체메뉴 ---------- */
.motab {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(460px, 100%); padding: 96px 40px 40px;
  background: var(--paper); overflow-y: auto;
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.motab.show { transform: translateX(0); }
.motab__dim { position: fixed; inset: 0; z-index: 199; background: rgba(18,51,31,.45); }

/* 상단 로고 + 닫기 한 줄 */
.motab__top {
  position: absolute; top: 0; left: 0; right: 0; height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; border-bottom: 1px solid var(--line); z-index: 2;
}
.motab__logo img { height: 28px; width: auto; }
.motab__close { color: var(--ink-900); display: flex; }

/* 왼쪽 아래에 깔리는 연한 나이테 (메가메뉴 패널과 같은 결) */
.motab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 300px;
  opacity: .06; pointer-events: none;
  background: url("/img/art/gnb-rings.svg") left -34px bottom -50px / auto 118% no-repeat;
}
.motab__inner { position: relative; z-index: 1; }
.motab__group { margin-bottom: 40px; }
.motab__group h2 { font-size: 22px; color: var(--green-800); margin-bottom: 12px; }
.motab__links { display: flex; flex-direction: column; gap: 8px; }
.motab__links a { font-size: 16px; color: var(--ink-700); }
.motab__links a:hover { color: var(--gold-600); }
.motab__info { padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-700); }
.motab__info p + p { margin-top: 6px; }
.motab__info strong { display: inline-block; min-width: 72px; color: var(--ink-900); font-weight: 600; }

/* ---------- 퀵메뉴 ---------- */
.quick-menu {
  position: fixed; right: 24px; bottom: 32px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}
.quick-menu__item {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #fff; color: var(--green-800); font-size: 11px; font-weight: 600; line-height: 1;
  box-shadow: var(--shadow); transition: all .25s var(--ease);
}
.quick-menu__item .icon { width: 20px; height: 20px; vertical-align: 0; }
.quick-menu__item:hover { transform: translateY(-2px); }
.quick-menu__item--gold { background: var(--gold-500); color: #fff; }
.topBtn { opacity: 0; pointer-events: none; transition: opacity .3s; }
.topBtn.show { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   서브 배너 / 탭
   ========================================================================== */
.sub-banner {
  position: relative; padding: calc(var(--header-h) + 96px) 0 96px;
  background: var(--green-800) center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.sub-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18,51,31,.92) 0%, rgba(27,74,51,.72) 100%);
}
/* 사진이 들어오기 전까지는 그라데이션 + 심볼 워터마크로 대신한다.
   배경 사진이 준비되면 아래 각 규칙에 background-image 만 추가하면 된다. */
.sub-banner--sub01 { background-image: url("/img/art/banner-sub01.svg"); }
.sub-banner--sub02 { background-image: url("/img/art/banner-sub02.svg"); }
.sub-banner--sub03 { background-image: url("/img/art/banner-sub03.svg"); }
.sub-banner--sub04 { background-image: url("/img/art/banner-sub04.svg"); }
.sub-banner--grit  { background-image: url("/img/art/banner-grit.svg"); }
.sub-banner--news  { background-image: url("/img/art/banner-news.svg"); }
.sub-banner--sub01::before { background: linear-gradient(105deg, rgba(12,35,20,.93) 0%, rgba(35,85,59,.72) 100%); }
.sub-banner--sub02::before { background: linear-gradient(105deg, rgba(14,40,24,.93) 0%, rgba(47,107,76,.70) 100%); }
.sub-banner--sub03::before { background: linear-gradient(105deg, rgba(12,35,20,.93) 0%, rgba(27,74,51,.78) 55%, rgba(74,92,58,.68) 100%); }
.sub-banner--sub04::before { background: linear-gradient(105deg, rgba(14,34,20,.93) 0%, rgba(42,74,56,.72) 100%); }
.sub-banner--grit::before  { background: linear-gradient(105deg, rgba(13,37,22,.93) 0%, rgba(52,96,68,.70) 100%); }
.sub-banner--news::before  { background: linear-gradient(105deg, rgba(12,36,21,.93) 0%, rgba(45,92,66,.71) 100%); }
.sub-banner__inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sub-banner__eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .16em; color: var(--gold-500); margin-bottom: 14px; }
.sub-banner__title { font-size: 46px; }
.sub-banner__desc { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 17px; }

.sub-tab { background: #fff; border-bottom: 1px solid var(--line); }
.sub-tab__inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; }
.sub-tab__home {
  display: flex; align-items: center; padding: 0 22px 0 0;
  border-right: 1px solid var(--line); color: var(--ink-500);
}
.sub-tab__list { display: flex; overflow-x: auto; scrollbar-width: none; }
.sub-tab__list::-webkit-scrollbar { display: none; }
.sub-tab__list a {
  display: block; padding: 22px 28px; font-size: 16px; color: var(--ink-500); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.sub-tab__list a:hover { color: var(--green-800); }
.sub-tab__list a.is-active { color: var(--green-800); font-weight: 600; border-bottom-color: var(--green-800); }

/* ==========================================================================
   본문 공통 컴포넌트
   ========================================================================== */
.prose { font-size: 17px; color: var(--ink-700); }
.prose > * + * { margin-top: 22px; }
.prose h3 { font-size: 26px; color: var(--ink-900); margin-top: 48px; }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose em { font-style: normal; color: var(--green-800); font-weight: 600; }

.lead { font-family: var(--serif); font-size: 26px; line-height: 1.7; color: var(--green-800); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; transition: all .3s var(--ease);
}
.card:hover { border-color: var(--gold-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__title { font-size: 22px; margin-bottom: 12px; }
.card__desc { font-size: 15px; color: var(--ink-700); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 번호 목록 (상담 절차 등) */
.steps { display: grid; gap: 16px; }
.step {
  position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 30px; align-items: start;
  padding: 32px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step__no { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step__no em {
  font-style: normal; font-family: var(--serif); font-size: 13.5px; font-weight: 700;
  color: var(--gold-600); letter-spacing: .04em;
}
.step__title { font-size: 20px; margin-bottom: 6px; }
.step__desc { font-size: 15.5px; color: var(--ink-700); }

/* 정의형 목록 (요금·항목) */
.deflist { border-top: 2px solid var(--green-800); }
.deflist__row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 8px; border-bottom: 1px solid var(--line); }
.deflist__key { font-weight: 600; color: var(--green-800); }
.deflist__val { color: var(--ink-700); }

/* 태그 */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: var(--green-50); color: var(--green-800); font-size: 14.5px; font-weight: 500;
}
.tag--gold { background: var(--gold-50); color: var(--gold-600); }

/* 안내 박스 */
.notice { padding: 28px 32px; background: var(--gold-50); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; }
.notice__title { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--gold-600); margin-bottom: 8px; }
.notice p { font-size: 15.5px; color: var(--ink-700); }

/* 불릿 */
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 18px; font-size: 16px; color: var(--ink-700); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }

/* 인페이지 탭 (우경엔텍 .page_tab 패턴) */
.tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  padding: 16px 30px; font-size: 16.5px; font-weight: 600; color: var(--ink-500);
  border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s var(--ease);
}
.tabs__btn:hover { color: var(--green-800); }
.tabs__btn[aria-selected="true"] { color: var(--green-800); border-bottom-color: var(--green-800); }
.tabs__panel { padding-top: 44px; }
.tabs__panel[hidden] { display: none; }

/* 가격 */
.price { font-family: var(--serif); font-size: 28px; color: var(--green-800); font-weight: 700; }
.price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-500); margin-left: 8px; }

/* ==========================================================================
   메인 페이지
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 620px; color: #fff; background: var(--green-900); overflow: hidden; }

/* ── 진입 화면(스플래시) ──────────────────────────────────────
   수정안: 글씨·일러스트를 걷어내고 건물 일러스트와 한 줄만 남긴다. */
.hero--splash {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(115deg, #0E2917 0%, #1B4A33 58%, #2F6B4C 100%);
}
.hero--splash .hero__inner {
  position: static; display: flex; flex-direction: column; align-items: center;
  gap: 40px; padding: 0 24px; max-width: none;
}
.hero__mark { width: min(300px, 42vw); height: auto; }
.hero__lab {
  font-family: var(--serif); font-weight: 700; font-size: 30px;
  letter-spacing: .02em; color: #fff;
}
/* 스플래시에는 슬라이더가 없으니 스크롤 표시를 모든 폭에서 보여 준다 */
.hero--splash .hero__scroll { display: flex; }




.hero__scroll {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  min-width: 44px; min-height: 44px;        /* 작은 링크라 터치 영역을 확보한다 */
  font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.5);
  transition: color .25s var(--ease);
}
.hero__scroll:hover { color: rgba(255,255,255,.9); }
.hero__scroll:hover .hero__mouse { border-color: rgba(255,255,255,.9); }
.hero__scroll-tx {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase;
  line-height: 1; white-space: nowrap; padding-left: .22em;   /* 자간이 오른쪽에 붙어 생기는 쏠림 보정 */
}
.hero__mouse { position: relative; width: 24px; height: 36px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; transition: border-color .25s var(--ease); }
.hero__mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.hero__mouse i { animation: heroDot 1.8s var(--ease) infinite; }
@keyframes heroDot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* 메인 인트로 */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro__mark { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--gold-600); }
.intro__title { font-size: 38px; line-height: 1.5; margin: 18px 0 26px; }
.intro__text { font-size: 17px; color: var(--ink-700); line-height: 2; }
.intro__text + .intro__text { margin-top: 20px; }
.intro__img img { width: 100%; border-radius: var(--radius); }

/* 인용 카드 */
.quote-card {
  position: relative; padding: 64px 54px; background: var(--green-800); color: #fff;
  border-radius: var(--radius); font-family: var(--serif); font-size: 22px; line-height: 2.1;
  overflow: hidden;
}
.quote-card::before {
  content: "“"; position: absolute; top: 6px; left: 30px;
  font-family: var(--serif); font-size: 110px; color: var(--gold-500); opacity: .35; line-height: 1;
}
.quote-card::after {
  content: ""; position: absolute; right: -26px; bottom: -34px;
  width: 190px; height: 190px; opacity: .11;
  background: url("/img/deco-rays-w.svg") center/contain no-repeat;
}
.quote-card p { position: relative; z-index: 1; color: rgba(255,255,255,.86); }
.quote-card__last { margin-top: 26px; color: var(--gold-500) !important; font-weight: 700; }

/* 절차 라인 — 선을 칸마다 그어야 줄바꿈된 행에도 선이 이어진다 */
.process-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.process-line__item {
  position: relative; padding: 32px 20px 32px 0;
  border-top: 2px solid var(--green-800);
}
.process-line__item::after {
  content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold-500);
}
.process-line__no { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: .16em; color: var(--gold-600); margin-bottom: 12px; }
.process-line__icon { display: block; color: var(--green-800); margin-bottom: 14px; }
.process-line__item p { font-size: 17px; font-weight: 600; color: var(--ink-900); }

/* 키워드 3종 */
.keywords { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyword { padding: 54px 32px; text-align: center; border-right: 1px solid var(--line); }
.keyword:last-child { border-right: 0; }
.keyword__icon { margin-bottom: 22px; }
.keyword__de { font-family: var(--serif); font-size: 15px; letter-spacing: .16em; color: var(--gold-600); }
.keyword__ko { font-size: 30px; margin: 10px 0 12px; color: var(--green-800); }
.keyword__desc { font-size: 15px; color: var(--ink-500); }

/* 프로그램 카드 */
.program { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .35s var(--ease); }
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.program__body { padding: 38px 34px 34px; }
.program__icon { margin-bottom: 26px; }
.program:hover .program__icon { background: var(--gold-50); color: var(--gold-600); }
.program__no { font-family: var(--serif); font-size: 13px; letter-spacing: .18em; color: var(--gold-600); }
.program__title { font-size: 24px; margin: 12px 0 14px; }
.program__desc { font-size: 15.5px; color: var(--ink-700); min-height: 78px; }
.program__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--green-800); }
.program__more .icon { transition: transform .25s var(--ease); }
.program:hover .program__more { color: var(--gold-600); }
.program:hover .program__more .icon { transform: translateX(4px); }

/* 하단 CTA */
.foot-cta { position: relative; padding: 110px 0; background: var(--green-800); color: #fff; text-align: center; overflow: hidden; }
/* 수정안: 바탕 일러스트를 걷어내고 헤르츠 건물 일러스트를 한쪽에 */
.foot-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .09;
  background: url("/img/symbol_w.png") left 7% bottom -8% / auto 86% no-repeat;
}
.foot-cta .container { position: relative; z-index: 1; }
.foot-cta__eyebrow { font-size: 13px; letter-spacing: .24em; color: var(--gold-500); font-weight: 600; }
.foot-cta__title { font-size: 40px; margin: 16px 0 14px; }
.foot-cta__desc { color: rgba(255,255,255,.75); font-size: 17px; }
.foot-cta__btns { margin-top: 40px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   푸터
   ========================================================================== */
.footer { padding: 72px 0 60px; background: var(--green-900); color: rgba(255,255,255,.66); font-size: 14.5px; }
.footer__top { display: flex; align-items: center; gap: 56px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo img { height: 32px; }
.footer__nav { display: flex; gap: 32px; font-size: 15px; color: rgba(255,255,255,.9); font-weight: 500; }
.footer__nav a:hover { color: var(--gold-500); }
.footer__info { padding: 30px 0 24px; display: grid; gap: 8px; }
.footer__info strong { font-weight: 500; color: rgba(255,255,255,.5); margin-right: 4px; }
.footer__name { font-weight: 700; color: #fff; }
.bar { display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,.25); margin: 0 12px; vertical-align: -1px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.4); letter-spacing: .02em; }

/* ==========================================================================
   그누보드 게시판 (/bbs/*)
   스킨 PHP 는 건드리지 않고, 어느 스킨에나 공통인 그누보드 표준 클래스만
   골라 우리 디자인으로 다시 칠한다. 스킨을 바꿔도 대부분 그대로 먹는다.
   ========================================================================== */
.board-page { padding: 92px 0 120px; }
/* .board-page a { color: inherit } 를 두면 안 된다 —
   특이도(0,1,1)가 .bd-btn--fill(0,1,0) 을 이겨서, a 로 만든 채움 버튼
   (글쓰기·목록)의 흰 글자가 검게 눌린다. 기본 a 규칙(53행)이 이미 같은 일을 한다. */
/* 메뉴에 없는 그누보드 페이지(로그인·검색 등)는 서브배너가 없다.
   그대로 두면 고정 헤더 밑으로 내용이 들어가므로 헤더 높이만큼 더 띄운다. */
#herz-main > .board-page:first-child { padding-top: calc(var(--header-h) + 72px); }

/* 상단 줄 — 건수 + 글쓰기 */
#bo_list_total { font-size: 15px; color: var(--ink-500); }
#bo_list_total span { color: var(--green-800); font-weight: 600; }
.bo_fx { display: flex; align-items: center; justify-content: space-between;
         gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bo_fx::after { content: none; }                 /* 그누보드 clearfix 무력화 */
.btn_bo_user { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* 목록 표 */
.tbl_wrap { overflow-x: auto; }
.tbl_head01 table { width: 100%; border-collapse: collapse; }
.tbl_head01 caption { position: absolute; width: 0; height: 0; overflow: hidden; }
.tbl_head01 th {
  padding: 16px 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-500);
  text-align: center; white-space: nowrap;
  border-top: 2px solid var(--green-800); border-bottom: 1px solid var(--line);
}
.tbl_head01 td {
  padding: 18px 12px; font-size: 15.5px; color: var(--ink-700);
  text-align: center; border-bottom: 1px solid var(--line);
}
.tbl_head01 tbody tr { transition: background .2s var(--ease); }
.tbl_head01 tbody tr:hover { background: var(--green-50); }
.td_subject { text-align: left !important; }
.td_subject a { color: var(--ink-900); font-weight: 500; }
.tbl_head01 tbody tr:hover .td_subject a { color: var(--green-800); }
.td_num, .td_num2, .td_date, .td_datetime { color: var(--ink-500); font-size: 14.5px; white-space: nowrap; }
.td_name, .td_name a { color: var(--ink-500); font-size: 14.5px; white-space: nowrap; }
.cnt_cmt { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px;
           background: var(--gold-50); color: var(--gold-600); font-size: 12.5px; font-weight: 700; }
.bo_notice .td_subject a { font-weight: 700; }
.notice_word, .bo_notice .td_num2 strong {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--green-800); color: #fff; font-size: 12px; font-weight: 600;
}
.empty_table, .empty_list { padding: 80px 0 !important; color: var(--ink-500); font-size: 15.5px; }

/* 페이지 번호 */
.pg_wrap { margin: 40px 0 0; text-align: center; }
.pg { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg_page, .pg_current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
}
.pg_page { color: var(--ink-500); }
.pg_page:hover { background: var(--green-50); color: var(--green-800); }
.pg_current { background: var(--green-800); color: #fff; }

/* 검색 */
#bo_sch { margin: 36px auto 0; display: flex; gap: 8px; justify-content: center;
          flex-wrap: wrap; border: 0; padding: 0; }
#bo_sch legend { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 입력 요소 */
.frm_input, #bo_sch select, #bo_sch input[type=text] {
  height: 48px; padding: 0 16px; font-family: inherit; font-size: 15px;
  color: var(--ink-900); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
textarea.frm_input { height: auto; padding: 16px; line-height: 1.8; }
.frm_input:focus, #bo_sch select:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }

/* 버튼 — 그누보드가 쓰는 이름을 우리 버튼 모양으로 */
.btn_b01, .btn_b02, .btn_submit, .btn_cancel, .btn_admin, .bo_v_nb a, #bo_sch button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-family: inherit; font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: all .25s var(--ease); cursor: pointer;
}
.btn_b01, .btn_admin { border: 1px solid var(--green-800); color: var(--green-800); background: none; }
.btn_b01:hover, .btn_admin:hover { background: var(--green-800); color: #fff; }
.btn_submit, #bo_sch button { border: 0; background: var(--green-800); color: #fff; }
.btn_submit:hover, #bo_sch button:hover { background: var(--green-900); }
.btn_cancel { border: 1px solid var(--line); color: var(--ink-500); background: none; }
.btn_cancel:hover { border-color: var(--ink-500); color: var(--ink-900); }

/* 읽기 */
#bo_v { max-width: 920px; }
#bo_v_title, #bo_v h1, #bo_v_title h1 {
  font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.4;
  color: var(--ink-900); margin: 0;
}
#bo_v_info {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  margin-top: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-500);
}
#bo_v_info h2 { position: absolute; width: 0; height: 0; overflow: hidden; }
#bo_v_info strong { font-weight: 500; }
#bo_v_atc { padding: 44px 0; }
#bo_v_atc_title { position: absolute; width: 0; height: 0; overflow: hidden; }
#bo_v_con { font-size: 17px; line-height: 1.9; color: var(--ink-700); }
#bo_v_con > * + * { margin-top: 20px; }
#bo_v_con img { border-radius: var(--radius); margin: 8px 0; }

.bo_v_nb { list-style: none; margin: 0 0 32px; padding: 0;
           border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bo_v_nb li + li { border-top: 1px solid var(--line); }
.bo_v_nb a { display: flex; height: auto; min-height: 56px; padding: 14px 4px;
             border-radius: 0; justify-content: flex-start; font-weight: 500;
             font-size: 15px; color: var(--ink-500); }
.bo_v_nb a:hover { color: var(--green-800); background: none; }

.bo_v_left, #bo_v .btn_bo_user { display: flex; gap: 8px; list-style: none; padding: 0; }

/* 쓰기 */
#bo_w { max-width: 920px; }
#bo_w .write_div + .write_div { margin-top: 14px; }
#bo_w .frm_input { width: 100%; }
.btn_confirm { display: flex; gap: 8px; margin-top: 28px; }

@media (max-width: 768px) {
  .board-page { padding: 56px 0 80px; }
  /* 좁은 화면에서는 제목·날짜만 남긴다 */
  .tbl_head01 th:nth-child(1), .tbl_head01 td:nth-child(1),
  .tbl_head01 th:nth-child(3), .tbl_head01 td:nth-child(3),
  .tbl_head01 th:nth-child(5), .tbl_head01 td:nth-child(5) { display: none; }
  .tbl_head01 td { padding: 16px 8px; font-size: 15px; }
  #bo_v_title, #bo_v h1 { font-size: 24px; }
  #bo_v_con { font-size: 16px; }
  #bo_sch { flex-direction: column; }
  #bo_sch select, #bo_sch input[type=text], #bo_sch button { width: 100%; }
}

/* 그누보드 접근성 클래스 ----------------------------------------------------
   원래 css/default.css 에 들어 있는데, 이 테마는 그 파일을 부르지 않는다.
   (부르면 body·a·table 기본값이 우리 디자인과 싸운다)
   대신 스킨이 실제로 기대는 것만 여기서 되살린다. 이게 없으면
   "검색어", "필수" 같은 낭독용 글자가 화면에 그대로 보인다.            */
.sound_only, .msg_sound_only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* head.sub.php 가 내보내는 로그인 안내 — 그누보드 default.css 와 같은 처리 */
#hd_login_msg { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; }

/* 로그인·회원가입 등 나머지 그누보드 폼 표 */
.tbl_frm01 table { width: 100%; border-collapse: collapse; }
.tbl_frm01 th { width: 130px; padding: 12px 8px; text-align: left; font-weight: 600;
                font-size: 15px; color: var(--ink-700); vertical-align: middle; }
.tbl_frm01 td { padding: 8px; border-bottom: 1px solid var(--line); }
.tbl_frm01 td .frm_input { width: 100%; }

/* ==========================================================================
   THE HERZ 게시판 스킨 (skin/board/herz)
   소식·활동을 사진과 함께 올리는 게시판이라 표가 아니라 카드로 뽑는다.
   마크업은 skin/board/herz/*.skin.php 에 있다.
   ========================================================================== */
/* 목록은 .container(1280) 폭을 그대로 쓰고, 읽기·쓰기만 좁힌다(가독성) */

/* ---------- 상단 줄 ---------- */
.bd-top { display: flex; align-items: flex-end; justify-content: space-between;
          gap: 16px; flex-wrap: wrap; padding-bottom: 18px;
          border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.bd-total { margin: 0; font-size: 15px; color: var(--ink-500); }
.bd-total strong { color: var(--green-800); font-weight: 700; }
.bd-total__page { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line);
                  font-size: 14px; color: var(--ink-500); }
.bd-tools { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* ---------- 버튼 ---------- */
.bd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 600; white-space: nowrap;
  color: var(--ink-700); cursor: pointer; transition: all .25s var(--ease);
}
.bd-btn:hover { border-color: var(--green-800); color: var(--green-800); }
.bd-btn--fill { border-color: var(--green-800); background: var(--green-800); color: #fff; }
.bd-btn--fill:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.bd-btn--xs { min-height: 34px; padding: 0 14px; font-size: 13px; }

/* ---------- 분류 탭 ---------- */
.bd-cate ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
              margin: 0 0 28px; padding: 0; }
.bd-cate a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px;
             border: 1px solid var(--line); border-radius: 999px; background: #fff;
             font-size: 14.5px; color: var(--ink-500); }
.bd-cate a:hover { border-color: var(--green-800); color: var(--green-800); }
.bd-cate li.bo_cate_on a, .bd-cate a.bo_cate_on {
  border-color: var(--green-800); background: var(--green-800); color: #fff; }

/* ---------- 카드 목록 ---------- */
/* 카드 모양은 사이트의 .card / .program 과 같은 언어를 쓴다 —
   흰 배경 + 1px 테두리 + 호버에 살짝 떠오르기. 게시판만 다른 문법을 쓰면
   같은 페이지 안에서 남의 페이지처럼 보인다. */
.bd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;   /* 사이트 .grid 와 같은 간격 */
           list-style: none; margin: 0; padding: 0; }
.bd-card { position: relative; }
.bd-card__link {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.bd-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }

.bd-card__thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--green-50);
  border-bottom: 1px solid var(--line);
}
.bd-card__thumb img { width: 100%; height: 100%; object-fit: cover;
                      transition: transform .6s var(--ease); }
.bd-card__link:hover .bd-card__thumb img { transform: scale(1.045); }
/* 사진이 없는 글 — 심볼을 옅게 깐다 */
.bd-card__ph { position: absolute; inset: 0; display: grid; place-items: center;
               background: var(--green-50); }
.bd-card__ph img { width: 64px; height: auto; opacity: .16; object-fit: contain; }
.bd-chip { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px;
           background: var(--green-800); color: #fff; font-size: 12px; font-weight: 700;
           letter-spacing: .02em; }

.bd-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 22px; }
/* 날짜는 .program__no 와 같은 eyebrow 문법 (명조 + 넓은 자간 + 골드) */
.bd-card__meta { display: flex; align-items: center; gap: 10px;
                 font-family: var(--serif); font-size: 13px; letter-spacing: .1em;
                 color: var(--gold-600); }
.bd-card__cate { font-style: normal; font-family: var(--sans); letter-spacing: 0; color: var(--ink-500); }
.bd-card__cate::before { content: '·'; margin-right: 10px; color: var(--ink-300); }
/* 아래 여백(20px)은 요약문이 없는 글에서도 구분선까지 간격이 같도록
   제목·요약문 양쪽에 건다. flex 안에서는 마진이 상쇄되지 않는다. */
.bd-card__tit {
  margin: 12px 0 20px; font-family: var(--serif); font-weight: 700;
  font-size: 20px; line-height: 1.5; color: var(--ink-900);
  transition: color .2s var(--ease);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bd-card__link:hover .bd-card__tit { color: var(--green-800); }
.bd-card__desc {
  margin: 0 0 20px; font-size: 15px; line-height: 1.75; color: var(--ink-500);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* margin-top:auto — 요약문 길이가 달라도 메타 줄이 카드마다 같은 높이에 앉는다 */
.bd-card__foot { display: flex; align-items: center; justify-content: space-between;
                 gap: 12px; margin-top: auto; padding-top: 16px;
                 border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-500); }
.bd-card__num { display: inline-flex; align-items: center; gap: 12px; }
.bd-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
          background: var(--gold-500); color: #fff; font-size: 11px; font-weight: 700;
          vertical-align: 3px; font-family: var(--sans); }
.bd-cardcmt { font-style: normal; margin-left: 8px; color: var(--gold-600); font-weight: 600; }
.bd-lock { margin-right: 4px; font-size: 15px; }
.bd-card--notice .bd-card__link { border-color: var(--gold-200); }
.bd-card__chk { position: absolute; right: 14px; top: 14px; z-index: 2; }
.bd-card__chk input { width: 20px; height: 20px; }

/* 게시판을 막 만들면 제일 먼저 보게 되는 화면이라 빈 상자로 두지 않는다 */
.bd-empty { display: flex; flex-direction: column; align-items: center; gap: 20px;
            padding: 90px 24px; text-align: center; color: var(--ink-500); font-size: 16px;
            background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bd-empty img { width: 62px; height: auto; opacity: .18; }

.bd-allchk { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
             margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius);
             background: var(--green-50); font-size: 14px; color: var(--ink-700); }
.bd-allchk__btns { display: flex; gap: 6px; margin-left: auto; }
.bd-allchk__btns button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
                          background: #fff; font-size: 13px; }

/* ---------- 검색 ---------- */
.bd-search { border: 0; padding: 0; margin: 48px 0 0; }
.bd-search form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bd-search select, .bd-search input[type=text] {
  height: 48px; padding: 0 16px; font-family: inherit; font-size: 15px; color: var(--ink-900);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.bd-search input[type=text] { width: 280px; }
/* OS 기본 드롭다운 화살표가 옆의 둥근 입력칸과 따로 놀아서 직접 그린다 */
.bd-search select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23767A70' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.bd-search select:focus, .bd-search input:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }

/* ---------- 읽기 ---------- */
.bd-view { max-width: 880px; }
.bd-view__head { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.bd-view__cate { margin: 0 0 10px; font-size: 13.5px; font-weight: 600;
                 letter-spacing: .06em; color: var(--gold-600); }
.bd-view__tit { margin: 0; font-family: var(--serif); font-weight: 700;
                font-size: 32px; line-height: 1.45; color: var(--ink-900); }
.bd-view__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px;
                 font-size: 14.5px; color: var(--ink-500); }
.bd-view__meta > span { position: relative; }
.bd-view__meta > span + span::before { content: ''; position: absolute; left: -10px; top: 50%;
  width: 1px; height: 11px; margin-top: -5px; background: var(--line); }
.bd-view__admin { display: flex; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
.bd-view__admin a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink-500); }
.bd-view__admin a:hover { border-color: var(--green-800); color: var(--green-800); }

.bd-view__atc { padding: 44px 0 8px; }
.bd-view__img { margin-bottom: 28px; display: grid; gap: 14px; }
.bd-view__img img { width: 100%; height: auto; border-radius: var(--radius); }
.bd-view__con { font-size: 17px; line-height: 1.95; color: var(--ink-700); }
.bd-view__con > * + * { margin-top: 20px; }
.bd-view__con img { border-radius: var(--radius); margin: 8px auto; }
.bd-view__con a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }
.bd-view__sign { margin-top: 32px; padding-top: 20px; border-top: 1px dashed var(--line);
                 font-size: 14.5px; color: var(--ink-500); }
.bd-view__act { display: flex; gap: 10px; margin-top: 32px; }
.bd-act { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px;
          border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

.bd-view__file { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius);
                 background: var(--green-50); }
.bd-view__file h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 14px;
                    font-weight: 700; color: var(--green-800); letter-spacing: .04em; }
.bd-view__file ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bd-view__file a { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
                   font-size: 15px; color: var(--ink-700); }
.bd-view__file a:hover strong { color: var(--green-800); text-decoration: underline; }
.bd-view__file span { font-size: 13px; color: var(--ink-500); }

.bd-nb { margin-top: 48px; border-top: 1px solid var(--line); }
.bd-nb__item { display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 12px 4px;
               border-bottom: 1px solid var(--line); }
.bd-nb__lb { flex: none; width: 56px; font-size: 13.5px; font-weight: 600; color: var(--ink-500); }
.bd-nb__tx { font-size: 15.5px; color: var(--ink-700); overflow: hidden;
             text-overflow: ellipsis; white-space: nowrap; }
.bd-nb__item:hover .bd-nb__tx { color: var(--green-800); }

.bd-view__btns { display: flex; gap: 8px; margin-top: 40px; }

/* ---------- 댓글 ---------- */
.bd-cmt { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.bd-cmt__h { margin: 0 0 20px; font-family: var(--sans); font-size: 16px; font-weight: 700;
             color: var(--ink-900); }
.bd-cmt__h span { color: var(--gold-600); }
.bd-cmt__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.bd-cmt__item.is-reply { border-left: 2px solid var(--green-100); padding-left: 18px; }
.bd-cmt__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
                margin: 0 0 8px; font-size: 13.5px; color: var(--ink-500); }
.bd-cmt__meta b { font-size: 14.5px; font-weight: 600; color: var(--ink-900); }
.bd-cmt__con { font-size: 15.5px; line-height: 1.8; color: var(--ink-700); }
.bd-cmt__act { display: flex; gap: 4px; list-style: none; margin: 6px 0 0; padding: 0;
               font-size: 13px; color: var(--ink-500); }
.bd-cmt__act a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 8px; }
.bd-cmt__act a:hover { color: var(--green-800); }
.bd-cmt__empty { padding: 40px 0; text-align: center; color: var(--ink-500); }
.bd-cmt__w { margin-top: 24px; }
.bd-cmt__w textarea { width: 100%; min-height: 120px; padding: 16px; font-family: inherit;
  font-size: 15px; line-height: 1.8; color: var(--ink-900); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); resize: vertical; }
.bd-cmt__w textarea:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }
.bd-cmt__wfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.bd-cmt__wfoot .frm_input { height: 44px; width: 160px; }
.bd-cmt__wfoot .bd-btn { margin-left: auto; }

/* ---------- 쓰기 ---------- */
.bd-write { max-width: 880px; }
.bd-field + .bd-field { margin-top: 18px; }
.bd-field > label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600;
                    color: var(--ink-700); }
.bd-field > label b { color: var(--gold-600); font-weight: 600; }
.bd-field .frm_input, .bd-field select, .bd-field textarea { width: 100%; }
.bd-field select { height: 48px; padding: 0 16px; font-family: inherit; font-size: 15px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bd-field textarea { min-height: 320px; padding: 16px; font-family: inherit; font-size: 16px;
  line-height: 1.9; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bd-field--row { display: flex; flex-wrap: wrap; gap: 10px; }
.bd-field--row > span { flex: 1 1 200px; }
.bd-opts { display: flex; flex-wrap: wrap; gap: 16px; }
.bd-opt { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px;
          color: var(--ink-700); cursor: pointer; }
.bd-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--green-800); }
.bd-file input[type=file] { font-size: 14px; }
.bd-file__del { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-500); }
#char_count_desc, #char_count_wrap { font-size: 13px; color: var(--ink-500); margin: 6px 0 0; }
#autosave_pop { display: none; }

@media (max-width: 1024px) {
  .bd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bd-grid { grid-template-columns: 1fr; }
  .bd-top { margin-bottom: 28px; }
  .bd-card__tit { font-size: 18.5px; }
  .bd-view__tit { font-size: 24px; }
  .bd-view__con { font-size: 16px; }
  .bd-search form { flex-direction: column; }
  .bd-search select, .bd-search input[type=text], .bd-search .bd-btn { width: 100%; }
  /* 보기·쓰기 화면의 주요 버튼만 가로로 채운다.
     목록 위 관리·글쓰기는 li 가 flex 자식이라 여기서 늘려도 안 먹고,
     알약 두 개가 왼쪽에 붙어 있는 편이 덜 무겁다. */
  .bd-view__btns { width: 100%; }
  .bd-view__btns .bd-btn { flex: 1; padding: 0 14px; }
  .bd-allchk__btns { margin-left: 0; width: 100%; }
  .bd-cmt__wfoot .frm_input { width: 100%; }
  .bd-cmt__wfoot .bd-btn { margin-left: 0; width: 100%; }
  .bd-view__admin a, .bd-cmt__act a { min-height: 44px; }
}

/* ==========================================================================
   서브페이지 전용
   ========================================================================== */

/* 전문가 소개 */
.profile { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
/* 대표 프로필 — 원형 일러스트라 정사각 비율에 그대로 앉힌다 */
.profile__photo { position: relative; aspect-ratio: 1; }
.profile__photo img { width: 100%; height: 100%; object-fit: contain; }
.profile__name { font-size: 34px; color: var(--green-800); margin-bottom: 26px; }
.profile__name small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-500); }

/* 지도 */
.map-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.map-box iframe, .map-box > div > iframe { display: block; width: 100%; height: 440px; border: 0; }
.map-box__placeholder {
  height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-50); color: var(--ink-500);
}
.map-box__placeholder p { font-size: 18px; font-weight: 600; color: var(--ink-700); }
.map-box__placeholder span { font-size: 14px; color: var(--ink-300); }

/* 헤르츠 상담 3단계 */
.stage { display: grid; grid-template-columns: 160px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__letter {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-800); color: var(--gold-500);
  font-family: var(--serif); font-size: 30px; font-weight: 700;
}
.stage__week { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink-500); }
.stage__title { font-size: 30px; color: var(--green-800); }
.stage__meta { margin-top: 8px; font-size: 15px; color: var(--gold-600); font-weight: 600; letter-spacing: .01em; }
.stage__desc { margin-top: 18px; font-size: 17px; color: var(--ink-700); }

/* 세 칸 높이를 맞추고 화살표만 가운데 정렬한다 */
.flow { display: grid; grid-template-columns: 1fr auto 1.5fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 34px; }
.flow__arrow { align-self: center; }
.flow__step { padding: 26px 24px; background: var(--green-50); border-radius: var(--radius); height: 100%; }
.flow__no { font-size: 15px; font-weight: 700; color: var(--green-800); }
.flow__text { margin-top: 8px; font-size: 14.5px; color: var(--ink-700); }
.flow__step .bullets li { font-size: 14.5px; }
.flow__arrow { color: var(--gold-500); font-size: 22px; }

/* 예약 박스 */
.book-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.book-box__item { padding: 44px 38px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.book-box__item .btn { display: inline-flex; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  /* ── 터치 영역 ──────────────────────────────────────────────
     손가락으로 누르는 것은 최소 44px 이어야 한다.
     보이는 크기는 그대로 두고 여백만 넓히며, 음수 마진으로 시각 정렬을 유지한다. */
  .menubtn { box-sizing: border-box; width: 44px; height: 44px; padding: 11px 8px; margin-right: -8px; }
  .header__logo a { display: inline-block; padding: 6px 0; }
  .motab__close { box-sizing: border-box; width: 44px; height: 44px;
                  align-items: center; justify-content: center; margin-right: -10px; }
  .motab__logo { display: inline-block; padding: 9px 0; }
  .motab__links { gap: 0; }
  .motab__links a { display: flex; align-items: center; min-height: 44px; }
  .footer__logo { display: inline-block; padding: 6px 0; }
  .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }

  /* ── 퀵메뉴: 떠 있는 원형 버튼 → 하단 고정 바 ──────────────────
     본문이 화면 끝까지 차는 폭에서는 떠 있는 버튼이 글자를 가린다.
     바로 바꾸면 가림이 없어지고 예약·전화가 항상 손에 닿는다. */
  .quick-menu {
    left: 0; right: 0; bottom: 0; flex-direction: row; justify-content: center; gap: 8px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(250,248,243,.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .quick-menu__item {
    flex: 1 1 auto; width: auto; max-width: 240px; height: 50px; border-radius: 999px;
    flex-direction: row; gap: 8px; font-size: 14.5px; box-shadow: none;
  }
  .quick-menu__item .icon { width: 18px; height: 18px; }
  .quick-menu__item:not(.quick-menu__item--gold) { border: 1px solid var(--green-800); }
  /* 바 안에서는 항상 눌리게 (스크롤 여부로 사라지면 레이아웃이 튄다) */
  .quick-menu .topBtn { flex: 0 0 50px; max-width: 50px; opacity: 1; pointer-events: auto; }
  /* 바가 카피라이트를 덮지 않도록 — 푸터 색으로 채워 이질감이 없다 */
  .footer { padding-bottom: 126px; }
  /* 스크롤 안내가 바 뒤로 숨지 않게 바 높이(8+50+8)만큼 띄운다 */
  .hero__scroll { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .section { padding: 88px 0; }
  .section-title { font-size: 32px; }
  .gnb { display: none; }
  .menubtn { display: flex; }
  .header__book { display: none; }
  .sub-banner { padding: calc(var(--header-h) + 64px) 0 64px; }
  .sub-banner__title { font-size: 34px; }
  .intro__grid { grid-template-columns: 1fr; gap: 44px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .foot-cta__title { font-size: 32px; }
  .process-line { grid-template-columns: repeat(3, 1fr); }
  .profile { grid-template-columns: 300px 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: 26px; }
  .hero { min-height: 560px; }
  .tabs__btn { padding: 14px 20px; font-size: 15px; }
  .sub-banner__title { font-size: 27px; }
  /* 헤더·배너·서브탭의 좌우 여백을 .container(20px) 와 맞춘다.
     ※ display:none 을 쓰면 휴대폰에서 헤더가 통째로 사라진다. 패딩만 건드릴 것. */
  .header__inner, .sub-banner__inner, .sub-tab__inner { padding-left: 20px; padding-right: 20px; }
  .sub-tab__home { display: none; }   /* 좁은 화면에서는 홈 아이콘을 뺀다 */
  .sub-tab__list a { padding: 16px 18px; font-size: 15px; }
  .sub-tab__list a:first-child { padding-left: 0; }   /* 홈 아이콘이 빠지므로 글자를 왼쪽 끝에 */
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .keywords { grid-template-columns: 1fr; }
  .keyword { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px 20px; }
  .keyword:last-child { border-bottom: 0; }
  .step { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .step__no { flex-direction: row; align-items: center; gap: 14px; }
  .icon-badge { width: 54px; height: 54px; }
  .icon--lg { width: 28px; height: 28px; }
  .keyword__icon { margin-bottom: 16px; }
  .program__icon { margin-bottom: 20px; }
  .deflist__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
  .lead { font-size: 20px; }
  .prose { font-size: 16px; }
  .card { padding: 26px 22px; }
  .motab { padding: 84px 24px 40px; }
  .motab__top { height: 76px; padding: 0 24px; }
  .motab__logo img { height: 25px; }
  .quote-card { padding: 44px 28px; font-size: 18px; line-height: 1.95; }
  .quote-card::before { font-size: 76px; left: 16px; }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .process-line__item { padding: 26px 14px 26px 0; }
  .process-line__item p { font-size: 15.5px; }
  .profile { grid-template-columns: 1fr; gap: 32px; }
  .profile__photo { max-width: 280px; }
  .profile__name { font-size: 26px; }
  .stage { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
  .stage__letter { width: 56px; height: 56px; font-size: 24px; }
  .stage__week { margin-top: 10px; }
  .stage__title { font-size: 24px; }
  .book-box { grid-template-columns: 1fr; }
  .book-box__item { padding: 30px 24px; }
  .map-box__placeholder, .map-box iframe { height: 300px; }
  .foot-cta { padding: 72px 0; }
  .foot-cta__title { font-size: 26px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__nav { flex-wrap: wrap; gap: 18px; }
  .bar { margin: 0 8px; }
  .footer__info p { line-height: 2; }
}

/* 모션 최소화를 켠 사용자에게는 애니메이션을 끈다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal > span,
  .hero__inner > * { opacity: 1 !important; transform: none !important; }
}

/* 인쇄 */
@media print {
  .header, .motab, .quick-menu, .sub-tab, .foot-cta, .footer,
  .scroll-progress, .hero__scroll { display: none !important; }
}
