/* 행정사사무소 이유 — v2 with photography (네이비 #1F3A5F + 블루 #2E6FA8) */

:root {
  /* ───── Brand Guide Official Palette ───── */
  --primary-dark: #0E1626;        /* 네이비 PRIMARY */
  --primary-dark-deep: #060A14;   /* deeper variant */
  --sub-navy: #3A4A63;            /* 미드네이비 SUB */
  --accent-gold: #C9A24B;         /* 골드 ACCENT */
  --accent-gold-light: #DDB970;
  --bg-offwhite: #F4F4F2;         /* 오프화이트 LIGHT */
  /* ──────────────────────────────────────── */
  --primary-accent: #3A4A63;       /* sub-navy as default accent */
  --primary-accent-light: #5A6E8C;
  --text-body: #1C1F2A;
  --text-secondary: #475263;
  --text-muted: #6F7888;
  --text-footer: #9DA5B1;
  --bg-white: #FFFFFF;
  --bg-soft: #F7F8F5;
  --bg-info: #EAECEF;
  --bg-info-light: #F4F4F2;
  --bg-positive: #E3F0E3;
  --bg-warning: #FBE9E7;
  --bg-highlight: #FAF4E6;
  --accent-positive: #2E7D4F;
  --accent-warning: #C0392B;
  --border: #E5E8F0;
  --border-soft: #EEF1F6;
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1240px;
  --shadow-sm: 0 1px 3px rgba(20, 40, 73, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 40, 73, 0.10);
  --shadow-lg: 0 20px 50px rgba(20, 40, 73, 0.15);
  --shadow-hero: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: "Pretendard Variable", "Pretendard", "Malgun Gothic",
               "Apple SD Gothic Neo", "Noto Sans KR",
               -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss05", "ss06";
}

a { color: var(--primary-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ───── Topbar (dark navy, brand-aligned) ───── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(201, 162, 75, 0.12);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand:hover { text-decoration: none; }

/* 인장 (한자 네모 stamp) — 브랜드 가이드 스타일 */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--primary-dark-deep);
  border: 1.5px solid var(--accent-gold);
  border-radius: 4px;
  font-family: "Noto Serif KR", serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}
/* 인장 가운데 분할선 (의료/기업 두 영역 의미) */
.brand-mark::after {
  content: '';
  position: absolute;
  top: 14%; bottom: 14%;
  left: 50%; width: 1px;
  background: rgba(201, 162, 75, 0.4);
}
/* 인장 한자 두 글자 */
.brand-mark .han {
  display: inline-block;
  padding: 0 4px;
  font-size: 22px;
}

/* 이유 + 행정사사무소 워드마크 */
.brand-name {
  display: flex; align-items: baseline;
  gap: 0;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-name .brand-iyu { color: #fff; }
.brand-name .brand-plus {
  color: var(--accent-gold);
  font-size: 20px;
  font-weight: 600;
  margin-left: 1px;       /* 이유에 거의 붙임 */
  margin-right: 9px;      /* 행정사사무소와의 여백 */
}
.brand-name .brand-office {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0;
}

/* 보조: 인장+텍스트 묶음에 sub-text "MEDICAL & BUSINESS" */
/* 각 글자 균등 분포 (flex space-between) */
.brand-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 10.5px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 7px;
  letter-spacing: 0;
}
.brand-sub > span {
  display: inline-block;
  line-height: 1;
}
.brand-sub .brand-amp {
  font-weight: 400;
  opacity: 0.85;
}
.brand-text {
  display: flex; flex-direction: column; gap: 0;
  align-items: stretch;
}

/* 기존 logo PNG 클래스도 호환용 (footer 등) */
.brand-logo {
  height: 38px; width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px; font-weight: 500;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.active { color: #fff; font-weight: 700; }
.nav a.active::after { bottom: -26px; }
.nav-cta {
  background: var(--accent-gold) !important;
  color: var(--primary-dark) !important;
  padding: 10px 20px; border-radius: 8px;
  font-weight: 700;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.nav-cta:hover {
  background: var(--accent-gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 162, 75, 0.3);
}

@media (max-width: 820px) {
  .nav a:not(.nav-cta) { display: none; }
  .topbar-inner { height: 68px; }
  .brand-logo { height: 32px; }
  .brand { gap: 12px; }
  .brand-mark { width: 46px; height: 46px; font-size: 20px; }
  .brand-mark .han { font-size: 18px; }
  .brand-name { font-size: 18px; }
  .brand-name .brand-office { font-size: 16px; }
  .brand-name .brand-plus { font-size: 17px; margin-right: 7px; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.05em; }
}

/* ───── Hero (with photo background) ───── */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 0 130px;
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2400&q=80');
  background-size: cover; background-position: center;
  filter: saturate(0.85) brightness(0.5);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46, 111, 168, 0.4) 0%, transparent 60%),
    linear-gradient(135deg, rgba(15, 31, 56, 0.92) 0%, rgba(31, 58, 95, 0.85) 50%, rgba(20, 40, 73, 0.95) 100%);
}
.hero-content { text-align: center; max-width: 920px; }
.hero-content .container { text-align: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--accent-gold-light);
  margin-bottom: 28px; text-transform: uppercase;
  padding: 6px 18px; border: 1px solid rgba(214, 163, 64, 0.4);
  border-radius: 100px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.25; font-weight: 700; letter-spacing: -0.025em;
  margin: 0 0 26px;
  word-break: keep-all;
}
.page-hero h1 { word-break: keep-all; }
h2, h3, h4 { word-break: keep-all; }
.hero-accent {
  background: linear-gradient(135deg, #BFD7F0 0%, #FFFFFF 60%, #D6A340 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px; margin: 0 auto 40px; max-width: 700px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; justify-content: center; gap: 60px;
  padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: 36px; font-weight: 700; color: var(--accent-gold-light);
  line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: 12px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 36px; border: 2px solid rgba(255,255,255,0.4);
  border-radius: 100px;
}
.hero-scroll span {
  display: block; width: 3px; height: 8px; background: rgba(255,255,255,0.7);
  border-radius: 2px; margin: 6px auto; animation: scrollHint 1.5s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ───── Buttons ───── */
.btn {
  display: inline-block;
  padding: 14px 32px; border-radius: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-gold); color: var(--primary-dark-deep);
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent-gold-light); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255,255,255,0.6); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ───── Sections ───── */
.section { padding: 110px 0; position: relative; }
.section-divisions { padding: 100px 0; background: #fff; }
.section-medical { background: var(--bg-soft); }
.section-business { background: #fff; }
.section-about {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.section-head {
  text-align: center; max-width: 800px; margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--primary-accent); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--accent-gold-light); }

h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.025em;
  margin: 0 0 16px; color: var(--primary-dark);
  line-height: 1.25;
}
.section-head h2::after {
  content: ''; display: block;
  width: 50px; height: 3px; background: var(--accent-gold);
  margin: 20px auto 0;
}
.lead {
  font-size: 17px; color: var(--text-secondary);
  margin: 12px auto 0; max-width: 720px;
}

