/* Layout + components (shared across pages) */

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

body {
  padding-top: var(--header-height);
}

.section {
  padding: 100px 0;
}

.section2 {
  padding: 100px 0 24px 0;
}

.section--tight {
  padding: 100px 0;
}

.section--tight2 {
  padding: 48px 0;
}

/* Subtle section entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .section {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity var(--anim-duration-lg) var(--ease-soft),
      transform var(--anim-duration-lg) var(--ease-soft);
  }

  .section.is-in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About intro background */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 가운데 정렬 */
  text-align: center;
  gap: 8px;
  margin-bottom: 48px;
}

.section-title2 {
  font-size: var(--font-title-1);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 30px;
}

.section-title {
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.25;
}

.section-subtitle {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  /* height: 40px; */
  padding: 0 16px;
  border-radius: 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: var(--font-title-3);
  font-weight: 600;
  transition: transform 150ms var(--ease-soft), background 150ms var(--ease-soft), border-color 150ms var(--ease-soft), box-shadow 150ms var(--ease-soft);
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn--primary:hover {
  background: var(--color-primary-600);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255);
  color: var(--blue--500);
  padding: 12px 0px;
}

.btn--ghost:hover {
  background: var(--blue--100);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--soft {
  background: rgba(29, 93, 255, 0.10);
  color: var(--color-primary-700);
  border-color: rgba(29, 93, 255, 0.18);
}

.btn--soft:hover {
  background: rgba(29, 93, 255, 0.14);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--gray {
  background: rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.78);
  border-color: rgba(17, 24, 39, 0.10);
  padding: 10px 0px;
  font-size: var(--font-body);
}

.btn--gray:hover {
  background: rgba(17, 24, 39, 0.10);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--red {
  background: rgba(255, 72, 72, 0.92);
  color: #ffffff;
  padding: 10px 0px;
  font-size: var(--font-body);
}

.btn--red:hover {
  background: rgba(239, 68, 68, 0.96);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--yellow {
  background: rgba(255, 230, 0, 0.92);
  color: rgba(17, 24, 39, 0.82);
  padding: 10px 0px;
  font-size: var(--font-body);
}

.btn--yellow:hover {
  background: rgba(255, 238, 88, 0.96);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--green {
  background: rgba(0, 194, 117, 0.92);
  color: #ffffff;
  padding: 10px 0px;
  font-size: var(--font-body);
}

.btn--green:hover {
  background: rgba(5, 150, 105, 0.96);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Cards + grid */
.card {
  background: var(--color-surface);
  border: 1px solid rgba(230, 232, 238, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.card-pad {
  padding: 22px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Program section */
.section-program {
  padding: 100px 0;
  /* 위·아래 100으로 통일 */
  /* 섹션 뒤쪽 전체 배경 그라데이션 (FFFFFF → EFF6FF) */
  background: linear-gradient(180deg, #ffffff, #eff6ff);
}

.section-program .section-head {
  margin-bottom: 40px;
}

.program-grid {
  gap: 18px;
}

.program-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 22px 22px;
  box-shadow: 0 18px 30px rgba(148, 163, 184, 0.2);
  border: 2px solid var(--gray--100);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  /* 배지·텍스트 모두 왼쪽 정렬 */
}

@media (prefers-reduced-motion: no-preference) {
  .program-card {
    transition:
      transform 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft);
  }

  .program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.program-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 24px;
  font-size: var(--font-headline);
  font-weight: 700;
  letter-spacing: 0;
}

.program-badge--blue {
  background: var(--blue--50);
  color: var(--blue--500);
}

.program-badge--purple {
  background: #F4F0FF;
  color: #611DFF;
}

.program-title {
  font-size: var(--font-title-2);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.program-sub {
  font-size: var(--font-title-3);
  color: var(--gray--700);
}

.program-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--font-body);
  color: var(--gray--700);
  line-height: 1.6;
}

.program-list li+li {
  margin-top: 4px;
}

.program-link {
  margin-top: 12px;
  align-self: flex-end;
  font-size: var(--font-headline);
  font-weight: 700;
  color: var(--blue--500);
  text-decoration: none;
}

.program-link:hover {
  color: var(--blue--900);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.76);
}

.nav a:hover {
  color: rgba(17, 24, 39, 0.95);
}

.nav a[aria-current="page"] {
  color: var(--color-primary-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 12px;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  color: rgba(17, 24, 39, 0.85);
}

.mobile-nav {
  padding: 6px 0 10px;
  border-top: 1px solid rgba(242, 242, 244);
  
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 20px;
  border-radius: 14px;
  color: rgba(17, 24, 39, 0.82);
  font-weight: 650;
  font-size: 15px;
  margin: 8px;
}

.mobile-nav a:hover {
  background: var(--blue--100);
  color: var(--blue--500);
  font-weight: 600;
}

@media (max-width: 768px) {
  .header {
    justify-content: flex-start;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* 헤더와 자연스럽게 이어지는 반투명 + 블러 스타일 */
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 20px rgba(15, 23, 42, 0.12);

    align-items: center;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  /* 높이는 min-height + 내부 플렉스로 조절 */
  min-height: 70vh;
  /* 화면을 다 채우지 않고 약간 여유 있게 */
  background: transparent;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../source/hero-pool.png");
  background-size: cover;
  background-position: center center;
  opacity: 0.9;
  filter: saturate(1.05) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 텍스트 가독성용 어두운 레이어 (파란색 농도 약하게 조정) */
  background: linear-gradient(
    180deg,
    rgba(0, 24, 90, 0.12),
    rgba(0, 24, 90, 0.22)
  );
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-zoom-soft {
    from {
      transform: scale(1);
    }

    to {
      transform: scale(1.03);
    }
  }

  @keyframes fade-up-soft {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero::before {
    animation: hero-zoom-soft 26s var(--ease-soft) infinite alternate;
    transform-origin: center center;
  }

  .hero__title,
  .hero__desc,
  .hero__cta {
    opacity: 0;
    transform: translateY(18px);
    animation: fade-up-soft var(--anim-duration-lg) var(--ease-soft) forwards;
  }

  .hero__desc {
    animation-delay: 80ms;
  }

  .hero__cta {
    animation-delay: 160ms;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__title {
  margin-top: 0;
  font-size: 60px;
  line-height: 1.15;
  font-weight: 700;
  color: rgb(255, 143, 24);
  -webkit-text-stroke: 0.5px rgb(255, 78, 7);
}

.hero__desc {
  margin-top: 14px;
  max-width: 520px;
  /* 본문 줄 길이 줄이기 */
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  font-size: 13px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta .btn {
  height: 44px;
  padding: 0 24px;
}

/* 히어로 버튼은 이미지 위 흰색 칩 스타일 */
.hero__cta .btn--primary,
.hero__cta .btn--ghost {
  background: #ffffff;
  color: var(--blue--600);
  /* border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28); */
}

.hero__cta .btn--ghost:hover,
.hero__cta .btn--primary:hover {
  background: #f9fafb;
}

/* Feature icon cards */
.icon-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray--100);
  background: rgba(255, 255, 255);
}

.icon-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  /* background: var(--gray--100); */
  /* color: var(--blue--100); */
}

.icon-card__title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.icon-card__desc {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.icon-card__action {
  margin-top: 4px;
  align-self: start;
  display: inline-flex;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid var(--gray--100);
  background: rgba(245, 247, 252, 0.95);
  font-size: 12px;
  font-weight: 650;
  color: rgba(17, 24, 39, 0.78);
}

.icon-card__action:hover {
  background: #ffffff;
}

/* 수상 구조 안전 교육기관 섹션: 흰 배경, 카드 가운데 정렬 */
.section-institution {
  background: #ffffff;
  padding: 120px 0;
  /* 위아래 패딩 120 */
}

.section-institution .section-head {
  margin-bottom: 48px;
  /* 제목/부제와 카드 사이 간격 48 */
}

.section-institution .section-title {
  color: #111827;
}

.section-institution .section-subtitle {
  color: rgba(17, 24, 39, 0.65);
}

.institution-cards {
  gap: 24px;
}

.icon-card--center {
  text-align: center;
  align-items: center;
  justify-items: center;
  padding: 28px 20px;
  border-radius: 24px;
  border: 2px solid var(--gray--100);
  background: #ffffff;
  /* box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06); */
}

@media (prefers-reduced-motion: no-preference) {
  .icon-card--center {
    transition:
      transform 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft),
      border-color 260ms var(--ease-soft);
  }

  .icon-card--center:hover {
    transform: translateY(-3px);
  }
}

.icon-card--center .icon-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* border: 2px solid var(--gray--100); */
  background: var(--blue--50);
}

.icon-card__img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.icon-card--center .icon-card__title {
  color: #111827;
  font-size: 15px;
  margin-top: 4px;
}

.icon-card--center .icon-card__desc {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

.icon-card--center:hover {
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

/* Paper / content blocks */
.paper {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 232, 238, 0.9);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .paper {
    transition:
      transform 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft),
      border-color 260ms var(--ease-soft);
  }

  .paper:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

.paper--intro {
  border-radius: 24px;
}

.section-business .icon-card {
  border-radius: 22px;
}

.section-business .icon-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 0 8px;
  border-radius: 24px;
  background: var(--blue--50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.paper-pad {
  padding: 26px;
}

.paper p {
  color: rgba(17, 24, 39, 0.70);
  line-height: 1.8;
  font-size: var(--font-title-3);
}

.signature {
  display: grid;
  justify-items: end;
  gap: 6px;
  margin-top: 18px;
  color: rgba(17, 24, 39, 0.78);
}

.signature strong {
  color: rgba(17, 24, 39, 0.92);
}

.signature .sig-degree {
  font-size: var(--font-title-3);
  color: var(--gray--700);
  font-weight: 400;
  margin-right: 4px;
}

.signature .sig-name {
  font-size: var(--font-title-1);
}

/* Organization chart (simple responsive) */
.org-chart {
  margin-top: 48px;
  padding: 50px;
  /* 조직도 카드 안쪽 여백 50 (위·아래·양옆) */
}

.org-grid {
  display: grid;
  gap: 14px;
}

.org-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.org-box {
  min-width: 160px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(29, 93, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(17, 24, 39, 0.80);
  font-weight: 800;
  text-align: center;
}

.org-box--primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: rgba(29, 93, 255, 0.5);
  box-shadow: 0 18px 36px rgba(29, 93, 255, 0.18);
}

.org-box--muted {
  border-color: rgba(230, 232, 238, 0.95);
  background: rgba(245, 247, 252, 0.95);
  color: rgba(17, 24, 39, 0.72);
}

.org-sub {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.org-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .org-sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .org-sub {
    grid-template-columns: 1fr;
  }
}

/* Segmented tabs */
.tabs {
  margin-top: 16px;
}

.tablist {
  display: inline-flex;
  gap: 8px;
  background: transparent;
}

.tab {
  /* height: 36px; */
  padding: 10px 16px;
  border-radius: 999px;
  /* 각 버튼만 알약 형태 유지 */
  border: 0;
  background: var(--gray--100);
  /* 선택 안 된 탭 배경: gray-50 */
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray--700);
  transition: background 160ms var(--ease-soft), color 160ms var(--ease-soft), transform 160ms var(--ease-soft), box-shadow 160ms var(--ease-soft);
}

.tab[aria-selected="true"] {
  background: var(--blue--500);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.tab:hover {
  transform: translateY(-1px);
}

.tabpanel {
  margin-top: 14px;
}

.list {
  display: grid;
  gap: 10px;
  padding-left: 16px;
}

.list li {
  color: rgba(17, 24, 39, 0.72);
  line-height: 1.7;
  font-size: 13px;
}

/* Course cards */
.course-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.course {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(230, 232, 238, 0.9);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: no-preference) {
  .course {
    transition:
      transform 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft),
      border-color 260ms var(--ease-soft);
  }

  .course:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.course__top {
  padding: 32px;
  background: var(--blue--500);
  color: #ffffff;
}

.course__name {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--font-h3);
  text-align: center;
  margin-bottom: 10px;
}

.course__sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-title-3);
  text-align: center;
}

.course__body {
  padding: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  border-radius: 18px;
  background: var(--gray--50);
  padding: 16px;
  display: grid;
  gap: 4px;
}

.stat2 {
  border-radius: 18px;
  background: var(--gray--50);
  padding: 8px 16px;
  display: grid;
  gap: 4px;
}

.stat__row {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.stat__row2 {
  display: flex;
  align-items: left;
  flex-direction: column;
  gap: 8px;
}

.stat__icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gray--600);
}

.stat__icon svg {
  width: 22px;
  height: 22px;
}

.stat__big {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--blue--500);
  font-size: var(--font-title-1);
}

.stat__small {
  color: var(--gray--700);
  font-size: var(--font-body);
  text-align: center;
}

.stat__small2 {
  color: var(--gray--700);
  font-size: var(--font-body);
  text-align: left;
  line-height: 1.4;
  font-weight: 600;
}


.course-lines {
  padding: 16px;
  margin-top: 16px;
  display: grid;
  gap: 12px;
  background-color: var(--gray--50);
  border-radius: 18px;
}

.course-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray--800);
  font-size: 14px;
}

.course-line strong {
  color: var(--blue--500);
  font-weight: 700;
}

.course__toggle {
  margin-top: 16px;
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(29, 93, 255, 0.18);
  background: var(--blue--500);
  color: #ffffff;
  font-weight: 600;
  font-size: var(--font-title-3);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.course__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.course__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.course__details {
  margin-top: 12px;
  padding-top: 0;
  /* 위쪽 컨테이너 여백 제거 */
  border-top: none;
  /* 버튼 아래 구분선 제거 */
}

.course__details .tablist {
  width: 100%;
  justify-content: center;
}

.course__details .tabpanel {
  /* 큰 컨테이너 박스 제거: 내부 카드들만 보이도록 */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 14px;
}

.course__details .list {
  padding-left: 18px;
}

/* Course detail education blocks */
.edu-grid {
  display: grid;
  gap: 16px;
}

.edu-card {
  display: flex;
  flex-direction: column;
  /* 세로로 쌓기 */
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: var(--gray--50);
  color: var(--gray--900);
  font-size: var(--font-body);
  line-height: 1.6;
}

.edu-card__title {
  font-weight: 600;
  color: var(--blue--500);
  margin-bottom: 12px;
  font-size: var(--font-title-2);
}

/* Exam subject list (1~6) */
.exam-list {
  display: grid;
  gap: 12px;
}

.exam-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
}

.exam-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--blue--400);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
}

