/* ===== Design tokens ===== */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --bg-tint: #eef5f7;
  --ink: #0f2027;
  --ink-soft: #5d6e78;
  --line: #e8eef2;
  --accent: #1f8a8c;       /* teal blue — trust & rehab */
  --accent-dark: #146063;
  --accent-soft: rgba(31, 138, 140, 0.08);
  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(15, 32, 39, 0.04);
  --shadow-sm: 0 6px 18px -12px rgba(15, 32, 39, 0.18);
  --shadow: 0 22px 50px -34px rgba(15, 32, 39, 0.30);
  --shadow-lg: 0 40px 80px -40px rgba(15, 32, 39, 0.35);

  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.img-hint {
  font-size: .82rem;
  letter-spacing: .02em;
  color: rgba(15, 32, 39, 0.32);
  font-weight: 500;
}
/* 대체 문구는 이미지 로드 실패 시에만 노출 */
.about-img .img-hint { display: none; }
.about-img.img-failed .img-hint { display: block; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--ink);
}
.logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
}
.btn-lg { padding: 16px 34px; font-size: 1rem; }

.btn-primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); transform: scale(1.035); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(15,32,39,.18); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: scale(1.02); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); transform: scale(1.02); box-shadow: var(--shadow-sm); }

.btn-light { background: var(--white); color: var(--accent-dark); }
.btn-light:hover { transform: scale(1.035); box-shadow: var(--shadow); }