/* ───── Division Cards (with images) ───── */
.division-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 0;
}
@media (max-width: 860px) { .division-cards { grid-template-columns: 1fr; } }

.division-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.division-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.division-visual {
  position: relative; height: 220px; overflow: hidden;
}
.division-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.division-card:hover .division-visual img { transform: scale(1.05); }
.division-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(31, 58, 95, 0.7) 100%);
}
.division-tag {
  position: absolute; bottom: 18px; left: 24px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent-gold-light); text-transform: uppercase;
}

.division-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.division-body h3 {
  font-size: 26px; color: var(--primary-dark);
  margin: 0 0 6px; letter-spacing: -0.02em;
}
.division-lead {
  color: var(--accent-gold); font-weight: 600;
  margin: 0 0 18px; font-size: 14px;
  letter-spacing: 0.02em;
}
.division-desc { color: var(--text-secondary); margin: 0 0 22px; font-size: 15px; }
.division-list {
  list-style: none; padding: 0; margin: 0 0 26px;
  border-top: 1px solid var(--border-soft);
}
.division-list li {
  padding: 12px 0; border-bottom: 1px solid var(--border-soft);
  color: var(--text-body); font-size: 15px; font-weight: 500;
  position: relative; padding-left: 22px;
}
.division-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--primary-accent); font-weight: 700;
}
.division-link {
  display: inline-block; margin-top: auto;
  font-weight: 600; color: var(--primary-accent);
  padding-top: 8px;
}
.division-link:hover { color: var(--primary-dark); }

