/* ── Home Streamline — Premium 간결 UX ── */

.page-home a.symptom-card {
  text-decoration: none;
  color: inherit;
}

.page-home .symptom-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0D4B3A;
}

.page-home a.symptom-card:hover .symptom-card__go,
.page-home a.symptom-card:focus-visible .symptom-card__go {
  color: #0D4B3A;
}

.page-home .symptom-card.is-symptom-selected::before {
  display: none;
}

.page-home .stats__grid--compact {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .page-home .stats__grid--compact {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
  }
}

@media (max-width: 639px) {
  .page-home .stats__grid--compact {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

/* Intro stat cards — unified number typography */
.page-home .intro-section .stat-card {
  display: flex;
  flex-direction: column;
}

.page-home .intro-section .stat-card__value {
  display: flex;
  align-items: flex-end;
  min-height: 52px;
  margin: 0 0 0.75rem;
}

.page-home .intro-section .stat-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: #0D4B3A;
  letter-spacing: -0.03em;
}

.page-home .intro-section .stat-number__suffix {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #0D4B3A;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .page-home .intro-section .stat-card__value {
    min-height: 60px;
  }

  .page-home .intro-section .stat-number {
    font-size: 60px;
  }

  .page-home .intro-section .stat-number__suffix {
    font-size: 34px;
  }
}

@media (min-width: 1024px) {
  .page-home .intro-section .stat-card__value {
    min-height: 72px;
  }

  .page-home .intro-section .stat-number {
    font-size: 72px;
  }

  .page-home .intro-section .stat-number__suffix {
    font-size: 40px;
  }
}

.page-home .intro-section .stat-card__label {
  margin: 0;
}

.page-home .intro-section .stat-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.page-home .intro-section .stat-card--link .stat-number {
  transition: color 0.25s ease;
}

.page-home .intro-section .stat-card--link .stat-card__label {
  transition: color 0.25s ease;
}

