@font-face {
  font-family: "Paperlogy";
  src: url("./font/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Paperlogy";
  src: url("./font/Paperlogy-6SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Paperlogy";
  src: url("./font/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --primary: #7b1e36;
  --primary-burgundy: #7b1e36;
  --primary-dark: #5b1528;
  --dark-bg: #1a050a;
  --bg: #fcf8fa;
  --text: #1f1f1f;
  --muted: #5f5f68;
  --line: #e7dce0;
  --white: #ffffff;
  /* 헤더 높이(히어로 배경이 헤더 뒤까지 올라올 때 사용) */
  --header-h: 72px;
  /* 헤더 금테(트로피/메탈 느낌) */
  --gold-deep: #4a3d1a;
  --gold-mid: #c9a227;
  --gold-bright: #fff8e0;
  --gold-shine: #f0e0a8;
}

@media (max-width: 640px) {
  :root {
    --header-h: 62px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Paperlogy", "Pretendard", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  /* 히어로 배경이 뒤에서 보이도록 */
  isolation: isolate;
}

/* 흰 배경 섹션(5섹션) 구간에서 헤더 가시성 확보 */
.topbar.on-light-section {
  background: rgba(123, 30, 54, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(49, 10, 22, 0.32);
}

.topbar.on-light-section .brand {
  color: #ffffff;
}

.topbar.on-light-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.78);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.topbar.on-light-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 상단: 얇은 금빛 림(메탈 상단 하이라이트) */
.topbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(74, 61, 26, 0) 0%,
    rgba(201, 162, 39, 0.35) 22%,
    rgba(255, 248, 224, 0.75) 50%,
    rgba(201, 162, 39, 0.35) 78%,
    rgba(74, 61, 26, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* 하단: 트로피 베이스 같은 메탈릭 금색 그라데이션 테 */
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gold-deep) 0%,
    #6b5a28 10%,
    var(--gold-mid) 26%,
    var(--gold-shine) 40%,
    var(--gold-bright) 50%,
    var(--gold-shine) 60%,
    var(--gold-mid) 74%,
    #6b5a28 90%,
    var(--gold-deep) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38),
    0 2px 14px rgba(201, 162, 39, 0.32);
  pointer-events: none;
  z-index: 2;
}

.topbar-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 72px;
}

.topbar-nav {
  margin-left: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.topbar-nav a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.topbar-nav a:hover {
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
}

.brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 22px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  height: 60px;
  width: auto;
  max-width: min(300px, 72vw);
  object-fit: contain;
}

.hero-grid {
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.34;
  letter-spacing: -0.02em;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(25px, 3.3vw, 36px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.lead {
  margin-top: 18px;
  color: #3f3f47;
  font-size: 19px;
  line-height: 1.78;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

/* 헤더 CTA: 흰색↔금색 깜빡임 */
.topbar .btn-outline {
  animation: headerGoldBlink 1.2s steps(1, end) infinite;
}

body.mobile-drawer-open {
  overflow: hidden;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: none;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(84vw, 360px);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 84px 22px 24px;
  background: linear-gradient(160deg, #7b1e36 0%, #61172c 100%);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 34px rgba(15, 3, 7, 0.38);
}

.mobile-drawer-close {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.mobile-drawer-close:active {
  transform: scale(0.96);
}

.mobile-drawer-nav {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mobile-drawer-nav a {
  display: block;
  padding: 9px 8px;
  text-align: center;
  font-size: clamp(0.96rem, 3.8vw, 1.1rem);
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-drawer-logo-wrap {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-drawer-logo {
  width: min(200px, 62vw);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.mobile-drawer.is-open {
  pointer-events: auto;
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

/* 우하단 고정 아이콘 */
.quick-fab {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 190;
  display: grid;
  gap: 10px;
}

.quick-fab-btn {
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.quick-fab-btn img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.quick-fab-top {
  color: #ffffff;
  background: rgba(20, 7, 11, 0.62);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.btn-outline:hover,
.btn-ghost:hover {
  background: #f5ecf0;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--white);
}

.badges {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.badges li {
  padding: 9px 14px;
  border-radius: 999px;
  background: #f6edf1;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.img-slot {
  min-height: 280px;
  border-radius: 22px;
  border: 1.5px dashed #bf8596;
  background: linear-gradient(135deg, #fff 0%, #f4e8ed 100%);
  display: grid;
  place-items: center;
  padding: 26px;
  text-align: center;
  color: #85505f;
  font-size: 15px;
  font-weight: 600;
}

.img-slot.small {
  min-height: 140px;
  margin-top: 18px;
  font-size: 14px;
}

.section-intro {
  color: #35353f;
  margin-bottom: 30px;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.two {
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(70, 26, 40, 0.05);
}

.card p {
  color: #4d4d58;
  line-height: 1.72;
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  text-align: left;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #35353f;
  font-size: 17px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.detail-main {
  width: 100%;
}

.detail-main .detail-section {
  background: linear-gradient(160deg, #7b1e36 0%, #6d1b31 100%);
}

.detail-main .detail-section:nth-child(even) {
  background: linear-gradient(160deg, #6f1a32 0%, #61172c 100%);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-wrap > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible .detail-wrap > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .detail-wrap > *:nth-child(1) {
  transition-delay: 0.06s;
}
.reveal.is-visible .detail-wrap > *:nth-child(2) {
  transition-delay: 0.12s;
}
.reveal.is-visible .detail-wrap > *:nth-child(3) {
  transition-delay: 0.18s;
}
.reveal.is-visible .detail-wrap > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal.is-visible .detail-wrap > *:nth-child(5) {
  transition-delay: 0.3s;
}

strong,
.highlight {
  color: var(--primary);
  font-weight: 700;
}

.detail-main > .detail-section:first-child strong,
.detail-main > .detail-section:first-child .highlight {
  color: #ffd3df;
}

.highlight {
  animation: softPulse 2.2s ease-in-out infinite;
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

.detail-section {
  padding: 78px 0;
  position: relative;
  overflow: hidden;
}

.detail-wrap {
  width: min(1080px, calc(100% - 32px));
  position: relative;
  z-index: 1;
}

.detail-wrap h1,
.detail-wrap h2,
.detail-wrap h3,
.detail-wrap p,
.detail-wrap .section-intro,
.detail-wrap .detail-bullets p,
.detail-wrap .eyebrow {
  color: #ffffff;
}

.detail-wrap .section-intro {
  opacity: 0.94;
}

.detail-wrap .detail-bullets p {
  opacity: 0.95;
}

.detail-bullets {
  margin: 0 auto 26px;
  max-width: 850px;
}

.detail-bullets p {
  margin: 0 0 13px;
  font-size: clamp(15px, 1.7vw, 18px);
  color: #363640;
  line-height: 1.86;
}

.detail-image {
  width: 100%;
  min-height: 540px;
  border-radius: 24px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.detail-main > .detail-section:first-child:not(.hero-section) {
  background: linear-gradient(155deg, #7b1e36 0%, #4f1223 100%);
  padding-top: 112px;
}

/* 3D 인터랙티브 히어로 배경 (images/hero-bg.webp) */
.detail-main > .detail-section.hero-section {
  position: relative;
  z-index: 0;
  /* 모바일: 뷰포트에 맞춤 / PC는 아래 미디어쿼리에서 900px */
  min-height: min(480px, calc(100svh - var(--header-h)));
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  background: var(--dark-bg);
}

@media (min-width: 981px) {
  .detail-main > .detail-section.hero-section {
    min-height: 900px;
    height: 900px;
    max-height: 900px;
  }
}

.detail-main > .detail-section.hero-section:first-child {
  /* 히어로 배경이 투명 헤더 뒤까지 자연스럽게 이어지도록 */
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero-bg-layer {
  position: absolute;
  /* cover 대신 contain: 이미지 전체가 보이도록 잘리지 않음(여백은 다크 배경) */
  inset: 0;
  z-index: 0;
  /* 모바일: 세로형 에셋 */
  background-image: linear-gradient(
      to right,
      rgba(26, 5, 10, 0.9) 20%,
      rgba(26, 5, 10, 0.1) 70%
    ),
    url("./images/hero-bg-m.webp");
  background-size: 100% 100%, contain;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

@media (min-width: 981px) {
  .hero-bg-layer {
    /* PC: 가로형 에셋 */
    background-image: linear-gradient(
        to right,
        rgba(26, 5, 10, 0.9) 20%,
        rgba(26, 5, 10, 0.1) 70%
      ),
      url("./images/hero-bg.webp");
    background-position: center, center right;
  }
}

.hero-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(123, 30, 54, 0.1);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* PC: 마우스를 따라다니는 흰색 로고 원 (모바일 비표시) */
.hero-cursor-follow {
  display: none;
}

@media (min-width: 981px) {
  .hero-cursor-follow {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 4;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease;
    will-change: left, top;
  }

  .hero-cursor-follow.is-visible {
    opacity: 1;
  }

  .hero-cursor-follow-ring {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 12px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
  }

  .hero-cursor-follow-ring img {
    width: 72px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(360px, 45svh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0 44px;
  text-align: center;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.hero-scroll-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.hero-scroll-arrow {
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  animation: heroScrollBounce 1.4s ease-in-out infinite;
}

@media (min-width: 981px) {
  .hero-content {
    min-height: 400px;
    padding: 48px 0 56px;
  }

  .hero-scroll-indicator {
    bottom: 22px;
  }

  .hero-scroll-text {
    font-size: 12px;
  }
}

#hero-cta {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.hero-copy {
  max-width: 34rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-hook {
  margin: 0;
  /* 모바일: 타이핑 후킹 */
  font-size: clamp(1.05rem, 4.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  min-height: 2.85em;
}

@media (min-width: 981px) {
  .hero-hook {
    /* PC: 훨씬 크게 */
    font-size: clamp(2.35rem, 3.8vw, 3.45rem);
    min-height: 2.75em;
  }
}

.hero-hook-type {
  display: inline;
}

/* 후킹 2번째 줄: 반드시 한 줄(줄바꿈 없음) */
.hero-hook-line2 {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
}

.hero-hook-emphasis {
  color: #ffffff;
  animation: heroDangerBlink 0.9s steps(1, end) infinite;
}

.hero-hook-cursor {
  display: inline-block;
  width: 0.06em;
  margin-left: 0.06em;
  height: 1em;
  vertical-align: -0.08em;
  border-left: 0.08em solid rgba(255, 255, 255, 0.92);
  animation: heroCursorBlink 0.85s step-end infinite;
}

.hero-hook-cursor.is-done {
  animation: none;
  opacity: 0;
  width: 0;
  margin: 0;
  border: 0;
}

@keyframes heroCursorBlink {
  50% {
    opacity: 0;
  }
}

@keyframes heroScrollBounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 0.45;
  }
}

@keyframes heroDangerBlink {
  0%,
  49% {
    color: #ffffff;
  }
  50%,
  100% {
    color: #ff4a4a;
  }
}

@keyframes headerGoldBlink {
  0%,
  49% {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 0 10px rgba(255, 255, 255, 0.28);
  }
  50%,
  100% {
    color: var(--gold-bright);
    border-color: rgba(201, 162, 39, 0.92);
    box-shadow:
      0 0 0 1px rgba(201, 162, 39, 0.3) inset,
      0 0 14px rgba(201, 162, 39, 0.42);
  }
}

/* 인라인 제목용: 흰색 ↔ 금색 깜빡임 (헤더 CTA와 동일 톤) */
@keyframes textWhiteGoldBlink {
  0%,
  49% {
    color: #ffffff;
    text-shadow: none;
  }
  50%,
  100% {
    color: var(--gold-bright);
    text-shadow: 0 0 14px rgba(201, 162, 39, 0.45);
  }
}

.gold-text-blink {
  font-weight: 800;
  animation: textWhiteGoldBlink 1.2s steps(1, end) infinite;
}

.hero-sub {
  margin: 1.1rem 0 0;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.02em;
}

.hero-body {
  margin: 1.5rem 0 0;
  font-size: clamp(1.12rem, 3vw, 1.42rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.hero-body strong {
  font-weight: 700;
  /* '버티는 몸' / '편안한 몸' — 망가지고와 동일 흰↔빨강 깜빡임 */
  color: #ffffff;
  animation: heroDangerBlink 0.9s steps(1, end) infinite;
}

.hero-cta {
  margin-top: 1.75rem;
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.34rem;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

@media (min-width: 981px) {
  .hero-sub {
    font-size: clamp(1.15rem, 1.65vw, 1.5rem);
  }

  .hero-body {
    font-size: clamp(1.2rem, 1.85vw, 1.65rem);
  }

  .hero-cta {
    font-size: 3rem;
    min-height: 140px;
    padding: 0 74px;
    border-radius: 24px;
  }

  .hero-cta-icon {
    display: none;
  }
}

.hero-cta-icon {
  margin-right: 0.35em;
  display: none;
}

/* 2번째 공감 섹션 */
.empathy-section {
  padding-top: 88px;
  padding-bottom: 92px;
  position: relative;
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--gold-deep) 0%,
      #6b5a28 10%,
      var(--gold-mid) 26%,
      var(--gold-shine) 40%,
      var(--gold-bright) 50%,
      var(--gold-shine) 60%,
      var(--gold-mid) 74%,
      #6b5a28 90%,
      var(--gold-deep) 100%
    )
    1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(201, 162, 39, 0.1);
}

.empathy-mimoji {
  display: block;
  width: clamp(88px, 13vw, 140px);
  height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

@keyframes mimojiSway {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

.empathy-title {
  text-align: center;
  margin-bottom: 34px;
  font-size: clamp(2.7rem, 4.8vw, 3.9rem);
}

.mobile-only-break {
  display: none;
}

.empathy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.empathy-left {
  text-align: left;
}

/* 체크 4줄: 흰색 둥근 직사각형 */
.empathy-list-box {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.empathy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.empathy-list-box .empathy-list li {
  position: relative;
  margin: 0 0 16px;
  padding: 18px 20px 18px 48px;
  font-size: clamp(1.25rem, 1.95vw, 1.8rem);
  line-height: 1.52;
  font-weight: 700;
  color: #2a2a32;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: scale(1);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  animation: empathyCardWave 8s ease-in-out infinite;
}

.empathy-list-box .empathy-list li:nth-child(2) {
  animation-delay: 2s;
}

.empathy-list-box .empathy-list li:nth-child(3) {
  animation-delay: 4s;
}

.empathy-list-box .empathy-list li:nth-child(4) {
  animation-delay: 6s;
}

.empathy-list-box .empathy-list li:hover {
  transform: scale(1.04);
  border-color: rgba(201, 162, 39, 0.85);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(201, 162, 39, 0.35);
}

.empathy-list-box .empathy-list li:last-child {
  margin-bottom: 0;
}

.empathy-list-box .empathy-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05em;
}

@keyframes empathyCardWave {
  0%,
  18% {
    transform: scale(1.04);
    border-color: rgba(201, 162, 39, 0.85);
    box-shadow:
      0 14px 28px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(201, 162, 39, 0.35);
  }
  24%,
  100% {
    transform: scale(1);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }
}

.empathy-impact {
  margin-top: 20px;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  font-weight: 800 !important;
  color: #ffd3df !important;
  animation: heroDangerBlink 1.1s steps(1, end) infinite;
}

.empathy-right {
  position: relative;
}

.empathy-right img {
  display: block;
  width: min(100%, 560px);
  margin: 0 auto;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

/* 3번째 섹션: 핵심 원인 제시 */
.cause-section {
  padding-top: 92px;
  padding-bottom: 96px;
  position: relative;
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--gold-deep) 0%,
      #6b5a28 10%,
      var(--gold-mid) 26%,
      var(--gold-shine) 40%,
      var(--gold-bright) 50%,
      var(--gold-shine) 60%,
      var(--gold-mid) 74%,
      #6b5a28 90%,
      var(--gold-deep) 100%
    )
    1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(201, 162, 39, 0.1);
}

.cause-wrap {
  text-align: center;
}

.cause-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.36;
  margin-bottom: 24px;
}

.cause-text {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.cause-keypoint {
  margin: 10px 0 20px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.5;
  font-weight: 800;
  color: #ffffff;
}

.cause-list {
  margin: 0 auto 22px;
  width: min(880px, 100%);
  display: grid;
  gap: 10px;
}

.cause-list p {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.cause-result {
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.45;
  font-weight: 800;
  color: #ffffff;
}

.cause-blink {
  color: #ffffff;
  animation: heroDangerBlink 1s steps(1, end) infinite;
}

/* 4번째 섹션: 해결·차별화 */
.solution-section {
  padding-top: 92px;
  padding-bottom: 96px;
  position: relative;
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--gold-deep) 0%,
      #6b5a28 10%,
      var(--gold-mid) 26%,
      var(--gold-shine) 40%,
      var(--gold-bright) 50%,
      var(--gold-shine) 60%,
      var(--gold-mid) 74%,
      #6b5a28 90%,
      var(--gold-deep) 100%
    )
    1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(201, 162, 39, 0.1);
}

.solution-wrap {
  text-align: center;
}

.solution-title {
  font-size: clamp(1.72rem, 3.05vw, 2.55rem);
  line-height: 1.38;
  margin: 0 auto 28px;
  max-width: 980px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
}

.solution-visual {
  margin: 0 auto 28px;
  width: min(720px, 100%);
}

.solution-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.solution-body {
  max-width: 640px;
  margin: 0 auto;
}

.solution-lead {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.solution-checklist {
  margin: 0 auto 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: center;
  width: min(520px, 100%);
}

.solution-checklist li {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(1.08rem, 1.75vw, 1.38rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

.solution-checklist li::before {
  content: "✔";
  position: static;
  display: inline-block;
  margin-right: 0.4em;
  font-size: 1rem;
  color: var(--gold-bright);
}

.solution-outro {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff;
  text-align: center;
}

/* 5번째 섹션: 솔루션 소개 */
.service-section {
  padding-top: 96px;
  padding-bottom: 100px;
  background: #ffffff !important;
}

/* 5섹션은 항상 노출: reveal 상태와 무관하게 가시성 보장 */
.detail-main > .detail-section.service-section .detail-wrap > * {
  opacity: 1;
  transform: none;
}

/* 전역 .detail-wrap 텍스트 흰색 규칙 오버라이드 */
.detail-main > .detail-section.service-section .detail-wrap h2,
.detail-main > .detail-section.service-section .detail-wrap h3,
.detail-main > .detail-section.service-section .detail-wrap p,
.detail-main > .detail-section.service-section .detail-wrap strong {
  color: #231f27;
}

.service-wrap {
  text-align: center;
}

.service-title {
  margin: 0 auto 28px;
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.95rem);
  line-height: 1.34;
  font-weight: 800;
  color: #231f27;
  letter-spacing: -0.02em;
}

.service-cards {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card {
  padding: 14px 14px 18px;
  background: linear-gradient(180deg, #fff9eb 0%, #ffffff 100%);
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 18px;
  box-shadow:
    0 10px 22px rgba(17, 16, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  display: grid;
  grid-template-rows: auto auto 1fr;
  text-align: center;
  position: relative;
  overflow: visible;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
  animation: serviceCardSpotlight 6s ease-in-out infinite;
}

.service-card:nth-child(2) {
  animation-delay: 2s;
}

.service-card:nth-child(3) {
  animation-delay: 4s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 159, 255, 0.85);
  box-shadow:
    0 14px 28px rgba(19, 42, 72, 0.2),
    0 0 0 2px rgba(76, 159, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.service-card::after {
  content: "✔";
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%) translateY(-6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f8fff 0%, #1e64e6 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow:
    0 8px 16px rgba(31, 101, 230, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  line-height: 1;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.service-card-image {
  margin-bottom: 14px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(35, 31, 39, 0.08);
}

.service-card-title {
  margin: 0 0 8px;
  font-size: clamp(1.28rem, 1.95vw, 1.7rem);
  line-height: 1.4;
  font-weight: 800;
  color: #231f27;
  min-height: 2.8em;
}

.service-card-desc {
  margin: 0;
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.62;
  font-weight: 600;
  color: #4a4552;
}

.service-outro {
  margin: 28px 0 0;
  font-size: clamp(1.32rem, 2.15vw, 1.85rem);
  line-height: 1.5;
  font-weight: 700;
  color: #231f27;
}

.service-outro strong {
  color: #2b252f;
}

/* 6번째 섹션: 실제 변화 사례 (캐러셀) */
.cases-section {
  padding-top: 96px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #fffefb 0%, #f6f0f3 100%) !important;
}

.detail-main > .detail-section.cases-section .detail-wrap > * {
  opacity: 1;
  transform: none;
}

.detail-main > .detail-section.cases-section .detail-wrap h2,
.detail-main > .detail-section.cases-section .detail-wrap p,
.detail-main > .detail-section.cases-section .detail-wrap strong,
.detail-main > .detail-section.cases-section .detail-wrap em {
  color: #231f27;
}

.cases-wrap {
  text-align: center;
}

.cases-eyebrow {
  margin: 0 0 10px;
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.cases-title {
  margin: 0 auto 16px;
  max-width: 920px;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  line-height: 1.28;
  font-weight: 800;
  color: #1a1419;
  letter-spacing: -0.03em;
}

.cases-title-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.05rem, 1.85vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: #4a4552;
  letter-spacing: -0.02em;
}

.cases-title-sub strong {
  color: var(--primary);
  font-weight: 800;
}

.cases-lead {
  margin: 0 auto 28px;
  max-width: 720px;
  font-size: clamp(1.05rem, 1.75vw, 1.28rem);
  line-height: 1.75;
  font-weight: 600;
  color: #3d3842;
}

.cases-lead strong {
  color: #1a1419;
  font-weight: 800;
}

.cases-lead em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
}

.cases-carousel {
  --cases-slides: 4;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.cases-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(123, 30, 54, 0.12);
  box-shadow: 0 16px 40px rgba(49, 10, 22, 0.1);
  background: #ffffff;
}

.cases-track {
  display: flex;
  width: calc(var(--cases-slides) * 100%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cases-slide {
  flex: 0 0 calc(100% / var(--cases-slides));
  width: calc(100% / var(--cases-slides));
  min-width: 0;
  box-sizing: border-box;
  padding: 12px;
}

.cases-slide-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  height: 100%;
}

.cases-slide--single .cases-slide-inner--single {
  justify-content: center;
  align-items: stretch;
}

.cases-slide--single .cases-slide-inner--single .cases-fig {
  flex: 0 1 min(420px, 100%);
  max-width: min(420px, 100%);
}

.cases-fig {
  margin: 0;
  flex: 1;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(35, 31, 39, 0.08);
  background: #f3f0f1;
}

.cases-fig img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cases-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.cases-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(123, 30, 54, 0.22);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.cases-dot[aria-current="true"] {
  background: var(--primary);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .cases-track {
    transition: none;
  }
}

/* 7번째 섹션: 전문가 소개 */
.expert-section {
  padding-top: 96px;
  padding-bottom: 100px;
  background: linear-gradient(160deg, #7b1e36 0%, #61172c 100%) !important;
}

.detail-main > .detail-section.expert-section .detail-wrap > * {
  opacity: 1;
  transform: none;
}

.detail-main > .detail-section.expert-section .detail-wrap h2,
.detail-main > .detail-section.expert-section .detail-wrap h3,
.detail-main > .detail-section.expert-section .detail-wrap p,
.detail-main > .detail-section.expert-section .detail-wrap li,
.detail-main > .detail-section.expert-section .detail-wrap strong {
  color: #ffffff;
}

.expert-wrap {
  text-align: center;
}

.expert-title {
  margin: 0 auto 24px;
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.expert-profile {
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 24px;
}

.expert-profile-image {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(35, 31, 39, 0.1);
  box-shadow: 0 16px 36px rgba(49, 10, 22, 0.12);
}

.expert-profile-image img {
  display: block;
  width: 100%;
  height: auto;
}

.expert-profile-copy {
  text-align: center;
}

.expert-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.expert-checklist li {
  position: relative;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  width: min(560px, 100%);
}

.expert-checklist li::before {
  content: "✔ ";
  position: static;
  transform: none;
  color: var(--gold-bright);
  font-size: 1rem;
}

.expert-impact {
  margin-top: 16px;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.expert-impact strong {
  color: var(--gold-bright);
  font-weight: 800;
}

.expert-cert-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
}

.expert-certs {
  width: 100%;
}

/* PC: 자격증 정적 5열 */
.expert-certs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

/* 모바일 마퀴: PC에서 숨김 */
.expert-certs-marquee {
  display: none;
}

.expert-cert {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.expert-cert img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 모바일: 자격증 무한 가로 마퀴 */
@keyframes expertCertMarqueeX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.expert-certs-marquee-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.expert-certs-marquee-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: expertCertMarqueeX 14s linear infinite;
}

.expert-certs-marquee-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.expert-cert--marquee {
  flex: 0 0 clamp(146px, 43vw, 208px);
  width: clamp(146px, 43vw, 208px);
  aspect-ratio: auto;
}

@media (prefers-reduced-motion: reduce) {
  .expert-certs-marquee-track {
    animation: expertCertMarqueeX 14s linear infinite;
  }
}

@keyframes serviceCardSpotlight {
  0%,
  30%,
  100% {
    transform: translateY(0);
    border-color: rgba(201, 162, 39, 0.34);
    box-shadow:
      0 10px 22px rgba(17, 16, 20, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }
  10%,
  25% {
    transform: translateY(-4px);
    border-color: rgba(76, 159, 255, 0.82);
    box-shadow:
      0 14px 28px rgba(19, 42, 72, 0.2),
      0 0 0 2px rgba(76, 159, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.74);
  }
}

@media (max-width: 640px) {
  .hero-bg-layer {
    /* 모바일: 위아래 검은 여백 없이 꽉 채우기 */
    background-size: 100% 100%, cover;
    background-position: center, center;
  }

  .hero-content {
    min-height: min(420px, 58svh);
    /* 하단 SCROLL 인디케이터와 CTA 겹침 방지 */
    padding: 28px 0 96px;
  }

  .hero-copy {
    max-width: 100%;
  }

  /* 후킹: 이전보다 줄인 모바일 크기 */
  .hero-hook {
    font-size: clamp(1.45rem, 6.8vw, 2.35rem);
    min-height: 2.95em;
    line-height: 1.3;
  }

  .hero-sub {
    margin-top: 0.62rem;
    font-size: clamp(1.02rem, 4vw, 1.28rem);
    line-height: 1.45;
  }

  .hero-body {
    margin-top: 0.8rem;
    font-size: clamp(1.08rem, 4.2vw, 1.36rem);
    line-height: 1.5;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    font-size: clamp(1.22rem, 4.4vw, 1.5rem);
    min-height: 0;
    height: auto;
    padding: 16px 20px;
    border-radius: 16px;
    line-height: 1.35;
  }

  .hero-scroll-indicator {
    bottom: 10px;
  }

  .empathy-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .empathy-title {
    margin-bottom: 20px;
    font-size: clamp(2.13rem, 9.45vw, 2.85rem);
  }

  .mobile-only-break {
    display: inline;
  }

  .empathy-mimoji {
    /* 모바일에서 1.5배 확대 + 좌우 미세 모션 */
    width: clamp(132px, 19.5vw, 210px);
    margin-bottom: 16px;
    animation: mimojiSway 2.2s ease-in-out infinite;
  }

  .empathy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .empathy-left {
    text-align: left;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .empathy-list-box {
    padding: 0;
    border-radius: 0;
  }

  .empathy-list li {
    margin: 0 0 14px;
    padding: 14px 14px 14px 40px;
    font-size: clamp(1.28rem, 5.4vw, 1.7rem);
    line-height: 1.45;
    display: block;
    text-align: left;
    border-radius: 12px;
  }

  .empathy-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    width: auto;
  }

  .empathy-list li.nowrap-mobile {
    white-space: nowrap;
  }

  .empathy-impact {
    margin-top: 12px;
    font-size: clamp(1.58rem, 6.9vw, 2.22rem) !important;
    text-align: center;
  }

  .empathy-right img {
    width: 100%;
    border-radius: 16px;
  }

  .cause-section {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .cause-title {
    font-size: clamp(1.58rem, 7vw, 2.15rem);
    margin-bottom: 16px;
  }

  .cause-text {
    font-size: clamp(1.04rem, 4.4vw, 1.3rem);
    line-height: 1.56;
    margin-bottom: 12px;
  }

  .cause-keypoint {
    margin: 8px 0 14px;
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    line-height: 1.45;
  }

  .cause-list {
    margin-bottom: 16px;
    gap: 8px;
  }

  .cause-list p {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: clamp(1rem, 4.2vw, 1.22rem);
    line-height: 1.45;
  }

  .cause-result {
    font-size: clamp(1.24rem, 5.6vw, 1.7rem);
    line-height: 1.42;
  }

  .solution-section {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .solution-title {
    font-size: clamp(1.45rem, 6.3vw, 1.95rem);
    margin-bottom: 20px;
  }

  .solution-visual {
    margin-bottom: 22px;
  }

  .solution-lead {
    text-align: center;
    font-size: clamp(1.24rem, 5.1vw, 1.58rem);
  }

  .solution-checklist li {
    padding: 11px 12px;
    font-size: clamp(1.2rem, 4.9vw, 1.5rem);
    text-align: center;
  }

  .solution-outro {
    text-align: center;
    font-size: clamp(1.36rem, 5.8vw, 1.82rem);
  }

  .service-section {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .service-title {
    margin-bottom: 20px;
    font-size: clamp(1.58rem, 7.1vw, 2.08rem);
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 12px 12px 16px;
    border-radius: 14px;
  }

  .service-card::after {
    top: 8px;
    width: 28px;
    height: 28px;
    font-size: 0.86rem;
  }

  .service-card-title {
    font-size: clamp(1.2rem, 5.2vw, 1.5rem);
    min-height: 0;
  }

  .service-card-desc {
    font-size: clamp(1.04rem, 4.35vw, 1.22rem);
  }

  .service-outro {
    margin-top: 22px;
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }

  .cases-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .cases-title {
    font-size: clamp(1.58rem, 7.2vw, 2.22rem);
    margin-bottom: 12px;
  }

  .cases-title-sub {
    margin-top: 8px;
    font-size: clamp(1rem, 4.2vw, 1.22rem);
  }

  .cases-lead {
    margin-bottom: 20px;
    font-size: clamp(1.02rem, 4.4vw, 1.2rem);
  }

  .cases-slide {
    padding: 10px;
  }

  .cases-slide-inner {
    flex-direction: column;
    gap: 10px;
  }

  .cases-slide--single .cases-slide-inner--single .cases-fig {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .cases-viewport {
    border-radius: 14px;
  }

  .expert-section {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .expert-title {
    margin-bottom: 18px;
    font-size: clamp(1.58rem, 7.1vw, 2.08rem);
  }

  .expert-profile {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .expert-profile-copy {
    text-align: center;
  }

  .expert-checklist li {
    padding: 11px 12px;
    text-align: center;
    font-size: clamp(1.02rem, 4.3vw, 1.24rem);
  }

  .expert-impact {
    margin-top: 14px;
    font-size: clamp(1.18rem, 5.1vw, 1.52rem);
  }

  .expert-cert-title {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 5.2vw, 1.52rem);
  }

  .expert-certs-grid {
    display: none;
  }

  .expert-certs-marquee {
    display: block;
  }

  .expert-certs-marquee .expert-cert {
    border: none;
    background: transparent;
    border-radius: 0;
    aspect-ratio: auto;
    overflow: visible;
    box-shadow: none;
  }

  .expert-certs-marquee .expert-cert img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* 전역 .detail-wrap > * 숨김 규칙이 히어로 콘텐츠를 가리지 않도록 */
.detail-main > .detail-section.hero-section .detail-wrap > * {
  opacity: 1;
  transform: none;
}

/* 히어로와 공감 사이: 연예인 후기 */
.reviews-section {
  padding-top: 86px;
  padding-bottom: 92px;
  background: linear-gradient(160deg, #6f1a32 0%, #61172c 100%);
}

.reviews-wrap {
  text-align: center;
  align-items: center;
}

.reviews-title {
  margin: 0 auto 10px;
  max-width: 860px;
  width: 100%;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  text-align: center;
}

.reviews-sub {
  margin: 0 auto 18px;
  max-width: 860px;
  width: 100%;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reviews-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 30px rgba(16, 5, 9, 0.25);
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: grid;
  place-items: center;
  position: relative;
}

.reviews-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.reviews-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(0.72rem, 1.15vw, 0.9rem);
  line-height: 1.2;
  text-align: right;
  letter-spacing: -0.01em;
}

.reviews-mobile-carousel {
  display: none;
}

.reviews-mobile-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.reviews-mobile-track {
  display: flex;
  width: 300%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-mobile-slide {
  flex: 0 0 33.3333%;
  width: 33.3333%;
}

@keyframes reviewsAfterMarqueeX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reviews-after-marquee {
  margin-top: 16px;
}

.reviews-after-marquee-viewport {
  overflow: hidden;
  width: 100%;
}

.reviews-after-marquee-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: reviewsAfterMarqueeX 18s linear infinite;
}

.reviews-after-marquee-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.reviews-after-item {
  margin: 0;
  flex: 0 0 clamp(220px, 30vw, 340px);
  width: clamp(220px, 30vw, 340px);
  border-radius: 0;
  overflow: visible;
  height: clamp(280px, 38vw, 430px);
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.reviews-after-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 8번째 섹션: 문의 폼 CTA */
.survey-section {
  background: #ffffff !important;
  padding-top: 92px;
  padding-bottom: 96px;
}

.detail-main > .detail-section.survey-section .detail-wrap > * {
  opacity: 1;
  transform: none;
}

.detail-main > .detail-section.survey-section .detail-wrap h2,
.detail-main > .detail-section.survey-section .detail-wrap h3,
.detail-main > .detail-section.survey-section .detail-wrap p,
.detail-main > .detail-section.survey-section .detail-wrap li,
.detail-main > .detail-section.survey-section .detail-wrap label,
.detail-main > .detail-section.survey-section .detail-wrap legend,
.detail-main > .detail-section.survey-section .detail-wrap strong {
  color: #231f27;
}

.survey-wrap {
  text-align: center;
}

.survey-title {
  margin: 0 auto 18px;
  max-width: 980px;
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  font-weight: 800;
}

.survey-deadline {
  margin: -4px auto 16px;
  max-width: 980px;
  color: #c61f3a;
  font-weight: 800;
  font-size: clamp(1rem, 1.85vw, 1.2rem);
  line-height: 1.45;
}

.detail-main > .detail-section.survey-section .detail-wrap p.survey-deadline {
  color: #c61f3a;
}

.survey-bullets {
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
  max-width: 980px;
  display: grid;
  gap: 10px;
}

.survey-bullets li {
  padding: 12px 14px;
  border: 1px solid #ece3e7;
  border-radius: 12px;
  background: #faf7f8;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.survey-intro {
  margin: 0 auto 14px;
  max-width: 980px;
  line-height: 1.7;
  font-weight: 600;
}

.survey-card {
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 18px;
  border-radius: 14px;
  background: #fff8fb;
  border: 1px solid #e8d4dc;
  text-align: center;
}

.survey-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.survey-card ol {
  margin: 0 0 12px;
  padding: 0;
  list-style-position: inside;
}

.survey-price {
  margin-top: 8px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.survey-price-highlight {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(1.5rem, 3.3vw, 2rem);
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.survey-place {
  display: inline-block;
  margin-top: 4px;
}

.survey-cta-text {
  max-width: 980px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
}

.survey-form {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.survey-form label,
.survey-form legend {
  font-weight: 700;
}

.survey-form input[type="text"],
.survey-form input[type="tel"],
.survey-form input[type="email"],
.survey-form textarea {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #ddd2d8;
  border-radius: 10px;
  background: #ffffff;
  padding: 11px 12px;
  font: inherit;
}

.survey-form fieldset {
  border: 1px solid #e8dce2;
  border-radius: 12px;
  padding: 12px;
  margin: 0;
}

.survey-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.survey-options label {
  font-weight: 600;
}

.survey-privacy {
  margin: 6px 0 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.survey-submit {
  width: 100%;
  height: 52px;
  font-size: 1.05rem;
  font-family: "Paperlogy", "Pretendard", "Noto Sans KR", sans-serif;
  font-weight: 700;
}

/* 문의폼 아래 푸터 */
.landing-footer {
  border-top: 1px solid rgba(123, 30, 54, 0.18);
  background: linear-gradient(165deg, #5a1428 0%, #4d1122 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 40px 0 48px;
}

.landing-footer-inner {
  display: grid;
  gap: 16px;
  text-align: center;
}

.landing-footer-top {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.landing-footer-logo {
  display: inline-block;
  line-height: 0;
}

.landing-footer-logo img {
  width: min(200px, 58vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.landing-footer-tagline {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.82);
}

.landing-footer-note {
  margin: 0 auto;
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.landing-footer-contact {
  display: grid;
  gap: 4px;
  justify-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.landing-footer-contact p {
  margin: 0;
}

.landing-footer-contact a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.landing-footer-bottom {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
  .landing-footer {
    padding: 32px 0 40px;
  }
}

.detail-main > .detail-section:first-child .eyebrow,
.detail-main > .detail-section:first-child h1,
.detail-main > .detail-section:first-child .section-intro {
  color: #ffffff;
}

.detail-main > .detail-section:first-child .section-intro {
  opacity: 0.92;
}

.detail-main > .detail-section:first-child .btn-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.detail-main > .detail-section:first-child .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.detail-main > .detail-section:first-child .detail-image {
  margin-top: 24px;
}

.center-actions {
  justify-content: center;
}

.transition {
  background: linear-gradient(160deg, #f7edf1 0%, #f3e5ea 100%);
}

.center {
  text-align: center;
}

.center p {
  color: #4f4f59;
  max-width: 820px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.72;
}

.center h2 {
  margin-bottom: 16px;
}

.center em {
  color: var(--primary);
  font-style: normal;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(80, 27, 44, 0.05);
}

.step p {
  color: #4d4d58;
}

.num {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f3e4e9;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.price-card {
  background: var(--white);
  border: 1.5px solid #d4a6b4;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 24px rgba(90, 22, 42, 0.07);
}

.anchor {
  color: #8d5f6c;
  text-decoration: line-through;
}

.price-title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 600;
}

.price {
  margin-top: 6px;
  color: var(--primary);
  font-size: 42px;
  font-weight: 700;
}

.price-desc {
  margin: 12px 0 18px;
  color: var(--muted);
}

.faq {
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  text-align: left;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-panel {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

.faq-panel.open {
  display: block;
}

.icon {
  color: var(--primary);
  font-weight: 700;
}

.final-cta {
  background: linear-gradient(160deg, #5a1428 0%, #4d1122 100%) !important;
}

.cta-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 42px 30px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #6d6d77;
  font-size: 14px;
}

.hero-image {
  min-height: 500px;
}

.hero-facts {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.hero-facts p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f6edf1;
  color: var(--primary);
  font-weight: 600;
}

.tall {
  min-height: 440px;
}

.cases {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 22px rgba(74, 20, 38, 0.06);
}

.case-card h3 {
  margin-top: 16px;
  font-size: 21px;
}

.case-card p {
  margin-top: 8px;
  color: #4e4e58;
  font-size: 16px;
}

.before {
  font-weight: 600;
}

.after {
  color: var(--primary) !important;
  font-weight: 600;
}

.img-slot.medium {
  min-height: 220px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .cards.two {
    grid-template-columns: 1fr;
  }

  .cases {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 380px;
  }

  .detail-image {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .detail-main > .detail-section.hero-section {
    min-height: min(670px, calc(100svh - var(--header-h)));
  }

  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .topbar-wrap {
    min-height: 62px;
    gap: 8px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .topbar-nav {
    display: none;
  }

  .brand-logo img {
    height: 40px;
    max-width: min(160px, 42vw);
  }

  /* 히어로 CTA는 전역 .btn 규칙(14px/44px)을 받지 않도록 제외 */
  .btn:not(.hero-cta) {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .btn.hero-cta {
    width: 100%;
    height: auto;
    min-height: 52px;
  }

  .topbar .btn-outline {
    width: auto;
    min-width: 126px;
    white-space: nowrap;
    font-size: 13px;
    height: 38px;
    padding: 0 12px;
    justify-self: center;
    margin: 0 auto 0 14px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
  }

  .quick-fab {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .quick-fab-btn img {
    width: 42px;
    height: 42px;
  }

  .reviews-section {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .reviews-title {
    font-size: clamp(1.52rem, 6.8vw, 2.05rem);
    margin-bottom: 8px;
  }

  .reviews-sub {
    margin-bottom: 14px;
    font-size: clamp(0.96rem, 3.9vw, 1.1rem);
  }

  .reviews-grid {
    display: none;
  }

  .reviews-mobile-carousel {
    display: block;
  }

  .reviews-after-marquee {
    margin-top: 12px;
  }

  .reviews-after-marquee-track {
    gap: 8px;
    animation-duration: 14s;
  }

  .reviews-after-marquee-group {
    gap: 8px;
  }

  .reviews-after-item {
    flex: 0 0 clamp(170px, 56vw, 250px);
    width: clamp(170px, 56vw, 250px);
    height: clamp(240px, 72vw, 330px);
  }

  .survey-section {
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .survey-title {
    font-size: clamp(1.45rem, 6.3vw, 1.95rem);
  }

  .survey-deadline {
    white-space: nowrap;
    font-size: clamp(0.67rem, 2.9vw, 0.86rem);
    letter-spacing: -0.03em;
  }

  .survey-options {
    grid-template-columns: 1fr 1fr;
  }

  .detail-wrap {
    width: min(1080px, calc(100% - 24px));
  }

  .detail-main > .detail-section:first-child:not(.hero-section) {
    padding-top: 96px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.32;
  }

  h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  .section-intro {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 22px;
  }

  .detail-bullets p {
    font-size: 15px;
    line-height: 1.78;
  }

  .detail-image {
    min-height: 320px;
    border-radius: 18px;
    margin-top: 14px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .cta-box {
    padding: 30px 20px;
  }
}