/* ───── Lifecycle (Phases) ───── */
.lifecycle {
  display: flex; align-items: stretch; gap: 8px;
  margin: 0 0 60px; padding: 24px;
  background: linear-gradient(135deg, var(--bg-info-light) 0%, #fff 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}
.phase {
  flex: 1; min-width: 130px;
  text-align: center; padding: 18px 10px;
  border-radius: 10px;
  transition: background .2s ease;
}
.phase:hover { background: rgba(46, 111, 168, 0.06); }
.phase-num {
  display: block;
  font-size: 10.5px; font-weight: 700; color: var(--primary-accent);
  letter-spacing: 0.14em; margin-bottom: 8px;
}
.phase h4 {
  margin: 0 0 4px; font-size: 16px; color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.phase p { margin: 0; color: var(--text-muted); font-size: 13px; }
.phase-arrow {
  align-self: center; color: var(--primary-accent);
  font-size: 20px; opacity: 0.4; flex-shrink: 0;
}
@media (max-width: 720px) {
  .lifecycle { flex-direction: column; }
  .phase-arrow { transform: rotate(90deg); margin: 4px 0; }
}

/* ───── 5 Cards (Medical) — 3+2 centered layout ───── */
.cards-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cards-5 > * { grid-column: span 2; }
.cards-5 > :nth-child(4) { grid-column: 2 / span 2; }
.cards-5 > :nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 820px) {
  .cards-5 { grid-template-columns: 1fr 1fr; }
  .cards-5 > *,
  .cards-5 > :nth-child(4),
  .cards-5 > :nth-child(5) { grid-column: auto; }
}
@media (max-width: 480px) {
  .cards-5 { grid-template-columns: 1fr; }
}
.cards-9 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 40px;
}
@media (max-width: 860px) { .cards-9 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards-9 { grid-template-columns: 1fr; } }

.card-area {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.card-area:hover {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.area-tag {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 100%);
  color: #fff; border-radius: 10px; font-weight: 700;
  font-family: "Noto Serif KR", serif; font-size: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(46, 111, 168, 0.25);
}
.area-num {
  display: inline-block;
  color: var(--accent-gold); font-weight: 700; font-size: 14px;
  letter-spacing: 0.12em; margin-bottom: 8px;
  font-family: "Noto Serif KR", serif;
}
.card-area h3 {
  font-size: 18px; margin: 0 0 8px; color: var(--primary-dark);
  letter-spacing: -0.015em;
}
.card-area p {
  margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.6;
}
.card-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 4px;
  background: var(--bg-info); color: var(--primary-accent);
  letter-spacing: 0.04em;
}
.card-tag-regular {
  background: var(--bg-positive); color: var(--accent-positive);
}

/* ───── Fee options ───── */
.fee-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 0 0 0;
}
@media (max-width: 720px) { .fee-options { grid-template-columns: 1fr; } }
.fee-card {
  background: var(--bg-info-light); border-radius: var(--radius); padding: 28px;
  border-left: 4px solid var(--primary-accent);
  position: relative;
}
.fee-card-project {
  background: var(--bg-highlight); border-left-color: var(--accent-gold);
}
.fee-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.fee-tag-advisory { background: var(--primary-accent); color: #fff; }
.fee-tag-project { background: var(--accent-gold); color: #fff; }
.fee-card h3 {
  margin: 0 0 10px; color: var(--primary-dark);
  font-size: 19px; letter-spacing: -0.015em;
}
.fee-card p { margin: 0 0 6px; color: var(--text-body); font-size: 15px; }
.fee-meta {
  margin-top: 10px !important; font-size: 13px !important;
  color: var(--text-muted) !important; font-style: italic;
}

/* ───── About ───── */
.about-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 50px;
  margin: 0 0 80px; align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

.profile-card {
  background: var(--primary-dark);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky; top: 100px;
}
.profile-photo {
  position: relative; height: 280px; overflow: hidden;
  background: var(--primary-dark-deep);
}
.profile-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  opacity: 0.92;
}
.profile-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(31, 58, 95, 0.95) 100%);
}
.profile-photo-tag {
  position: absolute; top: 18px; left: 22px; z-index: 2;
  font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--accent-gold-light); font-weight: 700;
  background: rgba(31, 58, 95, 0.8); padding: 5px 12px;
  border-radius: 100px; backdrop-filter: blur(8px);
}
.profile-info { padding: 28px; color: #fff; }
.profile-name {
  margin: 0 0 8px; font-size: 28px; color: #fff;
  font-family: "Noto Serif KR", serif; font-weight: 700;
  letter-spacing: -0.01em;
}
.profile-han {
  color: var(--accent-gold-light); font-weight: 400;
  font-size: 20px; margin-left: 6px;
}
.profile-role {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 22px; font-size: 14px;
}
.profile-cred {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.profile-cred li {
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 13.5px; color: rgba(255,255,255,0.92);
  display: flex; gap: 12px;
}
.profile-cred strong {
  color: var(--accent-gold-light); font-weight: 600;
  min-width: 50px;
}

.about-quote {
  margin: 0 0 24px; padding: 20px 26px;
  border-left: 3px solid var(--accent-gold);
  background: var(--bg-highlight);
  font-size: 17px; color: var(--primary-dark);
  font-family: "Noto Serif KR", serif; font-weight: 500;
  border-radius: 0 8px 8px 0;
}

.about-careers {
  display: grid; gap: 28px; margin-top: 32px;
}
.career-block {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 24px;
}
.about-subhead {
  font-size: 14px; font-weight: 700; color: var(--primary-accent);
  margin: 0 0 12px; letter-spacing: 0.01em;
}
.about-list {
  margin: 0; padding-left: 0; list-style: none; color: var(--text-secondary);
}
.about-list li {
  padding: 7px 0 7px 20px; position: relative; font-size: 14.5px;
}
.about-list li::before {
  content: '·'; position: absolute; left: 4px; top: 4px;
  color: var(--primary-accent); font-weight: 700; font-size: 20px;
}

.principle-section, .collab-section { margin-bottom: 50px; }
.block-title {
  font-size: 18px; color: var(--primary-dark);
  margin: 0 0 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

.principle {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .15s, box-shadow .15s;
}
.principle:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.principle-num {
  display: inline-block;
  font-family: "Noto Serif KR", serif;
  font-size: 32px; font-weight: 700; color: var(--accent-gold);
  margin-bottom: 12px; line-height: 1;
}
.principle h4 {
  margin: 0 0 10px; color: var(--primary-dark); font-size: 18px;
  letter-spacing: -0.015em;
}
.principle p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.65; }

.collab-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media (max-width: 720px) { .collab-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .collab-grid { grid-template-columns: repeat(2, 1fr); } }
.collab-item {
  background: #fff; border: 1px solid var(--border-soft);
  padding: 18px 12px; border-radius: 10px; text-align: center;
  transition: background .15s, transform .15s;
}
.collab-item:hover {
  background: var(--bg-info-light); transform: translateY(-2px);
}
.collab-item strong {
  display: block; color: var(--primary-dark); font-size: 14.5px;
  letter-spacing: -0.005em;
}
.collab-item span {
  display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px;
}

/* ───── CTA / Contact ───── */
.section-cta {
  position: relative; overflow: hidden;
  background: var(--primary-dark-deep);
  color: #fff; isolation: isolate;
}
.cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2000&q=80');
  background-size: cover; background-position: center;
  filter: brightness(0.25) saturate(0.7);
  opacity: 0.6;
}
.cta-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-cta h2 {
  color: #fff;
}
.section-cta .section-head h2::after,
.cta-title::after {
  background: var(--accent-gold) !important;
}
.cta-title {
  font-size: clamp(28px, 4.5vw, 44px) !important;
  letter-spacing: -0.02em;
}
.cta-title::after {
  content: ''; display: block;
  width: 50px; height: 3px; background: var(--accent-gold);
  margin: 20px auto 0;
}
.cta-lead {
  color: rgba(255, 255, 255, 0.82); font-size: 17px;
  margin: 18px auto 0;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg); padding: 32px;
  color: #fff; backdrop-filter: blur(10px);
}
.contact-info-block h3 {
  margin: 0 0 22px; color: #fff; font-size: 20px;
  letter-spacing: -0.01em;
}
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li {
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: start;
}
.contact-info li:last-child { border-bottom: none; }
.info-label {
  color: var(--accent-gold-light); font-weight: 600;
  font-size: 13px; letter-spacing: 0.05em;
}
.contact-info a, .contact-info span:not(.info-label) {
  color: #fff; font-size: 15px;
}
.contact-info a:hover { color: var(--accent-gold-light); }