.exam-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: var(--font-title-3);
}

.exam-desc {
  font-size: var(--font-body);
  color: var(--gray--800);
  line-height: 1.6;
  margin-bottom: 6px;

}

.exam-desc2 {
  font-size: var(--font-subheadline);
  color: var(--gray--700);
  line-height: 1.6;
}

/* Qualification info (합격기준/자격 유지/주의사항) */
.qual-info {
  display: grid;
  gap: 14px;
}

.qual-info__card {
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--gray--50);
}

.qual-info__title {
  font-weight: 600;
  color: var(--blue--500);
  margin-bottom: 12px;
  font-size: var(--font-title-2);
}

.qual-info__list {
  margin: 0;
  padding-left: 16px;
  color: rgba(17, 24, 39, 0.78);
  font-size: var(--font-body);
  line-height: 1.6;
}

.page-qual {
  /* 자격과정 페이지 전체 배경: F5F7FC → E3EBFF 그라데이션 */
  background: linear-gradient(180deg, #f5f7fc 0%, #e3ebff 100%);
  background-attachment: fixed;
  /* 콘텐츠와 별개로 뒤에 고정 */
  background-size: cover;
}

/* Qualification blocks */
.qual-block {
  margin-top: 26px;
}

.qual-panel {
  padding: 32px 24px;
  border-radius: 24px;
  /* 전체 모서리 24 */
  background: #ffffff;
}

.qual-panel__title {
  text-align: center;
  font-size: var(--font-h3);
  color: #fe8419;
  font-weight: 700;
}

.qual-panel__subtitle {
  text-align: center;
  margin-top: 6px;
  font-size: var(--font-title-2);
}

.notice {
  margin-top: 48px;
  padding: 24px;
  border-radius: 24px;
  border: 2px solid var(--blue--200);
  background: #ffffff;
}

.notice__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--font-title-2);
  color: var(--blue--500);
}

