/* =============================================
   CUSTOM FONTS
   ============================================= */
@font-face {
  font-family: 'KerisKedyuche';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-3@1.0/KERISKEDU_R.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'KerisKedyuche';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-3@1.0/KERISKEDU_B.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'SchoolSafetyRoundedSmile';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimDunggeunmisoTTF-R.woff2') format('woff2');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SchoolSafetyRoundedSmile';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimDunggeunmisoTTF-B.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* =============================================
   BASE & RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --header-h: 72px;   /* 헤더 실제 높이 기준값 */
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* =============================================
   SCROLL SNAP — 자연스럽게 끊기는 스크롤
   ============================================= */
/* ── PC: mandatory 스냅, 모바일: 스냅 없음 ── */
main {
  scroll-snap-type: y mandatory;        /* PC 강한 스냅 */
  scroll-padding-top: var(--header-h);
  overflow-y: scroll;
  height: 100vh;
  overscroll-behavior-y: contain;
}

@media (max-width: 768px) {
  main {
    scroll-snap-type: none;             /* 모바일: 스냅 완전 해제 — 자연 스크롤 */
    height: auto;
    overflow-y: auto;
    overscroll-behavior-y: auto;
  }
}

body {
  font-family: 'SchoolSafetyRoundedSmile', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background-color: #EFF7D6;
  color: #2C3E33;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;   /* 가로 스크롤 전역 차단 */
}

::selection {
  background: rgba(255, 211, 77, 0.5);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #E8F2A8; }
::-webkit-scrollbar-thumb { background: #a8c060; border-radius: 3px; }

/* =============================================
   CUSTOM BACKGROUND
   ============================================= */
body.custom-bg {
  background:
    linear-gradient(
      135deg,
      #F5F7C4 0%,
      #EAF5B0 25%,
      #DCEEA0 55%,
      #D4E898 100%
    );
  background-attachment: fixed;
  position: relative;
}

/* 잎사귀 그림자 레이어 */
body.custom-bg::before,
body.custom-bg::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

/* 왼쪽 상단 — 큰 잎 그림자 */
body.custom-bg::before {
  top: -60px;
  left: -80px;
  width: 520px;
  height: 520px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cg opacity='0.07' fill='%23294D1A'%3E%3C!-- 큰 잎 1 --%3E%3Cellipse cx='260' cy='180' rx='38' ry='120' transform='rotate(-40 260 180)'/%3E%3C!-- 큰 잎 2 --%3E%3Cellipse cx='310' cy='140' rx='32' ry='100' transform='rotate(-20 310 140)'/%3E%3C!-- 큰 잎 3 --%3E%3Cellipse cx='200' cy='220' rx='28' ry='90' transform='rotate(-55 200 220)'/%3E%3C!-- 줄기 --%3E%3Crect x='248' y='180' width='6' height='160' rx='3' transform='rotate(-10 248 180)'/%3E%3Crect x='300' y='140' width='5' height='130' rx='3' transform='rotate(5 300 140)'/%3E%3Crect x='194' y='210' width='5' height='120' rx='3' transform='rotate(-18 194 210)'/%3E%3C!-- 작은 잎 --%3E%3Cellipse cx='340' cy='200' rx='20' ry='65' transform='rotate(-10 340 200)'/%3E%3Cellipse cx='170' cy='160' rx='18' ry='58' transform='rotate(-65 170 160)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

/* 오른쪽 하단 — 작은 잎 그림자 */
body.custom-bg::after {
  bottom: 40px;
  right: -60px;
  width: 380px;
  height: 380px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg opacity='0.065' fill='%23294D1A'%3E%3Cellipse cx='180' cy='150' rx='30' ry='95' transform='rotate(30 180 150)'/%3E%3Cellipse cx='230' cy='120' rx='25' ry='80' transform='rotate(50 230 120)'/%3E%3Cellipse cx='140' cy='190' rx='22' ry='72' transform='rotate(15 140 190)'/%3E%3Crect x='170' y='145' width='5' height='130' rx='3' transform='rotate(22 170 145)'/%3E%3Crect x='222' y='118' width='4' height='110' rx='3' transform='rotate(42 222 118)'/%3E%3Cellipse cx='260' cy='170' rx='16' ry='52' transform='rotate(60 260 170)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

/* 콘텐츠가 잎 위에 오도록 */
main, footer {
  position: relative;
  z-index: 1;
}
header {
  position: relative;
  z-index: 1000;   /* 헤더와 동일하게 */
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.max-w-6xl {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}

.section-wrapper {
  padding: 0 1.25rem 5rem;
  padding-top: calc(var(--header-h) + 24px); /* 헤더 높이 + 안전 여백 */
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-margin-top: var(--header-h);        /* 스냅 시 콘텐츠 걸치지 않도록 */
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 모바일: section-wrapper 스냅·고정높이 해제 — 자연스러운 스크롤 */
@media (max-width: 768px) {
  .section-wrapper {
    min-height: unset;          /* 강제 전체화면 해제 */
    scroll-snap-align: none;    /* 스냅 포인트 제거 */
    scroll-margin-top: var(--header-h);
  }
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

/* =============================================
   SECTION CARD
   ============================================= */
.section-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 42, 30, 0.09);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.section-card:hover {
  box-shadow: 0 4px 24px rgba(15, 42, 30, 0.06);
}

/* =============================================
   SECTION HEADING
   ============================================= */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F2A1E;
}

@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
}

.section-subtitle {
  font-size: 0.875rem;
  color: #2C3E33;
}

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;                              /* 모든 콘텐츠보다 위 */
  transition: background 0.3s, border-color 0.3s, padding 0.3s, box-shadow 0.3s;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(15,42,30,0.1);
  background: rgba(239, 247, 214, 0.97);      /* 초기부터 수시 불투명 저리스트 */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(15,42,30,0.07);
}

.site-header.scrolled {
  background: rgba(234, 245, 176, 0.98);      /* 스크롤드 시 조금 더 진하게 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(15, 42, 30, 0.12);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(15,42,30,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.logo { display: flex; flex-direction: column; }
.logo-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0F2A1E;
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.7rem;
  color: #2C3E33;
  font-weight: 500;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav button {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #2C3E33;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
}

.desktop-nav button:hover {
  background: rgba(15, 42, 30, 0.05);
  color: #0F2A1E;
}

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

/* Mobile Toggle */
.menu-toggle {
  display: none;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #0F2A1E;
  font-size: 1.25rem;
}

@media (max-width: 767px) {
  .menu-toggle { display: block; }
}

/* Mobile Nav */
.mobile-nav {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  opacity: 0;
  background: #EAF5B0;
  border-top: 1px solid rgba(15,42,30,0.07);
}

.mobile-nav.open {
  max-height: 300px;
  opacity: 1;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  gap: 0.25rem;
}

.mobile-nav-inner button {
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #0F2A1E;
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s;
}

.mobile-nav-inner button:hover {
  background: rgba(15, 42, 30, 0.05);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.btn-primary {
  background: #FFD34D;
  color: #0F2A1E;
}

.btn-secondary {
  background: #2D6DFF;
  color: #ffffff;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #2D6DFF;
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s;
  margin-top: 0.5rem;
  box-shadow: 0 2px 12px rgba(45,109,255,0.25);
}

.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

/* =============================================
   ANIMATE
   ============================================= */
@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadein {
  animation: fadein 0.6s ease both;
}

/* =============================================
   HERO CONTAINER — 중앙 고정 폭 제어
   ============================================= */
.hero-container {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1200px) {
  .hero-container {
    max-width: 1280px;
    padding: 0 60px;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */
.section-wrapper#hero {
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-wrapper#hero .max-w-6xl {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── Hero 메인 카드: 단일 컬럼 ── */
.hero-main {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  box-sizing: border-box;
}

/* ── 좌측: 텍스트 그룹 ── */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ── 헤드라인 ── */
.hero-title {
  font-family: 'KerisKedyuche', 'Noto Sans KR', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #0F2A1E;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.hero-accent {
  background: linear-gradient(90deg, #F4B400, #F08A24, #8FA63E, #3E8E5E, #2C6CB8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: #2C3E33;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.hero-desc {
  color: #2C3E33;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* ── 미니 스탯 바 ── */
.hero-mini-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 1.75rem;
  width: fit-content;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,42,30,0.09);
  border-radius: 1.25rem;
  padding: 0.875rem 1.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-mini-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 0.5rem;
}

.hero-mini-val {
  font-family: 'SchoolSafetyRoundedSmile', 'Noto Sans KR', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F2A1E;
  line-height: 1.2;
}

.hero-mini-val small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3E8E5E;
}

.hero-mini-label {
  font-size: 0.68rem;
  color: #5A7060;
  font-weight: 500;
  white-space: nowrap;
}

.hero-mini-divider {
  width: 1px;
  height: 2.4rem;
  background: rgba(15,42,30,0.12);
  flex-shrink: 0;
}

/* ── 버튼 그룹 (PC: 좌측 나란히) ── */
.hero-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* ── 뱃지 ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,42,30,0.1);
  font-size: 0.72rem;
  color: #2C3E33;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FFD34D;
  flex-shrink: 0;
}


/* =============================================
   HERO — 모바일 (≤768px)
   핵심: 비주얼 카드 완전 숨김, 텍스트만 집중
   ============================================= */
@media (max-width: 768px) {
  .hero-main {
    padding: 2rem 1.25rem 2.5rem;
  }

  /* 텍스트 중앙 정렬 */
  .hero-content { text-align: center; }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-sub  { font-size: 1rem; }
  .hero-desc { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; }

  /* 미니 스탯: 중앙 정렬 */
  .hero-mini-stats {
    width: 100%;
    margin: 0 auto 1.5rem;
    justify-content: center;
    border-radius: 1rem;
    padding: 0.75rem 0.5rem;
  }
  .hero-mini-val   { font-size: 1.2rem; }
  .hero-mini-label { font-size: 0.6rem; }
  .hero-mini-divider { height: 1.8rem; }

  /* 버튼: 중앙 세로 스택 */
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    text-align: center;
  }

  /* 뱃지 중앙 */
  .hero-badge {
    margin: 0 auto;
    font-size: 0.68rem;
    text-align: center;
  }
}

/* ── 프로필 카드 (quote + logo) ── */
.hero-stats { display: none; }

.hero-profile-card {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
}

.hero-profile-card .quote-text {
  margin-bottom: 0;
  text-align: center;
  width: 100%;
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 0 0.5rem;
}

.hero-profile-card .profile-banner {
  margin-top: 0;
  width: 100%;
}

.stats-quote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15,42,30,0.1);
}

.quote-text {
  font-size: 0.9rem;
  color: #2C3E33;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ─── profile-banner ─────────────────────────────────── */
.profile-banner {
  width: 100%;
  max-width: 680px;          /* 요청 spec */
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15,42,30,0.08);
  box-shadow: 0 2px 12px rgba(15,42,30,0.06);
  background: rgba(255,255,255,0.55);
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* 로고 원형 래퍼 */
.profile-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(15,42,30,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.profile-logo-wrap:hover {
  transform: scale(1.05);
}

.profile-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 바람솔솔 로고만 — 원 크기는 동일, 내부 이미지만 크게 */
.profile-logo-baram {
  width: 56px;
  height: 56px;
}

.profile-logo-baram img {
  width: 170%;
  height: 170%;
  object-fit: cover;
}

/* 가운데 텍스트 */
.profile-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.profile-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: #0F2A1E;
  letter-spacing: -0.01em;
  white-space: normal;       /* nowrap 제거 — 모바일 줄바꿈 허용 */
}

.profile-text span {
  font-size: 0.8rem;
  white-space: normal;       /* nowrap 제거 */
  color: #2C3E33;
  line-height: 1.5;
}

/* ─── 모바일 profile-banner 대응 (≤768px) ────────────────── */
@media (max-width: 768px) {
  /* 프로필 카드 전체 */
  .hero-profile-card {
    width: 92vw;
    padding: 1rem;
    gap: 0.875rem;
  }

  /* 인용구: 폰트 살짝 축소, 좌우 여백 확보 */
  .hero-profile-card .quote-text {
    font-size: 0.9rem;
    padding: 0 0.75rem;
    line-height: 1.65;
  }

  /* 배너 너비 */
  .profile-banner {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
  }

  /* ★ 모바일에서도 가로 3열 유지: [로고] [텍스트] [로고] */
  .profile-row {
    flex-direction: row;          /* 세로 스택 → 가로 유지 */
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  /* 로고: 56px 유지 (PC와 동일하게 — 너무 크지 않게) */
  .profile-logo-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .profile-logo-baram {
    width: 56px;
    height: 56px;
  }

  .profile-text {
    flex: 1;
    min-width: 0;
  }
  .profile-text strong { font-size: 0.95rem; }
  .profile-text span   { font-size: 0.75rem; }
}

@media (max-width: 400px) {
  .profile-logo-wrap,
  .profile-logo-baram {
    width: 48px;
    height: 48px;
  }
  .profile-row { gap: 0.5rem; }
  .hero-profile-card .quote-text { font-size: 0.82rem; }
}

/* 기존 quote-author (레거시 — 더 이상 사용 안 함) */
.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15,42,30,0.1);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.author-info { flex: 1; }
.author-name { font-size: 0.875rem; font-weight: 700; color: #0F2A1E; }
.author-sub  { font-size: 0.75rem; color: #2C3E33; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-card { padding: 2rem; transition: background 0.2s; }
.about-card:hover { background: rgba(255,255,255,0.65); }

.about-icon {
  width: 48px; height: 48px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-icon.bg-yellow { background: rgba(255,211,77,0.3); color: #0F2A1E; }
.about-icon.bg-blue   { background: rgba(45,109,255,0.18); color: #2D6DFF; }

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F2A1E;
  margin-bottom: 1rem;
}

.card-body {
  color: #2C3E33;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.card-body-sm {
  color: rgba(44,62,51,0.75);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* 하이라이트 단락 — 이미지 스타일 재현 */
.card-highlight {
  background: rgba(255, 220, 60, 0.22);
  border-left: 3px solid rgba(255, 200, 0, 0.55);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: rgba(30, 50, 35, 0.85);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 0.25rem;
}

/* =============================================
   BRANDS SECTION
   ============================================= */
.brand-card { padding: 1.5rem 2rem 2rem; }

/* Tabs */
.brand-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15,42,30,0.1);
  overflow-x: auto;
  scrollbar-width: none;
}

.brand-tabs::-webkit-scrollbar { display: none; }

.brand-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(15,42,30,0.1);
  background: rgba(255,255,255,0.4);
  color: #2C3E33;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.brand-tab:hover { background: rgba(255,255,255,0.65); }

.brand-tab.active.tab-narsha {
  background: #FFD34D;
  color: #0F2A1E;
  border-color: #FFD34D;
  box-shadow: 0 2px 8px rgba(255,211,77,0.35);
}

.brand-tab.active.tab-baram {
  background: #2D6DFF;
  color: #fff;
  border-color: #2D6DFF;
  box-shadow: 0 2px 8px rgba(45,109,255,0.3);
}

/* Brand Panel */
.brand-panel {
  display: none;
  animation: fadein 0.3s ease both;
}

.brand-panel.active { display: block; }

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F2A1E;
  margin-bottom: 0.5rem;
}

.brand-name.narsha {
  display: inline-block;
  background: rgba(255,211,77,0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

.brand-name.baram {
  display: inline-block;
  color: #2D6DFF;
  background: rgba(45,109,255,0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

.brand-tagline {
  font-size: 1rem;
  color: #2C3E33;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* 브랜드 소개 본문 */
.brand-intro {
  font-size: 0.875rem;
  color: rgba(44,62,51,0.8);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* 핵심/확장 영역 라벨 */
.brand-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F2A1E;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1rem 0 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(15,42,30,0.06);
  border-radius: 0.4rem;
  display: inline-block;
}

/* 리스트 안 em 태그 */
.brand-list li em {
  font-size: 0.8125rem;
  color: rgba(44,62,51,0.65);
  font-style: italic;
  display: block;
  margin-top: 0.15rem;
}

.brand-list {
  list-style: none;
  margin-bottom: 2rem;
  space-y: 0.75rem;
}

.brand-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #2C3E33;
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.brand-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.text-dark { color: #0F2A1E; }
.text-blue { color: #2D6DFF; }

/* Brand Info Box */
.brand-info-box {
  background: rgba(255,255,255,0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(15,42,30,0.1);
}

.brand-info-title {
  color: #0F2A1E;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-info-desc {
  font-size: 0.875rem;
  color: #2C3E33;
  margin-bottom: 1rem;
}

/* Tags */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,42,30,0.1);
  font-size: 0.75rem;
  color: #2C3E33;
}

/* Brand Quote */
.brand-quote {
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
}

.brand-quote p {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
}

.brand-quote-yellow {
  background: rgba(255,211,77,0.2);
  border: 1px solid rgba(255,211,77,0.4);
  color: #0F2A1E;
}

.brand-quote-blue {
  background: rgba(45,109,255,0.1);
  border: 1px solid rgba(45,109,255,0.2);
  color: #2D6DFF;
}

/* ─── Baram Steps (단계형 리스트) ──────────────────── */
.baram-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.25rem 0 0.5rem;
}

.baram-step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
  position: relative;
}

.baram-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.375rem;
  bottom: -0.75rem;
  width: 2px;
  height: 1.5rem;
  background: linear-gradient(to bottom, rgba(45,109,255,0.35), rgba(45,109,255,0.08));
  border-radius: 2px;
  z-index: 1;
}

.baram-step:hover {
  background: rgba(45,109,255,0.06);
}

.baram-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D6DFF, #6B3FDB);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(45,109,255,0.3);
  position: relative;
  z-index: 2;
}

.baram-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.2rem;
}

.baram-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F2A1E;
}

.baram-step-sub {
  font-size: 0.82rem;
  color: rgba(44,62,51,0.7);
  line-height: 1.5;
}

.baram-step-effect {
  font-size: 0.82rem;
  color: #2D6DFF;
  font-style: italic;
  margin-top: 0.1rem;
}

/* Target List (Baram) */
.target-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.target-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,42,30,0.05);
  border-radius: 0.5rem;
}

.target-name { font-size: 0.875rem; font-weight: 600; color: #0F2A1E; }
.target-desc { font-size: 0.75rem; color: #2C3E33; }

/* =============================================
   CAREER SECTION
   ============================================= */
.career-card { padding: 1.5rem 2rem 2rem; }

/* 탭 버튼 줄 */
.career-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(15,42,30,0.1);
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: wrap;
}
.career-tabs::-webkit-scrollbar { display: none; }

.career-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(15,42,30,0.12);
  background: rgba(255,255,255,0.4);
  color: #2C3E33;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.career-tab:hover { background: rgba(255,255,255,0.7); }
.career-tab.active {
  background: #0F2A1E;
  color: #fff;
  border-color: #0F2A1E;
  box-shadow: 0 2px 8px rgba(15,42,30,0.2);
}

/* 패널 */
.career-panel {
  display: none;
  animation: fadein 0.3s ease both;
}
.career-panel.active { display: block; }

/* 리스트 */
.career-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.career-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: #2C3E33;
  line-height: 1.65;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(15,42,30,0.06);
  transition: background 0.15s;
}
.career-list li:hover { background: rgba(255,255,255,0.6); }
.career-list li i {
  margin-top: 4px;
  font-size: 0.6rem;
  color: #0F2A1E;
  flex-shrink: 0;
  opacity: 0.6;
}
.career-list li i.text-yellow { color: #b07d00; opacity: 0.8; font-size: 0.875rem; }
.career-list li i.text-dark   { color: #0F2A1E; opacity: 0.7; font-size: 0.875rem; }

/* 저서 — 2열 그리드 */
.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .books-grid { grid-template-columns: 1fr; }
}

.books-group-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F2A1E;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.books-group-title i.text-yellow { color: #b07d00; }
.books-group-title i.text-dark   { color: #0F2A1E; }

/* =============================================
   PROGRAMS SECTION
   ============================================= */
.program-card { padding: 2rem; }
.program-card-yellow:hover { border-color: rgba(255,211,77,0.5); }
.program-card-blue:hover   { border-color: rgba(45,109,255,0.4); }

.program-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.program-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.program-icon.bg-yellow { background: rgba(255,211,77,0.3); color: #0F2A1E; }
.program-icon.bg-blue   { background: rgba(45,109,255,0.2); color: #2D6DFF; }

.program-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F2A1E;
}

.program-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-list li {
  color: #2C3E33;
}

.program-list li b {
  display: block;
  color: #0F2A1E;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.program-list li span {
  font-size: 0.9rem;
}

.program-tip {
  padding-top: 1rem;
  border-top: 1px solid rgba(15,42,30,0.1);
}

.program-tip p {
  font-size: 0.75rem;
  color: #2C3E33;
  line-height: 1.6;
}

/* 프로그램 → 설명 텍스트 */
.program-arrow {
  display: block;
  font-size: 0.8125rem;
  color: #0F2A1E;
  opacity: 0.65;
  margin-top: 0.3rem;
  padding-left: 0.25rem;
  line-height: 1.6;
  font-style: italic;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(15,42,30,0.08);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: rgba(15,42,30,0.15);
}

.faq-item.open {
  border-color: rgba(34,139,34,0.3);
  box-shadow: 0 4px 20px rgba(46,160,90,0.1);
}

/* 질문 행 */
.faq-question {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.1rem 1.25rem;
}

.faq-q-mark {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3DB86A, #27934F);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F2A1E;
  line-height: 1.45;
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: rgba(44,62,51,0.45);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #27934F;
}

/* 답변 행 */
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

.faq-a-mark {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F7EFF, #2D56D8);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.faq-answer p {
  font-size: 0.875rem;
  color: rgba(44,62,51,0.8);
  line-height: 1.8;
  padding-top: 0.2rem;
}

/* =============================================
   SCROLL SNAP — 다음 보기 버튼
   ============================================= */
.scroll-next-btn {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  color: #2C3E33;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem;
  z-index: 10;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.scroll-next-btn:hover,
.scroll-next-btn:focus,
.scroll-next-btn:active {
  opacity: 1.0;
  outline: none;
}

.scroll-next-btn .next-arrow {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  animation: nextBounce 2s ease-in-out infinite;
}

@keyframes nextBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* contact(마지막 섹션)은 버튼 숨김 */
#contact .scroll-next-btn {
  display: none;
}

@media (max-width: 768px) {
  /* 모바일: 다음 보기 버튼 완전 숨김 */
  .scroll-next-btn,
  .next-button {
    display: none !important;
  }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-card {
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .contact-card { padding: 1.75rem; }
}

.contact-glow {
  position: absolute;
  top: 0; right: 0;
  width: 16rem; height: 16rem;
  background: rgba(45,109,255,0.08);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0F2A1E;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .contact-title { font-size: 2.5rem; }
}

.contact-desc {
  color: #2C3E33;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,42,30,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #0F2A1E;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F2A1E;
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.875rem;
  color: #2C3E33;
}

/* Form */
.contact-form {
  background: rgba(255,255,255,0.4);
  padding: 1.75rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(15,42,30,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 480px) {
  .contact-form { padding: 1.25rem; }
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  color: #2C3E33;
  margin-left: 0.25rem;
  font-weight: 500;
}

.form-group select,
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,42,30,0.12);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #0F2A1E;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  width: 100%;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(45,109,255,0.5);
  box-shadow: 0 0 0 3px rgba(45,109,255,0.08);
}

.form-group textarea { resize: none; }

.form-note {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(44,62,51,0.45);
  line-height: 1.4;
}

/* =============================================
   APPLY (신청하기) BLOCK
   ============================================= */

/* 프로그램 섹션 하단 2단 신청 블록 */
.apply-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 680px) {
  .apply-block { grid-template-columns: 1fr; }
}

/* 각 컬럼 박스 */
.apply-col {
  border-radius: 1.1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.apply-col-play {
  background: linear-gradient(145deg, #EBF8EC, #D6F0D8);
  border: 1.5px solid rgba(34,139,34,0.2);
}

.apply-col-ai {
  background: linear-gradient(145deg, #EBF0FF, #DDE6FF);
  border: 1.5px solid rgba(45,109,255,0.2);
}

/* 컬럼 헤더 */
.apply-col-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 0.25rem;
  width: 100%;
}

.apply-col-play .apply-col-header { color: #1A6B2F; }
.apply-col-ai  .apply-col-header  { color: #2050C8; }

/* 신청 버튼 공통 */
.apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  line-height: 1.4;
  width: 100%;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  filter: brightness(1.05);
}

/* 놀이 — 초록 버튼 */
.apply-btn-play {
  background: linear-gradient(135deg, #3DB86A, #27934F);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,160,90,0.3);
}

/* AI — 파랑 버튼 */
.apply-btn-ai {
  background: linear-gradient(135deg, #4F7EFF, #2D56D8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(45,109,255,0.3);
}

/* 문의 섹션용 작은 버튼 */
.apply-btn-sm {
  padding: 0.6rem 0.875rem;
  font-size: 0.82rem;
  justify-content: center;
  width: 100%;
  max-width: 280px;
}

/* 문의 섹션 신청 블록 */
.apply-contact-block {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
}

.apply-contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1A6B2F;
  margin-bottom: 0.25rem;
}

/* =============================================
   CERT (자격증 발급) SECTION
   ============================================= */

/* 소개 문구 */
.cert-intro {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(44,62,51,0.75);
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(15,42,30,0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

/* 2단 레이아웃 */
.cert-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 680px) {
  .cert-two-col { grid-template-columns: 1fr; }
}

/* 그룹 박스 공통 */
.cert-group {
  border-radius: 1.1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 🌿 놀이 — 초록 계열 */
.cert-group-play {
  background: linear-gradient(145deg, #EBF8EC, #D6F0D8);
  border: 1.5px solid rgba(34,139,34,0.2);
}

/* 🔵 AI — 파랑·보라 계열 */
.cert-group-ai {
  background: linear-gradient(145deg, #EBF0FF, #DDE6FF);
  border: 1.5px solid rgba(45,109,255,0.2);
}

/* 그룹 헤더 */
.cert-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.cert-group-play .cert-group-header {
  color: #1A6B2F;
}

.cert-group-ai .cert-group-header {
  color: #2050C8;
}

/* 개별 자격증 아이템 */
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(255,255,255,0.65);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* 아이콘 원 */
.cert-item-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cert-icon-play {
  background: linear-gradient(135deg, #52C87A, #2EA05A);
  color: #fff;
  box-shadow: 0 3px 8px rgba(46,160,90,0.35);
}

.cert-icon-ai {
  background: linear-gradient(135deg, #5B8EFF, #3B5FD8);
  color: #fff;
  box-shadow: 0 3px 8px rgba(45,109,255,0.35);
}

/* 아이템 텍스트 */
.cert-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cert-item-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F2A1E;
  line-height: 1.35;
}

.cert-item-body p {
  font-size: 0.78rem;
  color: rgba(44,62,51,0.7);
  line-height: 1.6;
}

/* 배지 */
.cert-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.cert-badge-play {
  background: rgba(46,160,90,0.15);
  color: #1A6B2F;
  border: 1px solid rgba(46,160,90,0.3);
}

.cert-badge-ai {
  background: rgba(45,109,255,0.12);
  color: #2050C8;
  border: 1px solid rgba(45,109,255,0.25);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  border-top: 1px solid rgba(15,42,30,0.1);
  background: rgba(212, 232, 152, 0.6);
  padding: 3rem 1.25rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-left { text-align: center; }

@media (min-width: 768px) {
  .footer-left { text-align: left; }
}

.footer-left b {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #0F2A1E;
  margin-bottom: 0.5rem;
}

.footer-left p {
  font-size: 0.8rem;
  color: #2C3E33;
  line-height: 1.6;
}

.footer-right {
  font-size: 0.75rem;
  color: rgba(44,62,51,0.5);
  text-align: center;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .footer-right { text-align: right; }
}

/* =============================================
   MAIN PADDING
   ============================================= */
main {
  padding-top: 0;
  padding-bottom: 2rem;
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0F2A1E;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
