/* ═══════════════════════════════════════════════════════════
   components.css — 바이탈바이브 SG
   ═══════════════════════════════════════════════════════════ */

/* ─── 예약 채널 배지 ─────────────────────────────────────── */
.booking-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--body);
  transition: border-color .2s, color .2s;
}
.booking-badge:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ─── 영업시간 테이블 ────────────────────────────────────── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.hours-table td {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.hours-table td:first-child {
  font-weight: 500;
  color: var(--body);
  width: 40%;
}
.hours-table tr:last-child td { border-bottom: none; }

/* ─── 전화번호 박스 ──────────────────────────────────────── */
.phone-box {
  padding: 2rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-sage);
  border-radius: var(--radius);
  text-align: center;
}
.phone-box__label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: .75rem;
}
.phone-box__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  line-height: 1.2;
}
.phone-box__num a { display: block; transition: color .2s; }
.phone-box__num a:hover { color: var(--primary); }
.phone-box__sub {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .5rem;
}

/* ─── 인스타그램 스트립 ──────────────────────────────────── */
.instagram-strip {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .instagram-strip { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .85rem;
  color: var(--body);
  background: var(--white);
  transition: border-color .2s, color .2s;
}
.instagram-link:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ─── 태그 칩 ────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  border: 1px solid var(--border-sage);
  background: var(--primary-pale);
  color: var(--primary-dark);
}

/* ─── 알림 박스 ──────────────────────────────────────────── */
.notice-box {
  padding: 1.25rem 1.5rem;
  background: var(--accent-pale);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .875rem;
  color: var(--body);
  word-break: keep-all;
  line-height: 1.7;
}

/* ─── Stats Bar (서브페이지) ─────────────────────────────── */
.stats-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2rem var(--px);
}
.stats-bar__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-bar__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-item__label {
  font-size: .78rem;
  color: rgba(255,255,255,.68);
  word-break: keep-all;
  text-align: center;
}

/* ─── 공유 버튼 ──────────────────────────────────────────── */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--muted);
  background: var(--white);
  transition: border-color .2s, color .2s;
}
.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ─── 섹션 구분선 ────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--border);
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── 로딩 스피너 ────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── AJAX 폼 피드백 ─────────────────────────────────────── */
.form-success {
  padding: 1.25rem 1.5rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-sage);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-size: .9rem;
  display: none;
}
.form-success.is-visible { display: block; }

/* ─── 하이라이트 리스트 ──────────────────────────────────── */
.highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin: 1.5rem 0 2rem;
}
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--body);
}
.highlight-list li::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--primary);
  margin-top: .75em;
  flex-shrink: 0;
}

/* ─── Feature Card 넘버 ──────────────────────────────────── */
.fc-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: .22;
  line-height: 1;
  display: block;
  margin-bottom: .75rem;
  transition: opacity .3s;
}
.feature-card:hover .fc-num { opacity: .5; }

/* ─── Facility Item (이모지 없는 버전) ───────────────────── */
.facility-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  text-align: center;
  transition: border-color .2s, color .2s;
}
.facility-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.facility-item:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ─── About 페이지 ───────────────────────────────────────── */
.about-intro {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-intro { grid-template-columns: 1fr 1fr; }
}
.about-intro__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-sage);
  border-radius: var(--radius);
}
.award-badge__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--primary-dark);
  white-space: nowrap;
}
.award-badge strong { display: block; font-size: .88rem; color: var(--body); }
.award-badge span { font-size: .78rem; color: var(--muted); }

.about-spaces {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .about-spaces { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .about-spaces { grid-template-columns: repeat(5, 1fr); }
}
.space-card {
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
@media (hover: hover) and (pointer: fine) {
  .space-card:hover { border-color: var(--primary); }
}
.space-card__floor {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--primary);
  opacity: .35;
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.space-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.space-card__area { font-size: .78rem; color: var(--primary-dark); margin-bottom: .25rem; }
.space-card__cap  { font-size: .8rem; font-weight: 500; color: var(--body); margin-bottom: .5rem; }
.space-card__desc { font-size: .78rem; color: var(--muted); }

.about-services-wrap {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .about-services-wrap { grid-template-columns: 1fr 1fr; }
}
.about-services-lead { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.about-services {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 2rem;
}
.about-services li {
  font-size: .9rem;
  padding-left: 1rem;
  position: relative;
  color: var(--body);
}
.about-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.access-grid {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
.access-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  align-items: start;
}
.access-item__key { font-weight: 500; color: var(--primary-dark); }
.access-item__val { color: var(--body); }

.biz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin-top: 1.25rem;
}
.biz-table th, .biz-table td {
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.biz-table th { color: var(--muted); font-weight: 400; width: 9rem; }
.biz-table tr:last-child th,
.biz-table tr:last-child td { border-bottom: none; }

/* ─── 대관 안내 목록 카테고리 그룹 ──────────────────────── */
.pages-category {
  margin-bottom: 3.5rem;
}
.pages-category:last-child { margin-bottom: 0; }
.pages-category > .label {
  display: block;
  margin-bottom: 1.25rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

/* ─── HowTo 예약 단계 ────────────────────────────────────── */
.howto-steps {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .howto-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .howto-steps { grid-template-columns: repeat(4, 1fr); } }
.howto-step {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.howto-step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--primary);
  opacity: .3;
  line-height: 1;
}
.howto-step__title { font-size: .95rem; font-weight: 600; color: var(--body); display: block; margin-bottom: .35rem; }
.howto-step__text { font-size: .85rem; color: var(--muted); line-height: 1.6; }