.page-home .intro-section .stat-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(13, 75, 58, 0.52);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.page-home .intro-section .stat-card--link:hover,
.page-home .intro-section .stat-card--link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(13, 75, 58, 0.3);
  box-shadow: 0 10px 28px rgba(11, 61, 46, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.page-home .intro-section .stat-card--link:hover .stat-number,
.page-home .intro-section .stat-card--link:focus-visible .stat-number {
  color: #0a3d2f;
}

.page-home .intro-section .stat-card--link:hover .stat-card__label,
.page-home .intro-section .stat-card--link:focus-visible .stat-card__label {
  color: #1a1a1a;
}

.page-home .intro-section .stat-card--link:hover .stat-card__cta,
.page-home .intro-section .stat-card--link:focus-visible .stat-card__cta {
  color: #0d4b3a;
}

.page-home .intro-section .stat-card--link:focus-visible {
  outline: 2px solid #172b4d;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .intro-section .stat-card--link {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .page-home .intro-section .stat-card--link:hover,
  .page-home .intro-section .stat-card--link:focus-visible {
    transform: none;
  }
}

.page-home .intro-section__more {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.page-home .philosophy-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* Treatment category — 진료과목 안내 섹션 (대표 이미지 포함) */
.page-home main > section.treatment-category-section {
  padding-top: clamp(5rem, 6vw, 5.5rem);
  padding-bottom: clamp(6rem, 8vw, 7.5rem);
  background: #F4F0E8;
}

.page-home .treatment-category-section .treatment-image-wrap {
  margin: 0 auto clamp(3.5rem, 4.5vw, 4.5rem);
  max-width: 60rem;
  background: transparent;
}

.page-home .treatment-category-section .treatment-image-wrap .trust-moment__figure {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-home .treatment-category-section .treatment-image-wrap .trust-moment__img {
  display: block;
  width: 100%;
  max-width: 60rem;
  height: clamp(220px, 32vw, 360px);
  max-height: 360px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: none;
}

.page-home .treatment-category-section .section-header {
  margin-bottom: clamp(2.5rem, 4vw, 3rem);
}

.page-home .treatment-category-section .section-eyebrow {
  margin-bottom: 0.625rem;
}

.page-home .treatment-category-section .section-title {
  margin-bottom: 0;
}

.page-home .treatment-category-section .section-desc {
  margin-top: 0.875rem;
  color: #4A4A4A;
  line-height: 1.7;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-home main > section.treatment-category-section {
    padding-top: 4.25rem;
    padding-bottom: 5.5rem;
  }

  .page-home .treatment-category-section .treatment-image-wrap {
    margin-bottom: 3.25rem;
  }
}

@media (max-width: 767px) {
  .page-home main > section.treatment-category-section {
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

  .page-home .treatment-category-section .treatment-image-wrap {
    margin-bottom: 2.75rem;
  }
}

/* Patient info — 환자 안내 섹션 */
.page-home main > section.patient-info-section {
  padding-top: clamp(3.25rem, 5.5vw, 5.25rem);
  padding-bottom: clamp(3.5rem, 5vw, 4.5rem);
  background: #F7F7F5;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-home main > section.patient-info-section {
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 767px) {
  .page-home main > section.patient-info-section {
    padding-top: 3.5rem;
  }
}

.page-home .patient-info-section .content-hub__card {
  background: #FFFFFF;
  border-color: #E8E8E4;
  border-radius: 18px;
}

/* Philosophy featured card — layout & spacing fine-tune */
.page-home .philosophy-section .why__featured-content {
  min-width: 0;
}

.page-home .philosophy-section .why__featured-content > .btn--cta-primary {
  margin-top: 28px;
}

.page-home .philosophy-section .why__featured-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-home .philosophy-section .why__featured-title {
  font-size: clamp(1.75rem, 2.8vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .page-home .philosophy-section .why__featured .content-media__img {
    width: 100%;
    max-width: 88%;
    margin-left: auto;
    height: clamp(248px, 30vw, 400px);
    max-height: 400px;
  }
}

@media (min-width: 1024px) {
  .page-home .philosophy-section .why__featured .content-media__img {
    max-width: 85%;
    height: clamp(248px, 28vw, 392px);
    max-height: 392px;
  }
}

@media (max-width: 639px) {
  .page-home .philosophy-section .why__featured-title__br {
    display: none;
  }
}

/* ── Case studies — 3-col premium cards ── */
.page-home a.case-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.page-home a.case-card--link:hover,
.page-home a.case-card--link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(13, 75, 58, 0.14);
  border-color: rgba(13, 75, 58, 0.14);
  outline: none;
}

.page-home a.case-card--link:focus-visible {
  outline: 2px solid #B8945A;
  outline-offset: 3px;
}

.page-home .case-card__type {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0D4B3A;
  background: rgba(13, 75, 58, 0.06);
  border-radius: 6px;
}

.page-home a.case-card--link .case-card__director-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #69757D;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .case-card__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0D4B3A;
}

.page-home a.case-card--link:hover .case-card__foot,
.page-home a.case-card--link:focus-visible .case-card__foot {
  color: #0D4B3A;
}

.page-home .case-studies__cta {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  text-align: center;
}

.page-home .case-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .case-card__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .case-card__placeholder-msg {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(105, 117, 125, 0.55);
}

.page-home .case-card--placeholder .case-card__director-text {
  color: rgba(105, 117, 125, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .page-home a.case-card--link:hover,
  .page-home a.case-card--link:focus-visible {
    transform: none;
  }
}

.page-home .reviews__more {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* Hero 바로 아래 리뷰 섹션 — 상하 여백 */
.page-home .hero.hero--premium + .reviews.reviews--compact {
  padding-top: clamp(3.5rem, 8vw, 6.875rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.875rem);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-home .hero.hero--premium + .reviews.reviews--compact {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.page-home .reviews__more-btn {
  gap: 0.5rem;
}

.page-home .reviews__more-icon {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 479px) {
  .page-home .reviews__more {
    flex-direction: column;
  }

  .page-home .reviews__more-btn {
    width: 100%;
    max-width: 300px;
  }
}

.page-home .reviews__notice {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #777;
  text-align: center;
  word-break: keep-all;
}

.page-home .faq__more-link {
  margin-top: 1.25rem;
  text-align: center;
}

.page-home .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;
}

/* Floating dock — viewport-fixed UI (single instance) */
.page-home .home-floating-dock {
  position: static;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  pointer-events: none;
}

.page-home .home-floating-dock > .journey-nav,
.page-home .home-floating-dock > .floating-consult,
.page-home .home-floating-dock > .scroll-progress {
  pointer-events: auto;
}
