/* ============================================
   당신의사수 랜딩페이지 - Notion 레퍼런스 스타일
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-subtle: #f7f7f8;
  --color-text: #1a1a1a;
  --color-text-secondary: #6b6b6b;
  --color-text-muted: #8e8e93;
  --color-primary: #1a1a1a;
  --color-primary-hover: #333;
  --color-border: #e5e5e7;
  --color-accent: #0a84ff;
  --font-sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------
   헤더
---------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.header .logo img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.nav a:hover {
  color: var(--color-text);
}

.header-cta {
  display: flex;
  gap: 12px;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-text-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn-ghost:hover {
  color: var(--color-text);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ----------------------------------------
   히어로
---------------------------------------- */
.hero {
  padding: 80px 24px 100px;
  text-align: center;
  background: var(--color-bg);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 36px; /* 24px × 1.5 */
}

.hero-rolling-wrap {
  display: block;
  min-height: 1.2em;
  position: relative;
}

.hero-rolling {
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-rolling.rolling-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-rolling .word {
  display: inline-block;
  white-space: nowrap;
}

/* 히어로 롤링 문구 줄바꿈: 모바일에서만 적용 */
.hero-br {
  display: block;
}

@media (min-width: 769px) {
  .hero-br {
    display: none;
  }
}

.hero-subcopy {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 54px; /* 36px × 1.5 */
}

.hero-subcopy strong {
  color: var(--color-text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 72px; /* 48px × 1.5 */
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-badges span {
  padding: 6px 12px;
  background: var(--color-bg-subtle);
  border-radius: 20px;
}

/* ----------------------------------------
   섹션 공통
---------------------------------------- */
.section {
  padding: 80px 24px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
}

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

.section-desc {
  text-align: center;
  color: var(--color-text-secondary);
  margin: 0 0 32px;
  font-size: 1rem;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ----------------------------------------
   오늘의사수 카드
---------------------------------------- */
.mentors-section {
  background: var(--color-bg-subtle);
}

.mentors-header {
  text-align: center;
  margin-bottom: 40px;
}

.mentors-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #EBEBFF;
  color: #5F5DF9;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 16px;
}

.mentors-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #212121;
  margin: 0 0 12px;
}

.mentors-desc {
  font-size: 1rem;
  color: #424242;
  margin: 0;
}

.mentors-desc strong {
  color: #5F5DF9;
  font-weight: 600;
}

.mentor-cards-wrapper {
  position: relative;
}

.mentor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.mentor-cards-dots {
  display: none;
}

.mentor-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.mentor-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.mentor-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 16px;
}

.mentor-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.mentor-card-role {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0 0 4px;
}

.mentor-card-career {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.mentor-card-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mentor-card-tags li {
  padding: 4px 10px;
  background: var(--color-bg-subtle);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* 첫 번째 멘토 카드: 세로 중앙 정렬, 원형 프로필 이미지 */
.mentor-card--featured {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  min-width: 0; /* 그리드 셀 내 동일 너비 유지 */
}

.mentor-card--featured .mentor-card-featured-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
  border: 3px solid var(--color-border);
}

.mentor-card--featured .mentor-card-featured-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-card--featured .mentor-card-featured-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.mentor-card--featured .mentor-card-featured-company {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: -0.02em;
}

.mentor-card--featured .mentor-card-featured-role {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin: 0 0 12px;
}

.mentor-card--featured .mentor-card-featured-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.mentor-card--featured .mentor-card-featured-tags {
  justify-content: center;
}

/* 클릭 가능한 멘토 카드 (팝업 연동) */
.mentor-card--clickable {
  cursor: pointer;
}

.mentor-card--clickable:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* 멘토 상세 팝업 */
.mentor-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mentor-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.mentor-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.mentor-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  padding: 32px 28px 28px;
}

.mentor-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mentor-modal-close:hover {
  color: var(--color-text);
  background: var(--color-bg-subtle);
}

.mentor-modal-body {
  padding-right: 8px;
}

.mentor-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-text);
}

.mentor-modal-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.mentor-modal-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--color-text);
}

.mentor-modal-h3:first-of-type {
  margin-top: 0;
}

.mentor-modal-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.mentor-modal-list li {
  margin-bottom: 6px;
}