.contact-channels {
  display: flex; gap: 8px; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.channel-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); color: #fff !important;
  padding: 9px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background .15s, transform .12s, box-shadow .15s, border-color .15s;
}
.channel-pill:hover {
  background: rgba(255,255,255,0.15); text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.3);
}
.channel-pill .channel-icon {
  font-size: 14px; line-height: 1;
}

/* Kakao yellow */
.channel-pill-kakao {
  background: #FEE500; color: #3C1E1E !important;
  border-color: #FEE500;
  font-weight: 600;
}
.channel-pill-kakao:hover {
  background: #FFD400; border-color: #FFD400;
  box-shadow: 0 6px 16px rgba(254, 229, 0, 0.3);
}

/* Naver green */
.channel-pill-naver {
  background: #03C75A; color: #fff !important;
  border-color: #03C75A;
  font-weight: 600;
}
.channel-pill-naver:hover {
  background: #02B050; border-color: #02B050;
  box-shadow: 0 6px 16px rgba(3, 199, 90, 0.3);
}

/* Instagram gradient */
.channel-pill-instagram {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
  border-color: transparent;
  font-weight: 600;
}
.channel-pill-instagram:hover {
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.35);
  filter: brightness(1.05);
}

.contact-form {
  background: #fff; color: var(--text-body);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  margin: 0 0 8px; color: var(--primary-dark);
  font-size: 20px; letter-spacing: -0.015em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
}
.contact-form label span {
  font-size: 13.5px; font-weight: 600; color: var(--primary-dark);
  letter-spacing: -0.005em;
}
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  outline: none; background: #fff; color: var(--text-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px rgba(46, 111, 168, 0.12);
}
.form-note {
  font-size: 12px; color: var(--text-muted); margin: 0;
  text-align: center;
}

