/* ============================================
   KEA 메인 전용 스타일
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --kea-primary: #0b2f6b;
  --kea-accent: #145cff;
  --kea-gold: #b91c1c;
  --kea-light: #f6f7fb;
  --kea-dark: #111827;
  --kea-text: #374151;
  --kea-text-light: #6b7280;
  --kea-border: #e5e7eb;
  --kea-white: #ffffff;
  --kea-overlay: rgba(17, 24, 39, 0.58);
  --kea-shadow: 0 28px 60px rgba(17, 24, 39, 0.14);
  --kea-radius: 12px;
  --kea-radius-lg: 20px;
  --kea-transition: 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* 전체 페이지 스크롤 스냅 설정 (메인 전용 컨테이너에서만 사용) */

/* 레이아웃 래퍼 */
.kea-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  min-width: 100%;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  background: #f7f7f9;
}
.kea-wrap #wrapper,
.kea-wrap #container_wr,
.kea-wrap #container {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
}
.kea-wrap #aside { display: none; }

#kea-header .kea-gnb-dropdown {
  width: max-content;
  min-width: 100%;
}
#kea-header .kea-gnb-dropdown a,
#kea-header nav .group > a {
  white-space: nowrap;
}

/* 스크롤 스냅 대상 섹션 (메인 전용) */
.mx-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
.mx-scroll > section {
  width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-margin-top: 80px; /* 고정 헤더 높이 보정 */
}

/* ========== 헤더 (히어로 위에서 투명 → 스크롤 시 불투명) ========== */
.kea-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--kea-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.kea-header.scrolled .kea-logo a,
.kea-header.scrolled .kea-gnb a { color: var(--kea-dark); }
.kea-header.scrolled .kea-gnb a:hover,
.kea-header.scrolled .kea-gnb a.active {
  color: var(--kea-primary);
  background: rgba(20, 92, 255, 0.08);
}

.kea-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .kea-header-inner { padding: 0 20px; height: 64px; }
}

.kea-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kea-primary);
  letter-spacing: -0.03em;
  transition: color var(--kea-transition);
}
.kea-logo a:hover { color: var(--kea-accent); }