.btn-naver { background: #03c75a; color: #fff; box-shadow: 0 14px 30px -16px rgba(3, 199, 90, 0.6); }
.btn-naver:hover { background: #02b351; color: #fff; transform: scale(1.02); }

.btn-kakao { background: #fee500; color: #3c1e1e; box-shadow: 0 14px 30px -16px rgba(254, 229, 0, 0.7); }
.btn-kakao:hover { background: #f5dc00; color: #3c1e1e; transform: scale(1.035); }

.btn-block { width: 100%; }

.btn-sm { padding: 11px 18px; font-size: .88rem; }

/* 가장 강조되는 예약 CTA */
.btn-cta-hero {
  background: linear-gradient(135deg, #1f8a8c 0%, #1b6fb3 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 38px -16px rgba(27, 111, 179, 0.6);
}
.btn-cta-hero:hover {
  background: linear-gradient(135deg, #1a787a 0%, #155f9c 100%);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 26px 52px -18px rgba(27, 111, 179, 0.72);
}
.btn-light.btn-cta-hero { background: #fff; color: #155f9c; }
.btn-light.btn-cta-hero:hover { background: #fff; color: #11507f; }

/* ===== 섹션 하단 CTA ===== */
.section-cta {
  margin-top: 56px;
  padding: 40px 28px;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.section-cta-text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}
.section-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 200px 0 120px;
  background:
    radial-gradient(1100px 520px at 88% 6%, rgba(31,138,140,.10), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(120,170,210,.14), transparent 55%),
    linear-gradient(180deg, #fbfdfe 0%, #ffffff 100%);
  overflow: hidden;
}
/* ===== Celebrity infinite ticker ===== */
.celeb-ticker {
  position: relative;
  margin: 0 0 20px;
  padding: 16px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9fa 0%, #f2f5f6 100%);
  border: 1px solid rgba(31, 138, 140, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.celeb-track {
  display: flex;
  width: max-content;
  align-items: flex-start;
  animation: celeb-scroll 42s linear infinite;
  will-change: transform;
}
.celeb-ticker:hover .celeb-track,
.celeb-ticker.is-paused .celeb-track {
  animation-play-state: paused;
}
.celeb-unit {
  flex: 0 0 auto;
  width: 92px;
  margin-right: 34px;
  text-align: center;
}
.celeb-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 8px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f8a8c 0%, #4aa6a8 100%);
  box-shadow: 0 8px 20px -12px rgba(31, 138, 140, 0.55);
}
.celeb-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.celeb-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.celeb-avatar.is-fallback .celeb-initials { z-index: 1; }
.celeb-avatar--soccer {
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 7px,
      transparent 7px,
      transparent 14px
    ),
    linear-gradient(145deg, #145a38 0%, #2a8f58 48%, #1a7048 100%);
  box-shadow: 0 8px 20px -12px rgba(26, 112, 72, 0.55);
}
.celeb-avatar--soccer .celeb-initials {
  z-index: 1;
  font-size: .95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
.celeb-initials--3 {
  font-size: .78rem;
  letter-spacing: -0.02em;
}
.celeb-avatar--soccer .celeb-initials--3 {
  font-size: .72rem;
}
.celeb-avatar--soccer::after {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  opacity: 0.75;
  z-index: 0;
}
.celeb-name {
  font-size: .8rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.25;
  white-space: nowrap;
}
.celeb-role {
  margin-top: 2px;
  font-size: .66rem;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.2;
  white-space: nowrap;
}
@keyframes celeb-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .celeb-track { animation: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-content { text-align: left; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .06em;
  font-size: .9rem;
  padding: 7px 16px;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero-accent { color: var(--accent-dark); }
.hero-sub {
  margin: 26px 0 0;
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.85;
}
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(31,138,140,.20), rgba(120,170,210,.26)),
    linear-gradient(45deg, #e3eff3, #dCEae6);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}
.hero-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
/* 대표 인물 사진은 얼굴이 잘리지 않도록 상단 기준 정렬 */
.about-img-photo { object-position: center top; }
.hero-card-tag {
  font-size: .78rem;
  letter-spacing: .22em;
  font-weight: 600;
  color: var(--accent-dark);
}
.hero-card-hint { color: rgba(15,32,39,.34); font-size: .85rem; }
/* 사진이 적용된 경우: 태그는 상단 배지로 오버레이, 힌트는 숨김 */
.hero-card.has-photo { justify-content: flex-start; align-items: flex-start; }
.hero-card.has-photo .hero-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: #fff;
  background: rgba(15, 32, 39, 0.55);
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-card.has-photo .hero-card-hint { display: none; }
.hero-card-float {
  position: absolute;
  left: -22px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 20px 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-card-float .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.hero-card-float strong { display: block; font-size: .98rem; font-weight: 700; }
.hero-card-float small { color: var(--ink-soft); font-size: .82rem; }

/* ===== Trust badges ===== */
.trust { padding: 0 0 12px; }
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink);
  padding: 8px 16px;
}
.trust-item:not(:last-child) { border-right: 1px solid var(--line); }
.trust-ico { font-size: 1.15rem; }

/* ===== Section base ===== */
.section { padding: 140px 0; }
.section-eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .78rem;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.section-desc { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.section-head { text-align: center; margin-bottom: 70px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(31,138,140,.18), rgba(120,170,210,.28)),
    linear-gradient(45deg, #e2eef2, #dbeae4);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.about-text p { color: var(--ink-soft); margin-top: 20px; font-size: 1.05rem; }
.check-list { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 500; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.about-stats {
  margin-top: 42px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.about-stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1.1;
}
.about-stats .stat span { color: var(--ink-soft); font-size: .9rem; }

/* ===== Why Self Rehab (차별화 포인트) ===== */
.why-rehab { background: var(--white); }
.why-highlight {
  max-width: 760px;
  margin: -8px auto 56px;
  padding: 24px 30px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--accent-dark);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.why-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.why-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card-desc { color: var(--ink-soft); font-size: .98rem; line-height: 1.65; }

.why-cta { text-align: center; }
.why-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Programs (CMS) ===== */
.programs-root { display: grid; gap: 30px; }
.program-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.program-featured-media,
.program-card-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(150deg, var(--h, #dcecf4), #fff 140%);
}
.program-featured-media { min-height: 280px; }
.program-media-img,
.program-card-media-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.program-media-placeholder,
.program-card-media-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--h), #ffffff 150%);
}
.program-media-label {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: rgba(15,32,39,.28);
  letter-spacing: .02em;
}
.program-featured-badge {
  display: inline-block;
  background: var(--accent-dark);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.program-featured-body { padding: 8px 10px; display: flex; flex-direction: column; }
.program-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.35;
  margin-bottom: 8px;
}
.program-title-sm { font-size: 1.18rem; margin-bottom: 6px; }
.program-subtitle {
  color: var(--accent-dark);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.program-subtitle-sm { font-size: .86rem; margin-bottom: 10px; }
.program-desc {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.program-desc-sm { font-size: .94rem; margin-bottom: 12px; }
.program-target {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.program-target span,
.program-target-sm span {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 3px 10px;
  margin-right: 8px;
}
.program-target-sm { font-size: .88rem; margin-bottom: 10px; }
.program-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 22px; padding: 0;
}
.program-tag {
  font-size: .82rem;
  color: var(--accent-dark);
  background: rgba(46,107,120,.08);
  border: 1px solid rgba(46,107,120,.18);
  border-radius: 999px;
  padding: 5px 13px;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.program-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.program-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.program-detail-btn { flex: 0 0 auto; }
.program-consult-btn { flex: 1 1 auto; }

/* program detail modal */
.program-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.program-modal[hidden] { display: none; }
.program-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8,18,22,.74);
  backdrop-filter: blur(3px);
}
.program-modal-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-lg);
}
.program-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.program-modal-head h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 40px 8px 0;
}
.program-modal-details { margin: 20px 0; }
.program-modal-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.program-modal-row dt {
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.program-modal-row dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.65;
}
.program-modal-cta { margin-top: 8px; }

/* ===== Services cards (legacy) ===== */
.services { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--h), #ffffff 135%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-body { padding: 26px 26px 30px; }
.card-body h3 { font-family: var(--serif); font-size: 1.22rem; margin-bottom: 12px; }
.card-body p { color: var(--ink-soft); font-size: .96rem; line-height: 1.75; }

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 30px 34px;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step-no {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  opacity: .9;
}
.step h3 { font-family: var(--serif); font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ===== CTA section / banner ===== */
.cta-section { padding: 0 0 20px; }
.cta-banner {
  position: relative;
  background:
    radial-gradient(600px 240px at 85% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact .cta-banner { margin-bottom: 72px; }
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.cta-banner p { color: rgba(255,255,255,.92); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Real Interview (case study style) ===== */
.interview-root { display: grid; gap: 30px; }

/* shared play button */
.interview-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.55);
  transition: transform .35s var(--ease), background .25s;
  pointer-events: none;
}
.interview-play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent var(--accent-dark);
}
.interview-play-sm { width: 52px; height: 52px; }
.interview-play-sm::after { border-width: 8px 0 8px 13px; }

/* thumbnail surfaces (button) */
.interview-featured-media,
.interview-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #cfe0ef, #ffffff 140%);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.interview-featured-media:disabled,
.interview-card-media:disabled { cursor: default; }
.interview-featured-media:hover,
.interview-card-media:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.interview-featured-media:hover .interview-play,
.interview-card-media:hover .interview-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.interview-thumb-img,
.interview-thumb-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.interview-thumb-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--h), #ffffff 150%);
}

/* case detail rows */
.interview-case-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 20px;
}
.interview-case-title-sm { font-size: 1.15rem; margin-bottom: 16px; }
.interview-detail { margin-bottom: 16px; }
.interview-detail-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--accent-dark);
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 7px;
}
.interview-detail-text { color: var(--ink-soft); font-size: .98rem; line-height: 1.7; }
.interview-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 18px 0 24px; padding: 0;
}
.interview-tag {
  font-size: .82rem;
  color: var(--accent-dark);
  background: rgba(46,107,120,.08);
  border: 1px solid rgba(46,107,120,.18);
  border-radius: 999px;
  padding: 5px 13px;
}
.interview-watch {
  display: inline-flex; align-items: center; gap: 9px;
}
.interview-watch-ico {
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* featured layout */
.interview-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.interview-featured-media { box-shadow: var(--shadow); }
.interview-featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent-dark);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.interview-featured-body { padding: 6px 8px; }

/* secondary grid */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.interview-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}
.interview-card-body { padding: 20px 6px 4px; }

/* ===== Interview video modal ===== */
body.modal-open { overflow: hidden; }
.interview-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.interview-modal[hidden] { display: none; }
.interview-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8,18,22,.74);
  backdrop-filter: blur(3px);
}
.interview-modal-dialog {
  position: relative;
  width: min(880px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: interviewModalIn .28s var(--ease);
}
@keyframes interviewModalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.interview-modal-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 4px 44px 14px 4px;
}
.interview-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.interview-modal-close:hover { background: var(--line); }
.interview-modal-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.interview-modal-video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
}

/* ===== Video / YouTube ===== */
.video { background: var(--bg-soft); }
.youtube-section .yt-layout { display: grid; gap: 40px; }

.yt-featured {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  text-decoration: none;
  color: inherit;
}
.yt-featured:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.yt-featured-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a1418;
}
.yt-featured-thumb img,
.yt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.yt-featured:hover .yt-featured-thumb img,
.yt-card:hover .yt-card-thumb img { transform: scale(1.04); }
.yt-featured:hover .play-badge,
.yt-card:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.yt-featured-thumb .play-badge { width: 72px; height: 72px; }
.yt-featured-body { padding: 24px 28px 28px; }
.yt-featured-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.45;
  margin-bottom: 12px;
}
.yt-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.yt-channel::before { content: '·'; margin-right: 12px; color: var(--line); }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.yt-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none;
  color: inherit;
}
.yt-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-sm);
}
.yt-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8eef2;
}
.yt-card-body { padding: 16px 18px 20px; flex: 1; }
.yt-card-title {
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card-date { color: var(--ink-soft); font-size: .88rem; }

.yt-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  z-index: 2;
}
.yt-duration.sm { right: 8px; bottom: 8px; font-size: .72rem; }