/* ───── Footer ───── */
.footer {
  background: var(--primary-dark-deep); color: rgba(255,255,255,0.78);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 320px 1fr; gap: 50px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-logo { height: 36px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 13.5px; margin: 0; }

.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 860px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

.footer-channels { list-style: none; padding: 0; margin: 0; }
.footer-channels li { padding: 5px 0; }
.footer-channels li a {
  color: rgba(255,255,255,0.65); font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.footer-channels li a:hover {
  color: var(--accent-gold-light);
  text-decoration: none;
}

.footer-cols h5 {
  color: var(--accent-gold-light); font-size: 13px;
  margin: 0 0 14px; font-weight: 700; letter-spacing: 0.02em;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li {
  padding: 5px 0; color: rgba(255,255,255,0.65); font-size: 13.5px;
}

.footer-meta {
  color: rgba(255,255,255,0.5); font-size: 12.5px;
  padding-top: 24px; text-align: center;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════ */
/* PAGE THEMES — Medical (sky blue) / Business (burgundy) */
/* ═══════════════════════════════════════════ */

/* ───── Medical: 하늘색 (clean, trustworthy, clinical) ───── */
body.page-medical {
  --primary-accent: #2C7BC9;
  --primary-accent-light: #5DADE2;
  --accent-gold: #2C7BC9;
  --accent-gold-light: #87CEEB;
  --bg-info: #D6EAF8;
  --bg-info-light: #EBF5FB;
  --bg-highlight: #E3F2FD;
}

body.page-medical .page-hero .hero-overlay {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(93, 173, 226, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, rgba(15, 42, 79, 0.92) 0%, rgba(31, 75, 130, 0.88) 50%, rgba(44, 123, 201, 0.85) 100%);
}
body.page-medical .hero-eyebrow {
  color: #BFE0F5;
  border-color: rgba(191, 224, 245, 0.45);
}
body.page-medical .nav a.active::after { background: var(--primary-accent); }
body.page-medical .detail-tag {
  background: linear-gradient(135deg, #1F4B82 0%, #2C7BC9 60%, #5DADE2 100%);
  box-shadow: 0 6px 18px rgba(44, 123, 201, 0.3);
}
body.page-medical .phase-num { color: var(--primary-accent); }
body.page-medical .lifecycle {
  background: linear-gradient(135deg, var(--bg-info-light) 0%, #fff 100%);
}
body.page-medical .detail-col { border-left-color: var(--primary-accent); }
body.page-medical .detail-col-highlight {
  background: #E3F2FD;
  border-left-color: var(--primary-accent-light);
}
body.page-medical .detail-col-highlight h4 { color: #1F4B82; }
body.page-medical .detail-col-highlight .detail-list strong { color: #1F4B82; }
body.page-medical .detail-col-highlight .detail-list li::before { color: var(--primary-accent); }
body.page-medical .section-head h2::after { background: var(--primary-accent); }
body.page-medical .section-cta {
  background: linear-gradient(135deg, #0F2A4F 0%, #1F4B82 100%);
}
body.page-medical .section-cta .cta-title::after { background: var(--primary-accent-light); }
body.page-medical .eyebrow-light { color: #BFE0F5; }
body.page-medical .info-label, body.page-medical .greeting-name-en { color: #BFE0F5; }
body.page-medical .contact-info a:hover { color: #BFE0F5; }
body.page-medical .btn-primary {
  background: var(--primary-accent); color: #fff;
}
body.page-medical .btn-primary:hover {
  background: var(--primary-accent-light);
  box-shadow: 0 8px 24px rgba(44, 123, 201, 0.35);
}
body.page-medical .breadcrumb { background: var(--bg-info-light); }
body.page-medical .area-tag {
  background: linear-gradient(135deg, #1F4B82 0%, var(--primary-accent) 100%);
  box-shadow: 0 4px 12px rgba(44, 123, 201, 0.25);
}

/* ───── Business: 짙은 버건디 (격조, 럭셔리, 클래식 자문) ───── */
body.page-business {
  --primary-accent: #722F37;
  --primary-accent-light: #8B3A4A;
  --accent-gold: #722F37;
  --accent-gold-light: #A85060;
  --bg-info: #F5E6E9;
  --bg-info-light: #FBF2F4;
  --bg-highlight: #F8E4E8;
}

body.page-business .page-hero .hero-overlay {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(168, 80, 96, 0.30) 0%, transparent 60%),
    linear-gradient(135deg, rgba(28, 16, 22, 0.95) 0%, rgba(60, 28, 36, 0.88) 50%, rgba(114, 47, 55, 0.85) 100%);
}
body.page-business .hero-eyebrow {
  color: #E8C5CD;
  border-color: rgba(232, 197, 205, 0.4);
}
body.page-business .nav a.active::after { background: var(--primary-accent); }

/* Business 9-area numbers — burgundy */
body.page-business .area-num { color: var(--primary-accent); }
body.page-business .area-detail-num {
  background: var(--bg-info);
  color: var(--primary-accent);
}
body.page-business .area-detail-type {
  background: var(--bg-info); color: var(--primary-accent);
}
body.page-business .area-keywords span {
  background: var(--bg-info-light);
  color: var(--primary-accent);
  border-color: rgba(114, 47, 55, 0.15);
}

/* Business way cards (정기 / 단건) — burgundy 톤 분화 */
body.page-business .way-card { border-top-color: var(--primary-accent); }
body.page-business .way-card-project { border-top-color: var(--accent-gold-light); }
body.page-business .fee-tag-advisory { background: var(--primary-accent); }
body.page-business .fee-tag-project { background: var(--accent-gold-light); }
body.page-business .way-list li::before { color: var(--primary-accent); }
body.page-business .way-card-project .way-list li::before { color: var(--accent-gold-light); }

body.page-business .fee-notice {
  background: linear-gradient(135deg, var(--bg-info-light) 0%, var(--bg-highlight) 100%);
  border-left-color: var(--primary-accent);
}
body.page-business .fee-notice h4 { color: var(--primary-accent); }

/* Business section heads */
body.page-business .section-head h2::after { background: var(--primary-accent); }

/* Business CTA — deep burgundy dark */
body.page-business .section-cta {
  background: linear-gradient(135deg, #2A1218 0%, #4A2028 100%);
}
body.page-business .section-cta .cta-title::after { background: var(--accent-gold-light); }
body.page-business .eyebrow-light { color: #E8C5CD; }
body.page-business .info-label { color: #E8C5CD; }
body.page-business .contact-info a:hover { color: #E8C5CD; }
body.page-business .btn-primary {
  background: var(--primary-accent); color: #fff;
}
body.page-business .btn-primary:hover {
  background: var(--primary-accent-light);
  box-shadow: 0 8px 24px rgba(114, 47, 55, 0.35);
}
body.page-business .breadcrumb { background: var(--bg-info-light); }

/* Business boundary card — burgundy 그라데이션 */
body.page-business .boundary-card {
  background: linear-gradient(135deg, #2A1218 0%, #4A2028 100%);
}
body.page-business .boundary-card strong { color: #E8C5CD; }

/* ═══════════════════════════════════════════ */
/* DETAIL PAGES (medical / business / about)   */
/* ═══════════════════════════════════════════ */

/* Active nav state */
.nav a.active {
  color: var(--primary-dark);
  font-weight: 700;
  position: relative;
}
.nav a.active::after {
  content: '';
  position: absolute; bottom: -22px; left: 0; right: 0;
  height: 3px; background: var(--accent-gold);
  border-radius: 2px 2px 0 0;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-secondary);
  font-weight: 500;
}
.breadcrumb-sep {
  margin: 0 10px;
  color: var(--border);
}

/* Page Hero */
.page-hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  color: #fff;
  isolation: isolate;
}
.page-hero .hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(0.85) brightness(0.5);
}
.page-hero-medical .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=2400&q=80');
}
.page-hero-business .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1664575602807-e002fe858d56?auto=format&fit=crop&w=2400&q=80');
}
.page-hero-about .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2400&q=80');
}
.page-hero .hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46, 111, 168, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, rgba(15, 31, 56, 0.92) 0%, rgba(31, 58, 95, 0.85) 100%);
}
.page-hero-content { max-width: 880px; }
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.25; font-weight: 700; letter-spacing: -0.025em;
  margin: 18px 0 22px;
  color: #fff;
}
.page-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px; margin: 0 0 28px; max-width: 720px;
}
.page-hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15);
}
.page-hero-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.92);
  padding: 7px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  backdrop-filter: blur(8px);
}

/* Detail blocks (Medical A-E) */
.detail-block {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  margin-bottom: 24px;
  transition: box-shadow .2s;
}
.detail-block:hover { box-shadow: var(--shadow-md); }
.detail-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.detail-tag {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 100%);
  color: #fff; border-radius: 14px;
  font-family: "Noto Serif KR", serif;
  font-size: 24px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(46, 111, 168, 0.3);
}
.detail-header h3 {
  font-size: 24px; color: var(--primary-dark);
  margin: 0 0 4px; letter-spacing: -0.02em;
}
.detail-sub {
  color: var(--accent-gold); font-size: 14px;
  font-weight: 600; margin: 0;
}
.detail-lead {
  color: var(--text-body); font-size: 16px;
  margin: 0 0 26px; line-height: 1.7;
}
.detail-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 720px) { .detail-cols { grid-template-columns: 1fr; } }
.detail-col {
  padding: 22px;
  background: var(--bg-info-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary-accent);
}
.detail-col-highlight {
  background: var(--bg-highlight);
  border-left-color: var(--accent-gold);
}
.detail-col-warning {
  background: var(--bg-warning);
  border-left-color: var(--accent-warning);
}
.detail-col h4 {
  margin: 0 0 14px; color: var(--primary-dark);
  font-size: 15px; letter-spacing: -0.01em;
}
.detail-col-highlight h4 { color: #7C5D14; }
.detail-col-warning h4 { color: var(--accent-warning); }
.detail-list {
  list-style: none; padding: 0; margin: 0;
}
.detail-list li {
  padding: 7px 0 7px 18px; position: relative;
  font-size: 14.5px; color: var(--text-body);
  line-height: 1.55;
}
.detail-list li::before {
  content: '·'; position: absolute; left: 4px; top: 2px;
  color: var(--primary-accent); font-weight: 700; font-size: 20px;
}
.detail-col-warning .detail-list li::before { color: var(--accent-warning); }
.detail-col-highlight .detail-list li::before { color: var(--accent-gold); }
.detail-list strong { color: var(--primary-dark); font-weight: 600; }
.detail-col-highlight .detail-list strong { color: #6B4F0C; }
.detail-col-warning .detail-list strong { color: #8B2A1C; }
.detail-note {
  margin: 12px 0 0; font-size: 13px;
  color: var(--text-muted); font-style: italic;
}

.page-notice {
  background: var(--bg-info-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 30px;
  border-left: 3px solid var(--text-muted);
}
.page-notice h4 {
  margin: 0 0 8px; color: var(--text-secondary);
  font-size: 14px; font-weight: 700;
}
.page-notice p {
  margin: 0; font-size: 13.5px; color: var(--text-muted);
  line-height: 1.7;
}

/* Business: Ways (정기/단건) */
.ways-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 820px) { .ways-grid { grid-template-columns: 1fr; } }

.way-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border-top: 5px solid var(--primary-accent);
  box-shadow: var(--shadow-sm);
}
.way-card-project { border-top-color: var(--accent-gold); }
.way-card h3 {
  font-size: 22px; color: var(--primary-dark);
  margin: 12px 0 12px;
  letter-spacing: -0.02em;
}
.way-lead {
  color: var(--text-secondary); font-size: 15px;
  margin: 0 0 18px;
}
.way-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--border-soft);
}
.way-list li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--border-soft);
  position: relative; font-size: 14.5px;
  color: var(--text-body);
}
.way-list li::before {
  content: '✓'; position: absolute; left: 0; top: 12px;
  color: var(--accent-positive); font-weight: 700;
}
.way-card-project .way-list li::before { color: var(--accent-gold); }
.way-list li:last-child { border-bottom: none; }

