/* ============================================================
   효율경영자문(주) 공통 스타일
   토큰: 딥 네이비 + 뉴트럴 라이트 그레이 / Pretendard 단일 서체
   ============================================================ */
:root {
  --navy: #113A68;
  --navy-deep: #082850;
  --accent: #9AA3AD;
  --accent-soft: #DFE4E9;
  --accent-text: #6B7480;
  --ink: #131A24;
  --muted: #5B6675;
  --paper: #F7F8FA;
  --surface: #FFFFFF;
  --rule: #DCE1E8;
  --rule-soft: #EAEEF3;
  --shade: #EEF1F5;
  --sans: 'Pretendard Variable', Pretendard, 'Noto Sans KR', -apple-system, 'Malgun Gothic', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 0.6rem 1.1rem; text-decoration: none;
  transition: top 160ms ease;
}
.skip:focus { top: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 68px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { display: block; height: 34px; width: auto; max-width: none; }

.nav-toggle {
  margin-left: auto; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 1px solid var(--rule); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gnb { display: none; }
.gnb ul { list-style: none; margin: 0; padding: 0; }
.gnb a { text-decoration: none; }

/* 모바일 패널 */
.gnb.open {
  display: block;
  position: fixed; left: 0; right: 0; top: 68px; bottom: 0;
  background: var(--surface);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
body.nav-open { overflow: hidden; }
body.nav-open .callbar { display: none; }
.gnb.open > ul { padding: 0.5rem 1.5rem calc(2.5rem + env(safe-area-inset-bottom)); }
.gnb.open > ul > li { position: relative; border-bottom: 1px solid var(--rule-soft); }
.gnb.open > ul > li > a {
  display: block; padding: 0.95rem 3rem 0.95rem 0.25rem; font-weight: 700; font-size: 0.98rem;
}
.gnb.open .sub-toggle {
  position: absolute; top: 5px; right: 0; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; color: var(--muted); padding: 0;
}
.gnb.open .sub-toggle::before {
  content: "+"; display: block; font-size: 1.35rem; line-height: 1; font-weight: 400;
  transition: transform 180ms ease;
}
.gnb.open li.sub-open .sub-toggle::before { transform: rotate(45deg); color: var(--navy); }
.gnb.open .sub { display: none; padding: 0 0 0.85rem; }
.gnb.open li.sub-open .sub { display: block; }
.gnb.open .sub a {
  display: block; padding: 0.5rem 1rem; font-size: 0.9rem; color: var(--muted);
}
.gnb.open .sub a:hover { color: var(--navy); }
.sub-toggle { display: none; }
.gnb.open .sub-toggle { display: block; }

/* 데스크톱 */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .gnb { display: block; margin-left: auto; position: static; }
  .gnb > ul { display: flex; }
  .gnb > ul > li { position: relative; border: none; }
  .gnb > ul > li > a {
    display: block; padding: 1.35rem 1rem; font-size: 0.94rem; font-weight: 600; color: var(--ink);
    transition: color 160ms ease;
  }
  .gnb > ul > li > a:hover { color: var(--navy); }
  .gnb > ul > li.active > a { color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); }
  .gnb .sub {
    position: absolute; left: 50%; transform: translateX(-50%); top: 100%;
    min-width: 190px; padding: 0.5rem 0;
    background: var(--surface); border: 1px solid var(--rule); border-top: 2px solid var(--navy);
    box-shadow: 0 10px 24px rgba(11,36,64,0.08);
    opacity: 0; visibility: hidden; transition: opacity 160ms ease, visibility 160ms ease;
  }
  .gnb > ul > li:hover .sub,
  .gnb > ul > li:focus-within .sub { opacity: 1; visibility: visible; }
  .gnb .sub a {
    display: block; padding: 0.55rem 1.2rem; font-size: 0.88rem; color: var(--ink);
    white-space: nowrap; transition: background 140ms ease, color 140ms ease;
  }
  .gnb .sub a:hover { background: var(--shade); color: var(--navy); }
}

/* ---------- page hero (서브페이지 상단) ---------- */
.page-hero {
  background: var(--navy-deep);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 120px);
  color: #F2F5F9;
  border-bottom: 3px solid var(--accent);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.2rem, 6vw, 3.5rem);
}
.page-hero .eyebrow {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 1rem;
}
.page-hero h1 {
  margin: 0; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.25; text-wrap: balance;
}
.page-hero h1 .h1-cert {
  font-size: clamp(0.82rem, 1.8vw, 1.02rem); font-weight: 500; letter-spacing: -0.01em;
  color: var(--accent-soft); margin-left: 0.55rem; vertical-align: 0.4em; white-space: nowrap;
}
.page-hero .lede { margin: 1.1rem 0 0; max-width: 56ch; color: #AEBCCC; font-weight: 300; }
.breadcrumb {
  margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: #8FA1B5;
}
.breadcrumb a { color: #B8C4D2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #5F7288; }

/* ---------- page hero 사진 변형 ---------- */
.page-hero.ph-img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 35%;
}
.ph-about   { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.78)), url("../img/hero-about.jpg"); }
.ph-people  { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.8)),  url("../img/hero-people.jpg"); }
.ph-service { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.78)), url("../img/hero-service.jpg"); }
.ph-cert    { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.78)), url("../img/hero-cert.jpg"); }
.ph-diag    { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.78)), url("../img/hero-diag.jpg"); }
.ph-gov     { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.78)), url("../img/hero-gov.jpg"); }
.ph-contact { background-image: linear-gradient(95deg, rgba(8,40,80,0.95), rgba(8,40,80,0.8)),  url("../img/hero-contact.jpg"); }