.kea-gnb {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.kea-gnb li { margin: 0; }
.kea-gnb a {
  display: block;
  padding: 12px 22px;
  color: var(--kea-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: color var(--kea-transition), background var(--kea-transition);
}
/* 섹션 공통 */
.mx-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.mx-section-head h2 {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: #111827;
}
.mx-section-head p {
  font-size: 0.98rem;
  color: #6b7280;
}
.mx-section-subhead h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #111827;
}
.mx-section-subhead--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.mx-section-subhead--row h3 {
  margin-bottom: 0;
}

/* =========== 히어로 =========== */
.mx-hero {
  position: relative;
  background: #111827;
  padding: 100px 0 80px; /* 상단 헤더 고려 패딩 */
  border-bottom: 1px solid #1f2937;
  color: #ffffff;
  overflow: hidden;
  min-height: 100vh; /* 화면에 꽉 차도록 */
  display: flex;
  align-items: center; /* 섹션 높이 기준 세로 가운데 정렬 */
}
.mx-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111827;
}
.mx-hero-video video,
.mx-hero-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 67.5vw;
  min-height: 120%;
  min-width: 213.34vh;
  transform: translate(-50%, -50%) scale(1.08);
  border: 0;
  pointer-events: none;
}
.mx-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  top: 0;
  left: 0;
  min-width: 0;
  min-height: 0;
}
.mx-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(17,24,39,0.9), rgba(17,24,39,0.6));
}
.mx-hero-overlay--video {
  background:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.42), transparent 30%, transparent 66%, rgba(17, 24, 39, 0.55)),
    linear-gradient(135deg, rgba(11, 47, 107, 0.62), rgba(17, 24, 39, 0.58));
}
.mx-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.mx-hero-text {
  flex: 1.1;
  max-width: 520px;
}
.mx-hero-kicker {
  font-size: 0.85rem;
  color: #f97373;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.mx-hero-title {
  font-size: 2.7rem;
  line-height: 1.4;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: #ffffff;
}
.mx-hero-desc {
  font-size: 1.08rem;
  color: #e5e7eb;
  line-height: 1.8;
}
.mx-hero-stats {
  flex: 0.9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mx-hero-stat {
  background: rgba(15,23,42,0.92);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  border-top: 4px solid #b91c1c;
}
.mx-hero-stat:nth-child(2) { border-top-color: #111827; }
.mx-hero-stat:nth-child(3) { border-top-color: #e11d48; }
.mx-hero-stat-label {
  font-size: 0.85rem;
  color: #d1d5db;
  margin-bottom: 10px;
}
.mx-hero-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.mx-hero-stat-number span {
  font-size: 0.95rem;
  margin-left: 4px;
}
.mx-hero-stat-desc {
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* =========== 주요사업영역 (가로 카드) =========== */
.mx-services {
  padding: 80px 0 70px;
  background: #ffffff;
  min-height: 100vh; /* 두 번째 섹션도 화면에 꽉 차도록 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mx-services .mx-section-head {
  padding: 0 20px;
}
.mx-service-slider {
  overflow: hidden;
  padding: 0 20px 24px;
  background: #ffffff;
}
.mx-service-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  background: #ffffff;
}
.mx-service-card {
  min-width: 0;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mx-service-thumb {
  height: 160px;
  background-size: cover;
  background-position: center center;
}
.mx-service-thumb--kea {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.mx-service-thumb--kea::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,47,107,.88), rgba(11,47,107,.35) 55%, rgba(11,47,107,.12));
}
.mx-service-thumb--kea span {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.mx-service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 28px;
}
.mx-service-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #111827;
}
.mx-service-body p {
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 16px;
}
.mx-link-more {
  display: inline-block;
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 500;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 6px 16px;
  border-radius: 999px;
}

@media (max-width: 1180px) {
  .mx-service-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mx-services {
    min-height: auto;
    padding: 54px 0 58px;
  }
  .mx-services .mx-section-head {
    margin-bottom: 28px;
    padding: 0 24px;
  }
  .mx-section-head h2 {
    font-size: 1.7rem;
  }
  .mx-section-head p {
    font-size: 0.92rem;
    line-height: 1.7;
  }
  .mx-service-slider {
    padding: 0 16px 24px;
  }
  .mx-service-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .mx-service-card {
    border-radius: 16px;
  }
  .mx-service-thumb {
    height: 112px;
  }
  .mx-service-thumb--kea {
    padding: 12px;
  }
  .mx-service-thumb--kea span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .mx-service-body {
    padding: 14px 13px 16px;
  }
  .mx-service-body h3 {
    font-size: 0.98rem;
    line-height: 1.35;
  }
  .mx-service-body p {
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .mx-link-more {
    padding: 5px 12px;
    font-size: 0.78rem;
  }
}
@media (max-width: 360px) {
  .mx-service-track {
    grid-template-columns: 1fr;
  }
}

/* =========== 공간 가치 배너 =========== */
.mx-space-banner {
  position: relative;
  background-image:
    linear-gradient(to right, rgba(17,24,39,0.92), rgba(17,24,39,0.6)),
    url('../img/free/office/building.jpg');
  background-size: cover;
  background-position: center center;
  color: #ffffff;
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.mx-space-overlay {
  max-width: 1200px;
  margin: 0 auto;
}
.mx-space-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.85;
}
.mx-space-banner h2 {
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.mx-space-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* =========== 고객사 리스트 =========== */
.mx-clients {
  padding: 80px 0 70px;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}
.mx-clients .mx-section-head {
  padding: 0 20px;
}
.mx-client-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  padding: 0 20px;
}
.mx-client-tab {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.9rem;
  color: #4b5563;
}
.mx-client-tab.active {
  background: #b91c1c;
  color: #ffffff;
  border-color: #b91c1c;
}
.mx-client-panels {
  max-width: 1980px; /* 기존보다 약 10% 확장 */
  margin: 0 auto;
  padding: 0 60px;
}
.mx-client-panel {
  display: none;
}
.mx-client-panel.active {
  display: block;
}
.mx-client-grid {
  background: #f9fafb;
  border-radius: 18px;
  padding: 30px 26px 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px 18px;
}
.mx-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}
.mx-quick-link {
  min-height: 80px;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #0f2d52;
  transition: transform var(--kea-transition), border-color var(--kea-transition), color var(--kea-transition);
}
.mx-quick-link:hover {
  transform: translateY(-2px);
  border-color: #b91c1c;
  color: #b91c1c;
}
.mx-client-logo img {
  max-width: 100%;
  max-height: 78px; /* 기존 대비 1.5배 확대 */
  object-fit: contain;
}

/* =========== 회원사 소개 (메인) =========== */
.mx-members .mx-members-head {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.mx-members .mx-members-head p {
  margin-bottom: 16px;
}
.mx-members-more {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background var(--kea-transition), color var(--kea-transition);
}
.mx-members-more:hover {
  background: #b91c1c;
  color: #ffffff;
}
.mx-member-grid {
  --mx-member-card-height: 76px;
  --mx-member-cols: 4;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(var(--mx-member-cols), minmax(0, 1fr));
  grid-auto-rows: var(--mx-member-card-height);
  gap: 14px;
}
.mx-member-card {
  display: block;
  width: 100%;
  max-width: 260px;
  height: var(--mx-member-card-height);
  justify-self: center;
  min-height: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}
.mx-member-card:hover {
  transform: translateY(-2px);
  border-color: #0b2f6b;
  background: #0b2f6b;
  box-shadow: 0 10px 24px rgba(11, 47, 107, 0.22);
}
.mx-member-card.is-flipping,
.mx-member-card.is-flipping:hover {
  transform: none;
  border-color: #9ca3af;
  background: #6b7280;
  box-shadow: 0 8px 20px rgba(75, 85, 99, 0.2);
}
.mx-member-flip {
  position: relative;
  width: 100%;
  height: 100%;
}
.mx-member-flip__idle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  box-sizing: border-box;
  z-index: 1;
}
.mx-member-flip__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}
.mx-member-card.is-flipping .mx-member-flip__idle {
  visibility: hidden;
}
.mx-member-card.is-flipping .mx-member-flip__scene {
  opacity: 1;
  visibility: visible;
}
.mx-member-flip__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 200%;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.2, 1);
}
.mx-member-flip__track--reset {
  transition: none !important;
  transform: translateY(0) !important;
}
.mx-member-card.is-flipping-animate .mx-member-flip__track {
  transform: translateY(-50%);
}
.mx-member-flip__row {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  box-sizing: border-box;
}
.mx-member-name {
  margin: 0;
  width: 100%;
  max-height: 100%;
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.45;
  color: #111827;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.mx-member-flip__scene .mx-member-name {
  color: #ffffff;
}
.mx-member-card:hover .mx-member-flip__idle .mx-member-name {
  color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
  .mx-member-flip__track {
    transition: none;
  }
}
@media (max-width: 900px) {
  .mx-member-grid {
    --mx-member-cols: 3;
  }
}
@media (max-width: 640px) {
  .mx-member-grid {
    --mx-member-cols: 2;
    padding: 0 12px;
  }
  .mx-member-card {
    max-width: none;
    justify-self: stretch;
  }
}
@media (max-width: 480px) {
  .mx-member-grid {
    --mx-member-cols: 1;
    width: 85%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}

/* =========== 뉴스 & 오시는 길 =========== */
.mx-news-location {
  padding: 60px 30px 68px;
  background:
    linear-gradient(to right, rgba(17,24,39,0.92), rgba(17,24,39,0.7)),
    url('../img/cubes-3381438_1280.webp');
  background-size: cover;
  background-position: center center;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 30px;
  min-height: 50vh;
  align-items: stretch;
}
.mx-news,
.mx-location {
  display: flex;
  flex-direction: column;
  min-height: 165px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 17px 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.mx-news .mx-section-subhead,
.mx-location .mx-section-subhead {
  flex-shrink: 0;
}

/* 온라인 입사지원 카드 */
.mx-online-apply a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.mx-online-apply-inner {
  display: flex;
  align-items: center;
  padding: 24px 22px;
  background: #f9fafb;
  border-radius: 16px;
}
.mx-online-apply-inner::before {
  content: '➤';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #b91c1c;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(15,23,42,0.12);
}
.mx-online-apply-text h4 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: #111827;
}
.mx-online-apply-text p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}
.mx-online-apply-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b91c1c;
  border-bottom: 1px solid #fecaca;
}
.mx-map-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 0;
}
.mx-map-embed {
  flex: 1;
  border-radius: 12px;
  background: #e5e7eb;
  overflow: hidden;
  min-height: 90px;
}
.mx-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mx-map-info {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #4b5563;
}
.mx-map-addr {
  font-weight: 600;
  margin-bottom: 8px;
}
.mx-map-way h4 {
  font-size: 0.86rem;
  color: #111827;
  margin: 12px 0 4px;
}
.mx-map-line {
  font-size: 0.86rem;
  line-height: 1.6;
}
.mx-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-top: 6px;
}
.mx-map-more {
  display: inline-block;
  margin-top: 12px;
  color: #b91c1c;
  font-size: .88rem;
  font-weight: 600;
  border-bottom: 1px solid #fecaca;
}
.mx-notice-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.mx-notice-more:hover {
  color: #145cff;
}
.mx-notice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f9fafb;
  border-radius: 16px;
  padding: 6px 18px 9px;
}
.mx-notice-list {
  flex: 1;
  min-height: 0;
}
.mx-latest-notice__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mx-latest-notice__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 0;
  border-bottom: 1px solid #e5e7eb;
}
.mx-latest-notice__item:last-child {
  border-bottom: 0;
}
.mx-latest-notice__link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}
.mx-latest-notice__link:hover .mx-latest-notice__subject {
  color: #145cff;
}
.mx-latest-notice__subject {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mx-latest-notice__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0b2f6b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
}
.mx-latest-notice__badge--new {
  min-width: 1.35rem;
  padding: 2px 6px;
  background: #145cff;
}
.mx-latest-notice__date {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: #9ca3af;
  white-space: nowrap;
}
.mx-latest-notice__empty {
  padding: 36px 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  border-bottom: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 6px;
}
.badge-green {
  background: #16a34a;
  color: #ffffff;
}
.badge-blue {
  background: #2563eb;
  color: #ffffff;
}

