/* ==================== 전역 변수 및 공통 스타일 ==================== */
:root {
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --primary: #ef1b22;
  --primary-hover: #d9141b;
  --primary-glow: rgba(239, 27, 34, 0.25);
  --primary-light: rgba(239, 27, 34, 0.08);
  --text-main: #111827;
  --text-sub: #374151;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --border-strong: #D1D5DB;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 10px 25px rgba(239, 27, 34, 0.12);
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 80px;
}

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

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

.bg-light {
  background-color: var(--bg-light);
}

/* 섹션 타이틀 & 헤더 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(239, 27, 34, 0.2);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
  word-break: keep-all;
}

/* 기본 버튼 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(239, 27, 34, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 27, 34, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--text-main);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #F9FAFB;
  border-color: var(--text-main);
}

/* ==================== 플로팅 카운트다운 배너 ==================== */
#apply-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 9999;
  pointer-events: none;
  padding: 0 16px;
}

#apply-banner .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, .56);
  color: #333;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 14px 16px;
  pointer-events: auto;
  max-width: 700px;
  margin: 0 auto;
}

.ab-left {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
}

.ab-timer {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.ab-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: #ef1b22;
}

.ab-unit b {
  line-height: 1;
  font-size: 1.1em;
}

.ab-unit em {
  font-style: normal;
  color: #222;
}

.ab-right {
  flex: none;
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 5px;
  text-decoration: none;
  background: #ef1b22;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(239, 27, 34, .35);
}

.ab-btn:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  #apply-banner {
    bottom: 0;
    padding: 0;
  }

  #apply-banner .inner {
    border-radius: 0;
    padding: 10px;
    gap: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ab-left {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .ab-title {
    font-size: 14px;
  }

  .ab-timer {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .ab-unit {
    font-size: 15px;
  }

  .ab-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .ab-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 12px 16px;
  }
}

/* ==================== 메인 히어로 ==================== */
.hero-section {
  padding: 160px 0 100px;
  background: url(../images/main_bg2.jpg) no-repeat;
  width: 100%;
  height: 980px;
  text-align: center;
}

.hero-section .container {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(239, 27, 34, 0.25);
  border-radius: 9999px;
  font-size: 25px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(239, 27, 34, 0.08);
}

.hero-badge img {
  width: 100px;
  margin-right: 5px;
}

.hero-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--bg-white);
  word-break: keep-all;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 18px;
  color: #d0def5 !important;
  margin-bottom: 36px;
  word-break: keep-all;
}

.hero-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 40px;
}

.matrix-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 24px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.m-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.m-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.text-red {
  color: var(--primary) !important;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.info-box {
  margin-top: 60px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #fff;
}

.info-row-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item-box {
  flex: 1;
}

.info-row-bottom {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-benefit-card {
  flex: 1;
  padding: 25px;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
}

.info-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  background: #ef1b22;
  border-radius: 4px;
}

.info-content {
  font-size: 1.2rem;
  font-weight: 600;
}

.price-main {
  display: block;
  margin-top: 5px;
  font-size: 1.6rem;
  font-weight: 800;
}

.price-sub {
  font-size: 0.95rem;
  opacity: 0.8;
}

.small-notice {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.6;
}

.highlight {
  color: #ffec7b;
}

.highlight-blue {
  color: #ffec7b;
  font-weight: 700;
}

.button-group {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #ef1b22;
  border-radius: 10px 0 0 10px;
}

.btn-secondary {
  background: #8cb2ff;
}

.btn-tertiary {
  background: #333;
  border-radius: 0 10px 10px 0;
}

.btn:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-section {
    background: url(../images/main_bg_m2.jpg) no-repeat;
    padding: 100px 0;
    height: auto;
  }

  .subtitle {
    font-size: 16px;
  }

  .info-row-top,
  .info-row-bottom,
  .button-group {
    flex-direction: column;
  }

  .btn {
    margin-bottom: 8px;
    border-radius: 10px !important;
  }
}