/* ---------- main hero (메인 전용) ---------- */
.hero {
  background-color: var(--navy-deep);
  background-image:
    url("../img/symbol-watermark.png"),
    linear-gradient(100deg, rgba(8,40,80,0.97) 0%, rgba(8,40,80,0.9) 45%, rgba(8,40,80,0.55) 100%),
    url("../img/hero-main.jpg");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right clamp(-80px, -4vw, -20px) center, center, center;
  background-size: min(420px, 42vw) auto, cover, cover;
  color: #F2F5F9; border-bottom: 3px solid var(--accent);
}
.hero-inner { padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(3.5rem, 9vw, 6rem); }
.hero .eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 1.4rem;
}
.hero h1 {
  margin: 0 0 1.4rem; font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.3rem); line-height: 1.26; letter-spacing: -0.03em;
  text-wrap: balance; max-width: 20ch;
}
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero p { margin: 0 0 2.4rem; max-width: 48ch; color: #AEBCCC; font-size: 1.04rem; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.7rem; transition: opacity 160ms ease, background 160ms ease, color 160ms ease;
}
.btn-primary { background: var(--accent-soft); color: #14243A; }
.btn-primary:hover { background: #FFFFFF; }
.btn:active { transform: translateY(1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.35); color: #E8EEF5; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* ---------- 공통 섹션 ---------- */
section { padding: clamp(4rem, 10vw, 6.5rem) 0; }
section + section { border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-label {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 0.8rem;
}
.sec-head h2 {
  margin: 0; font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.35; text-wrap: balance;
}
.sec-head p { margin: 1rem 0 0; max-width: 62ch; color: var(--muted); }
.bg-surface { background: var(--surface); }

/* ---------- 통계 스트립 ---------- */
.stat-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: 1fr; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 1.7rem 1.5rem; }
.stat .k { display: block; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--navy); }
.stat .v { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- 카드 그리드 ---------- */
.card-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); padding: 1.8rem 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  text-decoration: none; transition: background 160ms ease;
}
a.card { position: relative; }
a.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms ease;
}
a.card:hover { background: var(--shade); }
a.card:hover::after { transform: scaleX(1); }
.card .more { transition: color 160ms ease; }
a.card:hover .more { color: var(--accent-text); }
.card .num { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-text); }
.card h3 { margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.015em; }
.card p { margin: 0; font-size: 0.87rem; line-height: 1.65; color: var(--muted); flex: 1; }
.card .more { font-size: 0.8rem; font-weight: 600; color: var(--navy); }