.mentor-modal-quote {
  margin: 12px 0;
  padding: 12px 16px;
  background: var(--color-bg-subtle);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.mentors-section-cta {
  margin-top: 32px;
  text-align: center;
}

/* ----------------------------------------
   서비스 카드
---------------------------------------- */
.services-section {
  background: transparent;
}

.service-cards-wrapper {
  position: relative;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-cards-dots {
  display: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-text-muted);
}

.service-card-featured {
  border: 2px solid #5F5DF9;
  background: var(--color-bg);
  padding-top: 36px;
}

.service-card-step {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #5F5DF9;
  margin-bottom: 10px;
}

.service-card-step--best {
  display: inline-block;
  padding: 4px 12px;
  background: #5F5DF9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 10px;
}

.service-card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  background: #5F5DF9;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212121;
  margin: 0 0 8px;
}

.service-card-price {
  font-size: 1rem;
  margin: 0 0 16px;
  color: #757575;
}

.service-card-price-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212121;
}

.service-card-price-period {
  font-size: 0.95rem;
  color: #757575;
  font-weight: 400;
}

.service-card-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1 1 auto;
}

.service-card-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: #212121;
  position: relative;
  padding-left: 24px;
}

.service-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #5F5DF9;
  font-size: 0.9rem;
}

.service-card-recommend {
  margin-top: auto;
  margin-bottom: 0;
  padding: 16px;
  background: #f5f5f5;
  border-radius: var(--radius);
}

.service-card-recommend strong {
  display: block;
  font-size: 0.9rem;
  color: #212121;
  margin-bottom: 6px;
}

.service-card-recommend p {
  margin: 0;
  font-size: 0.9rem;
  color: #616161;
  line-height: 1.5;
}


/* ----------------------------------------
   실제 진행 사례
---------------------------------------- */
.case-section {
  background: #151722;
}

.case-section .section-title--dark {
  color: #fff;
}

.case-section .section-title--dark em {
  color: #8B5CF6;
}

.case-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 40px 32px;
  background: #282A36;
  border-radius: 16px;
  border: none;
  box-shadow: none;
  position: relative;
}

.case-quote {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #e4e4e7;
  margin: 0 0 24px;
  font-style: normal;
  padding-left: 2.5rem;
  position: relative;
}

.case-quote::before {
  content: "\201C";
  position: absolute;
  top: -4px;
  left: 0;
  font-size: 3rem;
  font-weight: 700;
  color: #8B5CF6;
  font-family: Georgia, serif;
  line-height: 0;
  pointer-events: none;
}

.case-quote::after {
  content: "\201D";
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 3rem;
  font-weight: 700;
  color: #8B5CF6;
  font-family: Georgia, serif;
  line-height: 0;
  pointer-events: none;
}

.case-quote-highlight {
  color: #8B5CF6;
  font-weight: 600;
}

.case-author-block {
  text-align: right;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-author-name {
  font-size: 0.95rem;
  color: #a1a1aa;
  margin: 0 0 4px;
}

.case-author-role {
  font-size: 0.85rem;
  color: #71717a;
  margin: 0;
}

/* ----------------------------------------
   왜 당신의사수
---------------------------------------- */
.why-section {
  background: var(--color-bg);
}

.why-section .section-title {
  margin-bottom: 8px;
}

.why-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin: 0 0 40px;
  font-weight: 400;
}

.why-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.why-box {
  flex: 1;
  min-width: 260px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
}

.why-box-old {
  border: 1px solid #e0e0e0;
}

.why-box-old h3 {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}

.why-box-us {
  border: 2px solid #5F5DF9;
}

.why-box-us h3 {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}

.why-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.why-box-old ul li::before {
  content: "✕";
  flex-shrink: 0;
  color: #dc2626;
  font-size: 1rem;
  font-weight: 700;
}

.why-box-us ul li::before {
  content: "✓";
  flex-shrink: 0;
  color: #2563eb;
  font-size: 1.1rem;
  font-weight: 700;
}

.why-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  align-self: center;
  margin: 0 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------
   마지막 CTA
---------------------------------------- */
.cta-section {
  background: var(--color-bg-subtle);
  padding: 100px 24px;
}

.cta-section .container {
  text-align: center;
}

.cta-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
  color: var(--color-text);
}

