/* ============================================
   청율산후조리원 - 예약안내 페이지 스타일
   Reservation Page Styles (matching .pen design exactly)
============================================ */

/* ========== 메인 콘텐츠 오프셋 ========== */
main {
  padding-top: var(--header-height);
  background-color: #F7F6F3;
}

/* ========== 예약 프로세스 섹션 ========== */
.process-section {
  background-color: #FFFFFF;
  padding: 80px 60px;
}

.process-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.process-section__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  color: #2D2D2D;
  margin: 0;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.process-step__circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #4A4A4A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__circle--active {
  background-color: #7C9070;
}

.process-step__icon {
  width: 28px;
  height: 28px;
}

.process-step__label {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #4A4A4A;
}

.process-step__label--active {
  color: #7C9070;
  font-weight: 600;
}

.process-step__arrow {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 20px;
  color: #AAAAAA;
}

/* ========== 이용 요금 섹션 ========== */
.pricing-section {
  background-color: #F7F6F3;
  padding: 80px 60px;
}

.pricing-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.pricing-section__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  color: #2D2D2D;
  margin: 0;
}

.pricing-content {
  display: flex;
  gap: 32px;
}

/* 요금표 */
.pricing-table {
  flex-shrink: 0;
  width: 721px;
  background-color: #F5F4F0;
  border-radius: 8px;
  overflow: hidden;
}

.pricing-table__header {
  display: flex;
  background-color: #7C9070;
  border-radius: 8px 8px 0 0;
  height: 50px;
  align-items: center;
}

.pricing-table__header span {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
}

.pricing-table__header span:first-child {
  flex: 1;
  text-align: left;
  padding-left: 20px;
}

.pricing-table__header span:nth-child(2) {
  width: 150px;
  text-align: center;
}

.pricing-table__header span:last-child {
  width: 250px;
  text-align: center;
  padding-right: 20px;
}

.pricing-table__group {
  display: flex;
  border-bottom: 1px solid #E8E7E3;
}

.pricing-table__group--last {
  border-bottom: none;
}

.pricing-table__left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-table__row {
  display: flex;
  height: 50px;
  align-items: center;
}

.pricing-table__row--white {
  background-color: #FFFFFF;
}

.pricing-table__row--gray {
  background-color: #F9F8F5;
}

.pricing-table__row--last {
  border-radius: 0 0 0 8px;
}

.pricing-table__row span {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 14px;
  color: #4A4A4A;
}

.pricing-table__row span:first-child {
  flex: 1;
  padding-left: 20px;
}

.pricing-table__row span:last-child {
  width: 150px;
  text-align: center;
}

.pricing-table__price {
  font-weight: 600;
  color: #7C9070 !important;
}

.pricing-table__service {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 14px;
  color: #4A4A4A;
  line-height: 1.5;
  text-align: center;
  padding: 0 20px;
}

.pricing-table__service--white {
  background-color: #FFFFFF;
}

.pricing-table__service--gray {
  background-color: #F9F8F5;
}

.pricing-table__service--last {
  border-radius: 0 0 8px 0;
}

/* 할인 박스 */
.discount-box {
  flex: 1;
  background-color: #FFFFFF;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 450px;
}

.discount-item {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.discount-divider {
  height: 1px;
  background-color: #E8E8E8;
}

.discount-item__number {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  flex-shrink: 0;
}

.discount-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discount-item__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0;
}

.discount-item__highlight {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}

.discount-item__desc {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 14px;
  color: #888888;
  line-height: 1.6;
  margin: 0;
}

.discount-item__icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discount-item__icon--dark {
  background-color: #1A1A1A;
}

.discount-item__icon--dark span {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
}

.discount-item__icon--outline {
  background-color: transparent;
  border: 3px solid #1A1A1A;
  border-radius: 50%;
}

.discount-item__icon--outline span {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
}

/* 이벤트 카드 */
.event-cards {
  display: flex;
  gap: 24px;
}

.event-card {
  flex: 1;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 300px;
}

.event-card__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.event-card__number--green {
  background-color: #7C9070;
}

.event-card__number--dark {
  background-color: #1A1A1A;
}

.event-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0;
  text-align: center;
}

.event-card__highlight {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: #7C9070;
  margin: 0;
  text-align: center;
}

.event-card__desc {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* ========== 입퇴실 안내 섹션 ========== */
.checkin-section {
  background-color: #FFFFFF;
  padding: 80px 60px;
}

.checkin-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.checkin-section__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  color: #2D2D2D;
  margin: 0;
}

.checkin-cards {
  display: flex;
}