.fee-notice {
  background: linear-gradient(135deg, var(--bg-info-light) 0%, var(--bg-highlight) 100%);
  border-radius: var(--radius);
  padding: 26px 30px;
  border-left: 4px solid var(--accent-gold);
}
.fee-notice h4 {
  margin: 0 0 8px; color: var(--primary-dark);
  font-size: 16px; letter-spacing: -0.01em;
}
.fee-notice p {
  margin: 0; color: var(--text-secondary);
  font-size: 14.5px; line-height: 1.7;
}

/* Business: 9 Detail Areas */
.detail-areas {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
@media (max-width: 720px) { .detail-areas { grid-template-columns: 1fr; } }

.area-detail {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.area-detail:hover {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.area-detail-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 12px;
}
.area-detail-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-info);
  color: var(--primary-accent);
  border-radius: 10px;
  font-family: "Noto Serif KR", serif;
  font-size: 18px; font-weight: 700;
}
.area-detail-header h3 {
  font-size: 18px; color: var(--primary-dark);
  margin: 0 0 4px; letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.area-detail-type {
  font-size: 10.5px; padding: 3px 9px;
  background: var(--bg-info); color: var(--primary-accent);
  border-radius: 4px; font-weight: 700;
  letter-spacing: 0.05em;
}
.area-detail-type-regular {
  background: var(--bg-positive); color: var(--accent-positive);
}
.area-detail-sub {
  margin: 0; color: var(--text-muted);
  font-size: 13px;
}
.area-detail p {
  margin: 0 0 14px; color: var(--text-secondary);
  font-size: 14.5px; line-height: 1.6;
}
.area-keywords {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.area-keywords span {
  background: var(--bg-info-light);
  color: var(--primary-dark);
  font-size: 12px; padding: 5px 11px;
  border-radius: 100px; font-weight: 500;
  border: 1px solid var(--border-soft);
}

/* Boundary card (business) */
.boundary-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.boundary-card p {
  margin: 0; font-size: 17px; line-height: 1.8;
  color: rgba(255,255,255,0.9);
}
.boundary-card strong {
  color: var(--accent-gold-light); font-weight: 600;
}

/* CTA buttons row */
.cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* About: Greeting */
.greeting-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 50px;
  align-items: start;
}
@media (max-width: 860px) {
  .greeting-grid { grid-template-columns: 1fr; gap: 32px; }
}
.greeting-photo {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.greeting-photo img {
  width: 100%; height: 520px; object-fit: cover;
  object-position: center top;
}
.greeting-name-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 31, 56, 0.95) 60%);
  color: #fff;
  display: flex; flex-direction: column; gap: 6px;
}
.greeting-name-en {
  font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--accent-gold-light); font-weight: 700;
}
.greeting-name-ko {
  font-family: "Noto Serif KR", serif;
  font-size: 28px; font-weight: 700;
  margin-top: 4px;
}
.greeting-han {
  color: var(--accent-gold-light); font-weight: 400;
  font-size: 20px; margin-left: 6px;
}
.greeting-role {
  font-size: 13px; color: rgba(255,255,255,0.85);
  margin-top: 6px;
}