.notice__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.notice__icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.notice__list {
  margin-top: 16px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: var(--font-body);
  line-height: 1.65;
}

.law-card {
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
}

.law-head {
  padding: 24px;
  background-color: var(--blue--400);
  color: #ffffff;
  display: grid;
  gap: 12px;
}

.law-head__title {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--font-title-1);
  display: flex;
  align-items: center;
  gap: 16px;
}

.law-head__sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-title-3);
}

.law-body {
  padding: 24px;
}

.law-date {
  font-size: 16px;
  background-color: var(--gray--50);
  padding: 16px 28px;
  border-left: 4px solid var(--gray--500);
  color: var(--blue--500);
}


.law-compare {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.law-pane {
  border-radius: 22px;
  background: var(--gray--50);
  padding: 20px 24px;
}

.law-pane__title {
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-title-2);
}

.law-pane2 {
  border-radius: 22px;
  border: 1px solid var(--blue--400);
  background: var(--blue--50);
  padding: 20px 24px;

}

.law-items {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  align-items: center;
}

.law-item {
  padding: 10px 16px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--gray--800);
  font-size: var(--font-title-3);
  line-height: 1.5;
  text-align: center;
}

.law-item2 {
  padding: 10px 16px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--gray--900);
  font-size: var(--font-title-3);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 768px) {
  .law-compare {
    grid-template-columns: 1fr;
  }
}

