:root {
  --grey-90: #1b1d1f;
  --grey-80: #26282b;
  --grey-70: #454C53;
  --grey-60: #72787f;
  --grey-50: #9EA4AA;
  --grey-30: #e8ebed;
  --white: #ffffff;
  --blue-50: #3282f5;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Spoqa Han Sans Neo", sans-serif;
  background-color: #ffffff;
  color: var(--grey-90);
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#page-container {
  margin-bottom: 0;
}

.page {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  overflow: hidden;
}

/* 공통 */
.section {
  padding: 32px 16px;
  text-align: center;
}

.title-xlg {
  font-size: 36px;
  line-height: 50px;
  font-weight: 600;
  letter-spacing: -0.408px;
}

.title-lg {
  font-size: 26px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.408px;
  text-align: center;
  margin-bottom: 32px;
}

.title-md {
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.408px;
  text-align: center;
  margin-bottom: 12px;
}

.badge {
  font-size: 16px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: -0.408px;
  color: var(--blue-50);
  margin-bottom: 12px;
}

.body {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.408px;
  text-align: center;
  margin-bottom: 8px;
}

.body-wide {
  max-width: 420px;
  margin: 0 auto 16px;
}

.hash-tags {
  font-size: 14px;
  line-height: 14px;
  color: var(--blue-50);
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 52px;
  margin: 8px auto;
  border-radius: 24px;
  background-color: var(--blue-50);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.408px;
  box-shadow: 0 0 20px rgba(50, 130, 245, 0.5);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: #1f6ad8; /* 살짝 어두운 블루 */
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(50, 130, 245, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 16px rgba(50, 130, 245, 0.4);
}

/* 히어로 CTA – 은은한 빛남 (천천히 점멸) */
.hero-cta,
.hero-cta .btn-primary {
  animation: hero-cta-glow 2.5s ease-in-out infinite;
}

@keyframes hero-cta-glow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(50, 130, 245, 0.4);
    opacity: 0.95;
  }
  50% {
    box-shadow: 0 0 28px rgba(50, 130, 245, 0.65);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta,
  .hero-cta .btn-primary {
    animation: none;
  }
}

/* 헤더 히어로 영역 */
.hero {
  position: relative;
  min-height: 396px;
  color: #ffffff;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("/img/concierge/hero-bg.webp");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 16px;
  min-height: 396px;
  box-sizing: border-box;
}

.hero-title {
  margin-top: 8px;
  margin-bottom: 24px;
  word-break: keep-all; /* 한글 단어 중간 줄바꿈 방지 (설계하|는 → 설계하는 유지) */
}

/* 개인/기업 카드 */
.dark-block {
  background-color: var(--grey-90);
  padding: 80px 16px;
  color: #ffffff;
}

.font-light {
  font-weight: 400;
  color: var(--grey-60);
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.card {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  background-color: var(--grey-80);
  padding: 24px 16px;
  text-align: center;
}

.card-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* 서비스 영역 (화이트) */
.services {
  background-color: #ffffff;
  padding: 80px 16px;
  color: var(--grey-90);
}

.service-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.service-item {
  width: 100%;
  max-width: 420px;
}

.service-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
}