/* ========== 푸터 (참조: PRIMECLINIC 푸터 2열) ========== */
.kea-footer {
  background: var(--kea-primary);
  color: var(--kea-white);
  padding: 56px 24px 32px;
}
.kea-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .kea-footer-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
}
.kea-footer .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.kea-footer .footer-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 0;
}

.kea-footer .footer-desc a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.kea-footer .footer-desc a:hover {
  color: var(--kea-gold);
  text-decoration: none;
}
.kea-footer .footer-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-bottom: 16px;
  font-weight: 600;
}
.kea-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kea-footer .footer-links li { margin-bottom: 10px; }
.kea-footer .footer-links a {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  transition: color var(--kea-transition), padding-left var(--kea-transition);
}
.kea-footer .footer-links a:hover {
  color: var(--kea-gold);
  padding-left: 6px;
}
.kea-footer .footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.95;
}
.kea-footer .footer-contact a { color: rgba(255,255,255,0.95); }
.kea-footer .footer-contact a:hover { color: var(--kea-gold); }
.kea-footer .ft-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

/* ========== 서브페이지 상단 배너 ========== */
.kea-page-title {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--kea-primary);
}
.kea-page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--kea-primary);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}
.kea-page-title__inner {
  position: relative;
  z-index: 1;
}
.kea-page-title--about::before {
  background-image: url('../img/headers/about.jpg');
  background-position: center 36%;
}
.kea-page-title--info::before {
  background-image: url('../img/headers/info.jpg');
  background-position: center 42%;
}
.kea-page-title--consulting::before {
  background-image: url('../img/headers/consulting.jpg');
  background-position: center 45%;
}
.kea-page-title--newsroom::before {
  background-image: url('../img/headers/newsroom.jpg');
  background-position: center 48%;
}
.kea-page-title--member::before {
  background-image: url('../img/headers/member.jpg');
  background-position: center 52%;
}
.kea-page-title--lift::before {
  background-image: url('../img/headers/lift.jpg');
  background-position: center 38%;
}
@media (max-width: 768px) {
  .kea-page-title {
    padding-top: 7rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .kea-page-title--compact {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }
  .kea-page-title h1 {
    font-size: 1.65rem;
    line-height: 1.35;
  }
  .kea-page-title p {
    font-size: 0.82rem;
  }
  .kea-board-shell,
  .kea-wrap .max-w-6xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #kea-header .mx-auto {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .kea-designed-hero,
  .kea-greeting-hero {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .kea-greeting-hero {
    grid-template-columns: 1fr;
  }
  .kea-greeting-main {
    grid-template-columns: 1fr;
  }
}

/* ========== 서브페이지 좌측 메뉴 (sticky) ========== */
@media (min-width: 1024px) {
  .kea-wrap .max-w-6xl > .flex.lg\:flex-row,
  .kea-board-shell > .flex.lg\:flex-row {
    position: relative;
    align-items: flex-start;
  }

  .kea-subnav {
    z-index: 20;
  }

  .kea-subnav.is-subnav-fixed,
  .kea-subnav.is-subnav-bottom {
    z-index: 20;
  }

  .kea-subnav-spacer {
    display: none;
    flex-shrink: 0;
  }
}

/* ========== 공통 서브페이지 디자인 ========== */
.kea-designed-page {
  max-width: 100%;
}
.kea-designed-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 38px 42px;
  background:
    radial-gradient(circle at 88% 10%, rgba(185,28,28,0.14), transparent 34%),
    linear-gradient(135deg, #0b2f6b 0%, #123c74 58%, #111827 100%);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
}
.kea-designed-hero::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 34px solid rgba(255,255,255,0.06);
}
.kea-designed-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kea-designed-kicker::before {
  content: '';
  width: 30px;
  height: 2px;
  background: currentColor;
}
.kea-designed-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.35;
  letter-spacing: -0.05em;
}
.kea-designed-hero p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
}
.kea-designed-card {
  margin-top: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 36px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.kea-designed-card h2 {
  position: relative;
  margin: 0 0 18px !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  color: #111827 !important;
  font-size: 1.35rem !important;
  letter-spacing: -0.045em;
}
.kea-designed-card h2:not(:first-of-type) {
  margin-top: 40px !important;
}
.kea-designed-card h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #b91c1c;
}
.kea-designed-card h2 + p,
.kea-designed-card p {
  color: #4b5563;
  line-height: 1.9;
}
.kea-designed-card h3 {
  color: #0b2f6b !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.03em;
}
.kea-designed-card ul,
.kea-designed-card ol {
  margin-top: 14px;
}
.kea-designed-card li {
  line-height: 1.75;
}
.kea-designed-card > ul:not([class*="grid"]):not([class*="divide-y"]),
.kea-designed-card > ol:not([class*="space-y"]) {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}
.kea-designed-card > ul:not([class*="grid"]):not([class*="divide-y"]) > li,
.kea-designed-card > ol:not([class*="space-y"]) > li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
}
.kea-designed-card > ul:not([class*="grid"]):not([class*="divide-y"]) > li::before,
.kea-designed-card > ol:not([class*="space-y"]) > li::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b91c1c;
}
.kea-designed-card a {
  color: #0b2f6b;
  font-weight: 600;
}
.kea-designed-card a:hover {
  color: #b91c1c;
}
.kea-designed-card table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.kea-designed-card thead {
  background: #0b2f6b !important;
}
.kea-designed-card th {
  color: #ffffff;
  font-weight: 700;
}
.kea-designed-card th,
.kea-designed-card td {
  padding: 13px 16px !important;
  border-bottom: 1px solid #eef2f7;
}
.kea-designed-card tbody tr:nth-child(even) {
  background: #f8fafc;
}
.kea-designed-card tbody tr:hover {
  background: #fff7f7;
}
.kea-road-contact {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.1fr;
  gap: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.kea-road-contact__label {
  display: block;
  margin-bottom: 8px;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kea-road-contact strong {
  display: block;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: -0.04em;
}
.kea-road-contact dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.kea-road-contact dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}
.kea-road-contact dt {
  color: #6b7280;
  font-weight: 700;
}
.kea-road-contact dd {
  margin: 0;
  color: #374151;
}
.kea-road-map {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.kea-road-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}
.kea-road-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.kea-road-guide article {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.kea-road-guide h3 {
  margin: 0 0 14px;
  color: #0b2f6b;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}
.kea-road-guide ul {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  line-height: 1.8;
}
.kea-road-button {
  display: inline-flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #b91c1c;
  color: #ffffff;
  padding: 11px 22px;
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(185,28,28,0.18);
}
.kea-road-button:hover {
  background: #991b1b;
  color: #ffffff;
}
.kea-law-latest {
  margin-top: 30px;
}
.kea-info-latest {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.kea-info-latest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}
.kea-info-latest__head h3 {
  margin: 0;
  color: #111827;
  font-size: 1.16rem;
  letter-spacing: -0.04em;
}
.kea-info-latest__head a {
  flex-shrink: 0;
  border: 1px solid #fca5a5;
  border-radius: 999px;
  padding: 7px 14px;
  color: #b91c1c;
  font-size: 0.84rem;
  font-weight: 700;
}
.kea-info-latest__head a:hover {
  background: #b91c1c;
  color: #ffffff;
}
.kea-info-latest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kea-info-latest__list li + li {
  border-top: 1px solid #eef2f7;
}
.kea-info-latest__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 24px;
  color: #374151;
}
.kea-info-latest__list a:hover {
  background: #fff7f7;
  color: #b91c1c;
}
.kea-info-latest__list span {
  font-weight: 600;
  line-height: 1.5;
}
.kea-info-latest__list time {
  flex-shrink: 0;
  color: #9ca3af;
  font-size: 0.84rem;
}
.kea-info-latest__empty {
  padding: 22px 24px;
  color: #6b7280;
  text-align: center;
}
@media (max-width: 1024px) {
  .kea-road-contact,
  .kea-road-guide {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .kea-designed-hero,
  .kea-designed-card {
    border-radius: 22px;
    padding: 28px 24px;
  }
  .kea-designed-hero h2 {
    font-size: 1.7rem;
  }
  .kea-road-contact {
    padding: 24px;
  }
  .kea-road-contact dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .kea-road-map iframe {
    height: 320px;
  }
}

/* ========== 협회소개: 인사말 ========== */
.kea-greeting {
  color: #1f2937;
}
.kea-greeting-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 34px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 26px;
  padding: 42px;
  background:
    radial-gradient(circle at 90% 10%, rgba(185,28,28,0.16), transparent 34%),
    linear-gradient(135deg, #0b2f6b 0%, #102a4c 58%, #111827 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}
.kea-greeting-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.35;
}
.kea-greeting-hero__text,
.kea-greeting-hero__mark,
.kea-greeting-hero__photo {
  position: relative;
  z-index: 1;
}
.kea-greeting-hero__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.kea-greeting-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
}
.kea-greeting-hero__photo figcaption {
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  font-size: 0.84rem;
  line-height: 1.6;
  text-align: center;
}
.kea-greeting-hero__photo figcaption strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}
.kea-greeting-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kea-greeting-kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  background: currentColor;
}
.kea-greeting-hero--text {
  grid-template-columns: 1fr;
}
.kea-greeting-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2.3rem;
  line-height: 1.32;
  letter-spacing: -0.055em;
}
.kea-greeting-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  line-height: 1.8;
}
.kea-greeting-hero__en {
  color: rgba(255,255,255,0.68) !important;
  font-size: 0.96rem !important;
  font-style: italic;
}
.kea-greeting-hero__mark {
  min-height: 230px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.kea-greeting-hero__mark span {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.kea-greeting-hero__mark small {
  margin-top: 6px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kea-greeting-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  margin-top: 24px;
}
.kea-greeting-quote,
.kea-greeting-sign,
.kea-greeting-card,
.kea-greeting-en {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.kea-greeting-quote {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 30px 34px 30px 78px;
}
.kea-greeting-quote__mark {
  position: absolute;
  top: 18px;
  left: 28px;
  color: #b91c1c;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.22;
}
.kea-greeting-quote p {
  margin: 0;
  color: #111827;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: -0.035em;
}
.kea-greeting-sign {
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kea-greeting-sign span,
.kea-greeting-sign small {
  color: #6b7280;
  font-size: 0.88rem;
}
.kea-greeting-sign strong {
  margin: 8px 0 6px;
  color: #0b2f6b;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}
.kea-greeting-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.kea-greeting-main {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}
.kea-greeting-main__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.kea-greeting-main__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.kea-greeting-main__photo figcaption {
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.7;
  text-align: center;
}
.kea-greeting-main__photo figcaption strong {
  display: block;
  margin-top: 4px;
  color: #0b2f6b;
  font-size: 1rem;
}
.kea-greeting-main__photo figcaption small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
}
.kea-greeting-card--full {
  grid-column: auto;
}
.kea-greeting-card__en {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
}
.kea-greeting-bilingual {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #eef2f7;
}
.kea-greeting-bilingual:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}
.kea-greeting-bilingual p {
  margin: 0;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.9;
}
.kea-greeting-bilingual__en {
  margin-top: 12px !important;
  padding: 14px 16px;
  border-left: 3px solid #dbeafe;
  border-radius: 0 12px 12px 0;
  background: #f8fafc;
  color: #4b5563 !important;
  font-size: 0.92rem !important;
  line-height: 1.85 !important;
}
.kea-greeting-bilingual--thanks {
  margin-top: 28px;
  text-align: center;
}
.kea-greeting-bilingual--thanks .kea-greeting-bilingual__en {
  display: inline-block;
  margin-top: 8px !important;
  text-align: center;
}
.kea-greeting-bilingual--thanks .kea-greeting-thanks {
  margin-top: 0 !important;
  color: #111827 !important;
  font-weight: 700;
}
.kea-greeting-thanks {
  color: #111827 !important;
  font-weight: 700;
}
.kea-greeting-sign-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}
.kea-greeting-ko-sign,
.kea-greeting-en__sign {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  text-align: right;
  color: #6b7280 !important;
  font-size: 0.92rem !important;
  line-height: 1.8 !important;
}
.kea-greeting-card {
  border-radius: 22px;
  padding: 32px;
}
.kea-greeting-card h3 {
  position: relative;
  margin: 0 0 18px;
  padding-top: 18px;
  color: #111827;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
}
.kea-greeting-card h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #b91c1c;
}
.kea-greeting-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.9;
}
.kea-greeting-card p + p {
  margin-top: 14px;
}
.kea-greeting-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.kea-greeting-values div {
  border-radius: 18px;
  padding: 20px 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  text-align: center;
}
.kea-greeting-values strong {
  display: block;
  color: #0b2f6b;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kea-greeting-values span {
  display: block;
  margin-top: 6px;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 700;
}
.kea-greeting-en {
  margin-top: 34px;
  border-radius: 22px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(11,47,107,0.04), rgba(185,28,28,0.04)),
    #ffffff;
}
.kea-greeting-en h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.kea-greeting-en p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.8;
}
.kea-greeting-en p + p {
  margin-top: 12px;
}
.kea-greeting-en__sign {
  padding-top: 16px;
  text-align: right;
  color: #6b7280 !important;
}
@media (max-width: 1024px) {
  .kea-greeting-hero,
  .kea-greeting-lead,
  .kea-greeting-body,
  .kea-greeting-main {
    grid-template-columns: 1fr;
  }
  .kea-greeting-hero__mark {
    min-height: 170px;
  }
  .kea-greeting-hero__photo img {
    min-height: 320px;
  }
  .kea-greeting-main__photo {
    max-width: 280px;
    margin: 0 auto;
  }
  .kea-greeting-sign-block {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .kea-greeting-hero {
    padding: 30px 24px;
    border-radius: 22px;
  }
  .kea-greeting-hero h2 {
    font-size: 1.8rem;
  }
  .kea-greeting-quote {
    padding: 28px 24px;
  }
  .kea-greeting-quote__mark {
    position: static;
    display: block;
    margin-bottom: -10px;
  }
  .kea-greeting-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== 서브 페이지 (연혁) ========== */
.kea-page-hero {
  padding: 160px 24px 56px;
  background: linear-gradient(135deg, var(--kea-primary) 0%, var(--kea-accent) 100%);
  color: var(--kea-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kea-page-hero--history {
  background: none;
}
.kea-page-hero--history::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--history-banner-img);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.03);
  z-index: 0;
}
.kea-page-hero--history::before {
  /* 기존 패턴 위에 오버레이 역할 */
  background: linear-gradient(135deg, rgba(15,41,66,0.75) 0%, rgba(30,73,118,0.78) 100%),
              url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  z-index: 1;
}
.kea-page-hero--history h1,
.kea-page-hero--history .breadcrumb {
  position: relative;
  z-index: 2;
}
.kea-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}
.kea-page-hero h1 {
  font-size: 2.25rem;
  margin: 0;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.kea-page-hero .breadcrumb {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.kea-page-hero .breadcrumb a { color: rgba(255,255,255,0.9); }
.kea-page-hero .breadcrumb a:hover { color: var(--kea-gold); }

.kea-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.kea-content h2 {
  font-size: 1.5rem;
  color: var(--kea-primary);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--kea-border);
}

/* ========== 연혁 삼구 스타일 (samkoo.com/company/0806.do) ========== */
.kea-history-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.history-intro {
  text-align: center;
  color: var(--kea-text);
  font-size: 1rem;
  margin: 0 0 40px;
  line-height: 1.7;
}

/* 연대 탭 */
.history-decade-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--kea-border);
}
.history-decade-tab {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kea-text);
  background: var(--kea-white);
  border: 1px solid var(--kea-border);
  border-radius: 6px;
  cursor: pointer;
  transition: color var(--kea-transition), background var(--kea-transition), border-color var(--kea-transition);
}
.history-decade-tab:hover {
  color: var(--kea-primary);
  border-color: var(--kea-accent);
  background: var(--kea-light);
}
.history-decade-tab.active {
  color: var(--kea-white);
  background: var(--kea-primary);
  border-color: var(--kea-primary);
}