/* Contact blocks */
.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel {
  text-align: center;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  display: grid;
  gap: 16px;
  align-content: start;
}

@media (prefers-reduced-motion: no-preference) {
  .channel {
    transition:
      transform 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft);
  }

  .channel:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

.channel__icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: var(--blue--50);
  color: var(--blue--500);
}

.channel__title {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--font-title-2);
}

.channel__desc {
  font-size: var(--font-title-3);
  line-height: 1.6;
  margin-bottom: -12px;
}

.channel__desc2 {
  color: var(--gray--700);
  font-size: var(--font-body);
  line-height: 1.6;
}

/* Schedule cards */
.schedule-wrap {
  padding: 32px 32px 30px;
  border-radius: 24px;
  background: #f5f7ff;
  /* 시안과 비슷한 연한 파랑 박스 */
  border: none;
  box-shadow: none;
}

.schedule-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.schedule-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px 22px;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .schedule-card {
    transition:
      transform 260ms var(--ease-soft),
      box-shadow 260ms var(--ease-soft);
  }

  .schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

.schedule-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #ffffff;
}

.schedule-card__icon svg {
  width: 26px;
  height: 26px;
}

.schedule-card__icon--green {
  background: var(--green);
}

.schedule-card__icon--red {
  background: var(--red);
}