.checkin-card {
  flex: 1;
  padding: 32px;
  border-left: 1px solid #DDDDDD;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 280px;
}

.checkin-card:first-child {
  border-left: 1px solid #DDDDDD;
}

.checkin-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: #1A1A1A;
  margin: 0;
}

.checkin-card__desc {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

.checkin-card__spacer {
  flex: 1;
}

.checkin-card__number {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 48px;
  font-weight: 300;
  color: #7C9070;
}

/* ========== FAQ 섹션 ========== */
.faq-section {
  background-color: #F7F6F3;
  padding: 80px 60px;
}

.faq-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faq-section__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  color: #2D2D2D;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: #7C9070;
  margin: 0;
}

.faq-item__answer {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 16px;
  color: #6B6B6B;
  line-height: 1.6;
  margin: 0;
}

/* ========== 오시는 길 섹션 ========== */
.location-section {
  background-color: #FFFFFF;
  padding: 80px 60px;
}

.location-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.location-section__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  color: #2D2D2D;
  margin: 0;
}

.location-content {
  display: flex;
  gap: 48px;
}

.location-map {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.location-map iframe {
  display: block;
}

.location-info {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-info__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-info__label {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #7C9070;
  letter-spacing: 1px;
}

.location-info__text {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 16px;
  color: #2D2D2D;
  line-height: 1.6;
  margin: 0;
}

/* ========== 반응형 - 태블릿 ========== */
@media (max-width: 1024px) {
  .process-section,
  .pricing-section,
  .checkin-section,
  .faq-section,
  .location-section {
    padding: 60px 40px;
  }

  .process-section__title,
  .pricing-section__title,
  .checkin-section__title,
  .faq-section__title {
    font-size: 32px;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 12px;
  }

  .process-step__circle {
    width: 70px;
    height: 70px;
  }

  .process-step__icon {
    width: 24px;
    height: 24px;
  }

  .pricing-content {
    flex-direction: column;
  }

  .pricing-table {
    width: 100%;
  }

  .discount-box {
    height: auto;
  }

  .event-cards {
    flex-wrap: wrap;
  }

  .event-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    height: auto;
  }

  .checkin-cards {
    flex-direction: column;
  }

  .checkin-card {
    border-left: none;
    border-top: 1px solid #DDDDDD;
    height: auto;
  }

  .checkin-card:first-child {
    border-left: none;
    border-top: 1px solid #DDDDDD;
  }

  .location-content {
    flex-direction: column;
  }

  .location-info {
    width: 100%;
  }
}

/* ========== 반응형 - 모바일 ========== */
@media (max-width: 768px) {
  .process-section,
  .pricing-section,
  .checkin-section,
  .faq-section,
  .location-section {
    padding: 40px 20px;
  }

  .process-section__title,
  .pricing-section__title,
  .checkin-section__title,
  .faq-section__title {
    font-size: 28px;
  }

  .location-section__title {
    font-size: 28px;
  }

  .process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px 6px;
    justify-items: center;
    align-items: center;
  }

  /* 3번째 화살표 숨김 (계약/입금과 입실 준비 사이) */
  .process-steps > *:nth-child(6) {
    display: none;
  }

  /* 두 번째 줄 배치 */
  .process-steps > *:nth-child(7) {
    grid-row: 2;
    grid-column: 1;
  }

  .process-steps > *:nth-child(8) {
    grid-row: 2;
    grid-column: 2;
  }

  .process-steps > *:nth-child(9) {
    grid-row: 2;
    grid-column: 3;
  }

  .process-step__circle {
    width: 56px;
    height: 56px;
  }

  .process-step__icon {
    width: 20px;
    height: 20px;
  }

  .process-step__label {
    font-size: 11px;
  }

  .process-step__arrow {
    font-size: 16px;
  }

  .pricing-table__header span:nth-child(2) {
    width: 70px;
  }

  .pricing-table__header span:last-child {
    width: 90px;
    padding-right: 8px;
    font-size: 10px;
  }

  .pricing-table__row span:last-child {
    width: 70px;
  }

  .pricing-table__service {
    width: 90px;
    font-size: 10px;
    padding: 0 6px;
    line-height: 1.3;
  }

  .discount-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .discount-item__icon {
    align-self: flex-end;
  }

  .event-card {
    flex: none;
    width: 100%;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item__question {
    font-size: 16px;
  }

  .faq-item__answer {
    font-size: 14px;
  }

  .checkin-card__title {
    font-size: 20px;
  }

  .checkin-card__number {
    font-size: 36px;
  }
}