/* ==================== 언론 보도 섹션 (Media Proof) ==================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

/* 중심 카드(기술 혁신) 미세 포인트 */
.news-card.highlight-border {
  border-color: rgba(239, 27, 34, 0.35);
  background: linear-gradient(180deg, rgba(239, 27, 34, 0.02) 0%, #FFFFFF 100%);
}

.news-card-header {
  margin-bottom: 18px;
}

.news-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.news-press {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  background: #F3F4F6;
  padding: 3px 10px;
  border-radius: 4px;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-stat-badge {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.news-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 12px;
  word-break: keep-all;
}

.news-snippet {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  word-break: keep-all;
}

.news-card-footer {
  border-top: 1px solid #F3F4F6;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curri-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(239, 27, 34, 0.15);
}

.curri-tag .tag-icon {
  color: var(--primary);
}

.news-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  align-self: flex-end;
}

.news-link-btn:hover {
  color: var(--primary);
}

.news-link-btn span {
  transition: transform 0.2s ease;
}

.news-link-btn:hover span {
  transform: translateX(3px);
}

/* 하단 브릿지 배너 */
.news-bottom-banner {
  background: var(--bg-light);
  border: 1px dashed rgba(239, 27, 34, 0.35);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-badge {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.banner-text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

.banner-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* ==================== 미디어 쿼리 반응형 ==================== */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card:last-child {
    grid-column: span 2;
  }
}

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

  .news-card:last-child {
    grid-column: span 1;
  }

  .news-card {
    padding: 24px 20px;
  }

  .news-stat-badge {
    font-size: 16px;
  }

  .news-title {
    font-size: 17px;
  }

  .news-bottom-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
}


/* ==================== 특장점: 시장 필요성 (Why) ==================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-feature {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.card-feature:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.card-num {
  font-size: 32px;
  font-weight: 900;
  color: rgba(239, 27, 34, 0.2);
  margin-bottom: 16px;
}

.card-feature h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-feature p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

/* ==================== 특장점: 오프라인 실습 ==================== */
.offline-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
}

.offline-visual {
  background: #111827;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.visual-stat {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.visual-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.visual-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
}

.visual-stat span {
  font-size: 14px;
  color: #9CA3AF;
  font-weight: 500;
}

.offline-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.35;
  word-break: keep-all;
  color: var(--text-main);
}

.offline-content h3 span {
  color: var(--primary);
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point-item {
  display: flex;
  gap: 16px;
}

.point-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.point-text h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.point-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

/* ==================== 모집 개요 ==================== */
.overview-table-wrap {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.overview-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border-color);
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  background: #F9FAFB;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.overview-value {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
}

/* ==================== 커리큘럼 ==================== */
.curriculum-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.curri-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.curri-item.active {
  border-color: var(--primary);
}

.highlight-item {
  border: 1.5px solid var(--primary);
  background: linear-gradient(180deg, var(--primary-light) 0%, #FFFFFF 100%);
}

.curri-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.c-mod {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.curri-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.toggle-icon {
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 400;
}

.curri-body {
  padding: 0 28px 24px;
  display: none;
  border-top: 1px solid #F3F4F6;
  padding-top: 16px;
}

.curri-item.active .curri-body {
  display: block;
}

.c-summary {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.c-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-bullets li {
  font-size: 14px;
  color: var(--text-sub);
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.c-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ==================== 캡스톤 프로젝트 ==================== */
.project-swiper {
  padding: 20px 10px 60px;
}

.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s;
  box-shadow: var(--card-shadow);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.p-card-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.project-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 14px 0 10px;
  line-height: 1.4;
  word-break: keep-all;
  color: var(--text-main);
}

.project-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
  word-break: keep-all;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: #F3F4F6;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-sub);
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

/* ==================== 커리어 지원 ==================== */
.career-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6열 그리드로 분할 */
  gap: 24px;
}

.career-card {
  grid-column: span 2; /* 각 카드는 2칸씩(전체의 1/3) 차지하여 첫 줄 3개 배치 */
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 30px 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
}

/* 둘째 줄 2개 블록(4, 5번째 카드) 중앙 정렬 */
.career-card:nth-child(4) {
  grid-column: 2 / span 2; /* 2번째 열부터 시작 (좌측 1열 공백) */
}

.career-card:nth-child(5) {
  grid-column: 4 / span 2; /* 4번째 열부터 시작 (우측 1열 공백) */
}

.career-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.career-card-body h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.career-card-body p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  word-break: keep-all;
}

.career-icon-box {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F3F4F6;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.career-card:hover .career-icon-box {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.08);
}

/* 태블릿 반응형 (1024px 이하) */
@media (max-width: 1024px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-card {
    grid-column: auto;
  }

  .career-card:nth-child(4) {
    grid-column: auto;
  }

  .career-card:nth-child(5) {
    grid-column: 1 / -1; /* 마지막 5번째 카드를 2열 중앙 배치 */
    width: calc(50% - 12px);
    margin: 0 auto;
  }
}

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
  .career-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .career-card {
    padding: 28px 22px 22px;
    min-height: auto;
  }

  .career-card:nth-child(5) {
    width: 100%;
    margin: 0;
  }

  .career-card-body h4 {
    font-size: 18px;
  }

  .career-icon-box {
    width: 42px;
    height: 42px;
    margin-top: 16px;
  }
}