/* ---------- 이미지 카드 ---------- */
.card--img { padding: 0; }
.card--img > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.85); transition: filter 220ms ease; }
a.card--img:hover > img { filter: saturate(1); }
.card--img .card-body { padding: 1.3rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }

/* ---------- 스플릿 섹션 ---------- */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 6fr 5fr; gap: 4rem; } }
.split-media { border: 1px solid var(--rule); margin: 0; }
.split-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .mini-tl { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.split .mini-tl li { display: flex; gap: 1.2rem; padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--rule-soft); font-size: 0.92rem; }
.split .mini-tl .d { flex: none; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--accent-text); padding-top: 0.15rem; }

/* ---------- 서비스 목록 페이지 ---------- */
.svc-intro { font-size: 1.02rem; max-width: 68ch; }
.svc-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 768px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc-list li {
  background: var(--surface); padding: 1.05rem 1.4rem;
  display: flex; gap: 0.8rem; align-items: baseline; font-size: 0.95rem;
}
.svc-list li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); margin-top: 2px; align-self: center; }
@media (min-width: 768px) { .svc-list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- 전문인력 ---------- */
.pro-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .pro-grid { gap: 1.5rem; } }
@media (min-width: 1024px) { .pro-grid { grid-template-columns: repeat(4, 1fr); } }
.pro-card {
  border: 1px solid var(--rule); background: var(--surface);
  display: flex; flex-direction: column; text-decoration: none;
  transition: border-color 160ms ease;
}
.pro-card { transition: border-color 180ms ease, transform 220ms ease, box-shadow 220ms ease; }
a.pro-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,36,64,0.1); }
.pro-photo {
  aspect-ratio: 3 / 4; background: var(--shade); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--rule);
}
.pro-photo svg { width: 84px; height: 84px; color: #B9C3CF; }
.pro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.pro-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.pro-body .position { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.pro-body h3 { margin: 0; font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; }
.pro-body .cert { font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.pro-body .field { font-size: 0.8rem; line-height: 1.7; color: var(--muted); margin-top: 0.35rem; }

/* 프로필 상세 */
.profile-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .profile-layout { grid-template-columns: 340px 1fr; gap: 4rem; } }
.profile-side { display: flex; flex-direction: column; gap: 1.2rem; }
.profile-side .pro-photo { border: 1px solid var(--rule); }
.profile-side .id { border-top: 2px solid var(--navy); padding-top: 1rem; }
.profile-side .id .name { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; }
.profile-side .id .cert { color: var(--navy); font-weight: 600; margin-top: 0.2rem; }
.profile-main h2 {
  margin: 0 0 1rem; font-size: 1.05rem; font-weight: 700; color: var(--navy);
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule);
}
.profile-main section, .profile-block { padding: 0 0 2.5rem; border: none; }
.hist-list { list-style: none; margin: 0; padding: 0; }
.hist-list li { padding: 0.42rem 0 0.42rem 1.1rem; position: relative; font-size: 0.95rem; }
.hist-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 5px; height: 5px; background: var(--accent);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  border: 1px solid var(--rule); background: var(--shade); padding: 0.3rem 0.8rem;
}

/* ---------- 프로세스 스텝 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps.n4 { grid-template-columns: repeat(4, 1fr); } .steps.n5 { grid-template-columns: repeat(5, 1fr); } }
.steps li { background: var(--surface); padding: 1.4rem 1.3rem 1.6rem; }
.steps .sn { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; color: var(--accent-text); display: block; margin-bottom: 0.5rem; }
.steps h3 { margin: 0 0 0.5rem; font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em; }
.steps p { margin: 0; font-size: 0.84rem; line-height: 1.65; color: var(--muted); }

/* ---------- 상황 카드 ---------- */
.need-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .need-grid { grid-template-columns: repeat(3, 1fr); } }
.need { border: 1px solid var(--rule); border-left: 3px solid var(--accent); background: var(--surface); padding: 1.3rem 1.4rem 1.45rem; font-size: 0.92rem; line-height: 1.7; color: var(--muted); }
.need b { display: block; margin-bottom: 0.4rem; font-size: 0.98rem; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule-soft); background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-weight: 600; font-size: 0.95rem; display: flex; gap: 0.85rem; align-items: baseline; }
.faq summary::before { content: "Q"; font-family: var(--mono); color: var(--accent-text); font-weight: 600; flex: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: none; color: var(--muted); font-weight: 400; font-size: 1.1rem; line-height: 1; transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--navy); }
.faq details[open] summary { color: var(--navy); }
.faq .a { padding: 0 1.2rem 1.25rem 2.75rem; font-size: 0.92rem; line-height: 1.75; color: var(--muted); max-width: 72ch; margin: 0; }

