/* =========================================================
   시너지피트니스 공통 디자인
   색을 바꾸고 싶으면 아래 :root 의 값만 고치면 전체에 적용돼요.
   ========================================================= */
:root {
  --eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-5 0-9 4.5-9 7s4 7 9 7 9-4.5 9-7-4-7-9-7zm0 10.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E");

  --bg: #ffffff;                       /* 흰 바탕 */
  --soft: #f4f4f2;                     /* 연한 회색 */
  --ph: #e9e9e7;                       /* 사진 자리 (흰 구역) */
  --line: #e6e6e4;                     /* 얇은 선 (흰 구역) */
  --text: #0d0d0d;                     /* 글씨 */
  --muted: #6b6b6b;                    /* 보조 글씨 */
  --dark: #0d0d0d;                     /* 검정 구역 */
  --dark-ph: #1e1e1e;                  /* 사진 자리 (검정 구역) */
  --on-dark-muted: rgba(255, 255, 255, 0.6);
  --dark-line: rgba(255, 255, 255, 0.14);
  --red: #fc0000;                      /* 로고 빨강 (검정 바탕 포인트) */
  --red-text: #d80000;                 /* 흰 바탕 작은 글씨용 빨강 (읽기 쉽게 살짝 진하게) */
  --naver: #03c75a;                    /* 네이버 초록 */
  --radius: 18px;
  --header: 68px;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- 상단 메뉴 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.header.is-scrolled, .header.nav-open { border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }

/* 로고: 심볼(images/logo-mark.png) + 글자 */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: auto; height: 26px; }
.logo-text { font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.logo-text b { font-weight: 400; margin-left: 5px; }

.nav { display: flex; gap: 36px; margin-left: auto; }
@media (min-width: 1240px) { .nav { gap: 18px; } .header-inner { gap: 22px; } }
.nav a { position: relative; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
@media (min-width: 1240px) {
  .nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 50%; bottom: -8px;
    width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red);
  }
}

.menu-btn { display: none; position: relative; width: 40px; height: 40px; margin-left: auto; margin-right: -8px; }
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform 0.25s;
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.nav-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1239px) {
  .menu-btn { display: block; }
  .header .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px 20px 24px;
    background: #fff; border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; font-size: 22px; font-weight: 700; color: var(--text); }
  .nav a[aria-current="page"] { color: var(--muted); }
}

main { padding-top: var(--header); }

/* ---------- 글씨 ---------- */
.eyebrow {
  display: block; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-text);
}
.dark .eyebrow { color: var(--red); }
/* 큰 영문 제목 끝의 마침표를 빨강으로 */
.dot { color: var(--red-text); }
.dark .dot { color: var(--red); }
.display {
  font-size: clamp(48px, 10.5vw, 150px); font-weight: 900; line-height: 0.95;
  letter-spacing: -0.05em; text-transform: uppercase;
}
.display-md {
  font-size: clamp(40px, 7vw, 96px); font-weight: 900; line-height: 0.98;
  letter-spacing: -0.045em; text-transform: uppercase;
}
.h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.lead { margin-top: 20px; max-width: 540px; font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); }
.muted { color: var(--muted); }