/* 연대별 섹션 */
.history-decade-content {
  display: none;
  padding: 0 0 40px;
}
.history-decade-content.active {
  display: block;
}

/* 연도 구분 dot (삼구 스타일) */
.history-dot {
  text-align: center;
  margin: 56px 0 48px;
  font-size: 0;
  line-height: 0;
}
.history-dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kea-accent);
  opacity: 0.6;
}

/* 연도 블록 */
.history-year-block {
  margin-bottom: 48px;
}
.history-year-block:last-child {
  margin-bottom: 0;
}
.history-year {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--kea-primary);
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* 연혁 중간 이미지 */
.history-media {
  margin: 28px 0 44px;
  border-radius: var(--kea-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(15, 41, 66, 0.08);
  background: #0b1e31;
}
.history-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.02);
}
@media (max-width: 768px) {
  .history-media { margin: 22px 0 34px; border-radius: var(--kea-radius); }
  .history-media img { height: 220px; }
}

/* 이벤트 리스트 (월 . 내용) */
.history-events {
  list-style: none;
  margin: 0;
  padding: 0;
}
.history-event {
  display: flex;
  align-items: baseline;
  gap: 0 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 41, 66, 0.06);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--kea-text);
}
.history-event:last-child {
  border-bottom: 0;
}
.history-event .event-month {
  flex-shrink: 0;
  min-width: 36px;
  font-weight: 600;
  color: var(--kea-accent);
}
.history-event .event-month::after {
  content: ' ';
}
.history-event .event-text {
  flex: 1;
}