.schedule-card__icon--yellow {
  background: var(--yellow);
  color: #111827;
}

.schedule-card__title {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-size: var(--font-title-1);
}

.schedule-card__desc {
  font-size: var(--font-title-2);
  color: rgba(17, 24, 39, 0.68);
  margin-bottom: 24px;
}

.schedule-card__btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: var(--font-title-3);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.map {
  min-height: 320px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(230, 232, 238, 0.9), rgba(239, 241, 244, 0.9));
  border: 1px solid rgba(230, 232, 238, 0.9);
  display: grid;
  place-items: center;
  color: rgba(17, 24, 39, 0.52);
  font-weight: 750;
}

/* Chips + banners */
.chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.chip {
  padding: 16px 22px;
  border-radius: 24px;
  border: 2px solid #fe8419;
  background-color: #ffe9ce;
  font-weight: 500;
  font-size: var(--font-title-3);
  height: 90px;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  .chip {
    transition:
      transform 240ms var(--ease-soft),
      box-shadow 240ms var(--ease-soft),
      border-color 240ms var(--ease-soft);
  }

  .chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: #ff4d00;
  }
}

.banner {
  padding: 16px 18px;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(29, 93, 255, 0.16);
  background: rgba(29, 93, 255, 0.06);
  color: rgba(17, 24, 39, 0.76);
  line-height: 1.7;
  font-size: 13px;
}