.section { padding-block: clamp(80px, 11vw, 150px); }
.pb-section { padding-bottom: clamp(80px, 11vw, 150px); }
.head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px);
}
.head-row .lead { margin-top: 0; max-width: 400px; }
/* 홈: 지점 구역 제목 */
.branches-head { margin-bottom: clamp(36px, 5vw, 64px); }
.branch-names { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.branch-names i { margin: 0 0.3em; font-style: normal; color: var(--red-text); }
.branches-head .lead { margin-top: 10px; }

/* ---------- 검정 구역 ---------- */
.dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.dark .lead, .dark .muted { color: var(--on-dark-muted); }
.dark .photo { background-color: var(--dark-ph); }
.dark .photo::after { color: #5f5f5f; }
.dark > .container { position: relative; z-index: 1; }

/* 천천히 도는 원 장식 */
.rings { position: absolute; inset: 0; pointer-events: none; }
.ring {
  position: absolute; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%;
  animation: spin 36s linear infinite;
}
.ring::after {
  content: ""; position: absolute; top: 50%; left: -4px;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red);
}
.r1 { width: 440px; height: 440px; right: -120px; top: 40px; }
.r2 { width: 220px; height: 220px; right: 240px; top: 10px; animation-duration: 22s; animation-direction: reverse; }
.r3 { width: 300px; height: 300px; right: 20px; top: 380px; animation-duration: 28s; }
.r4 { width: 520px; height: 520px; left: -180px; bottom: -220px; animation-duration: 40s; }
.r5 { width: 260px; height: 260px; right: -60px; top: -60px; animation-duration: 24s; animation-direction: reverse; }
@media (max-width: 767px) {
  .r1 { width: 280px; height: 280px; right: -140px; }
  .r2, .r3 { display: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #dcdcdc; }
/* 지점 인스타그램 바로가기 (오른쪽에 떠 있는 버튼) */
.ig-rail { position: fixed; right: 16px; bottom: 24px; z-index: 41; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ig-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.ig-branch {
  position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; overflow: visible;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92), 0 6px 18px rgba(0, 0, 0, 0.22); transition: transform 0.25s var(--ease);
}
.ig-branch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ig-branch:hover { transform: scale(1.08); }
.ig-badge {
  position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--dark); color: #fff; border: 2px solid #fff;
}
.ig-badge svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ig-badge .ig-dot { fill: currentColor; stroke: none; }
.ig-name {
  position: absolute; right: 58px; top: 50%; transform: translateY(-50%) translateX(6px);
  padding: 6px 12px; border-radius: 999px; background: var(--dark); color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.ig-branch:hover .ig-name, .ig-branch:focus-visible .ig-name { opacity: 1; transform: translateY(-50%); }
.ig-toggle { display: none; width: 52px; height: 52px; border-radius: 50%; background: var(--dark); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); place-items: center; }
.ig-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.ig-toggle .ig-dot { fill: currentColor; stroke: none; }

@media (max-width: 1239px) {
  .ig-rail { bottom: 152px; }
  body:not(.has-float) .ig-rail { bottom: 88px; }
  .ig-toggle { display: grid; }
  .ig-list { display: none; }
  .ig-rail.is-open .ig-list { display: flex; animation: igOpen 0.3s var(--ease) both; }
  .ig-name { display: none; }
}
@keyframes igOpen { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 카카오톡 문의 버튼 */
.btn-kakao { background: #fee500; color: #191600; }
.btn-kakao:hover { background: #f5da00; }
.kakao-icon { width: 18px; height: 18px; fill: currentColor; }
.btn.kakao-btn.is-pending { background: var(--soft); color: var(--muted); cursor: default; }
.float-kakao {
  display: none; position: fixed; right: 16px; bottom: 84px; z-index: 41;
  width: 56px; height: 56px; border-radius: 50%; place-items: center;
  background: #fee500; color: #191600; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.float-kakao .kakao-icon { width: 28px; height: 28px; }
.float-kakao.is-pending { background: #e9e9e7; color: #9d9d9b; }
@media (max-width: 1239px) { .float-kakao { display: grid; } }
@media (max-width: 1239px) { body:not(.has-float) .float-kakao { bottom: 20px; } }
.btn-naver { background: var(--naver); color: #fff; }
.btn-naver:hover { background: #02b351; }
.btn-naver .n-mark {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 4px; background: #fff; color: var(--naver);
  font-size: 13px; font-weight: 900;
}
.btn.is-pending { background: #2a2a2a; color: var(--on-dark-muted); cursor: default; }
.btn.is-pending .n-mark { background: var(--on-dark-muted); color: #2a2a2a; }
.btn.is-pending:active { transform: none; }

.arrow {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 50%; font-size: 18px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.dark .arrow { border-color: var(--dark-line); }

/* ---------- 사진 자리 ----------
   images 폴더에 정해진 이름으로 사진을 넣으면 자동으로 채워져요. */
.photo {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--ph) center / cover no-repeat;
  border-radius: var(--radius);
}
.photo::after { content: attr(data-label); font-size: 14px; font-weight: 500; color: #9d9d9b; }
.photo.has-img::after { content: none; }
/* 사진의 중요한 부분이 왼쪽에 있을 때 (예: 수성점 포징 룸 엠블럼) */
.photo.focus-left { background-position: 25% center; }

/* ---------- 홈: 첫 화면 (지점 로고 카드 + SYNERGY) ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(80px, 10vw, 140px); }
.hero > .container { position: relative; z-index: 1; }

/* 배경: SYNERGY 글자 뒤 큰 로고 심볼이 1→2→3→4호점 색으로 천천히 바뀜 */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bg-logo {
  position: absolute; left: 50%; top: 60%;
  width: clamp(440px, 74vw, 1120px); aspect-ratio: 1600 / 791;
  transform: translate(-50%, -50%);
  /* 아래쪽으로 갈수록 자연스럽게 사라지게 */
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
}
.bg-logo-float { position: absolute; inset: 0; animation: bgFloat 18s ease-in-out infinite alternate; }
.bg-mark {
  position: absolute; inset: 0; opacity: 0;
  -webkit-mask: url("images/logo-mark-shape.png") center / contain no-repeat;
          mask: url("images/logo-mark-shape.png") center / contain no-repeat;
  animation: bgCycle 16s ease-in-out infinite;
}
.bg-mark.m1 { --o: 0.10; background: linear-gradient(135deg, #111 30%, #fc0000 100%); animation-delay: 0s; }   /* 1호점 검정·빨강 */
.bg-mark.m2 { --o: 0.30; background: linear-gradient(135deg, #f2f2f2 0%, #8c8c8c 50%, #d6d6d6 100%); animation-delay: 4s; }  /* 2호점 은색 */
.bg-mark.m3 { --o: 0.22; background: linear-gradient(135deg, #e0c49a 0%, #a47a48 100%); animation-delay: 8s; }  /* 3호점 베이지 */
.bg-mark.m4 { --o: 0.13; background: linear-gradient(135deg, #2f5bdc 0%, #0b1f6e 100%); animation-delay: 12s; }  /* 4호점 파랑 */
@keyframes bgCycle { 0% { opacity: 0; } 6% { opacity: var(--o); } 25% { opacity: var(--o); } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes bgFloat {
  from { transform: translateY(-12px) rotate(-1.5deg) scale(1); }
  to   { transform: translateY(12px) rotate(1.5deg) scale(1.04); }
}
@media (max-width: 767px) { .bg-logo { top: 74%; width: 118vw; } }

/* 지점 로고 카드 4개 (누르면 그 지점으로) */
.logo-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 22px);
  max-width: 860px; margin-inline: auto;
}
.logo-card {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  animation: pop 1s var(--ease) backwards; animation-delay: calc(var(--d) * 120ms + 100ms);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.logo-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2); }
.logo-card img { width: 100%; height: auto; aspect-ratio: 600 / 690; object-fit: cover; }
.logo-card-label {
  position: absolute; left: 0; right: 0; bottom: 6%;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: clamp(12px, 1.3vw, 15px); font-weight: 700; letter-spacing: -0.01em; color: #fff;
}
.logo-card-label::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: 0.6; }
.logo-card.is-light .logo-card-label { color: #1a1a1a; }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(0.94); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .logo-cards { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
  .logo-card-label { bottom: 4%; font-size: 12px; }
  .logo-card-label::before { display: none; }
}

.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(28px, 3.6vw, 48px); }
.hero-kicker { font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; }
.wordmark {
  margin-top: 6px;
  font-size: clamp(64px, 12.5vw, 196px); font-weight: 900; line-height: 0.9; letter-spacing: -0.055em;
}
.hero-tag { margin-top: clamp(16px, 2vw, 24px); font-size: clamp(11px, 1.1vw, 13px); font-weight: 600; letter-spacing: 0.34em; }
.hero-rule { width: 40px; height: 1px; margin: 18px 0 14px; background: var(--text); opacity: 0.35; }
.hero-text .btn { margin-top: 26px; }

/* ---------- 흘러가는 글자 띠 ---------- */
.marquee { overflow: hidden; background: var(--dark); color: #fff; padding-block: clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--dark-line); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  padding-right: 0.5em; white-space: nowrap;
  font-size: clamp(36px, 6.5vw, 92px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; text-transform: uppercase;
}
.marquee .outline { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.marquee .star { font-size: 0.5em; vertical-align: middle; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 큰 영문 줄 목록 (검정 구역) ---------- */
.big-list { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--dark-line); }
.big-row {
  display: grid; gap: 10px; align-items: center;
  padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--dark-line);
}
@media (min-width: 900px) { .big-row { grid-template-columns: 1.4fr 1fr auto; gap: 40px; } }
.big-word {
  display: block; font-size: clamp(42px, 7.5vw, 112px); font-weight: 900; line-height: 1;
  letter-spacing: -0.05em; text-transform: uppercase;
  transition: transform 0.6s var(--ease);
}
.big-desc { color: var(--on-dark-muted); font-size: 15px; }
.big-desc strong { display: block; margin-bottom: 4px; font-size: 19px; font-weight: 700; color: #fff; }
a.big-row:hover .big-word { transform: translateX(18px); }
a.big-row:hover .arrow { background: #fff; color: var(--dark); border-color: #fff; }
@media (max-width: 899px) { .big-row .arrow { display: none; } }

/* ---------- 홈: 지점 카드 ---------- */
.branch-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.branch-cards::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .branch-cards { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow: visible; } }
.branch-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; scroll-snap-align: start; }
.branch-card .photo { aspect-ratio: 3 / 4; border-radius: 0; transition: transform 0.9s var(--ease); }
.branch-card:hover .photo { transform: scale(1.06); }
.branch-card::before, .slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 55%);
}
.branch-card-text { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
/* 홈 지점 카드 오른쪽 위 작은 로고 */
.card-logo {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: clamp(44px, 4.4vw, 56px); height: auto; aspect-ratio: 1 / 1; border-radius: 12px; object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.branch-card-text span { font-size: 13px; font-weight: 700; opacity: 0.8; }
.branch-card-text strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.branch-card-text em { font-size: 13px; font-style: normal; opacity: 0.8; }

/* ---------- 서브 페이지 제목 ---------- */
.page-head { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 88px); }

/* ---------- 회사소개 ---------- */
.frame { overflow: hidden; border-radius: 24px; }
.frame .photo { aspect-ratio: 16 / 9; border-radius: 0; }
.frame img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .frame .photo { aspect-ratio: 4 / 3; }
  .frame-banner { border-radius: 14px; }
}
.about-text { display: grid; gap: 24px; margin-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 11vw, 150px); }
@media (min-width: 900px) { .about-text { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: end; } }
.about-kicker { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.about-text .about-kicker + .h2 { margin: 0; }
.about-text p:not(.about-kicker) { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.85; color: var(--muted); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-tags li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }

/* ---------- 지점찾기: 지점 버튼 + 사진 슬라이드 ---------- */
.branch-section { padding-block: clamp(56px, 8vw, 110px); scroll-margin-top: var(--header); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: clamp(40px, 6vw, 72px); scroll-margin-top: calc(var(--header) + 24px); }
.tabs::-webkit-scrollbar { display: none; }
.tabs::after { content: ""; flex: 0 0 12px; }  /* 마지막 지점 버튼 뒤 여유 공간 */
.tab {
  flex-shrink: 0; height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--dark-line); color: var(--on-dark-muted); font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.tab[aria-selected="true"] { background: #fff; color: var(--dark); border-color: #fff; }

.panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.panel-no { font-size: 14px; font-weight: 700; color: var(--on-dark-muted); }
/* 지점 로고 (지점 이름 왼쪽) */
.panel-id { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.branch-logo {
  flex-shrink: 0; width: clamp(84px, 9vw, 120px); height: auto; aspect-ratio: 1 / 1;
  border-radius: 16px; object-fit: cover; box-shadow: 0 0 0 1px var(--dark-line);
}
@media (max-width: 767px) {
  .panel-id { flex-direction: column; align-items: flex-start; gap: 14px; }
  .branch-logo { width: 72px; border-radius: 12px; }
}
.panel-name { font-size: clamp(44px, 6.5vw, 88px); font-weight: 900; line-height: 1.05; letter-spacing: -0.05em; }
.panel-addr { margin-top: 8px; color: var(--on-dark-muted); }
.panel-head .btn-naver { min-width: 230px; }
@media (max-width: 767px) { .panel-head .btn-naver { width: 100%; } }
.panel.is-entering { animation: panelIn 0.8s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.slides {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 88%; overflow: hidden;
  border-radius: var(--radius); scroll-snap-align: start;
  transition: opacity 0.6s var(--ease);
}
@media (min-width: 900px) { .slide { flex-basis: 64%; } }
.slide:not(.is-active) { opacity: 0.4; }
.slide .photo { aspect-ratio: 4 / 5; border-radius: 0; transform: scale(1.06); transition: transform 1.2s var(--ease); }
@media (min-width: 768px) { .slide .photo { aspect-ratio: 16 / 9; } }
.slide.is-active .photo { transform: none; }
.slide figcaption {
  position: absolute; left: 24px; bottom: 22px; z-index: 2;
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25;
}
.slide figcaption span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.slider-ui { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.slider-count { font-size: 14px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.slider-count b { color: #fff; }
.slider-bar { position: relative; flex: 1; height: 2px; overflow: hidden; background: var(--dark-line); }
.slider-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 16.66%; background: var(--red); transition: width 0.6s var(--ease); }
.slider-btns { display: flex; gap: 8px; }
.slider-btns button {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--dark-line); color: #fff; font-size: 18px;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.slider-btns button:hover:not(:disabled) { background: #fff; color: var(--dark); }
.slider-btns button:disabled { opacity: 0.3; cursor: default; }

/* 금·토·일 교차 이용 안내 */
.cross-use {
  display: flex; align-items: center; gap: 20px; margin-bottom: 28px; padding: 20px 24px;
  border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04);
}
.cross-days { display: flex; gap: 6px; flex-shrink: 0; }
.cross-days b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-size: 16px; font-weight: 800; }
.cross-title { font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; letter-spacing: -0.02em; }
.cross-text { margin-top: 4px; font-size: 14px; color: var(--on-dark-muted); }
.cross-text strong { color: #fff; }
@media (max-width: 600px) { .cross-use { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; } }
.cross-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; }
.cross-note span { flex-shrink: 0; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--red-text); color: #fff; font-weight: 800; }
@media (max-width: 600px) { .cross-note { border-radius: 16px; font-size: 13px; } }

/* 지점별 오시는 길 */
.location { display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--dark-line); }
@media (min-width: 900px) { .location { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; } }
.loc-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.loc-title { margin-top: 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.loc-list { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.loc-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }
.loc-list strong { color: #fff; }
.loc-list small { font-size: 13px; }
.loc-icon { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.loc-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.loc-btn { margin-top: 24px; }
.loc-btn .n-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: var(--naver); color: #fff; font-size: 11px; font-weight: 900; }
.loc-map { overflow: hidden; border-radius: var(--radius); background: #fff; }
.loc-map img { width: 100%; height: auto; }

/* ---------- VIP PT ---------- */
.reel-grid { display: grid; gap: 16px; max-width: 380px; margin-inline: auto; }
@media (min-width: 900px) { .reel-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 24px; } }
.reel-grid > .photo { aspect-ratio: 9 / 16; }
.reel-grid > .photo::before {
  content: ""; position: absolute; width: 68px; height: 68px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230d0d0d'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  transition: transform 0.4s var(--ease);
}
.reel-grid > .photo:hover::before { transform: scale(1.12); }
.reel-grid > .photo::after { position: absolute; bottom: 20px; }
.reel .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }

.review-grid { display: grid; gap: 44px; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.before-after .photo { aspect-ratio: 3 / 4; border-radius: 14px; }
.tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: var(--text); font-size: 12px; font-weight: 700;
}
.review blockquote { margin-top: 18px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.review cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--muted); }

/* ---------- VIP PT: 시너지 트레이닝 ---------- */
.training { padding-bottom: clamp(24px, 4vw, 56px); }
.training-block { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.tb-head { margin-bottom: clamp(28px, 4vw, 48px); }
.tb-no { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; color: var(--red-text); }
.tb-title { margin-top: 6px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.25; letter-spacing: -0.03em; }
.tb-sub { margin-top: 8px; color: var(--muted); }

/* 01 OTP 계단: 단계가 올라갈수록 진해지고 5단계만 빨강 */
.otp-stairs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; height: clamp(300px, 34vw, 420px); }
.otp-step {
  display: flex; flex-direction: column; gap: 4px; height: calc(24% + (var(--s) - 1) * 19%);
  padding: 18px 16px; border-radius: 14px 14px 4px 4px; background: #f1f1ef;
}
.otp-level { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; opacity: 0.6; }
.otp-step strong { margin-top: auto; font-size: 13px; font-weight: 800; opacity: 0.7; }
.otp-name { font-size: clamp(16px, 1.7vw, 21px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.otp-step.s2 { background: #e3e3e0; }
.otp-step.s3 { background: #c9c9c5; }
.otp-step.s4 { background: #2a2a2a; color: #fff; }
.otp-step.s5 { background: var(--red-text); color: #fff; }
.js .otp-step.reveal { transform: translateY(48px); transition-delay: calc(var(--s) * 90ms); }
@media (max-width: 767px) {
  .otp-stairs { display: flex; flex-direction: column-reverse; align-items: flex-start; height: auto; gap: 6px; }
  .otp-step { width: calc(40% + var(--s) * 12%); height: auto; padding: 14px 16px; border-radius: 12px; }
  .otp-step strong { margin-top: 6px; }
}

/* 02 교정 운동 카드 */
.correct-cards { list-style: none; display: grid; gap: 12px; }
@media (min-width: 900px) { .correct-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.correct-card {
  display: flex; align-items: center; gap: 18px; padding: 22px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.correct-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); }
.cc-icon { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: var(--dark); color: #fff; }
.cc-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cc-no { font-size: 22px; font-weight: 900; line-height: 1; color: var(--red-text); }
.cc-text { margin-top: 6px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

/* 03 기능성 트레이닝 육각형 */
.hex-wrap { position: relative; max-width: 640px; aspect-ratio: 1 / 0.92; margin-inline: auto; }
.hex {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 1 / 0.866;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: translate(-50%, -50%);
}
.hex.h1 { width: 60%; background: #f3f3f1; }
.hex.h2 { width: 44%; background: #e4e4e1; }
.hex.h3 {
  display: grid; place-items: center; width: 29%; background: var(--dark); color: #fff; text-align: center;
  font-size: clamp(12px, 1.8vw, 19px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase;
}
.js .hex-wrap.reveal .hex { transform: translate(-50%, -50%) scale(0.6); transition: transform 1s var(--ease); }
.js .hex-wrap.reveal .hex.h2 { transition-delay: 0.08s; }
.js .hex-wrap.reveal .hex.h3 { transition-delay: 0.16s; }
.js .hex-wrap.reveal.in .hex { transform: translate(-50%, -50%); }
.hex-labels { list-style: none; }
.hex-label { position: absolute; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; }
.hex-label strong { display: block; font-size: clamp(16px, 2.3vw, 24px); font-weight: 800; letter-spacing: -0.02em; }
.hex-label span { display: block; margin-top: 2px; font-size: clamp(10px, 1vw, 12px); font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.t-l { left: 30%; top: 9%; }  .t-r { left: 70%; top: 9%; }
.m-l { left: 10%; top: 50%; } .m-r { left: 90%; top: 50%; }
.b-l { left: 30%; top: 91%; } .b-r { left: 70%; top: 91%; }
@media (max-width: 600px) {
  .hex.h1 { width: 54%; } .hex.h2 { width: 40%; } .hex.h3 { width: 27%; }
  .m-l { left: 12%; } .m-r { left: 88%; }
}

/* VIP PT 수업 영상 (세로 영상 2개) */
.pt-videos { display: grid; gap: 28px; max-width: 380px; margin-inline: auto; }
@media (min-width: 768px) { .pt-videos { grid-template-columns: 1fr 1fr; max-width: 760px; gap: 24px; } }
.pt-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: #000; }
.pt-video figcaption { margin-top: 12px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.pt-video figcaption span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-text); }
.pt-trainer { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pt-trainer img { width: 20px; height: 20px; border-radius: 5px; }

/* ---------- 시너지 MEDIA (인스타그램·페이스북 게시물) ---------- */
.media-feature { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .media-feature { grid-template-columns: minmax(0, 460px) 1fr; } }
.media-embed { width: 100%; max-width: 420px; margin-inline: auto; }
.media-embed .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 14px !important; }
.media-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.2s; }
.media-link:hover { color: var(--text); }
.dark .media-link { color: var(--on-dark-muted); }
.dark .media-link:hover { color: #fff; }
.teaser-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .teaser-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.teaser-head { display: flex; align-items: center; gap: 14px; max-width: 420px; margin: 0 auto 18px; }
.teaser-head img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.teaser-no { font-size: 13px; font-weight: 700; color: var(--red-text); }

/* ---------- 시너지 REVIEW: 대표 후기 카드 ---------- */
.review-feature { grid-column: 1 / -1; display: grid; gap: 28px; padding-bottom: clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .review-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } }
.review-feature .before-after .photo { aspect-ratio: 640 / 1100; }
.review-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.review-tags li { padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 700; }
.review-tags li:first-child { background: var(--dark); color: #fff; }
.review-headline { margin-top: 20px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; }
.review-feature blockquote { margin-top: 20px; font-size: 16px; font-weight: 400; line-height: 1.85; color: #444; }
.review-feature blockquote p + p { margin-top: 12px; }
.trainer { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.trainer-photo { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; }
.trainer-photo::after { font-size: 18px; font-weight: 800; color: #8a8a88; }
.trainer-name { font-size: 17px; font-weight: 800; }
.trainer-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 14px; color: var(--muted); }
.trainer-meta img { width: 20px; height: 20px; border-radius: 5px; }
.trainer-cred { margin-top: 5px; max-width: 46ch; font-size: 12.5px; line-height: 1.6; color: #8a8a88; word-break: keep-all; }
.trainer-link { margin-left: auto; padding-top: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.trainer-link:hover { color: var(--red-text); }
@media (max-width: 480px) { .trainer { flex-wrap: wrap; } .trainer-link { margin-left: 70px; } }

.review-case { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }
.case-badge { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.case-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.case-list li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.75; color: #444; }
.case-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--red-text); }
.case-list strong { color: var(--text); }

/* 변화 수치 (후기 카드) */
.case-stats {
  list-style: none; display: grid; gap: 1px; margin-top: 22px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
@media (min-width: 640px) { .case-stats { grid-template-columns: repeat(3, 1fr); } }
.case-stats li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; }
.stat-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.stat-value { font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.stat-value i { font-style: normal; font-size: 0.68em; font-weight: 700; }
.stat-value em { font-style: normal; margin: 0 2px; color: var(--red-text); }
.case-note { margin-top: 16px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- 이벤트 ---------- */
.event-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .event-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.event {
  display: flex; flex-direction: column; min-height: 340px;
  padding: 32px; border: 1px solid var(--line); border-radius: 24px;
  transition: transform 0.5s var(--ease);
}
.event:hover { transform: translateY(-6px); }
.badge {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px;
  background: var(--soft); font-size: 13px; font-weight: 700;
}
.event-title { margin: 28px 0 10px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; line-height: 1.28; letter-spacing: -0.035em; }
.event p { color: var(--muted); }
.event .event-period { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.event.is-featured { background: var(--dark); border-color: var(--dark); color: #fff; }
.event.is-featured .badge { background: #fff; color: var(--dark); }
.event.is-featured p { color: var(--on-dark-muted); }
.event.is-featured .event-period { color: #fff; border-color: var(--dark-line); }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- 예약 유도 (검정) ---------- */
.cta-dark { padding-block: clamp(100px, 14vw, 190px); text-align: center; }
.cta-dark .lead { margin: 24px auto 40px; }

/* ---------- 하단 ---------- */
.footer { padding-block: 48px; background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--dark-line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer .logo-text { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
/* 지점 인스타그램 버튼 (아이콘 + 지점 이름) */
.footer-links a {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px 0 11px; border: 1px solid var(--dark-line); border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-links a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.ig { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }
.ig .ig-dot { fill: currentColor; stroke: none; }
.copyright { width: 100%; font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ---------- 휴대폰: 아래에 떠 있는 예약 버튼 ---------- */
.float-cta { display: none; }
@media (max-width: 899px) {
  .float-cta {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    display: flex; align-items: center; justify-content: center;
    height: 56px; border-radius: 999px;
    background: var(--dark); color: #fff; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  }
  body.has-float .footer { padding-bottom: 104px; }
}

/* =========================================================
   움직임 효과
   ========================================================= */
/* 스크롤하면 살짝 떠오르기 */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* 큰 글자가 한 글자씩 아래에서 올라오기 */
.split .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .char { display: inline-block; }
.js .split .char { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 38ms); }
.js .split.in .char { transform: none; }

/* 사진이 넓어지면서 드러나기 */
.js .frame { clip-path: inset(8% 6% round 24px); transition: clip-path 1.5s var(--ease); }
.js .frame > * { transform: scale(1.2); transition: transform 2s var(--ease); }
.js .frame.in { clip-path: inset(0 0 round 24px); }
.js .frame.in > * { transform: none; }

/* 움직임을 줄이도록 설정한 사람에게는 효과 끄기 */
@media (prefers-reduced-motion: reduce) {
  html, .slides { scroll-behavior: auto; }
  .ring, .marquee-track, .logo-card, .bg-logo-float, .bg-mark { animation: none; }
  .bg-mark.m1 { opacity: var(--o); }  /* 움직임 줄이기: 1호점 색 로고만 멈춰서 보여줌 */
  .js .reveal, .js .split .char, .js .frame, .js .frame > * { transform: none; clip-path: none; transition: opacity 0.3s; }
  .chat-panel { animation: none; }
}

/* =========================================================
   문의하기 페이지
   ========================================================= */
.contact-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; } }

.contact-form { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.req { color: var(--red-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font: inherit; font-size: 16px; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field input::placeholder, .field textarea::placeholder { color: #a8a8a6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.08);
}

/* 자동 프로그램 방지용 함정 칸 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--soft); }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; cursor: pointer; }
.consent-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--dark); cursor: pointer; }
.consent-detail summary { font-size: 13px; color: var(--muted); cursor: pointer; }
.consent-detail ul { list-style: none; display: grid; gap: 6px; margin-top: 10px; font-size: 13px; line-height: 1.7; color: #555; }
.consent-detail b { color: var(--text); margin-right: 4px; }

.form-submit { justify-content: center; width: 100%; height: 56px; font-size: 16px; }
.form-submit:disabled { opacity: 0.55; cursor: default; }
.form-status { min-height: 20px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.form-status.is-error { color: var(--red-text); font-weight: 600; }

.form-done { display: grid; gap: 12px; justify-items: start; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; }
.form-done:focus { outline: none; }
.done-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 24px; font-weight: 700; }
.form-done h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.form-done p { color: var(--muted); line-height: 1.7; }
.form-done .btn { margin-top: 8px; }

.btn-light-line { border: 1px solid var(--line); background: #fff; color: var(--text); }
.btn-light-line:hover { background: var(--soft); }

.contact-aside { display: grid; gap: 16px; }
.aside-card { display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 24px; }
.aside-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.aside-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; }
.aside-btn { justify-content: center; width: 100%; }
.aside-list { list-style: none; display: grid; gap: 10px; }
.aside-list li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.7; color: #444; }
.aside-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-text); }

/* =========================================================
   AI 상담 챗봇
   ========================================================= */
.chat-launcher {
  position: fixed; right: 16px; bottom: 24px; z-index: 44;
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--dark); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease), background 0.2s;
}
.chat-launcher:hover { transform: translateY(-2px); background: #262626; }
.chat-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.chat-panel {
  position: fixed; right: 16px; bottom: 88px; z-index: 55;
  display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px));
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  animation: chatOpen 0.28s var(--ease);
}
.chat-panel[hidden] { display: none; }
@keyframes chatOpen { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--dark); color: #fff; }
.chat-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.chat-sub { margin-top: 2px; font-size: 12px; color: var(--on-dark-muted); }
.chat-close { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; }
.chat-close:hover { background: rgba(255, 255, 255, 0.22); }
.chat-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--soft); }
.chat-msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.chat-assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-user { align-self: flex-end; background: var(--dark); color: #fff; border-bottom-right-radius: 6px; }
.chat-typing { display: flex; gap: 5px; align-items: center; padding: 15px 16px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9b9b7; animation: chatDot 1.1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.16s; }
.chat-typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes chatDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; }
.chat-chips:empty { display: none; }
.chat-chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: #333; transition: background 0.2s, border-color 0.2s; }
.chat-chip:hover { background: var(--soft); border-color: #d3d3d1; }

.chat-input { display: flex; gap: 8px; padding: 12px 14px 4px; }
.chat-input input { flex: 1; min-width: 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; }
.chat-input input:focus { outline: none; border-color: var(--dark); }
.chat-input button { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: #fff; }
.chat-input button:hover { background: #333; }
.chat-input button:disabled { opacity: 0.45; cursor: default; }
.chat-input button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-note { padding: 6px 18px 14px; font-size: 11px; line-height: 1.5; color: #9a9a98; }

/* 떠 있는 버튼들이 겹치지 않게 자리 정리 */
.ig-rail { bottom: 92px; }
@media (max-width: 1239px) {
  .chat-launcher { right: 16px; bottom: 84px; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-launcher-text { display: none; }
  .chat-ico { width: 26px; height: 26px; }
  .float-kakao { right: 84px; }
  .ig-rail { bottom: 152px; }
  body:not(.has-float) .chat-launcher { bottom: 20px; }
  body:not(.has-float) .ig-rail { bottom: 88px; }
}
@media (max-width: 560px) {
  .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  body.chat-open { overflow: hidden; }
  body.chat-open .float-cta, body.chat-open .chat-launcher, body.chat-open .float-kakao, body.chat-open .ig-rail { display: none; }
}

/* =========================================================
   이용안내 페이지
   ========================================================= */
.guide-highlights { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .guide-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guide-highlights { grid-template-columns: repeat(4, 1fr); } }
.guide-highlights li { display: grid; gap: 8px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 20px; }
.guide-highlights b { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.035em; }
.guide-highlights span { font-size: 14px; line-height: 1.65; color: var(--muted); }

.guide-section { margin-top: clamp(56px, 7vw, 96px); }
.guide-h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.035em; }
.guide-body { margin-top: 20px; }
.guide-lead { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.7; }
.guide-body > p + p { margin-top: 10px; color: #444; line-height: 1.8; }
.guide-small { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.guide-small a { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.guide-note { display: grid; gap: 10px; margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: var(--soft); }
.note-badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.guide-note p:last-child { font-size: 15px; line-height: 1.75; color: #444; }

.guide-table { width: 100%; border-collapse: collapse; }
.guide-table tr { border-top: 1px solid var(--line); }
.guide-table tr:last-child { border-bottom: 1px solid var(--line); }
.guide-table th, .guide-table td { padding: 18px 4px; text-align: left; vertical-align: top; }
.guide-table th { width: 32%; font-size: 15px; font-weight: 700; }
.guide-table td { font-size: 16px; line-height: 1.6; color: #333; }
.guide-table .price { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.guide-table .td-sub { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.65; color: var(--muted); word-break: keep-all; }
@media (max-width: 560px) {
  .guide-table th, .guide-table td { display: block; width: auto; padding: 0; }
  .guide-table th { padding-top: 18px; font-size: 13px; color: var(--muted); }
  .guide-table td { padding: 6px 0 18px; }
}

.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; font-size: clamp(16px, 1.7vw, 18px); font-weight: 700;
  cursor: pointer; list-style: none; word-break: keep-all;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq-item summary:hover { color: var(--red-text); }
.faq-answer { padding: 0 4px 22px; }
.faq-answer p { font-size: 15.5px; line-height: 1.85; color: #444; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer b { color: var(--text); }
.faq-link { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* 네이버 예약 혜택 강조 박스 (이용안내) */
.guide-offer {
  display: grid; gap: 10px; margin-top: 28px; padding: clamp(24px, 3vw, 32px);
  border-radius: 20px; background: var(--dark); color: #fff;
}
.offer-badge {
  justify-self: start; padding: 5px 12px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
}
.offer-title { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -0.035em; }
.offer-title b { color: var(--red); }
.offer-desc { font-size: 15.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.82); word-break: keep-all; }
.offer-desc b { color: #fff; }
.offer-note { font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }
.offer-btn { justify-self: start; margin-top: 8px; background: #fff; color: var(--dark); }
.offer-btn:hover { background: #dcdcdc; }

/* 지점 한정 혜택 (3호점 모티피지오) */
.offer-extra {
  display: grid; gap: 7px; margin-top: 16px; padding: 16px 18px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.extra-tag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--red); }
.extra-title { font-size: clamp(16px, 1.8vw, 19px); font-weight: 800; letter-spacing: -0.03em; color: #fff; word-break: keep-all; }
.extra-text { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.82); word-break: keep-all; }
.extra-note { margin-top: 2px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); word-break: keep-all; }
.extra-text b { color: #fff; }

.panel-perk {
  display: inline-block; margin-top: 14px; padding: 10px 16px;
  border-radius: 999px; background: var(--soft);
  font-size: 14px; line-height: 1.6; color: #444; word-break: keep-all;
}
.panel-perk b { color: var(--text); }
@media (max-width: 560px) { .panel-perk { display: block; border-radius: 14px; } }

/* =========================================================
   떠 있는 버튼 자리 재정비
   (카카오톡 문의를 상단에서 내려 AI 상담 버튼 옆에 둡니다)
   ========================================================= */
.chat-dock {
  position: fixed; right: 16px; bottom: 24px; z-index: 44;
  display: flex; align-items: center; gap: 10px;
}
.chat-dock .chat-launcher { position: static; right: auto; bottom: auto; }
.chat-dock .float-kakao {
  position: static; right: auto; bottom: auto;
  display: grid; width: 52px; height: 52px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.chat-dock .float-kakao .kakao-icon { width: 26px; height: 26px; }
.ig-rail { bottom: 92px; }

@media (max-width: 1239px) {
  .chat-dock { bottom: 84px; }
  .chat-dock .chat-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-dock .float-kakao { width: 56px; height: 56px; }
  .ig-rail { bottom: 152px; }
  body:not(.has-float) .chat-dock { bottom: 20px; }
  body:not(.has-float) .ig-rail { bottom: 88px; }
}
@media (max-width: 560px) {
  body.chat-open .chat-dock { display: none; }
}

/* =========================================================
   모티피지오 소개 (3호점 동성로점 전용)
   지점찾기는 검정 배경이라 어두운 톤으로 맞춥니다.
   ========================================================= */
.moti {
  scroll-margin-top: calc(var(--header) + 24px);   /* 고정 메뉴에 가리지 않게 */
  margin-top: clamp(36px, 4.5vw, 56px); padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--dark-line); border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
}
.moti-intro { display: grid; gap: 12px; }
.moti-tag {
  justify-self: start; padding: 6px 14px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
}
.moti-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.moti-lead { max-width: 58ch; font-size: clamp(15px, 1.7vw, 17.5px); line-height: 1.85; color: rgba(255, 255, 255, 0.72); word-break: keep-all; }
.moti-lead b { color: #fff; font-weight: 700; }

/* 소개 영상 */
.moti-video { margin-top: clamp(24px, 3vw, 32px); }
.moti-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: 18px; background: #000; object-fit: cover;
}
.moti-video figcaption { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }

/* 기능 4가지 */
.moti-list { list-style: none; display: grid; gap: 14px; margin-top: clamp(24px, 3vw, 32px); }
@media (min-width: 680px) { .moti-list { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.moti-list li {
  overflow: hidden; border-radius: 18px;
  border: 1px solid var(--dark-line); background: rgba(255, 255, 255, 0.04);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.moti-list li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); }
.moti-list img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.moti-list div { display: grid; gap: 7px; padding: 18px 20px 20px; }
.moti-list b { font-size: clamp(16px, 1.8vw, 18px); font-weight: 800; letter-spacing: -0.025em; color: #fff; }
.moti-list span { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.62); word-break: keep-all; }

/* 예약 유도 */
.moti-cta {
  display: grid; gap: 18px; margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(22px, 2.6vw, 30px); border-radius: 20px;
  background: #fff; color: var(--dark);
}
@media (min-width: 860px) { .moti-cta { grid-template-columns: 1fr auto; align-items: center; gap: 28px; } }
.moti-cta-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.02em; color: var(--red-text); }
.moti-cta-text { margin-top: 7px; font-size: 15px; line-height: 1.8; color: #444; word-break: keep-all; }
.moti-cta-text b { color: var(--dark); font-weight: 800; }
.moti-btn { justify-self: start; white-space: nowrap; }
@media (min-width: 860px) { .moti-btn { justify-self: end; } }

.moti-note { margin-top: 18px; font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.45); word-break: keep-all; }
.moti-note a { font-weight: 700; color: rgba(255, 255, 255, 0.8); text-decoration: underline; text-underline-offset: 3px; }

/* 이용안내 → 모티피지오 구역으로 가는 링크 */
.extra-link {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 9px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13.5px; font-weight: 700; color: #fff;
  transition: background 0.2s, transform 0.25s var(--ease);
}
.extra-link:hover { background: rgba(255, 255, 255, 0.2); transform: translateX(3px); }

/* =========================================================
   시너지 NEWS (공지 · 이벤트)
   ========================================================= */
.news-list { display: grid; gap: 18px; }
.news { padding: clamp(26px, 3.2vw, 38px); border: 1px solid var(--line); border-radius: 24px; }
.news-highlight { background: var(--soft); border-color: transparent; }

.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-badge { padding: 5px 12px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 800; }
.news-badge.is-event { background: var(--red); }
.news-scope { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.news-scope.is-only { border-color: var(--red-text); color: var(--red-text); }

.news-title { margin-top: 14px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; line-height: 1.32; letter-spacing: -0.035em; word-break: keep-all; }
.news-title b { color: var(--red-text); }
.news-text { margin-top: 12px; max-width: 60ch; font-size: clamp(15px, 1.7vw, 16.5px); line-height: 1.85; color: #444; word-break: keep-all; }
.news-text b { color: var(--text); font-weight: 700; }

.news-terms { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.news-highlight .news-terms { background: #fff; }
.news-terms li { font-size: 14px; line-height: 1.7; color: #444; word-break: keep-all; }
.news-terms b { display: inline-block; min-width: 68px; margin-right: 8px; font-weight: 800; color: var(--text); }

.news-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.news-links a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 700; transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.news-links a:hover { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-2px); }
.news-links i { font-style: normal; font-size: 12px; opacity: 0.55; }

.news-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* 모티피지오 소식 카드 */
.news-moti { display: grid; gap: 24px; }
@media (min-width: 900px) { .news-moti { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 32px; } }
.news-thumb { order: -1; }
@media (min-width: 900px) { .news-thumb { order: 0; } }
.news-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }

.news-foot { margin-top: 24px; font-size: 14px; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.news-foot b { color: var(--text); }

/* NEWS: 운영안내 표 · 지점 예외 안내 */
.news-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.news-table th, .news-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.news-table thead th { font-size: 12px; font-weight: 800; color: var(--muted); border-bottom-color: var(--text); }
.news-table tbody th { font-size: 14.5px; font-weight: 800; }
.news-table tbody th span { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }
.news-table td { font-size: 14.5px; color: #444; }
@media (max-width: 560px) {
  .news-table thead { display: none; }
  .news-table tr { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .news-table th, .news-table td { padding: 0; border: 0; }
  .news-table td::before { content: attr(data-l); }
}

.news-callout { display: grid; gap: 7px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--red-text); }
.news-highlight .news-callout { background: #fff; }
.callout-tag { font-size: 12px; font-weight: 800; color: var(--red-text); }
.callout-text { font-size: 14px; line-height: 1.75; color: #444; word-break: keep-all; }
.callout-text b { color: var(--text); font-weight: 800; }

/* 지점별 네이버 평점 · 리뷰 수 */
.branch-review {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--dark-line);
  font-size: 14px; transition: background 0.2s, transform 0.25s var(--ease);
}
.branch-review:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.rev-star { width: 15px; height: 15px; fill: #ffc107; flex: 0 0 auto; }
.branch-review b { font-size: 15px; font-weight: 800; color: #fff; }
.branch-review span { color: rgba(255, 255, 255, 0.62); }
.branch-review i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, 0.4); }

/* 홈 첫 화면 — 네이버 리뷰 신뢰 표시 */
.hero-trust {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 14px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.hero-trust:hover { border-color: #d3d3d1; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07); }
.trust-stars { display: inline-flex; gap: 1px; }
.trust-stars svg { width: 14px; height: 14px; fill: #ffc107; }
.hero-trust > b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.trust-text { color: var(--muted); word-break: keep-all; }
.trust-text b { color: var(--text); font-weight: 700; }
@media (max-width: 420px) { .hero-trust { font-size: 13px; padding: 8px 14px; } }

/* =========================================================
   지점별 트레이너 (VIP PT 페이지)
   ========================================================= */
.trainers { padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); }
.trainers .h2 { margin-top: 10px; }
.trainers .lead { margin-top: 16px; }

.tr-branch { margin-top: clamp(40px, 5vw, 60px); }
.tr-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.tr-head img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.tr-no { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--muted); }
.tr-name { font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -0.03em; }
.tr-link { margin-left: auto; font-size: 14px; font-weight: 700; white-space: nowrap; }
.tr-link:hover { color: var(--red-text); }

.tr-list { list-style: none; display: grid; gap: 0; }
@media (min-width: 720px) { .tr-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
.tr-list li { display: grid; grid-template-columns: 76px 1fr; align-items: start; column-gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line); }
.tr-body { display: grid; gap: 8px; min-width: 0; }
.tr-person { font-size: 17px; letter-spacing: -0.02em; }
.tr-person b { font-weight: 800; }
.tr-person span { margin-left: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tr-desc { font-size: 14.5px; line-height: 1.8; color: #555; word-break: keep-all; }
.tr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.tr-book {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--naver); color: #fff; font-size: 13px; font-weight: 700;
  transition: background 0.2s, transform 0.25s var(--ease);
}
.tr-book:hover { background: #02b351; transform: translateY(-2px); }
.tr-book .n-mark { width: 15px; height: 15px; font-size: 10px; }
.tr-more {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease);
}
.tr-more::before {
  content: ""; width: 13px; height: 13px; flex: none; background: currentColor;
  -webkit-mask: var(--eye) center / contain no-repeat; mask: var(--eye) center / contain no-repeat;
}
.tr-more:hover { border-color: var(--text); background: var(--soft); transform: translateY(-2px); }
.tr-insta { font-size: 13px; font-weight: 700; color: var(--muted); }
.tr-insta:hover { color: var(--text); }
.tr-foot { margin-top: 28px; font-size: 13.5px; line-height: 1.8; color: var(--muted); word-break: keep-all; }

/* ---------------------------------------------------------
   트레이너 얼굴 사진과 프로필 크게 보기
   --------------------------------------------------------- */
.tr-photo {
  position: relative; width: 76px; height: 76px; padding: 0; border: 0;
  border-radius: 50%; overflow: hidden; cursor: pointer; background: var(--soft);
  display: block; -webkit-tap-highlight-color: transparent;
}
.tr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: box-shadow .25s var(--ease);
}
.tr-photo:hover::after, .tr-photo:focus-visible::after { box-shadow: inset 0 0 0 2px var(--red); }
.tr-photo-more {
  position: absolute; inset: auto 0 0 0; padding: 4px 0 5px;
  font-size: 10px; font-weight: 800; letter-spacing: .02em; color: #fff; text-align: center;
  background: rgba(0, 0, 0, .62); opacity: 0; transform: translateY(100%);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.tr-photo:hover .tr-photo-more, .tr-photo:focus-visible .tr-photo-more { opacity: 1; transform: none; }

.tr-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; }
.tr-modal[hidden] { display: none; }
.tr-modal-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); }
.tr-modal-inner { position: relative; max-width: min(560px, 100%); max-height: 100%; }
.tr-modal-img {
  display: block; max-width: 100%; max-height: calc(100vh - 48px);
  width: auto; height: auto; border-radius: 10px; background: #111;
}
.tr-modal-close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: #fff; color: #111; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.tr-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
body.tr-modal-open { overflow: hidden; }
body.tr-modal-open .float-cta,
body.tr-modal-open .chat-dock,
body.tr-modal-open .ig-rail { display: none; }

@media (max-width: 560px) {
  .tr-list li { grid-template-columns: 62px 1fr; column-gap: 13px; }
  .tr-photo { width: 62px; height: 62px; }
  .tr-photo-more { display: none; }
  .tr-modal { padding: 16px; }
  .tr-modal-close { top: -10px; right: -10px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .tr-photo::after, .tr-photo-more { transition: none; }
}