/* 기존 테이블 스타일 (다른 페이지용 유지) */
.kea-history-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--kea-border);
  border-radius: var(--kea-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.kea-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.kea-history-table th,
.kea-history-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--kea-border);
}
.kea-history-table th {
  background: var(--kea-light);
  color: var(--kea-primary);
  font-weight: 600;
  width: 100px;
}
.kea-history-table tr:last-child td { border-bottom: 0; }
.kea-history-table tr:hover td { background: rgba(15, 41, 66, 0.02); }
.kea-history-table td { color: var(--kea-text); }

/* 상단 이동 버튼 */
.kea-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #b91c1c;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 41, 66, 0.35);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.kea-top-btn.show { display: flex; }

/* 메인 하단 회원사 광고 배너 */
.kea-ad-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: flex;
  width: 100vw;
  min-width: 0;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(20, 184, 166, 0.55);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -14px 36px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  padding: 9px 18px 10px;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.kea-ad-bar.is-hidden {
  display: none;
}
.kea-ad-bar.is-hidden ~ footer {
  margin-bottom: 0;
}
.kea-ad-bar.is-hidden ~ #kea-top-btn {
  bottom: 28px;
}
.kea-ad-bar.is-scrolling {
  transform: translateY(76%);
  opacity: 0.18;
}
.kea-ad-controls {
  position: absolute;
  right: 18px;
  bottom: calc(100% + 8px);
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px);
}
.kea-ad-control {
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 12px;
}
.kea-ad-control + .kea-ad-control {
  border-left: 1px solid rgba(15, 23, 42, 0.1);
}
.kea-ad-control:hover {
  background: rgba(20, 92, 255, 0.08);
  color: #0b2f6b;
}
.kea-ad-rotator {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.kea-ad-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  animation: kea-ad-marquee 32s linear infinite;
}
.kea-ad-rotator:hover .kea-ad-track {
  animation-play-state: paused;
}
.kea-ad-item,
.kea-ad-fixed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}
.kea-ad-item {
  flex: 0 0 auto;
  height: 70px;
}
.kea-ad-fixed {
  flex: 0 0 auto;
  height: 86px;
  max-width: min(338px, 32vw);
  border-color: rgba(250, 204, 21, 0.85);
  box-shadow: 0 12px 28px rgba(202, 138, 4, 0.22);
}
.kea-ad-bar ~ footer {
  margin-bottom: 112px;
}
.kea-ad-bar ~ #kea-top-btn {
  bottom: 122px;
}
.kea-ad-item img,
.kea-ad-fixed img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes kea-ad-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .kea-ad-bar {
    gap: 8px;
    padding: 8px 10px;
  }
  .kea-ad-controls {
    right: 10px;
    bottom: calc(100% + 6px);
  }
  .kea-ad-control {
    font-size: 11px;
    padding: 9px 10px;
  }
  .kea-ad-item {
    height: 60px;
  }
  .kea-ad-fixed {
    height: 73px;
    max-width: min(221px, 44vw);
  }
  .kea-ad-bar ~ footer {
    margin-bottom: 96px;
  }
  .kea-ad-bar ~ #kea-top-btn {
    bottom: 106px;
  }
}
@media (max-width: 430px) {
  .kea-ad-bar {
    gap: 6px;
    padding: 7px 8px;
  }
  .kea-ad-track {
    gap: 7px;
  }
  .kea-ad-item {
    height: 55px;
  }
  .kea-ad-fixed {
    height: 65px;
    max-width: 177px;
  }
}