.greeting-letter {
  font-size: 16px; line-height: 1.85;
  color: var(--text-body);
}
.greeting-hello {
  font-size: 18px; font-weight: 600;
  color: var(--primary-dark); margin: 0 0 18px;
  font-family: "Noto Serif KR", serif;
}
.greeting-letter p {
  margin: 0 0 18px;
}
.greeting-closing {
  background: var(--bg-highlight);
  padding: 18px 22px;
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  color: var(--primary-dark);
}
.greeting-signature {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  text-align: right;
  font-size: 15px;
}
.greeting-signature strong {
  color: var(--primary-dark);
  font-size: 20px;
  font-family: "Noto Serif KR", serif;
}

/* About: Career overview */
.career-overview {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-bottom: 50px;
}
@media (max-width: 720px) { .career-overview { grid-template-columns: 1fr; } }
.career-pillar {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.career-pillar-cert {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 100%);
  color: #fff; border-color: transparent;
}
.career-pillar h3 {
  font-size: 14px; font-weight: 700;
  color: var(--primary-accent);
  letter-spacing: 0.05em; margin: 0 0 16px;
  text-transform: uppercase;
}
.career-pillar-cert h3 { color: var(--accent-gold-light); }
.career-pillar-list {
  list-style: none; padding: 0; margin: 0;
}
.career-pillar-list li {
  padding: 8px 0; color: var(--text-body);
  font-size: 15px; line-height: 1.5;
  border-bottom: 1px solid var(--border-soft);
}
.career-pillar-list li:last-child { border-bottom: none; }
.career-pillar-cert .career-pillar-list li {
  color: rgba(255,255,255,0.92);
  border-bottom-color: rgba(255,255,255,0.15);
}
.career-pillar-list strong {
  color: var(--primary-dark); font-weight: 700;
}
.career-pillar-cert .career-pillar-list strong { color: #fff; }

/* About: Career detail */
.career-detail {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px; margin-bottom: 20px;
}
.career-detail-title {
  font-size: 18px; color: var(--primary-dark);
  margin: 0 0 8px; letter-spacing: -0.01em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.career-detail-lead {
  color: var(--text-secondary); font-size: 14.5px;
  margin: 12px 0 18px; line-height: 1.7;
}
.career-detail-list {
  list-style: none; padding: 0; margin: 0;
}
.career-detail-list li {
  padding: 11px 0 11px 20px; position: relative;
  font-size: 14.5px; color: var(--text-body);
  line-height: 1.6;
  border-bottom: 1px dashed var(--border-soft);
}
.career-detail-list li:last-child { border-bottom: none; }
.career-detail-list li::before {
  content: '◦'; position: absolute; left: 0; top: 11px;
  color: var(--primary-accent); font-weight: 700;
}
.career-detail-list strong {
  color: var(--primary-dark); font-weight: 600;
}

/* About: Principles sub-heading */
.principle-sub {
  display: block;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

/* About: Larger collab grid */
.collab-grid-large { grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 720px) { .collab-grid-large { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .collab-grid-large { grid-template-columns: repeat(2, 1fr); } }
.collab-item-large {
  padding: 28px 14px;
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.collab-item-large strong {
  font-size: 17px;
  font-family: "Noto Serif KR", serif;
}
.collab-item-large span { font-size: 13px; margin-top: 6px; }

/* About: Location */
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 820px) { .location-grid { grid-template-columns: 1fr; } }

.location-info {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.location-info h3 {
  margin: 0 0 20px; color: var(--primary-dark);
  font-size: 20px; letter-spacing: -0.015em;
}
.location-list {
  list-style: none; padding: 0; margin: 0;
}
.location-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  font-size: 15px;
}
.location-list li:last-child { border-bottom: none; }
.info-label-dark {
  color: var(--primary-accent); font-weight: 600;
  font-size: 13px; letter-spacing: 0.03em;
}
.location-list a { color: var(--primary-dark); font-weight: 500; }

.location-map {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
  position: relative;
}
.map-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 40px;
  color: #fff; text-align: center;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(135deg, rgba(15, 31, 56, 0.88) 0%, rgba(31, 58, 95, 0.92) 100%),
    url('https://images.unsplash.com/photo-1556139902-7367723b433e?auto=format&fit=crop&w=1200&q=80');
  background-size: cover; background-position: center;
  transition: opacity .15s;
}
.map-placeholder:hover {
  text-decoration: none;
  opacity: 0.95;
}
.map-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.map-placeholder strong {
  font-size: 17px; color: #fff;
  letter-spacing: -0.01em;
}
.map-placeholder span:last-child {
  color: var(--accent-gold-light);
  font-size: 14px; font-weight: 500;
}