/* ---------- 산출물 칩 ---------- */
.deliv { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.deliv li { border: 1px solid var(--rule); background: var(--surface); padding: 0.55rem 1.05rem; font-size: 0.88rem; font-weight: 600; color: var(--navy); }

/* ---------- 기관 배지 ---------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.badge-strip li { font-size: 0.85rem; font-weight: 600; color: var(--muted); border: 1px solid var(--rule); background: var(--surface); padding: 0.45rem 0.95rem; }

/* ---------- 카드 정보행 ---------- */
.kv { margin: 0.4rem 0 0; font-size: 0.83rem; line-height: 1.65; color: var(--muted); display: flex; flex-direction: column; gap: 0.3rem; }
.kv span b { color: var(--ink); font-weight: 700; margin-right: 0.45rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin: 1.2rem 0 0; }

/* ---------- 로고월 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logo-wall.cols-8 { grid-template-columns: repeat(8, 1fr); } .logo-wall.cols-7 { grid-template-columns: repeat(7, 1fr); } .logo-wall.cols-5 { grid-template-columns: repeat(5, 1fr); } .logo-wall { grid-template-columns: repeat(4, 1fr); } }
.logo-tile {
  background: var(--surface); min-height: 104px; padding: 1.2rem 1.1rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.logo-tile img { max-height: 58px; width: auto; max-width: 100%;
  filter: grayscale(1) opacity(0.72); transition: filter 200ms ease; }
.logo-tile:hover img { filter: none; }
.logo-tile .txt { font-size: 0.84rem; font-weight: 600; color: var(--muted); line-height: 1.4; word-break: keep-all; }

/* ---------- 공지 목록 ---------- */
.notice-list { border-top: 2px solid var(--navy); }
.notice-list details { border-bottom: 1px solid var(--rule-soft); background: var(--surface); }
.notice-list summary { cursor: pointer; list-style: none; display: flex; gap: 1.4rem; align-items: baseline; padding: 1.1rem 1.2rem; }
.notice-list summary::-webkit-details-marker { display: none; }
.notice-list summary::after { content: "+"; margin-left: auto; flex: none; color: var(--muted); font-weight: 400; font-size: 1.1rem; line-height: 1; transition: transform 160ms ease; }
.notice-list details[open] summary::after { transform: rotate(45deg); color: var(--navy); }
.notice-list .nd { flex: none; width: 6.2em; text-align: center; font-family: var(--mono); font-size: 0.78rem; color: var(--accent-text); }
.notice-list .nt { font-weight: 600; font-size: 0.96rem; }
.notice-list details[open] .nt { color: var(--navy); }
.notice-list .nb { padding: 0 1.2rem 1.3rem; font-size: 0.92rem; line-height: 1.75; color: var(--muted); max-width: 72ch; margin: 0; }

/* ---------- 프로필 재구성 ---------- */
.profile-head { display: flex; gap: clamp(1.5rem, 3.5vw, 2.75rem); align-items: center; flex-wrap: wrap; margin-bottom: 2.25rem; }
.profile-head .photo {
  flex: none; width: clamp(160px, 24vw, 232px); aspect-ratio: 3 / 4; background: var(--shade);
  border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.profile-head .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-head .photo svg { width: 76px; height: 76px; color: #B9C3CF; }
.profile-head .who { display: flex; flex-direction: column; gap: 0.4rem; }
.profile-head .position { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin: 0; }
.profile-head .cert { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin: 0; }
.profile-head .cert .name { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-right: 0.35rem; }
.pf-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pf-grid { grid-template-columns: 1fr 1fr; } .pf-wide { grid-column: 1 / -1; } }
.pf-block { border: 1px solid var(--rule); background: var(--surface); padding: 1.5rem 1.6rem 1.7rem; }
.pf-block h2 {
  margin: 0 0 1rem; font-size: 0.98rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: baseline; gap: 0.7rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--rule);
}
.pf-block h2 .en { font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; color: var(--accent-text); text-transform: uppercase; }
.pf-block .hist-list li { font-size: 0.92rem; padding: 0.34rem 0 0.34rem 1.1rem; break-inside: avoid; }
@media (min-width: 820px) { .pf-wide .hist-list { columns: 2; column-gap: 3rem; } }
.pf-note { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- 연혁 타임라인 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.8rem; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 0.5em;
  width: 10px; height: 10px; background: var(--surface); border: 2px solid var(--accent);
  border-radius: 50%;
}
.timeline .date { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--accent-text); display: block; }
.timeline .evt { font-size: 1rem; font-weight: 500; }

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--surface); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9rem; }
.table-wrap th, .table-wrap td { padding: 0.85rem 1.2rem; text-align: left; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.table-wrap thead th {
  background: var(--shade); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--rule); white-space: nowrap;
}
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:hover td { background: var(--shade); }