.service-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* 회색-블랙 섹션 */
.mid-dark-block {
  background: linear-gradient(to bottom, #393f45, #1b1d1f);
  padding: 80px 16px;
  color: #ffffff;
}

.pill-cards {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.pill-card {
  width: 100%;
  max-width: 328px;
  min-height: 196px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 16px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill-card-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-50);
  margin-bottom: 4px;
}

.pill-card-title {
  font-size: 18px;
  font-weight: 700;
}

.pill-card-body {
  font-size: 16px;
  line-height: 26px;
}

/* 상담 프로세스 섹션 */
.process-block {
  background-color: var(--grey-90);
  padding: 80px 16px;
  color: #ffffff;
  margin-top: -1px; /* 가치3종(mid-dark-block)과의 그라데이션 경계선 제거 */
}

.process-cards {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.process-card {
  width: 100%;
  max-width: 500px;
  min-height: 144px;
  border-radius: 10px;
  padding: 20px 16px 24px;
  border: 1px solid var(--grey-60);
  text-align: center;
}

.process-card:nth-child(3) {
  border-color: var(--grey-30);
}

.process-step {
  font-size: 14px;
  color: var(--blue-50);
  font-weight: 500;
  margin-bottom: 8px;
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-body {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

/* 인텔리전스/엑스클루시비티/옵티마이제이션 */
.value-grid {
  margin-top: 32px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;              /* 가로 스크롤 */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.value-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.value-grid.is-dragging,
.value-grid.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.value-grid::-webkit-scrollbar {
  display: none;
}

.value-card {
  width: 100%;
  border-radius: 10px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
  flex: 0 0 clamp(240px, calc(100% - 64px), 280px);   /* 화면보다 살짝 작게 → 다음 카드 일부 보임 */
  scroll-snap-align: start; 
}

.value-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-50);
  margin-bottom: 24px;
}

.value-body {
  font-size: 16px;
  line-height: 26px;
}

.value-body b {
  font-weight: 500;
}

/* CTA 버튼 */
.cta-bottom {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 699px) {
  .value-grid,
  .value-grid * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }
}

@media (min-width: 700px) {
  .card-row {
    flex-direction: row;      /* 세로 → 가로 */
    justify-content: center;  /* 가운데 정렬 */
    gap: 24px;
  }

  .card-row .card {
    flex: 1 1 0;              /* 가로 공간을 균등 분배 */
    max-width: none;          /* 필요하면 최대 너비 제한 해제 */
  }

  .service-list {
    flex-direction: row;
    flex-wrap: wrap;            /* 여러 줄 허용 */
    justify-content: center;
    gap: 48px;
  }

  .service-item {
    flex: 0 1 300px;            /* 한 줄에 최대 3개 들어가도록 기준 폭 설정 */
    max-width: none;
  }

  .value-grid {
    padding: 0;                  /* 데스크탑에서는 양옆 패딩 제거 */
    overflow-x: visible;
    scroll-snap-type: none;
    justify-content: center;
    gap: 16px;
  }

  .value-card {
    flex: 1 1 0;
    max-width: none;
  }

  .process-cards {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .process-card {
    flex: 1 1 0;
    max-width: none;
    text-align: left;
  }
}

/* ===== Scroll Reveal (1단계 기반) ===== */
.scroll-reveal {
  --reveal-duration: 0.5s;
  --reveal-distance: 20px;
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) ease-out, transform var(--reveal-duration) ease-out;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-delay-1 { transition-delay: 0.1s; }

/* 서비스 리스트 순차 등장 (4단계) */
.service-list > .service-item.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.service-list > .service-item.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.service-list > .service-item.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.service-list > .service-item.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.service-list > .service-item.scroll-reveal:nth-child(5) { transition-delay: 0.5s; }

/* 가치 카드 순차 등장 (5단계) – 우측에서 좌측 슬라이드 인 */
.value-grid > .value-card.scroll-reveal {
  transform: translateX(var(--reveal-distance));
}
.value-grid > .value-card.scroll-reveal.in-view {
  transform: translateX(0);
}
.value-grid > .value-card.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.value-grid > .value-card.scroll-reveal:nth-child(2) { transition-delay: 0.05s; }
.value-grid > .value-card.scroll-reveal:nth-child(3) { transition-delay: 0.1s; }

/* 프로세스 카드 순차 등장 (6단계) */
.process-cards > .process-card.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.process-cards > .process-card.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.process-cards > .process-card.scroll-reveal:nth-child(3) { transition-delay: 0.4s; }

/* CTA 버튼 – 섹션 콘텐츠보다 살짝 늦게 등장 (7단계) */
.cta-bottom.scroll-reveal { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}