/* 반응형 */
@media (max-width: 1024px) {
  .mx-hero-inner {
    flex-direction: column;
    gap: 30px;
  }
  .mx-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mx-news-location {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mx-client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .mx-scroll {
    height: auto;
    scroll-snap-type: none;
  }
  .mx-scroll > section {
    scroll-snap-align: none;
  }
  .kea-gnb { display: none; }
  .mx-hero {
    padding: 80px 0 50px;
    width: 100%;
    background:
      linear-gradient(135deg, rgba(11, 47, 107, 0.78), rgba(17, 24, 39, 0.72)),
      radial-gradient(circle at 70% 35%, rgba(20, 92, 255, 0.22), transparent 34%),
      #111827;
  }
  .mx-hero-video {
    display: none;
  }
  .mx-hero-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 20px;
    padding-left: 20px;
  }
  .mx-hero-title {
    font-size: 1.7rem;
  }
  .mx-hero-text {
    max-width: none;
    width: 100%;
  }
  .mx-hero-stats {
    grid-template-columns: 1fr;
    width: 85%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .mx-hero-stat {
    width: 100%;
    box-sizing: border-box;
  }
  .mx-client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mx-news-location {
    min-height: auto;
    padding: 32px 16px 48px;
    gap: 16px;
  }
  .mx-news,
  .mx-location {
    min-height: auto;
    height: auto;
  }
  .mx-notice-card,
  .mx-notice-list,
  .mx-map-card {
    flex: none;
    min-height: auto;
  }
  .mx-map-embed {
    flex: none;
    height: 220px;
    min-height: 220px;
  }
  .mx-map-embed iframe {
    height: 220px;
    min-height: 220px;
  }
  .mx-latest-notice__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .mx-latest-notice__link {
    width: 100%;
  }
  .mx-latest-notice__subject {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* 그누보드 팝업레이어 */
#hd_pop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}
#hd_pop h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.hd_pops {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.26);
  pointer-events: auto;
}
.hd_pops_con {
  overflow: hidden;
  background: #fff;
}
.hd_pops_con img {
  display: block;
  max-width: 100%;
  height: auto;
}
.hd_pops_footer {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #111827;
  color: #fff;
}
.hd_pops_footer button {
  min-height: 42px;
  border: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}
.hd_pops_footer .hd_pops_reject {
  flex: 1;
  padding: 10px 12px;
  background: #111827;
  text-align: left;
}
.hd_pops_footer .hd_pops_close {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #374151;
}
.kea-popup-recruit {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 34px 34px 30px;
  background:
    radial-gradient(circle at 88% 16%, rgba(20, 92, 255, 0.16), transparent 25%),
    radial-gradient(circle at 8% 92%, rgba(45, 212, 191, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #eef7ff 100%);
  color: #172033;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}
.kea-popup-recruit::before,
.kea-popup-recruit::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}
.kea-popup-recruit::before {
  right: -72px;
  bottom: -88px;
  width: 230px;
  height: 230px;
  border: 20px solid rgba(11, 47, 107, 0.08);
}
.kea-popup-recruit::after {
  top: 30px;
  right: 34px;
  width: 72px;
  height: 72px;
  background:
    linear-gradient(90deg, #94a3b8 0 8px, transparent 8px 14px) 30px 10px / 42px 56px no-repeat,
    linear-gradient(#cbd5e1 0 0) 36px 8px / 32px 58px no-repeat,
    radial-gradient(circle, #facc15 0 7px, transparent 8px) 0 0 / 24px 24px no-repeat;
  opacity: 0.9;
}
.kea-popup-recruit-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(20, 92, 255, 0.08);
  padding: 7px 13px;
  color: #145cff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.kea-popup-recruit-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #0b2f6b;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.08em;
}
.kea-popup-recruit-title span {
  color: #1f8a70;
}
.kea-popup-recruit-desc {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 20px 0 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: -0.04em;
}
.kea-popup-recruit-contact {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: #475569;
  font-size: 13px;
}
.kea-popup-recruit-contact a {
  color: #145cff;
  font-weight: 800;
  text-decoration: none;
}
.kea-popup-recruit-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.kea-popup-recruit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f8a70, #2dd4bf);
  box-shadow: 0 14px 28px rgba(31, 138, 112, 0.24);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kea-popup-recruit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 138, 112, 0.32);
  color: #fff;
}
.kea-popup-recruit-btn--dark {
  background: linear-gradient(135deg, #0b2f6b, #145cff);
  box-shadow: 0 14px 28px rgba(20, 92, 255, 0.22);
}
.kea-popup-recruit-note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .hd_pops {
    top: 76px !important;
    left: 50% !important;
    width: min(560px, calc(100vw - 16px)) !important;
    max-width: none;
    transform: translateX(-50%);
  }
  .hd_pops_con {
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .kea-popup-recruit {
    min-height: 0;
    padding: 30px 28px;
  }
  .kea-popup-recruit-title {
    font-size: 34px;
  }
  .kea-popup-recruit-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .kea-popup-recruit {
    padding: 28px 24px;
  }
  .kea-popup-recruit-kicker {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .kea-popup-recruit-title {
    font-size: 32px;
  }
  .kea-popup-recruit-desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }
  .kea-popup-recruit-contact {
    margin-top: 16px;
  }
  .kea-popup-recruit-actions {
    margin-top: 20px;
  }
  .kea-popup-recruit::after {
    opacity: 0.35;
  }
}