/* ---------- 정보 목록 (연락처 등) ---------- */
.info-list { display: flex; flex-direction: column; border-top: 2px solid var(--navy); margin: 0; }
.info-row { display: flex; gap: 1.5rem; padding: 1.05rem 0.2rem; border-bottom: 1px solid var(--rule-soft); }
.info-row dt { flex: none; width: 6.2rem; font-size: 0.82rem; font-weight: 700; color: var(--muted); padding-top: 0.1rem; }
.info-row dd { margin: 0; font-size: 0.95rem; }
.info-row dd a { color: var(--navy); text-decoration: none; font-weight: 500; }
.info-row dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-row dd .sub { display: block; font-size: 0.82rem; color: var(--muted); }

/* ---------- 상담 그리드 ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4.5rem; } }

/* ---------- 폼 ---------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.4rem; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); padding: 0.75rem 0.9rem; border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 130px; resize: vertical; }
.agree { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.84rem; color: var(--muted); }
.agree input { margin-top: 0.28rem; accent-color: var(--navy); }
.btn-submit {
  align-self: flex-start; background: var(--navy); color: #fff; border: none;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 2.4rem; cursor: pointer; transition: background 160ms ease;
}
.btn-submit:hover { background: var(--navy-deep); }
.btn-submit:disabled { opacity: 0.6; cursor: default; }
.form-status { margin: 0.9rem 0 0; font-size: 0.88rem; line-height: 1.6; }

/* ---------- 게시판 ---------- */
.board-empty {
  border: 1px solid var(--rule); background: var(--surface);
  padding: 4rem 1.5rem; text-align: center; color: var(--muted);
}

/* ---------- CTA 밴드 ---------- */
.cta-band { background: var(--navy); color: #F2F5F9; border-top: none; }
.cta-band .inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem;
  justify-content: space-between;
}
.cta-band h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; }
.cta-band p { margin: 0.4rem 0 0; color: #AEBCCC; font-size: 0.94rem; font-weight: 300; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 450ms ease, transform 450ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #8FA1B5; padding: 3rem 0 5.5rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 3rem; } }
.footer-inner { display: flex; flex-direction: column; gap: 1.4rem; }
.footer-brand { color: #E8EEF5; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.015em; }
.footer-logo { display: block; height: 28px; width: auto; max-width: none; align-self: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; font-size: 0.84rem; }
.footer-nav a { color: #B8C4D2; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-info { font-size: 0.82rem; line-height: 1.9; margin: 0; }
.footer-info span { display: inline-block; margin-right: 1.4rem; }
.footer-copy { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: #5F7288; }

/* ---------- 모바일 하단 통화바 ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.callbar { padding-bottom: env(safe-area-inset-bottom); }
.callbar a { flex: 1; text-align: center; padding: 1rem 0; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.callbar a + a { border-left: 1px solid rgba(255,255,255,0.18); }
@media (min-width: 900px) { .callbar { display: none; } }
