/* ========================================
   price.css - 3. 수강료 안내 섹션 (배움 하나로 패키지)
   ======================================== */

.price {
  background: #e6e7ec;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 100px 16px;
}

.price__inner {
  width: 100%;
  max-width: 1200px;
}

/* --- 섹션 헤더 --- */
.price__title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 46px;
  color: #000;
  text-align: center;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.price__subtitle {
  font-family: var(--font-pretendard);
  font-weight: 300;
  font-size: 16px;
  color: #000;
  text-align: center;
  margin-bottom: 0;
}

.price__support {
  font-family: var(--font-pretendard);
  font-size: 14px;
  color: #000;
  text-align: right;
  margin: 15px 0 0;
}

.price__support::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 24px;
  background: url("../assets/icon_phone.png") no-repeat center / contain;
  vertical-align: middle;
  margin-right: 5px;
}

/* --- 패키지 카드 (공통) --- */
.package-card {
  margin-top: 0;
  background: #fff;
  padding: 30px 100px 30px;
  border: 1px solid #c8c8c8;
}

/* 패키지 헤더 (타이틀 + 할인 뱃지) */
.package-card__header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 0 10px;
}

.package-card + .package-card {
  margin-top: 10px;
}

.package-card__title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 34px;
  color: #000;
  letter-spacing: -2px;
}

/* 할인 풍선 뱃지 */
.package-card__balloon {
  position: absolute;
  left: -118px;
  top: -64px;
  width: 119px;
  height: 119px;
  background: url("../assets/PM2601_balloonBG.png") no-repeat center / contain;
  font-family: var(--font-paperlogy);
  font-size: 20px;
  font-weight: 500;
  color: #564dbf;
  letter-spacing: -0.5px;
  text-align: center;
  padding: 28px 10px;
  line-height: 1;
}

.package-card__balloon-big {
  display: block;
  font-size: 32px;
  color: #564dbf;
  font-weight: 600;
  letter-spacing: -1px;
}

.package-card__balloon-small {
  display: block;
  font-size: 17px;
  color: #564dbf;
  font-weight: 600;
}

/* 가격 정보 행 */
.package-card__pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  height: 85px;
  border-top: 2px solid #5a5a5a;
  border-bottom: 1px solid #dcdcdc;
  background: #f9f9f9;
}

.package-card__monthly {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 20px;
  color: #000;
  flex-shrink: 0;
  margin-right: 20px;
}

.package-card__price-area {
  font-family: var(--font-pretendard);
  font-size: 20px;
  color: #333;
}

.package-card__original-price {
  text-decoration: line-through;
  font-weight: 600;
}

.package-card__discount-price {
  color: #e54d00;
  font-size: 34px;
  font-weight: 700;
  margin-left: 5px;
  letter-spacing: -1.5px;
  vertical-align: -3px;
}

/* 개강일 행 */
.package-card__schedule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  height: 85px;
  border-bottom: 1px solid #dcdcdc;
  background: #fff;
  font-family: var(--font-pretendard);
  font-size: 20px;
  color: #4d4d4d;
}

.package-card__apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a223a;
  color: #fff;
  font-family: var(--font-pretendard);
  font-size: 18px;
  font-weight: 600;
  padding: 15px 0;
  width: 285px;
  text-align: center;
  letter-spacing: -1px;
  text-decoration: none;
}

.package-card__apply-btn::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
  margin: 0 0 1px 5px;
}

/* --- 태블릿 (~1279px): 풍선 뱃지를 인라인 배치 --- */
@media (max-width: 1279px) {
  .package-card {
    margin-top: 20px;
  }

  .package-card__header {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
  }

  .package-card__balloon {
    position: relative;
    left: auto;
    top: auto;
    display: inline-block;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    font-size: 14px;
    padding: 20px 8px;
    vertical-align: middle;
  }

  .package-card__balloon-big {
    font-size: 24px;
  }

  .package-card__balloon-small {
    font-size: 14px;
  }

  .package-card__title {
    font-size: 28px;
  }

  .package-card__pricing {
    height: auto;
    padding: 15px 10px;
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* --- 모바일 (~767px) --- */
@media (max-width: 767px) {
  .price {
    padding: 60px 16px;
  }

  .price__title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .price__subtitle {
    font-size: 14px;
  }

  .price__support {
    text-align: center;
    font-size: 12px;
  }

  .package-card {
    padding: 20px 16px;
  }

  .package-card__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  .package-card__title {
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .package-card__balloon {
    width: 60px;
    height: 60px;
    font-size: 10px;
    padding: 11px 4px;
  }

  .package-card__balloon-big {
    font-size: 16px;
  }

  .package-card__balloon-small {
    font-size: 10px;
  }

  .package-card__pricing {
    height: auto;
    padding: 12px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .package-card__monthly {
    font-size: 16px;
    margin-right: 0;
  }

  .package-card__price-area {
    font-size: 14px;
  }

  .package-card__discount-price {
    font-size: 24px;
  }

  .package-card__schedule {
    height: auto;
    padding: 12px 8px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .package-card__apply-btn {
    font-size: 18px;
    width: 100%;
    max-width: none;
    padding: 18px 0;
  }
}

/* ========================================
   단과할인 이벤트
   ======================================== */

.event-section {
  margin-top: 100px;
}

.event-section__title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 46px;
  color: #000;
  text-align: center;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.event-section__subtitle {
  font-family: var(--font-pretendard);
  font-weight: 300;
  font-size: 16px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* 카드 */
.event-card {
  border: 1px solid #c8c8c8;
  background: #fff;
  margin-top: 25px;
}

.event-card__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  width: 95%;
  margin: 0 auto;
  padding: 30px 0;
  text-align: left;
}

.event-card__info {
  display: flex;
  align-items: center;
}

/* 가격 박스 */
.event-card__price-box {
  width: 215px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: #f5f6fa;
}

.event-card__price-text {
  font-family: var(--font-pretendard);
  font-size: 24px;
  font-weight: 600;
  color: #fc4008;
}

.event-card__price-text s {
  color: #fc4008;
}

/* 할인 목록 */
.event-card__discount-list {
  padding: 15px 30px;
  list-style: none;
}

.event-card__discount-list li {
  font-family: var(--font-pretendard);
  font-size: 22px;
  color: #333;
  line-height: 1.5;
}

.event-card__discount-list li b {
  font-weight: 700;
}

/* 수강신청 버튼 */
.event-card__apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d2b3a;
  border: 1px solid #1d2b3a;
  width: 285px;
  padding: 18px 0;
  color: #fff;
  font-family: var(--font-pretendard);
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  text-align: center;
}

.event-card__apply-btn::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
  margin: 0 0 1px 8px;
}

/* 유의사항 */
.event-section__notice {
  font-family: var(--font-pretendard);
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin-top: 15px;
  text-align: left;
}

/* --- 모바일 (~767px) --- */
@media (max-width: 767px) {
  .event-section {
    margin-top: 30px;
  }

  .event-section__title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .event-section__subtitle {
    font-size: 14px;
  }

  .event-card__inner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 20px 16px;
    gap: 16px;
  }

  .event-card__info {
    flex-direction: column;
    width: 100%;
  }

  .event-card__price-box {
    width: 100%;
    padding: 12px 10px;
  }

  .event-card__price-text {
    font-size: 18px;
  }

  .event-card__discount-list {
    padding: 10px 0;
  }

  .event-card__discount-list li {
    font-size: 16px;
  }

  .event-card__apply-btn {
    width: 100%;
    font-size: 18px;
    padding: 18px 0;
    border-radius: 4px;
  }

  .event-section__notice {
    font-size: 13px;
  }
}