.banner strong {
  color: rgba(17, 24, 39, 0.90);
}

.compare {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare .paper {
  border-radius: var(--radius-2xl);
}

@media (max-width: 768px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* Responsive add-ons */
@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .course-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile spacing only for org chart */
  .org-chart {
    padding: 10px;
  }

  /* Hero title: 모바일에서 조금 더 크게 */
  .hero__title {
    font-size: 46px;
  }

  /* Hero: 모바일에서는 세로형 이미지 사용 */
  .hero::before {
    background-image: url("../source/hero-pool-mobile.png");
  }
}

@media (max-width: 420px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Highlight section */
.highlight {
  background: linear-gradient(180deg, rgba(6, 19, 51, 1), rgba(12, 37, 102, 1));
  color: #e5f0ff;
  border-radius: 0;
  padding: 120px 0;
  /* 위·아래 여백 넉넉하게 */
}

.highlight__inner {
  padding: 0 26px;
  text-align: center;
}

.highlight__title {
  font-size: var(--font-h1);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 24px;
}

.highlight__title--accent {
  display: block;
  margin-top: 4px;
  color: var(--blue--200);
  /* 두 번째 줄 강조 색상 */
}

.highlight__desc {
  margin-top: 16px;
  text-align: center;
  color: var(--gray--200);
  font-size: var(--font-title-2);
  line-height: 1.7;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.highlight__desc p+p {
  margin-top: 4px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(180deg, #003cd4, #1D5DFF);
  border-radius: var(--radius-2xl);
  /* 모서리만 적당히 둥글게 */
  padding: 48px;
  color: #ffffff;
}

.cta-band__inner {
  display: grid;
  gap: 8px;
  align-items: center;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-band__title {
  font-weight: 600;
  font-size: var(--font-h2);
  letter-spacing: -0.02em;
  text-align: center;
}

.cta-band__desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--font-title-2);
  line-height: 1.7;
  max-width: 860px;
  margin-bottom: 16px;
}

.cta-band .btn {
  background: #ffffff;
  border-color: transparent;
  color: #2563eb;
  min-width: 110px;
  font-size: var(--font-title-3);
}

.cta-band .btn:hover {
  background: #eff6ff;
}

/* Footer */
.site-footer {
  padding: 44px 0;
  background: rgba(245, 247, 252, 0.85);
  border-top: 1px solid rgba(230, 232, 238, 0.9);
}

.footer-main {
  display: flex;
  gap: 500px;
  /* 가운데 여백 500 */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.footer-left {
  max-width: 460px;
  display: grid;
  gap: 10px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.footer-brand-ko {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.footer-brand-en {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.footer-tagline {
  margin-top: 2px;
  color: rgba(55, 65, 81, 0.90);
  font-size: 13px;
}

.footer-meta {
  margin-top: 4px;
  color: rgba(107, 114, 128, 0.95);
  font-size: 12px;
  line-height: 1.6;
}

.footer-right {
  flex: 1;
  display: grid;
  gap: 16px;
  min-width: 260px;
  text-align: left;
  align-items: flex-end;
}

.footer-office-title {
  font-weight: 700;
  font-size: 13px;
  color: rgba(55, 65, 81, 0.95);
}

.footer-office-text {
  font-size: 12px;
  color: rgba(107, 114, 128, 0.95);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(230, 232, 238, 0.95);
  color: rgba(17, 24, 39, 0.50);
  font-size: 11px;
  text-align: center;
}

/* Utility */
.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.center {
  text-align: center;
}

/* Desktop-only manual line breaks */
.br-desktop {
  display: inline;
}

@media (max-width: 640px) {
  .br-desktop {
    display: none;
  }
}

/* Mobile-only manual line breaks */
.br-mobile {
  display: none;
}

@media (max-width: 640px) {
  .br-mobile {
    display: inline;
  }
}

.info-item {
  display: grid;
  gap: 8px;
}

.info-title {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--font-title-2);
}

.info-text {
  color: var(--gray--700);
  line-height: 1.7;
  font-size: var(--font-title-3);
}

.contact-basic {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.contact-basic__row {
  display: grid;
  gap: 8px;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: first baseline;
}

@media (max-width: 768px) {
  .contact-basic__row {
    grid-template-columns: 1fr;
    /* 모바일에서는 기본 정보 카드 간격 20px */
    gap: 20px;
  }

  .contact-basic .info-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
}

.contact-basic__icon {
  width: 32px;
  /* 배경 크기 유지 */
  height: 32px;
  border-radius: 10px;
  background: var(--blue--50);
  /* 기본 정보 아이콘 뒤 둥근 네모 배경 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-basic__icon img {
  width: 18px;
  /* 아이콘만 더 작게 */
  height: 18px;
  object-fit: contain;
  display: block;
}

/* 기본 정보 카드: 아이콘 + 제목 한 줄, 설명은 그 아래 전체 */
.contact-basic .info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 12px;
  align-items: start;
}

.contact-basic .contact-basic__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  /* 아이콘이 제목+내용 세로 중앙에 오도록 두 줄 차지 */
}

.contact-basic .info-title {
  grid-column: 2;
  grid-row: 1;
}

.contact-basic .info-text {
  grid-column: 2;
  grid-row: 2;
  /* 제목 바로 아래 정렬 */
}

.transport-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.transport-title__icon {
  width: 28px;
  /* 배경 크기 유지 */
  height: 28px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.18);
  /* 조금 더 진한 연한 그린 배경 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.transport-title__icon img {
  width: 16px;
  /* 아이콘만 더 작게 */
  height: 16px;
  object-fit: contain;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 64px;
  }

  :root {
    --header-height: 72px;
    --container-pad: 18px;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .section {
    padding: 72px 0;
  }

  /* section2: 모바일에서 여백 조금 더 부드럽게 */
  .section2 {
    padding: 72px 0 32px 0;
  }

  /* Chips: 모바일에서는 항상 가로 2개씩 (2열) */
  .chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  .chips .chip {
    flex: 0 0 calc(50% - 6px);
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    flex-wrap: nowrap;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .brand__sub {
    display: none;
  }

  .hero {
    padding: 52px 0 60px;
  }
}

/* Top button (scroll to top) */
.top-btn {
  position: fixed;
  right: 32px;
  bottom: 36px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue--500, #0c4da2);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}
.top-btn:hover {
  transform: scale(1.05);
}
.top-btn:focus {
  outline: 2px solid var(--blue--500);
  outline-offset: 2px;
}
.top-btn svg {
  width: 24px;
  height: 24px;
}