/* ===== 센터 단일 페이지 전용 스타일 ===== */
.wrap--narrow { width: min(100% - 40px, 780px); margin-inline: auto; }

/* 히어로 */
.chero {
  margin-top: 120px; padding: clamp(56px, 9vw, 104px) 20px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #1e2a4d 0%, #141a33 60%, #0e1226 100%);
}
.chero::after {
  content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(46,123,240,.28), transparent 70%);
}
.chero__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.chero__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--azure); margin-bottom: 16px; }
.chero__title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; line-height: 1.28; letter-spacing: -0.5px; }
.chero__title .accent { color: var(--azure); }
/* 히어로 문구: 한 글자씩 점점 나타나는 효과 */
.chero__title .ch { display: inline-block; white-space: pre; opacity: 0; transform: translateY(0.28em); animation: cheroChIn .5s var(--ease) forwards; }
@keyframes cheroChIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chero__title .ch { opacity: 1; transform: none; animation: none; } }

/* 섹션 제목 타이핑 효과 커서 */
.type-caret { display: inline-block; width: 2px; height: 0.95em; background: var(--blue); margin-left: 3px; vertical-align: -0.1em; animation: caretBlink .8s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.type-head[data-typing] { min-height: 1.2em; }
.chero__sub { margin-top: 16px; font-size: clamp(1rem, 2.4vw, 1.15rem); color: #aeb6d6; }
.chero__cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.chero .btn--outline { color: #fff; border-color: rgba(255,255,255,.5); }
.chero .btn--outline:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }

/* 실사진 배경 히어로 (문화전당점) */
.chero--photo {
  padding: 0; text-align: left;
  min-height: clamp(480px, 84vh, 760px);
  display: flex; align-items: flex-end;
  background: #0e1226; /* 이미지 로드 전/실패 시 대체 */
}
.chero--photo::after { display: none; }
.chero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.chero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transform: scale(1.02); transform-origin: center;
  animation: cheroZoom 22s ease-in-out infinite alternate;
}
@keyframes cheroZoom { from { transform: scale(1.02); } to { transform: scale(1.16); } }
@media (prefers-reduced-motion: reduce) { .chero__bg img { animation: none; } }
.chero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,11,26,.30) 0%, rgba(8,11,26,.12) 42%, rgba(8,11,26,.78) 100%);
}
.chero--photo .chero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1120px; margin-inline: auto; text-align: left;
  padding: 0 clamp(20px, 5vw, 48px) clamp(48px, 8vh, 88px);
}
.chero--photo .chero__eyebrow { color: #dbe4ff; margin-bottom: 14px; }
.chero--photo .chero__title { font-size: clamp(1.9rem, 5.6vw, 3.4rem); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.chero--photo .chero__title, .chero--photo .chero__title .accent { color: #fff; } /* 실사진 히어로 문구는 전부 흰색 */
.chero--photo .chero__cta { margin-top: 28px; justify-content: flex-start; }
.chero--photo .btn--lg { padding: 16px 44px; font-size: 1.05rem; }

/* 센터 소개 */
.cintro { max-width: 820px; margin-inline: auto; }
.cintro p { font-size: 1.06rem; line-height: 1.9; color: var(--ink-soft); margin-bottom: 16px; }
.cintro strong { color: var(--ink); }
.cintro__quote {
  margin-top: 34px; padding: 30px 28px; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, #1e2a4d, #141a33); color: #fff;
  font-size: clamp(1.05rem, 2.6vw, 1.28rem); font-weight: 700; line-height: 1.6;
}
.cintro__quote span { display: block; margin-top: 16px; font-size: .96rem; font-weight: 500; color: #b9c1de; line-height: 1.7; }

/* 센터소개 2단 (텍스트 왼쪽 · 사진 오른쪽) */
.about2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about2__text { text-align: left; }
.about2__text .eyebrow { text-align: left; }
.about2__text h2 { text-align: left; font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.3; }
.about2__text .cintro { max-width: none; margin: 22px 0 0; }
.about2__text .cintro p { margin-bottom: 14px; }
.about2__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
}
.about2__media::after { content: attr(data-label); color: var(--ink-soft); font-weight: 600; }
.about2__media img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.about2 + .cintro__quote { margin-top: clamp(32px, 5vw, 48px); }
@media (max-width: 860px) {
  .about2 { grid-template-columns: 1fr; gap: 24px; }
  .about2__media { aspect-ratio: 16 / 10; }
}

/* 운동현장 · 후기: 한 칸씩 스냅 이동 */
.carousel--field .carousel__track { scroll-snap-type: x mandatory; }
.carousel--field.is-step .carousel__nav { display: grid; }

/* 운동현장 · 후기 슬라이드 (사진 준비중 플레이스홀더) */
.carousel--field .gslide { flex: 0 0 clamp(240px, 62vw, 320px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gslide--ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--sand-100), var(--sand-200)); }
.gslide--ph::after { content: attr(data-label); color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.gslide--ph2 { aspect-ratio: 3 / 4; }
.gslide--photo { aspect-ratio: 3 / 4; background: #0e1226; }
.gslide--photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gslide--photo:hover img { transform: scale(1.05); }

/* 회원 후기: 핸드폰 목업 */
.carousel--reviews .carousel__track { align-items: flex-start; }
.pshot { flex: 0 0 clamp(220px, 58vw, 272px); scroll-snap-align: start; }
.pshot__frame {
  border-radius: 38px; padding: 7px; background: #10152b;
  box-shadow: 0 18px 40px -18px rgba(20,26,51,.55), 0 0 0 2px rgba(255,255,255,.06) inset;
}
.pshot__frame img { display: block; width: 100%; border-radius: 32px; }

/* 강사 소개 */
.teachers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; padding-bottom: 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.teacher-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow); }
.teacher-card__photo { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; background: linear-gradient(135deg, var(--sand-100), var(--sand-200)); margin-bottom: 14px; }
.teacher-card__photo::after { content: attr(data-label); color: var(--ink-soft); font-size: .82rem; font-weight: 600; }
.teacher-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teacher-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.teacher-card p { font-size: .9rem; color: var(--blue); font-weight: 700; margin-top: 4px; }
.teachers__grid.is-one { grid-template-columns: minmax(240px, 320px); justify-content: center; }

/* 강사 소개 — 상세 (사진 왼쪽 · 경력 오른쪽) */
.teachers__list { display: grid; gap: 20px; max-width: 900px; margin-inline: auto; }
.teacher-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.teacher-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.teacher-row__photo {
  position: relative; width: 220px; aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
}
.teacher-row__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.teacher-row__photo::after { content: attr(data-label); color: var(--ink-soft); font-size: .82rem; font-weight: 600; }
.teacher-row__info { padding: 24px 26px 26px 0; }
.teacher-row__info h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.teacher-row__info h3 span { font-size: .92rem; font-weight: 700; color: var(--blue); margin-left: 6px; }
.teacher-row__spec {
  display: inline-block; margin: 10px 0 16px; padding: 5px 14px; border-radius: 999px;
  background: var(--sand-100); color: var(--blue-deep); font-size: .86rem; font-weight: 700;
}
.teacher-row__cred { list-style: none; display: grid; gap: 8px; }
.teacher-row__cred.is-2col { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 6), auto); grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 680px) { .teacher-row__cred.is-2col { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; } }
.teacher-row__cred li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.teacher-row__cred li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--blue);
}
@media (max-width: 680px) {
  .teacher-row { grid-template-columns: 1fr; gap: 0; }
  .teacher-row__photo { width: 100%; aspect-ratio: 4 / 5; max-height: 420px; }
  .teacher-row__info { padding: 22px 22px 24px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 1.02rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; font-weight: 700; line-height: 1; transition: transform .25s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--ink-soft); font-size: .98rem; line-height: 1.75; }
.faq__a strong { color: var(--ink); }

@media (max-width: 760px) {
  .chero { margin-top: 66px; }
  .teachers__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