.cta-sub {
  text-align: center;
  color: var(--color-text-secondary);
  margin: 0 0 32px;
  font-size: 1.1rem;
}

.cta-section .btn {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto;
}

.cta-section .container > * {
  text-align: center;
}

/* CTA 전용 버튼 (검정 배경, 텍스트 너비에 맞춤) */
.btn-cta-gradient {
  background: #1a1a1a;
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn-cta-gradient:hover {
  background: #333;
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

/* ----------------------------------------
   푸터
---------------------------------------- */
.footer {
  padding: 48px 24px 28px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand {
  max-width: 420px;
}

.footer-brand-name {
  display: inline-block;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.footer-brand-desc {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: 18px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ----------------------------------------
   카카오톡 채널 FAB
---------------------------------------- */
.fab-kakao {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FEE500;
  color: #191919;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-kakao:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.fab-kakao:focus {
  outline: 2px solid #FEE500;
  outline-offset: 2px;
}

/* ----------------------------------------
   반응형
---------------------------------------- */
/* 태블릿: 서비스 카드 슬라이드 + 왜 당신의사수 섹션 */
@media (max-width: 900px) {
  /* 서비스 카드 슬라이드 */
  .services-section .container {
    overflow: visible;
  }

  .service-cards-wrapper {
    margin: 0 -20px;
    padding: 0 20px 8px;
  }

  .service-cards {
    display: flex;
    grid-template-columns: unset;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 8px;
  }

  .service-cards::-webkit-scrollbar {
    height: 6px;
  }

  .service-cards::-webkit-scrollbar-track {
    background: var(--color-bg-subtle);
    border-radius: 3px;
  }

  .service-cards::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
  }

  .service-cards .service-card {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* 모바일/태블릿: 가장 인기 뱃지를 카드 안 우측 상단으로 */
  .service-card-featured .service-card-badge {
    left: auto;
    right: 16px;
    top: 16px;
    transform: none;
  }

  .service-cards-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .service-cards-dots .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-border);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
  }

  .service-cards-dots .dot:hover {
    background: var(--color-text-muted);
  }

  .service-cards-dots .dot.is-active {
    background: #5F5DF9;
    transform: scale(1.2);
  }

  /* 멘토 카드 슬라이드 */
  .mentors-section .container {
    overflow: visible;
  }

  .mentor-cards-wrapper {
    margin: 0 -20px;
    padding: 0 20px 8px;
  }

  .mentor-cards {
    display: flex;
    grid-template-columns: unset;
    max-width: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 8px;
  }

  .mentor-cards::-webkit-scrollbar {
    height: 6px;
  }

  .mentor-cards::-webkit-scrollbar-track {
    background: var(--color-bg-subtle);
    border-radius: 3px;
  }

  .mentor-cards::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
  }

  .mentor-cards .mentor-card {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .mentor-cards-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .mentor-cards-dots .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-border);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mentor-cards-dots .dot:hover {
    background: var(--color-text-muted);
  }

  .mentor-cards-dots .dot.is-active {
    background: #5F5DF9;
    transform: scale(1.2);
  }

  .why-compare {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-box {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .why-vs {
    margin: 16px auto;
    flex-shrink: 0;
  }

  .why-subtitle {
    margin-bottom: 32px;
    padding: 0 8px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 48px 20px 64px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section {
    padding: 56px 20px;
  }

  .case-card {
    padding: 28px 20px 24px;
  }

  .case-quote {
    font-size: 1rem;
    padding-left: 2rem;
  }

  .case-quote::before,
  .case-quote::after {
    font-size: 2.25rem;
  }

  /* 왜 당신의사수: 모바일 패딩·줄바꿈 개선 */
  .why-compare {
    max-width: 100%;
  }

  .why-box {
    padding: 24px 20px;
  }

  .why-box ul li {
    word-break: keep-all;
    line-height: 1.6;
  }

  .why-vs {
    margin: 12px auto;
  }

  .why-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .why-arrow {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand-name {
    font-size: 1.75rem;
  }

  .footer-links {
    justify-content: flex-start;
    padding-top: 0;
  }
}

/* 작은 모바일 */
@media (max-width: 400px) {
  .why-box {
    padding: 20px 16px;
  }

  .why-box ul li {
    font-size: 0.9rem;
  }
}