.yt-actions { display: flex; justify-content: center; padding-top: 8px; }
.yt-empty { text-align: center; color: var(--ink-soft); padding: 48px 0; }
.section-empty { text-align: center; color: var(--ink-soft); padding: 32px 0; font-size: .95rem; }

/* legacy video layout (kept for reference) */
.video-layout { display: grid; grid-template-columns: 1.85fr 1fr; gap: 32px; align-items: start; }
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0a1418;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 18px; color: var(--ink-soft); font-size: .98rem; }
.video-side { display: grid; gap: 16px; }
.video-thumb {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.video-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.video-thumb-img {
  position: relative;
  width: 108px;
  flex: 0 0 108px;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--h), #ffffff 140%);
  overflow: hidden;
}
.video-thumb-title { font-size: .96rem; font-weight: 600; line-height: 1.5; }

/* ===== Naver Reviews ===== */
.review-stats-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.review-stats-main { flex: 1; min-width: 0; }
.review-stats-nums {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.stat-block strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.stat-block span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: .92rem;
}
.review-stats-keywords { margin-top: 4px; }
.stats-keywords-label {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.stats-keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stats-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .88rem;
  font-weight: 600;
}

.review-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.review-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.review-filters::-webkit-scrollbar { display: none; }
.review-filter-btn {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.review-filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.review-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.review-search-wrap { display: block; }
.review-search {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: border-color .2s, box-shadow .2s;
}
.review-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.review-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 16px;
  font-size: .98rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
}
.review-summary-main { display: flex; align-items: center; gap: 18px; }
.naver-badge.lg { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 12px; margin-bottom: 0; }
.review-summary-label { color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.review-summary-rating { display: flex; align-items: baseline; gap: 10px; line-height: 1.2; }
.review-summary-rating strong { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); }
.review-summary-stars { color: #ffb400; font-size: 1.05rem; letter-spacing: 2px; }
.review-summary-sub { color: var(--ink-soft); font-size: .9rem; }
.review-summary-count::before { content: " · "; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.review-card-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.review-stars { color: #ffb400; font-size: 1.05rem; letter-spacing: 2px; }
.review-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: #03c75a;
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  border-radius: 6px;
}
.review-content {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.review-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.review-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: .88rem;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review-author { font-weight: 600; color: var(--ink); }
.review-origin {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dark);
  font-size: .9rem;
  font-weight: 600;
  transition: gap .25s var(--ease), color .2s;
}
.review-origin:hover { gap: 11px; color: var(--accent); }
.reviews-note { text-align: center; color: var(--ink-soft); font-size: .95rem; margin-top: 40px; }
.reviews-cta { text-align: center; margin-top: 20px; }

/* ===== Gallery ===== */
.gallery-root { display: block; }

.gallery-block { margin-top: 100px; }
.gallery-block:first-child { margin-top: 4px; }

.gallery-subhead { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.gallery-eyebrow {
  font-size: .76rem;
  letter-spacing: .2em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.gallery-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.25;
  margin-bottom: 16px;
}
.gallery-subdesc { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }

/* 대표 사진 */
.gallery-featured-hero { margin-bottom: 24px; }
.gallery-featured-hero .g-card-hero { aspect-ratio: 16 / 9; }
.gallery-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.g-card-feature { aspect-ratio: 4 / 3; }

/* 일반 그리드 (PC 4 / 태블릿 3 / 모바일 2열) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.g-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-xs);
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .4s var(--ease);
}
.g-card.visible { opacity: 1; transform: none; }

.g-media { position: absolute; inset: 0; display: block; }
.g-media-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.g-media-img.is-contain { object-fit: contain; }
.g-media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--h), #ffffff 150%);
}
.g-media-label { color: rgba(15, 32, 39, 0.42); font-weight: 600; font-size: .92rem; letter-spacing: .02em; padding: 0 14px; text-align: center; }

.g-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 22px;
  text-align: left;
  background: linear-gradient(to top, rgba(15, 32, 39, 0.82) 0%, rgba(15, 32, 39, 0.18) 48%, transparent 72%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.g-card-title { color: #fff; font-weight: 600; font-size: 1.02rem; transform: translateY(8px); transition: transform .4s var(--ease); }
.g-card-desc { color: rgba(255, 255, 255, 0.82); font-size: .86rem; line-height: 1.5; transform: translateY(8px); transition: transform .4s var(--ease) .04s; }
.g-card-hero .g-card-title, .g-card-feature .g-card-title { font-size: 1.25rem; font-family: var(--serif); }

.g-card:hover { box-shadow: var(--shadow); }
.g-card:hover .g-media-img { transform: scale(1.05); }
.g-card:hover .g-card-overlay,
.g-card:focus-visible .g-card-overlay { opacity: 1; }
.g-card:hover .g-card-title,
.g-card:hover .g-card-desc,
.g-card:focus-visible .g-card-title,
.g-card:focus-visible .g-card-desc { transform: none; }
.g-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.g-media.media-failed .g-media-img { display: none; }
@media (hover: none) {
  .g-card-overlay { opacity: 1; }
  .g-card-title, .g-card-desc { transform: none; }
}

/* 실제 변화 사례 (Before & After) */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ba-card {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ba-card.visible { opacity: 1; transform: none; }
.ba-figure {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef2f6;
  box-shadow: var(--shadow-xs);
  aspect-ratio: 4 / 3;
  transition: box-shadow .4s var(--ease);
}
.ba-figure .g-media-img { object-fit: contain; background: #eef2f6; }
.ba-figure:hover { box-shadow: var(--shadow); }
.ba-labels {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  pointer-events: none;
}
.ba-labels span {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: rgba(15, 32, 39, 0.6);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
.ba-caption { padding: 18px 6px 0; text-align: center; }
.ba-caption strong { display: block; font-size: 1.06rem; margin-bottom: 5px; }
.ba-caption span { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.ba-disclaimer {
  max-width: 660px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-soft);
  font-size: .85rem;
  line-height: 1.75;
}

/* Gallery lightbox */
.gallery-lightbox { position: fixed; inset: 0; z-index: 1100; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 20, 0.88);
  backdrop-filter: blur(3px);
  animation: lbFade .25s var(--ease);
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.gallery-lightbox-dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 64px;
}
.gallery-lb-figure {
  position: relative;
  max-width: min(960px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0b1418;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: lbPop .3s var(--ease);
}
@keyframes lbPop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.gallery-lb-media { position: relative; width: min(960px, 92vw); aspect-ratio: 16/10; background: #0b1418; }
.gallery-lb-media .g-media-img { width: 100%; height: 100%; object-fit: contain; }
.gallery-lb-media .g-media-placeholder { position: absolute; inset: 0; }
.gallery-lb-caption {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #0b1418;
  color: #fff;
}
.gallery-lb-cat { font-size: .76rem; color: #8fd5d6; font-weight: 600; letter-spacing: .04em; }
.gallery-lb-title { font-size: 1.1rem; }
.gallery-lb-desc { color: rgba(255, 255, 255, 0.72); font-size: .92rem; }

.gallery-lb-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.gallery-lb-close:hover { background: rgba(255, 255, 255, 0.28); transform: scale(1.05); }
.gallery-lb-nav {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.gallery-lb-nav:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
.gallery-lb-nav[hidden] { display: none; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card.featured:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.price-card h3 { font-family: var(--serif); font-size: 1.24rem; }
.price { font-size: 2rem; font-weight: 700; margin: 18px 0 24px; color: var(--ink); }
.price span { font-size: .9rem; font-weight: 400; color: var(--ink-soft); }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
.price-card li { color: var(--ink-soft); }
.price-card .btn { margin-top: auto; }

/* ===== Reservation flow card ===== */
.reserve-flow {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.reserve-flow-main { background: var(--white); padding: 48px 44px; }
.reserve-flow-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 30px;
}
.reserve-steps { list-style: none; display: grid; gap: 0; }
.reserve-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 26px;
}
.reserve-step:last-child { padding-bottom: 0; }
.reserve-step::before {
  content: "";
  position: absolute;
  left: 21px; top: 44px; bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(31,138,140,.15));
}
.reserve-step:last-child::before { display: none; }
.reserve-step-no {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--serif);
  position: relative;
  z-index: 1;
}
.reserve-step-body strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.reserve-step-body small { color: var(--ink-soft); font-size: .92rem; }
.reserve-flow-actions {
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.reserve-flow-eyebrow {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.reserve-flow-headline {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.reserve-flow-actions .btn-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.reserve-flow-actions .btn-outline:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }
.reserve-flow-actions .btn-cta-hero { background: #fff; color: #155f9c; box-shadow: var(--shadow); }
.reserve-flow-actions .btn-cta-hero:hover { background: #fff; color: #11507f; }

/* ===== Footer CTA ===== */
.footer-cta {
  background:
    radial-gradient(600px 240px at 85% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  margin-bottom: 64px;
  box-shadow: var(--shadow);
}
.footer-cta h2 {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: 14px;
}
.footer-cta p { color: rgba(255,255,255,.92); margin-bottom: 30px; font-size: 1.04rem; }
.footer-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Center News / Notices ===== */
.news-in-hero {
  position: relative;
  z-index: 1;
  margin: 0 0 36px;
  padding: 0;
}
.news-in-hero .news-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(247,249,250,.96) 100%);
  border: 1px solid rgba(31, 138, 140, 0.10);
  box-shadow: 0 10px 28px -22px rgba(15, 23, 42, .28);
}
.news-head-compact {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.news-head-compact .section-eyebrow { margin: 0; }
.news-head-compact .section-title {
  margin: 0;
  font-size: 1.35rem;
}
.news-wrap { max-width: 860px; }
.news .section-desc {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.news-list { display: grid; gap: 12px; margin-top: 8px; }
.news-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-item.open {
  box-shadow: var(--shadow-sm);
  border-color: rgba(31, 138, 140, 0.28);
}
.news-q {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  color: inherit;
}
.news-item.has-thumb .news-q {
  grid-template-columns: 1fr 72px;
  align-items: start;
  gap: 16px;
}
.news-q-main { display: grid; gap: 8px; min-width: 0; }
.news-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #eef2f3;
}
.news-body-img {
  display: block;
  width: calc(100% - 48px);
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 24px 16px;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.news-meta time {
  font-size: .82rem;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: .02em;
}
.news-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: #4b6465;
  background: #eef6f6;
}
.news-badge-pin {
  color: #fff;
  background: var(--accent);
}
.news-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.news-summary {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.news-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.news-icon::before,
.news-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.news-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.news-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.news-item.open .news-icon::after { transform: scaleY(0); opacity: 0; }
.news-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.news-body {
  padding: 0 24px 24px;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.8;
  border-top: 1px solid transparent;
}
.news-item.open .news-body {
  border-top-color: var(--line);
  padding-top: 18px;
}

/* ===== News popup ===== */
.news-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.news-popup[hidden] { display: none; }
.news-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
}
.news-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 60px -24px rgba(15, 23, 42, .45);
  animation: newsPopupIn .28s var(--ease);
}
@keyframes newsPopupIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.news-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #334155;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .12);
}
.news-popup-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-popup-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.news-popup-body { padding: 22px 24px 24px; }
.news-popup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.news-popup-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.news-popup-count {
  font-size: .78rem;
  font-weight: 600;
  color: #9ca3af;
}
.news-popup-body h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink);
}
.news-popup-body time {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  color: #9ca3af;
}
.news-popup-text {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.75;
}
.news-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.news-popup-actions .btn { flex: 1 1 140px; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a p { padding: 0 26px 26px; color: var(--ink-soft); font-size: .98rem; line-height: 1.8; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-info p { color: var(--ink-soft); margin-top: 16px; font-size: 1.02rem; }
.info-list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.info-list li { color: var(--ink-soft); }
.info-list strong { display: inline-block; width: 84px; color: var(--ink); font-weight: 600; }
.info-list a { color: var(--accent-dark); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.booking-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.booking-panel-head { margin-bottom: 24px; }
.booking-panel-head h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.booking-panel-head p { color: var(--ink-soft); font-size: .95rem; }
.naver-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: #03c75a;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 8px;
  margin-bottom: 12px;
}
.booking-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.booking-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.booking-list a:hover { border-color: #03c75a; background: #f0fdf4; transform: translateX(3px); }
.booking-name { font-weight: 600; }
.booking-price { color: var(--ink-soft); font-size: .9rem; white-space: nowrap; }
.booking-coupon {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f0fdf4;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: center;
}
.booking-coupon strong { color: #02b351; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c4d0d6; padding: 80px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: #6fd3d4; }
.footer-brand p { margin-top: 12px; font-size: .95rem; color: #8ea1a9; max-width: 280px; }
.footer-sns { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.footer-sns a {
  font-size: .85rem;
  color: #c4d0d6;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.footer-sns a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col li { font-size: .9rem; color: #8ea1a9; }
.footer-col a { color: #8ea1a9; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #6f8189;
}
.footer-bottom a { color: #8ea1a9; }
.footer-bottom a:hover { color: #fff; }

/* ===== Sticky Floating CTA (FAB) ===== */
.fab-group {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.fab-group.fab-shown { opacity: 1; transform: none; pointer-events: auto; }

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fab-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.34);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
}
.fab-group.open .fab-item { opacity: 1; transform: none; }
.fab-group.open .fab-item:nth-child(1) { transition-delay: .03s; }
.fab-group.open .fab-item:nth-child(2) { transition-delay: .07s; }
.fab-group.open .fab-item:nth-child(3) { transition-delay: .11s; }
.fab-group.open .fab-item:nth-child(4) { transition-delay: .15s; }
.fab-item:hover { transform: scale(1.03); box-shadow: 0 20px 38px -16px rgba(0,0,0,.4); }
.fab-item-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  flex: 0 0 30px;
  color: #fff;
}
.fab-kakao .fab-item-ico { background: #fee500; color: #3c1e1e; }
.fab-naver .fab-item-ico-naver { background: #03c75a; color: #fff; font-weight: 800; font-size: .95rem; }
.fab-tel .fab-item-ico { background: var(--accent); }
.fab-top .fab-item-ico { background: var(--ink); }

.fab-main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #1f8a8c 0%, #1b6fb3 100%);
  color: #fff;
  box-shadow: 0 18px 36px -12px rgba(27, 111, 179, 0.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab-main:hover { transform: scale(1.05); box-shadow: 0 24px 48px -14px rgba(27, 111, 179, 0.72); }
.fab-main-label { font-size: .66rem; font-weight: 700; letter-spacing: .02em; }
.fab-main-ico { display: inline-flex; }
.fab-main-close { display: none; }
.fab-group.open .fab-main-open { display: none; }
.fab-group.open .fab-main-close { display: inline-flex; }
.fab-group.open .fab-main-label { display: none; }
.fab-group.open .fab-main { transform: rotate(0); }

/* ===== Mobile bottom CTA bar ===== */
.mobile-cta { display: none; }

/* ===== Reveal animations ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .step:hover, .price-card:hover, .g-item:hover { transform: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 170px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { text-align: center; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 380px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-img { aspect-ratio: 16/10; max-width: 460px; }
  /* 대표 사진(세로 인물)이 들어간 경우 모바일에서도 세로 비율 유지 */
  .about-img:has(.about-img-photo) { aspect-ratio: 4/5; width: 100%; max-width: 360px; margin: 0 auto; }
  .program-featured { grid-template-columns: 1fr; gap: 24px; }
  .program-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .interview-featured { grid-template-columns: 1fr; gap: 24px; }
  .interview-featured-body { padding: 0 4px 4px; }
  .interview-grid { grid-template-columns: 1fr; }
  .video-layout { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .video-side { grid-template-columns: repeat(3, 1fr); }
  .video-thumb { flex-direction: column; align-items: stretch; }
  .video-thumb-img { width: 100%; flex: none; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .reserve-flow { grid-template-columns: 1fr; }
  .reserve-flow-main { padding: 36px 28px; }
  .reserve-flow-actions { padding: 36px 28px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-block { margin-top: 80px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gallery-lightbox-dialog { padding: 24px 12px; gap: 6px; }
  .gallery-lb-nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 104px 34px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.4);
  }
  .nav.open { transform: none; }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .trust-grid { margin-top: -30px; padding: 22px; gap: 6px; }
  .trust-item { font-size: .85rem; padding: 8px 10px; }
  .trust-item:not(:last-child) { border-right: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-card { padding: 24px 18px; }
  .why-highlight { padding: 20px 22px; }
  .about-stats { gap: 28px; }
  .gallery-block { margin-top: 64px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-grid { grid-template-columns: 1fr; gap: 22px; }
  .g-card-overlay { opacity: 1; padding: 14px; }
  .g-card-title, .g-card-desc { transform: none; }
  .gallery-lightbox-dialog { padding: 16px 6px; }
  .gallery-lb-figure { max-height: 88vh; }
  .gallery-lb-nav { position: absolute; bottom: 16px; z-index: 2; }
  .gallery-lb-nav.prev { left: 16px; }
  .gallery-lb-nav.next { right: 16px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-stats-panel { flex-direction: column; align-items: stretch; padding: 24px; }
  .review-stats-panel .btn { width: 100%; }
  .review-stats-nums { gap: 24px; }
  .video-side { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
  .yt-featured-body { padding: 20px 22px 24px; }
  .video-thumb { flex-direction: row; align-items: center; }
  .video-thumb-img { width: 108px; flex: 0 0 108px; }
  .cta-banner { padding: 48px 26px; }

  /* 떠다니는 FAB: 모바일 하단 CTA 바 위로 올림 */
  .fab-group { right: 16px; bottom: 94px; }
  .fab-main { width: 60px; height: 60px; }
  .section-cta { padding: 32px 20px; }
  .footer-cta { padding: 44px 24px; margin-bottom: 48px; }
  .footer-cta-actions .btn { width: 100%; }

  /* 모바일 하단 고정 CTA */
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 65;
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3);
  }
  .mobile-cta-btn {
    flex: 1;
    text-align: center;
    padding: 17px 8px;
    font-weight: 700;
    font-size: 1rem;
  }
  .mobile-cta-btn.kakao { background: #fee500; color: #3c1e1e; }
  .mobile-cta-btn.naver { background: #03c75a; color: #fff; }

  .site-footer { padding-bottom: 92px; }
}

/* ===== AI Posture Check ===== */
.nav-active { color: var(--accent) !important; font-weight: 600; }

.apc-page { background: var(--bg); }
.apc-main { padding: 120px 0 80px; min-height: 70vh; }
.apc-wrap { max-width: 760px; }
.apc-loading { text-align: center; color: var(--ink-soft); padding: 60px 0; }

.apc-stepper {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 36px;
  padding: 0 4px;
}
.apc-stepper-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.apc-stepper-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--line);
}
.apc-stepper-item.done:not(:last-child)::after { background: var(--accent); }
.apc-stepper-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 2px solid var(--line);
  position: relative;
  z-index: 1;
}
.apc-stepper-item.active .apc-stepper-num {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.apc-stepper-item.done .apc-stepper-num {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
.apc-stepper-label { font-size: .78rem; color: var(--ink-soft); font-weight: 500; }
.apc-stepper-item.active .apc-stepper-label { color: var(--accent); font-weight: 600; }

.apc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
}
.apc-card-center { text-align: center; }
.apc-eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.apc-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}
.apc-lead { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 24px; line-height: 1.8; }
.apc-notice {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-align: left;
  margin-bottom: 28px;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.apc-notice p + p { margin-top: 8px; }
.apc-step-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.apc-step-desc { color: var(--ink-soft); margin-bottom: 24px; font-size: .98rem; }
.apc-step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
  flex-wrap: wrap;
}
.apc-btn-next { min-width: 160px; }

.apc-upload-grid { display: grid; gap: 20px; }
.apc-upload-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-soft);
}
.apc-upload-head h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.apc-upload-tips {
  list-style: none;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  display: grid;
  gap: 4px;
}
.apc-upload-tips li::before { content: "· "; color: var(--accent); }
.apc-upload-drop {
  display: block;
  cursor: pointer;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.apc-upload-drop:hover,
.apc-upload-drop.dragover { border-color: var(--accent); background: var(--accent-soft); }
.apc-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 20px;
  color: var(--ink-soft);
  font-size: .92rem;
}
.apc-upload-icon { font-size: 1.8rem; }
.apc-upload-preview { width: 100%; max-height: 320px; object-fit: contain; background: var(--white); }
.apc-upload-clear {
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: .85rem;
  cursor: pointer;
  text-decoration: underline;
}
.apc-privacy-note { font-size: .82rem; color: var(--ink-soft); margin-top: 16px; }

.apc-field { border: 0; margin-bottom: 24px; }
.apc-field legend { font-weight: 600; font-size: .98rem; margin-bottom: 12px; padding: 0; }
.apc-field-hint { font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.apc-field-error { font-size: .82rem; color: #c0392b; margin-top: 8px; }
.apc-options { display: grid; gap: 8px; }
.apc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: .95rem;
}
.apc-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.apc-option input { accent-color: var(--accent); flex-shrink: 0; }
.apc-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.apc-slider-wrap { padding: 8px 0; }
.apc-slider { width: 100%; accent-color: var(--accent); }
.apc-slider-value {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.apc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.apc-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: .95rem;
  resize: vertical;
  min-height: 100px;
}
.apc-textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

.apc-result { display: grid; gap: 20px; }
.apc-result-summary { text-align: center; }
.apc-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.apc-result-meta span {
  background: var(--bg-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.apc-result-heading { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.apc-result-desc { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.apc-result-list {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.apc-result-list li::before { content: "· "; color: var(--accent); font-weight: 700; }
.apc-result-sub { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.apc-visibility { display: grid; gap: 10px; }
.apc-visibility-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.apc-visibility-row:last-child { border-bottom: 0; }
.apc-stars { color: var(--accent); letter-spacing: .08em; font-size: .95rem; }
.apc-limit-card { background: var(--bg-soft); border-color: transparent; }
.apc-result-cta {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.apc-result-cta .btn { width: 100%; text-align: center; justify-content: center; }
.apc-safety {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: center;
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.apc-safety-page { margin-top: 32px; }
.apc-footer { margin-top: 40px; }

.apc-fade {
  animation: apcFadeUp .45s var(--ease) both;
}
@keyframes apcFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 분석중 화면 */
.apc-analyzing { padding: 48px 32px; }
.apc-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: apcSpin .9s linear infinite;
}
@keyframes apcSpin { to { transform: rotate(360deg); } }
.apc-progress {
  width: 100%;
  max-width: 360px;
  height: 8px;
  margin: 24px auto 10px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.apc-progress-fill {
  width: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .15s linear;
}
.apc-progress-pct {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
}
.apc-analysis-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 300px;
  margin: 0 auto;
  text-align: left;
}
.apc-analysis-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  opacity: .45;
  transition: opacity .4s var(--ease), color .4s var(--ease);
}
.apc-analysis-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  color: var(--white);
  background: transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease);
}
.apc-analysis-check svg { opacity: 0; transition: opacity .3s var(--ease); }
.apc-analysis-item.done { opacity: 1; color: var(--ink); }
.apc-analysis-item.done .apc-analysis-check {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}
.apc-analysis-item.done .apc-analysis-check svg { opacity: 1; }
.apc-analysis-label { font-size: .95rem; font-weight: 500; }

.apc-analyzing-done { animation: apcFadeUp .5s var(--ease) both; }
.apc-done-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  animation: apcPop .5s var(--ease) both;
}
@keyframes apcPop {
  0% { opacity: 0; transform: scale(.6); }
  60% { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

.apc-result-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: .82rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.apc-result-eval {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.8;
}
.apc-result-eval ul {
  list-style: none;
  margin: 8px 0;
  display: grid;
  gap: 6px;
}
.apc-result-eval li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.apc-result-eval li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.apc-fallback-note {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--ink-soft);
  background: var(--bg-soft);
  padding: 10px 14px;
  border-radius: 10px;
}
.apc-obs-level {
  display: inline-block;
  font-size: .78rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 6px;
  font-weight: 600;
}
.apc-result-obs li { display: block; }
.apc-result-obs li strong { color: var(--ink); margin-right: 4px; }
.apc-recommendation {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.75;
}
.apc-cta-text { font-size: .92rem; color: var(--ink-soft); margin-bottom: 8px; }
.apc-privacy-result,
.apc-privacy-inline {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: 12px;
}
.apc-privacy-result { text-align: center; }

/* 사진 품질 / 신뢰도 */
.apc-quality-banner {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 16px 0;
  text-align: left;
}
.apc-quality-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: .95rem;
  color: var(--ink);
}
.apc-quality-row strong { color: var(--accent); }
.apc-quality-hint {
  margin-top: 8px;
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 재촬영 안내 */
.apc-retake-card { text-align: center; padding: 40px 28px; }
.apc-retake-icon { font-size: 2.4rem; margin-bottom: 16px; }
.apc-retake-guide {
  text-align: left;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.apc-retake-guide p + p { margin-top: 8px; }
.apc-retake-issues {
  list-style: none;
  text-align: left;
  margin: 16px 0;
  padding: 14px 18px;
  background: #fff8f0;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--ink-soft);
}
.apc-retake-issues li::before { content: "· "; color: #e67e22; font-weight: 700; }
.apc-retake-score { font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px; }

/* 안전 문구 카드 */
.apc-safety-card {
  background: var(--bg-soft);
  border-color: transparent;
}
.apc-safety-card p { color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }

/* 측면 정렬 오버레이 */
.apc-overlay-card { text-align: left; }
.apc-ov-wrap {
  position: relative;
  display: inline-block;
  max-width: 320px;
  width: 100%;
  margin: 8px auto 4px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3f5f6;
}
.apc-ov-img {
  display: block;
  width: 100%;
  height: auto;
}
.apc-ov-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #fff;
  background: rgba(0, 0, 0, .35);
}
.apc-ov-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.apc-ov-line {
  fill: none;
  stroke: #e9a23b;
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.apc-ov-ref {
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}
.apc-ov-good .apc-ov-line { stroke: #2a9d8f; }
.apc-ov-warn .apc-ov-line { stroke: #e76f51; }
.apc-ov-mid .apc-ov-line { stroke: #e9a23b; }
.apc-ov-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #ffd23f;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.apc-ov-tag {
  position: absolute;
  transform: translate(10px, -50%);
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}
.apc-ov-legend { margin-top: 12px; }
.apc-ov-badge {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  background: #e9a23b;
}
.apc-ov-badge-good { background: #2a9d8f; }
.apc-ov-badge-warn { background: #e76f51; }
.apc-ov-badge-mid { background: #e9a23b; }
.apc-ov-note {
  margin-top: 10px;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.apc-ov-key {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.apc-ov-key li { display: flex; align-items: center; gap: 6px; }
.apc-ov-k-line,
.apc-ov-k-ref {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top-width: 3px;
  border-top-style: solid;
}
.apc-ov-k-line { border-top-color: #e9a23b; }
.apc-ov-k-ref {
  border-top-style: dashed;
  border-top-color: #9aa7ad;
}

/* 만족도 평가 */
.apc-satisfaction { text-align: center; }
.apc-satisfaction-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0 12px;
}
.apc-satisfaction-btn {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.apc-satisfaction-btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.apc-satisfaction-btn.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}
.apc-satisfaction-btn:disabled { cursor: default; opacity: .85; }
.apc-satisfaction-thanks {
  color: var(--accent);
  font-weight: 600;
  margin: 8px 0 4px;
}
.apc-ops-note {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* 결과 이미지 공유 */
.apc-share-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.apc-btn-share { width: 100%; max-width: 320px; }
.apc-share-card { display: none; }
.apc-share-inner {
  width: 360px;
  padding: 28px 24px;
  background: #fff;
  text-align: center;
  font-family: var(--font, sans-serif);
}
.apc-share-brand {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink, #1a2b32);
}
.apc-share-brand span { color: var(--accent, #2a9d8f); }
.apc-share-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.apc-share-summary {
  font-size: .92rem;
  color: #4a5c66;
  line-height: 1.7;
  margin-bottom: 10px;
}
.apc-share-tag {
  font-size: .82rem;
  color: #7a8a92;
  margin-bottom: 18px;
}
.apc-share-qr-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 14px;
}
.apc-share-qr-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: #5d6e78;
}
.apc-share-url {
  font-size: .8rem;
  color: var(--accent, #2a9d8f);
  word-break: break-all;
}

@media (max-width: 640px) {
  .apc-main { padding: 100px 0 60px; }
  .apc-card { padding: 24px 18px; }
  .apc-stepper-label { font-size: .7rem; }
  .apc-stepper-num { width: 28px; height: 28px; font-size: .78rem; }
  .apc-step-actions { flex-direction: column-reverse; }
  .apc-step-actions .btn { width: 100%; }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-cta,
  .fab-group,
  .apc-stepper,
  .no-print,
  .apc-safety-page { display: none !important; }
  .apc-main { padding: 0; }
  .apc-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  body { background: #fff; }
}

/* ===== Search landing pages / internal program links ===== */
.seo-link-section {
  margin-top: 56px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--white), var(--bg-soft));
  box-shadow: var(--shadow-sm);
}
.seo-link-section h3 {
  margin: 4px 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.seo-link-grid a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.seo-link-grid a:hover { transform: translateY(-2px); border-color: rgba(31, 138, 140, .42); box-shadow: var(--shadow-sm); }
.seo-link-grid strong { font-size: 1rem; }
.seo-link-grid span { color: var(--ink-soft); font-size: .88rem; }

.seo-page { padding-top: 0; }
.seo-page .site-header { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--line); }
.seo-page .site-header + main { padding-top: 88px; }
.seo-hero { padding: 96px 0 82px; background: linear-gradient(145deg, var(--bg-soft), var(--white)); overflow: hidden; }
.seo-breadcrumb { margin-bottom: 28px; color: var(--ink-soft); font-size: .9rem; }
.seo-breadcrumb a { color: var(--accent-dark); }
.seo-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 54px; align-items: center; }
.seo-kicker { color: var(--accent-dark); font-weight: 700; letter-spacing: .12em; font-size: .82rem; }
.seo-hero h1 { margin: 12px 0 22px; font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.28; letter-spacing: -.03em; }
.seo-lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.02rem, 1.8vw, 1.18rem); line-height: 1.9; }
.seo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.seo-hero-card { padding: 30px; border: 1px solid rgba(31, 138, 140, .18); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.seo-hero-card h2 { margin-bottom: 16px; font-size: 1.15rem; }
.seo-hero-card ul { display: grid; gap: 12px; list-style: none; }
.seo-hero-card li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.seo-hero-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.seo-section { padding: 86px 0; }
.seo-section.soft { background: var(--bg-soft); }
.seo-section-head { max-width: 760px; margin-bottom: 36px; }
.seo-section-head h2 { margin-top: 8px; font-family: var(--serif); font-size: clamp(1.75rem, 3.5vw, 2.55rem); line-height: 1.4; }
.seo-section-head p { margin-top: 14px; color: var(--ink-soft); }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.seo-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-xs); }
.seo-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.seo-card p { color: var(--ink-soft); font-size: .96rem; }
.seo-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.seo-check-list li { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.seo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.seo-step { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.seo-step span { display: block; margin-bottom: 14px; color: var(--accent); font-weight: 700; font-size: .86rem; }
.seo-step h3 { margin-bottom: 8px; font-size: 1.04rem; }
.seo-step p { color: var(--ink-soft); font-size: .9rem; }
.seo-faq { display: grid; gap: 14px; }
.seo-faq article { padding: 24px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.seo-faq h3 { margin-bottom: 8px; font-size: 1.03rem; }
.seo-faq p { color: var(--ink-soft); }
.seo-related { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.seo-related h2 { margin-bottom: 18px; font-family: var(--serif); font-size: 1.4rem; }
.seo-related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-related-grid a { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: .9rem; }
.seo-related-grid a[aria-current="page"] { border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.seo-note { margin-top: 24px; color: var(--ink-soft); font-size: .84rem; }
.seo-page-footer { margin-top: 0; }

@media (max-width: 900px) {
  .seo-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .seo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .seo-link-section { padding: 26px 20px; margin-top: 40px; }
  .seo-link-grid,
  .seo-grid,
  .seo-check-list,
  .seo-steps { grid-template-columns: 1fr; }
  .seo-page .site-header + main { padding-top: 72px; }
  .seo-hero { padding: 66px 0 58px; }
  .seo-section { padding: 64px 0; }
  .seo-hero-card,
  .seo-card,
  .seo-related { padding: 22px; }
  .seo-actions .btn { width: 100%; }
}