/* ==================== 수강 혜택 ==================== */
#benefits {
  background-color: var(--primary-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 44px 28px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.b-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #F3F4F6;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.benefit-card:hover .b-icon-wrap {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.05);
}

.benefit-card h4 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

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

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

  .benefit-card {
    padding: 32px 20px;
  }
}

/* ==================== 교육장 시설 및 환경 ==================== */
.facility-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: stretch;
}

.facility-box, 
.facility-slider-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.facility-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main, #111827);
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}

.facility-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.facility-specs li {
  font-size: 15px;
  color: var(--text-sub, #374151);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.facility-specs li strong {
  color: var(--primary, #ef1b22);
}

.facility-contact-box {
  background: #F9FAFB;
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-sub, #374151);
  line-height: 1.6;
}

.facility-contact-box p strong {
  color: var(--text-main, #111827);
}

.slider-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.slider-box-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main, #111827);
  letter-spacing: -0.4px;
  margin-bottom: 0;
}

.slide-count-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary, #ef1b22);
  background: rgba(239, 27, 34, 0.08);
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.facility-swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color, #E5E7EB);
}

.facility-slide {
  width: 100%;
  height: 428px !important;
}

.facility-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.facility-placeholder-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.facility-overlay {
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.92) 100%);
  color: #FFFFFF;
}

.facility-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary, #ef1b22);
  background: rgba(239, 27, 34, 0.15);
  border: 1px solid rgba(239, 27, 34, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.facility-overlay h4 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.facility-nav-prev,
.facility-nav-next {
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  color: var(--text-main, #111827) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
}

.facility-nav-prev:after,
.facility-nav-next:after {
  font-size: 14px !important;
  font-weight: 800 !important;
}

.facility-nav-prev:hover,
.facility-nav-next:hover {
  background: var(--primary, #ef1b22) !important;
  color: #FFFFFF !important;
}

.facility-pagination .swiper-pagination-bullet {
  background: #CBD5E1;
  opacity: 0.8;
}

.facility-pagination .swiper-pagination-bullet-active {
  background: var(--primary, #ef1b22) !important;
  width: 20px;
  border-radius: 4px;
}

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

@media (max-width: 768px) {
  .facility-box,
  .facility-slider-box {
    padding: 24px 20px;
  }

  .facility-slide {
    height: 250px;
  }

  .facility-overlay {
    padding: 16px;
  }

  .facility-overlay h4 {
    font-size: 14px;
  }
  .facility-specs li{
    display: block;
  }
  .facility-specs li strong {
    display: block;
  }
}

/* ==================== 자주 묻는 질문 (FAQ) ==================== */
.faq-section {
  background: #fff;
}

.faq-container {
  margin: 0 auto;
}

.faq-title {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 28px;
  text-align: center;
}

.faq-nav-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.faq-nav-link {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: all .3s ease;
}

.faq-nav-link.active {
  background: #ff2b2b;
  color: #fff;
  border-color: #ff2b2b;
}

:root {
  --line: #e5e5e5;
  --bg: #fff;
  --muted: #ff2b2b;
  --text: #333;
}

.tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
}

.tab {
  padding: 10px 18px;
  cursor: pointer;
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  color: #333;
}

.tab.active {
  background: var(--muted);
  border-bottom: 2px solid var(--muted);
  color: #fff;
}

.tab-content {
  display: none;
  background: var(--bg);
}

.tab-content.active {
  display: block;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
  background: #fff;
}

.faq-toggle-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 16px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-toggle-btn:hover {
  background: #f0f0f0;
}

.faq-q {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.faq-icon {
  display: inline-flex;
  color: #333;
}

.faq-a {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  line-height: 1.3;
  color: #555;
}

.faq-a p {
  margin: 0 0 10px;
}

.faq-a ul {
  margin: 6px 0 12px 18px;
}

.faq-a hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 14px 0;
}

a {
  color: #ff2b2b;
  text-decoration: underline;
}

/* ==================== 푸터 ==================== */
.main-footer {
  background: #111827;
  padding: 60px 0 40px;
  font-size: 14px;
  color: #9CA3AF;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #6B7280;
}

/* ==================== 공통 반응형 미디어 쿼리 ==================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-title {
    font-size: 30px;
  }

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

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

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

  .overview-row {
    grid-template-columns: 1fr;
  }

  .overview-label {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 20px;
  }

  .overview-value {
    padding: 14px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .s-title {
    font-size: 13px;
  }

  .s-badge {
    display: none;
  }
}