/*------------------------------------------------------
· 윤회당 (yhd) Ver 1.0
· Type : contents.css
· Author : Albatrosss Pictures Kim Hyun Gyu
· Data : 2026-02-19
· Copyright @ 2026 윤회당 (yhd) all rights reserved
---------------------------------------------------------
· SUMMARY:
0) Responsive Area
1) Common
2) Sub Header
3) Sub Intro (서브페이지 공통 Intro)
4) About Page (연꽃 애니메이션 + Location)
5) Space Tabs (탭 네비게이션 + 패널)
6) Package (패키지 구성 — 메인/서브 공통)
7) Tour Page (만다라 + 갤러리)
9) Policy (이용정책 / 개인정보처리방침)
10) Review Board (유가족이야기 게시판 섹션 래퍼)
10-2) Gallery Board (갤러리 게시판 섹션 래퍼)
10-3) Location Board (지점현황 게시판 섹션 래퍼)
10-4) SNS Board (SNS 게시판 섹션 래퍼)
11) Customer (고객센터 탭 네비게이션 + 게시판 래퍼)
---------------------------------------------------------*/

@charset "utf-8";

/* #################################### 01.Common #################################### */

#smooth-content {
    background: var(--yhd-black);
}

.yhd-nowrap { white-space: nowrap; }


/* #################################### 02.Sub Header #################################### */

.yhd-sub-header {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.yhd-sub-header-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.yhd-sub-header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yhd-sub-header-mandala {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: clamp(22rem, 28vw + 6rem, 44rem);
    height: auto;
    opacity: 0.07;
    animation: subMandalaRotate 90s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes subMandalaRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.yhd-sub-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--yhd-black-75) 0%,
        var(--yhd-black-80) 50%,
        var(--yhd-black-92) 100%
    );
}

.yhd-sub-header-inner {
    position: relative;
    z-index: 1;
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

.yhd-sub-header-title {
    font-size: clamp(2rem, 2.5vw + 1rem, 4rem);
    font-weight: 500;
    color: var(--yhd-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.yhd-sub-header-desc {
    font-size: clamp(1rem, 0.3vw + 0.8rem, 1.25rem);
    color: var(--yhd-white);
    font-weight: 300;
    margin-top: clamp(0.75rem, 1vw + 0.25rem, 1.5rem);
    letter-spacing: -0.01em;
    line-height: 1.8;
}

/* 스크롤 인디케이터 (좌하단) */
.yhd-sub-header-scroll {
    position: absolute;
    left: 5%;
    bottom: clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 0.75vw, 0.75rem);
    z-index: 2;
}

.yhd-sub-header-scroll-text {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--yhd-white-40);
}

.yhd-sub-header-scroll-mouse {
    width: clamp(1.25rem, 1.5vw, 1.5rem);
    height: clamp(2rem, 2.5vw, 2.5rem);
    border: 2px solid var(--yhd-white-30);
    border-radius: 100px;
    position: relative;
    display: flex;
    justify-content: center;
}

.yhd-sub-header-scroll-wheel {
    position: absolute;
    top: clamp(0.3rem, 0.4vw, 0.4rem);
    width: 5px;
    height: 5px;
    border-radius: 100px;
    background: var(--yhd-point);
    animation: subScrollWheel 1.8s ease-in-out infinite;
}

@keyframes subScrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0; transform: translateY(clamp(0.5rem, 0.75vw, 0.75rem)); }
    51% { opacity: 0; transform: translateY(0); }
    100% { opacity: 1; }
}

/* 서브헤더 이후 콘텐츠가 위로 덮는 효과 */
.yhd-sub-header ~ * {
    position: relative;
    z-index: 2;
}

/* 콘텐츠 덮기 시 상단 그라디언트 (투명→검정) */
.yhd-sub-header + *::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(14rem, 26vw, 32rem);
    background: linear-gradient(to bottom, transparent 0%, var(--yhd-black) 100%);
    transform: translateY(-100%);
    pointer-events: none;
    z-index: 3;
}

/* Sub Header 내부 오버레이 — 콘텐츠가 덮기 전에 서서히 어두워짐 (GSAP 제어) */
/* blur 오버레이 — 커버 전에 먼저 나타남 (GSAP 제어) */
.yhd-sub-header-overlay-blur {
    position: absolute;
    inset: 0;
    background: var(--yhd-black-30);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

/* 그라디언트 오버레이 — blur 후 어두워짐 (GSAP 제어) */
.yhd-sub-header-overlay-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--yhd-black) 0%, var(--yhd-black-60) 40%, transparent 100%);
    opacity: 0;
    z-index: 3;
    pointer-events: none;
}




/* #################################### 03.Sub Intro (서브페이지 공통 Intro) #################################### */

.yhd-sub-intro {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent 0%, var(--yhd-black) clamp(18rem, 40vh, 40rem));
    padding: clamp(8rem, 6vw + 4rem, 22rem) 0;
}

.yhd-sub-intro-inner {
    position: relative;
    z-index: 1;
    width: var(--yhd-content-width, 90%);
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.yhd-sub-intro-title {
    font-size: clamp(2rem, 2.5vw + 1rem, 4.5rem);
    font-weight: 300;
    color: var(--yhd-white);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* 장식 SVG wrap — 타이틀과 설명 사이 인라인 배치 */
.yhd-sub-intro-symbol-wrap {
    width: clamp(5rem, 6vw + 1rem, 11rem);
    margin: clamp(2rem, 2vw + 1rem, 4rem) auto;
    pointer-events: none;
}

/* Review 페이지 오너먼트: 다른 페이지 심볼보다 작게 */
.yhd-review-wrap .yhd-sub-intro-symbol-wrap {
    width: clamp(2.5rem, 3vw + 0.5rem, 5rem);
}
/* Media 페이지 오너먼트 */
.yhd-media-wrap .yhd-sub-intro-symbol-wrap {
    width: clamp(2.5rem, 3vw + 0.5rem, 5rem);
}
/* News 페이지 오너먼트: 원형 기하학 패턴 (정사각형 viewBox) */
.yhd-news-wrap .yhd-sub-intro-symbol-wrap {
    width: clamp(3rem, 3.5vw + 0.75rem, 6rem);
}

.yhd-sub-intro-symbol {
    width: 100%;
    height: auto;
    overflow: visible;
}

.yhd-sub-intro-desc {
    max-width: 44rem;
    margin: 0 auto;
}

.yhd-sub-intro-desc p {
    font-size: clamp(1rem, 0.3vw + 0.8rem, 1.25rem);
    color: var(--yhd-white);
    line-height: 2;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.yhd-sub-intro-desc p:first-child {
    margin-bottom: clamp(1rem, 1vw + 0.5rem, 2rem);
}

.yhd-sub-intro-desc strong {
    font-weight: 600;
    color: var(--yhd-white-70);
}


/* #################################### 04.About Page #################################### */

/* --- About 전용: 연꽃 SVG 드로잉 애니메이션 --- */

.yhd-about-intro-lotus path {
    fill: var(--yhd-point);
    fill-opacity: 0;
    stroke: var(--yhd-point);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.yhd-about-intro-lotus.is-drawing path {
    animation: drawLotusPetal 1.4s ease forwards;
}

.yhd-about-intro-lotus.is-undrawing path {
    animation: undrawLotusPetal 1s ease forwards;
}

@keyframes drawLotusPetal {
    0% {
        stroke-dashoffset: 2000;
        stroke-opacity: 0;
        fill-opacity: 0;
    }
    10% {
        stroke-opacity: 1;
    }
    65% {
        stroke-dashoffset: 0;
        stroke-opacity: 1;
        fill-opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        stroke-opacity: 0;
        fill-opacity: 1;
    }
}

@keyframes undrawLotusPetal {
    0% {
        stroke-dashoffset: 0;
        stroke-opacity: 0;
        fill-opacity: 1;
    }
    30% {
        fill-opacity: 0;
        stroke-opacity: 1;
    }
    100% {
        stroke-dashoffset: 2000;
        stroke-opacity: 0;
        fill-opacity: 0;
    }
}

/* --- Review 전용: 오너먼트 SVG 스트로크 드로잉 (포인트 컬러) --- */

.yhd-review-intro-ornament path {
    fill: var(--yhd-point);
    fill-opacity: 0;
    stroke: var(--yhd-point);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
}

.yhd-review-intro-ornament.is-drawing path {
    animation: drawOrnament 1.6s ease forwards;
}

.yhd-review-intro-ornament.is-undrawing path {
    animation: undrawOrnament 1s ease forwards;
}

@keyframes drawOrnament {
    0%   { stroke-dashoffset: 5000; stroke-opacity: 0; fill-opacity: 0; }
    10%  { stroke-opacity: 1; }
    65%  { stroke-dashoffset: 0; stroke-opacity: 1; fill-opacity: 0; }
    100% { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
}

@keyframes undrawOrnament {
    0%   { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
    30%  { fill-opacity: 0; stroke-opacity: 1; }
    100% { stroke-dashoffset: 5000; stroke-opacity: 0; fill-opacity: 0; }
}

/* --- News 전용: 원형 기하학 오너먼트 SVG 스트로크 드로잉 --- */

.yhd-news-intro-ornament path {
    fill: var(--yhd-point);
    fill-opacity: 0;
    stroke: var(--yhd-point);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 8000;
    stroke-dashoffset: 8000;
}

.yhd-news-intro-ornament.is-drawing path {
    animation: drawNewsOrnament 2s ease forwards;
}

.yhd-news-intro-ornament.is-undrawing path {
    animation: undrawNewsOrnament 1.2s ease forwards;
}

@keyframes drawNewsOrnament {
    0%   { stroke-dashoffset: 8000; stroke-opacity: 0; fill-opacity: 0; }
    8%   { stroke-opacity: 1; }
    60%  { stroke-dashoffset: 0; stroke-opacity: 1; fill-opacity: 0; }
    100% { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
}

@keyframes undrawNewsOrnament {
    0%   { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
    25%  { fill-opacity: 0; stroke-opacity: 1; }
    100% { stroke-dashoffset: 8000; stroke-opacity: 0; fill-opacity: 0; }
}

/* --- Section 2: Location (지점 안내 통합) --- */

.yhd-about-location {
    position: relative;
    width: 100%;
    padding: clamp(6rem, 4vw + 3rem, 16rem) 0;
    background: var(--yhd-white);
}

.yhd-about-location-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

.yhd-about-location-head {
    text-align: center;
    margin-bottom: clamp(2rem, 2vw + 1rem, 4rem);
}

.yhd-about-location-title {
    font-size: clamp(1.5rem, 0.8vw + 1rem, 3rem);
    font-weight: 700;
    color: var(--yhd-surface-dark);
}

/* --- Space 전용: 달리아 SVG 스트로크 드로잉 애니메이션 --- */

.yhd-space-intro-dahlia path {
    fill: none;
    stroke: var(--yhd-point);
    stroke-width: 0.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* #################################### 05.Space Tabs (탭 네비게이션 + 패널) #################################### */

.yhd-space-tabs {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
}

.yhd-space-tabs-inner {
    width: 100%;
    position: relative;
}

/* --- Tab Navigation --- */
.yhd-space-tabs-nav {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(0.5rem, 0.75vw, 0.75rem);
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
    padding: clamp(0.75rem, 1vw + 0.25rem, 1.5rem) 0 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

/* 배경 회색 라인 */
.yhd-space-tabs-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--yhd-white-15);
    pointer-events: none;
    z-index: 1;
}

/* 활성 탭 포인트 라인 (overflow 바깥 부모에 배치 → 글로우 잘림 방지) */
.yhd-space-tabs::after {
    content: '';
    position: absolute;
    bottom: var(--ind-bottom, 0);
    left: var(--ind-left, 0);
    width: var(--ind-width, 0);
    height: var(--ind-height, 2px);
    background: var(--yhd-point);
    border-radius: var(--ind-radius, 1px);
    box-shadow: var(--ind-shadow, 0 0 0 0 transparent);
    pointer-events: none;
    z-index: 2;
    transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.25s ease,
                box-shadow 0.3s ease;
}

.yhd-space-tabs-nav::-webkit-scrollbar {
    display: none;
}


.yhd-space-tab-btn {
    position: relative;
    padding: clamp(0.75rem, 1vw + 0.25rem, 1.25rem) clamp(1.5rem, 2vw + 0.5rem, 3rem);
    font-size: clamp(0.9375rem, 0.2vw + 0.8rem, 1.125rem);
    font-weight: 400;
    font-family: inherit;
    color: var(--yhd-white-40);
    background: transparent;
    border: none;
    border-radius: clamp(0.375rem, 0.5vw, 0.5rem);
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.yhd-space-tab-btn.is-active {
    color: var(--yhd-point);
    font-weight: 600;
}

.yhd-space-tab-btn:focus-visible {
    outline: 2px solid var(--yhd-point);
    outline-offset: -2px;
}

@media (hover: hover) {
    .yhd-space-tab-btn:not(.is-active):hover {
        color: var(--yhd-white-70);
        background: var(--yhd-white-04);
    }
}

/* --- 다음 탭 자리 초록 pulse 플레이스홀더 --- */
.yhd-space-tab-placeholder {
    position: relative;
    flex-shrink: 0;
    width: clamp(0.625rem, 0.5vw + 0.5rem, 0.875rem);
    height: clamp(0.625rem, 0.5vw + 0.5rem, 0.875rem);
    margin-left: clamp(0.75rem, 1vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yhd-space-tab-placeholder-dot {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--yhd-status-open);
}

.yhd-space-tab-placeholder-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid var(--yhd-status-open-60);
    opacity: 0;
    pointer-events: none;
}

/* 탭 2개 이상이면 플레이스홀더 숨김 */
.yhd-space-tabs-nav:has(.yhd-space-tab-btn ~ .yhd-space-tab-btn) .yhd-space-tab-placeholder {
    display: none;
}

/* --- Tab Panels (크로스페이드) --- */
.yhd-space-tabs-panels {
    display: grid;
    border-top: none;
}

.yhd-space-tab-panel {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.yhd-space-tab-panel.is-active {
    opacity: 1;
    visibility: visible;
}

/* #################################### 06.Package (패키지 구성) #################################### */

.yhd-package {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--yhd-black);
    padding: clamp(4rem, 2.5vw + 2rem, 12rem) 0;
    margin-top: -1px;
}

.yhd-package-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(14rem, 10vw + 6rem, 36rem);
    height: clamp(14rem, 10vw + 6rem, 36rem);
    pointer-events: none;
    opacity: 0.08;
}

.yhd-package-mandala {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: mandalaRotate 120s linear infinite;
}

@keyframes mandalaRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.yhd-package-inner {
    position: relative;
    z-index: 1;
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

.yhd-package-head {
    text-align: center;
    margin-bottom: clamp(2.5rem, 2vw + 1.5rem, 6rem);
}

.yhd-package-title {
    font-size: clamp(1.75rem, 1vw + 1.25rem, 4rem);
    font-weight: 700;
    color: var(--yhd-white);
    margin-bottom: clamp(0.75rem, 0.5vw + 0.5rem, 1.5rem);
}

.yhd-package-subtitle {
    font-size: clamp(0.875rem, 0.3vw + 0.75rem, 1.375rem);
    font-weight: 300;
    color: var(--yhd-white-70);
    line-height: 1.7;
}

.yhd-package-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(3rem, 2.5vw + 1.5rem, 10rem);
    align-items: center;
}

.yhd-package-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.yhd-package-divider::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(8rem, 8vw + 4rem, 28rem);
    height: clamp(8rem, 8vw + 4rem, 28rem);
    border-radius: 50%;
    background: var(--yhd-point-12);
    box-shadow: 0 0 clamp(3rem, 3vw + 2rem, 12rem) clamp(1rem, 1.5vw + 0.5rem, 5rem) var(--yhd-point-10);
    filter: blur(clamp(1.5rem, 1.5vw + 0.5rem, 5rem));
    z-index: 0;
    pointer-events: none;
    animation: buddhaAmbient 3.5s ease-in-out infinite;
}

@keyframes buddhaAmbient {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.yhd-package-divider-img {
    position: relative;
    width: clamp(5rem, 4vw + 2rem, 14rem);
    height: auto;
    object-fit: contain;
    z-index: 3;
}

.yhd-package-divider-reflection {
    position: relative;
    width: clamp(5rem, 4vw + 2rem, 14rem);
    height: clamp(3rem, 3vw + 1rem, 10rem);
    overflow: hidden;
    z-index: 3;
    -webkit-mask-image: linear-gradient(to bottom, var(--yhd-black-40) 0%, transparent 80%);
    mask-image: linear-gradient(to bottom, var(--yhd-black-40) 0%, transparent 80%);
}

.yhd-package-divider-reflection img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scaleY(-1);
    opacity: 0.55;
    filter: blur(0.5px);
}

.yhd-package-card {
    background: var(--yhd-white-04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: clamp(0.875rem, 0.5vw + 0.5rem, 2rem);
    padding: clamp(1.75rem, 1.2vw + 1rem, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(1.25rem, 1vw + 0.75rem, 3.5rem);
}

.yhd-package-card-title {
    grid-column: 1 / -1;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--yhd-white);
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.yhd-package-card.is-premium .yhd-package-card-title {
    color: var(--yhd-point);
}

.yhd-package-card-highlight {
    grid-column: 1;
    align-self: start;
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1vw, 1rem);
    background: var(--yhd-white-05);
    border-radius: clamp(0.625rem, 1vw, 0.875rem);
    padding: clamp(1rem, 1.5vw, 1.25rem) clamp(1.25rem, 1.5vw, 1.5rem);
    margin-bottom: 0;
}

.yhd-package-card-icon {
    font-size: 1.5rem;
    color: var(--yhd-white);
    flex-shrink: 0;
}

.yhd-package-card.is-premium .yhd-package-card-icon {
    color: var(--yhd-point);
}

.yhd-package-card-highlight-label {
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 600;
    color: var(--yhd-white);
    margin-bottom: 0.25rem;
}

.yhd-package-card-highlight-value {
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 400;
    color: var(--yhd-white-85);
}

.yhd-package-card-price {
    grid-column: 1;
    align-self: start;
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 0.6vw, 0.6rem);
    padding: clamp(1rem, 1.5vw, 1.25rem) 0;
    font-size: clamp(1.125rem, 1.3vw, 1.375rem);
    color: var(--yhd-white);
    white-space: nowrap;
}

.yhd-package-card-price-amount,
.yhd-package-card-price-plus,
.yhd-package-card-price-mgmt,
.yhd-package-card-price-vat {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.yhd-package-card-price-unit,
.yhd-package-card-price-label {
    font-size: inherit;
}

.yhd-package-card-list {
    grid-column: 2;
    grid-row: 2 / 4;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1vw, 1rem);
    align-self: start;
}

.yhd-package-card-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 400;
    color: var(--yhd-white);
}

.yhd-package-card-list li::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--yhd-white-15);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.7rem;
}

.yhd-package-card.is-premium .yhd-package-card-list li::before {
    background-color: var(--yhd-point-15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fbc100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.yhd-package-card.is-premium .yhd-package-card-list li {
    color: var(--yhd-white);
}

.yhd-package-card-btn {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    margin-top: clamp(1.5rem, 2vw, 2rem);
    padding: clamp(0.875rem, 1.2vw, 1.125rem);
    text-align: center;
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    font-weight: 700;
    font-family: inherit;
    color: var(--yhd-white);
    background: var(--yhd-white-12);
    border: none;
    border-radius: clamp(0.5rem, 0.8vw, 0.75rem);
    text-decoration: none;
    transition: background 0.3s ease, outline-color 0.3s ease;
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.yhd-package-card-btn:focus-visible {
    outline-color: var(--yhd-point);
}

.yhd-package-card-btn.is-premium {
    background: var(--yhd-point);
    color: var(--yhd-black);
}

.yhd-package-card-btn.is-premium:focus-visible {
    outline-color: var(--yhd-white);
}

@media (hover: hover) {
    .yhd-package-card-btn:hover {
        background: var(--yhd-white-18);
    }
    .yhd-package-card-btn.is-premium:hover {
        background: var(--yhd-point-hover);
    }
}

.yhd-package-card-note {
    grid-column: 1 / -1;
    text-align: center;
    font-size: clamp(0.875rem, 0.95vw, 1rem);
    font-weight: 300;
    color: var(--yhd-white-60);
    margin-top: clamp(0.75rem, 1vw, 1rem);
}

/* #################################### 07.Tour Page (둘러보기) #################################### */

/* --- Tour 전용: head/inner 분리 (갤러리 콘텐츠 포함) --- */

.yhd-tour-intro-head {
    padding-bottom: clamp(4rem, 4vw + 2rem, 10rem);
}

/* --- Tour 전용: 만다라 SVG 색상 --- */
.yhd-tour-intro-mandala {
    color: var(--yhd-point);
}

.yhd-tour-intro-inner {
    position: relative;
    z-index: 1;
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 09.Policy (이용정책 / 개인정보처리방침) #################################### */

.yhd-policy-content {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.policy-container {
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem) 0;
    color: var(--yhd-white);
}

.policy-title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    color: var(--yhd-white);
}

.policy-date {
    font-size: 0.875rem;
    color: var(--yhd-white-40);
    margin: 0 0 clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 1px solid var(--yhd-white-10);
}

.policy-section {
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.policy-section h3 {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--yhd-white);
}

.policy-section p {
    font-size: clamp(0.875rem, 0.95vw, 1rem);
    line-height: 1.8;
    color: var(--yhd-white-60);
    margin: 0 0 0.75rem;
}

.policy-section ol,
.policy-section ul {
    margin: 0 0 0.75rem;
    padding-left: 1.25rem;
}

.policy-section ol {
    list-style: decimal;
}

.policy-section ul {
    list-style: disc;
}

.policy-section li {
    font-size: clamp(0.875rem, 0.95vw, 1rem);
    line-height: 1.8;
    color: var(--yhd-white-60);
    margin-bottom: 0.25rem;
}

.policy-section li ul,
.policy-section li ol {
    margin-top: 0.375rem;
    margin-bottom: 0.375rem;
}

.policy-info-box {
    background: var(--yhd-white-05);
    border: 1px solid var(--yhd-white-10);
    border-radius: 0.5rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    margin-top: 0.75rem;
}

.policy-info-box p {
    margin: 0 0 0.25rem;
    font-size: clamp(0.875rem, 0.95vw, 1rem);
    color: var(--yhd-white-60);
    line-height: 1.6;
}

.policy-info-box p:last-child {
    margin-bottom: 0;
}

/* #################################### 10.Review Board (유가족이야기) #################################### */

.yhd-review-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
}

.yhd-review-board-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 10-2.News Board (윤회당소식) #################################### */

.yhd-news-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
}

.yhd-news-board-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 10-2.Gallery Board (갤러리) #################################### */

.yhd-gallery-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
}

.yhd-gallery-board-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 10-3.Location Board (지점현황) #################################### */

.yhd-location-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
}

.yhd-location-board-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 10-4.SNS Board (SNS) #################################### */

.yhd-sns-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
}

.yhd-sns-board-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 11.Customer (고객센터 탭 + 게시판) #################################### */

/* Customer 페이지 오너먼트: 다른 페이지 심볼보다 작게 */
.yhd-customer-wrap .yhd-sub-intro-symbol-wrap {
    width: clamp(2.25rem, 2.5vw + 0.5rem, 4rem);
}

/* --- Customer 전용: 오너먼트 SVG 스트로크 드로잉 (포인트 컬러, review와 동일 패턴) --- */
.yhd-customer-intro-ornament path {
    fill: var(--yhd-point);
    fill-opacity: 0;
    stroke: var(--yhd-point);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.yhd-customer-intro-ornament.is-drawing path {
    animation: drawCustomerOrnament 1.6s ease forwards;
}

.yhd-customer-intro-ornament.is-undrawing path {
    animation: undrawCustomerOrnament 1s ease forwards;
}

@keyframes drawCustomerOrnament {
    0%   { stroke-dashoffset: 1000; stroke-opacity: 0; fill-opacity: 0; }
    10%  { stroke-opacity: 1; }
    65%  { stroke-dashoffset: 0; stroke-opacity: 1; fill-opacity: 0; }
    100% { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
}

@keyframes undrawCustomerOrnament {
    0%   { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
    30%  { fill-opacity: 0; stroke-opacity: 1; }
    100% { stroke-dashoffset: 1000; stroke-opacity: 0; fill-opacity: 0; }
}

/* --- Tab Navigation --- */
.yhd-customer-tabs {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding-bottom: clamp(1.5rem, 2vw, 2rem);
}

.yhd-customer-tabs-inner {
    width: 100%;
    position: relative;
}

.yhd-customer-tabs-nav {
    position: relative;
    display: flex;
    align-items: center;
    width: var(--yhd-content-width, 90%);
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 0 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 배경 회색 라인 — border로 처리 (overflow 스크롤 영향 없음) */
    border-bottom: 2px solid var(--yhd-white-15, rgba(255, 255, 255, 0.15));
}

.yhd-customer-tabs-nav::-webkit-scrollbar {
    display: none;
}

/* 인디케이터 라인 (overflow 바깥 부모에 배치 → 글로우 잘림 방지) */
.yhd-customer-tabs::after {
    content: '';
    position: absolute;
    bottom: var(--ind-bottom, 0);
    left: var(--ind-left, 0);
    width: var(--ind-width, 0);
    height: var(--ind-height, 2px);
    background: var(--yhd-point);
    border-radius: var(--ind-radius, 1px);
    box-shadow: var(--ind-shadow, 0 0 0 0 transparent);
    pointer-events: none;
    z-index: 2;
    transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.25s ease,
                box-shadow 0.3s ease;
}

.yhd-customer-tabs-nav [role="tablist"] {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 0.5vw, 0.5rem);
    margin: 0 auto;
}

.yhd-customer-tab-link,
.yhd-customer-tab-link:link,
.yhd-customer-tab-link:visited {
    display: block;
    padding: clamp(0.5rem, 0.5vw + 0.25rem, 0.75rem) clamp(0.5rem, 1.5vw, 2rem);
    font-size: clamp(0.875rem, 0.2vw + 0.8rem, 1.125rem);
    font-weight: 400;
    color: var(--yhd-white-60, rgba(255, 255, 255, 0.6));
    background: transparent;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, background 0.3s ease;
    cursor: pointer;
    border-radius: clamp(0.375rem, 0.5vw, 0.5rem);
}

@media (hover: hover) {
    .yhd-customer-tab-link:not(.is-active):hover {
        color: var(--yhd-white-70, rgba(255, 255, 255, 0.7));
        background: var(--yhd-white-04, rgba(255, 255, 255, 0.04));
    }
}

.yhd-customer-tab-link.is-active,
.yhd-customer-tab-link.is-active:link,
.yhd-customer-tab-link.is-active:visited {
    color: var(--yhd-point);
    font-weight: 600;
}

.yhd-customer-tab-link:focus-visible {
    outline: 2px solid var(--yhd-point);
    outline-offset: 2px;
}

/* --- Board Content Wrapper --- */
.yhd-customer-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
}

.yhd-customer-board-inner {
    width: var(--yhd-content-width, 90%);
    max-width: var(--yhd-content-max, 240rem);
    margin: 0 auto;
}

/* #################################### 12.Contact (문의하기) #################################### */

/* Contact 페이지 나비: 기본 심볼보다 조금 작게 */
.yhd-contact-wrap .yhd-sub-intro-symbol-wrap {
    width: clamp(3rem, 4vw + 0.5rem, 7rem);
}

/* --- Contact 전용: 나비 SVG 스트로크 드로잉 --- */

.yhd-contact-intro-butterfly path {
    fill: var(--yhd-point);
    fill-opacity: 0;
    stroke: var(--yhd-point);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.yhd-contact-intro-butterfly.is-drawing path {
    animation: drawButterfly 1.4s ease forwards;
}

.yhd-contact-intro-butterfly.is-undrawing path {
    animation: undrawButterfly 1s ease forwards;
}

@keyframes drawButterfly {
    0%   { stroke-dashoffset: 2000; stroke-opacity: 0; fill-opacity: 0; }
    10%  { stroke-opacity: 1; }
    65%  { stroke-dashoffset: 0; stroke-opacity: 1; fill-opacity: 0; }
    100% { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
}

@keyframes undrawButterfly {
    0%   { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
    30%  { fill-opacity: 0; stroke-opacity: 1; }
    100% { stroke-dashoffset: 2000; stroke-opacity: 0; fill-opacity: 0; }
}

/* --- Board Content Wrapper --- */
.yhd-contact-board {
    position: relative;
    width: 100%;
    background: var(--yhd-black);
    padding: clamp(4rem, 3vw + 2rem, 10rem) 0;
    overflow: hidden;
}

/* 만다라 회전 배경 (패키지 섹션과 동일 패턴) */
.yhd-contact-mandala-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(20rem, 40vw, 42rem);
    height: clamp(20rem, 40vw, 42rem);
    pointer-events: none;
    opacity: 0.08;
}
.yhd-contact-mandala {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: mandalaRotate 120s linear infinite;
}

.yhd-contact-board-inner {
    position: relative;
    z-index: 1;
    width: var(--yhd-content-width, 90%);
    max-width: 36rem;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--yhd-white-08);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 var(--yhd-white-08);
}

/* 감사 메시지 */
.yhd-contact-thanks {
    text-align: center;
    margin-bottom: clamp(2rem, 3vw, 3rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--yhd-white-05);
    border: 1px solid var(--yhd-point);
    border-radius: clamp(0.75rem, 1vw, 1.25rem);
}

.yhd-contact-thanks-title {
    font-size: clamp(1.125rem, 0.3vw + 1rem, 1.375rem);
    font-weight: 700;
    color: var(--yhd-point);
    margin-bottom: 0.5rem;
}

.yhd-contact-thanks-desc {
    font-size: clamp(0.875rem, 0.2vw + 0.8rem, 1rem);
    color: var(--yhd-white-70);
}

/* **************************************************************
    0) Responsive Area
************************************************************** */

/* 1024px 이하 */
@media screen and (max-width: 1024px) {

    /* Package — 1컬럼 */
    .yhd-package-cards {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 3rem);
    }

    .yhd-package-divider {
        order: -1;
    }

    .yhd-package-divider-img {
        width: clamp(4rem, 10vw, 7rem);
    }

    .yhd-package-divider-reflection {
        width: clamp(4rem, 10vw, 7rem);
        height: clamp(2.5rem, 6vw, 5rem);
    }


}

/* 768px 이하 */
@media screen and (max-width: 768px) {

    /* Package — 축소 */
    .yhd-package {
        padding: clamp(3rem, 6vw, 5rem) 0;
    }

    .yhd-package-head {
        margin-bottom: clamp(2rem, 4vw, 3rem);
    }

    .yhd-package-subtitle br {
        display: none;
    }

    .yhd-package-cards {
        gap: clamp(1.25rem, 3vw, 2rem);
    }

    .yhd-package-divider-img {
        width: clamp(3.5rem, 12vw, 5rem);
    }

    .yhd-package-divider-reflection {
        width: clamp(3.5rem, 12vw, 5rem);
        height: clamp(2rem, 8vw, 3.5rem);
    }

    .yhd-package-card {
        grid-template-columns: 1fr;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .yhd-package-card-title,
    .yhd-package-card-highlight,
    .yhd-package-card-price,
    .yhd-package-card-list,
    .yhd-package-card-btn,
    .yhd-package-card-note {
        grid-column: 1;
    }

    .yhd-package-card-list {
        grid-row: auto;
        margin-top: clamp(1rem, 2.5vw, 1.5rem);
    }

    .yhd-package-card-btn {
        margin-top: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    .policy-container {
        width: 92%;
    }

    /* Contact — 만다라 배경 축소 */
    .yhd-contact-mandala-bg {
        width: clamp(14rem, 55vw, 22rem);
        height: clamp(14rem, 55vw, 22rem);
    }

}

/* 480px 이하 */
@media screen and (max-width: 480px) {

    /* Sub Header 폰트 축소 */
    .yhd-sub-header-title {
        font-size: clamp(1.5rem, 5vw + 0.25rem, 2rem);
    }

    .yhd-sub-header-desc {
        font-size: clamp(0.875rem, 2.5vw + 0.25rem, 1rem);
    }

    /* Sub Intro 공통 — 폰트 축소 + 줄바꿈 해제 */
    .yhd-sub-intro-title {
        font-size: clamp(1.5rem, 5vw + 0.25rem, 2rem);
    }

    .yhd-sub-intro-title br {
        display: none;
    }

    .yhd-sub-intro-desc p {
        font-size: clamp(0.875rem, 2.5vw + 0.25rem, 1rem);
    }

    .yhd-sub-intro-desc p br {
        display: none;
    }

    /* Location 타이틀 축소 */
    .yhd-about-location-title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    /* Package — 모바일 축소 */
    .yhd-package-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .yhd-package-subtitle {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
    }

    .yhd-package-card {
        padding: clamp(1.25rem, 5vw, 2rem);
    }

    .yhd-package-card-title {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        margin-bottom: clamp(1rem, 4vw, 1.5rem);
    }

    .yhd-package-card-highlight {
        padding: clamp(0.75rem, 3vw, 1rem);
        margin-bottom: clamp(1rem, 4vw, 1.5rem);
    }


    .policy-container {
        width: 90%;
    }

    /* Contact — 보드 카드 패딩/라운드 축소 */
    .yhd-contact-board-inner {
        padding: clamp(1.5rem, 5vw, 2rem) clamp(1rem, 4vw, 1.5rem);
        border-radius: clamp(0.75rem, 3vw, 1rem);
    }

    /* Contact — 만다라 더 축소 */
    .yhd-contact-mandala-bg {
        width: clamp(12rem, 70vw, 18rem);
        height: clamp(12rem, 70vw, 18rem);
    }

}

/* 모션 감소 */
@media (prefers-reduced-motion: reduce) {
    .yhd-sub-header-mandala { animation: none; }
    .yhd-sub-header-scroll-wheel { animation: none; }
    .yhd-about-intro-lotus.is-drawing path,
    .yhd-about-intro-lotus.is-undrawing path { animation: none; }
    .yhd-review-intro-ornament.is-drawing path,
    .yhd-review-intro-ornament.is-undrawing path { animation: none; }
    .yhd-news-intro-ornament.is-drawing path,
    .yhd-news-intro-ornament.is-undrawing path { animation: none; }
    .yhd-customer-intro-ornament.is-drawing path,
    .yhd-customer-intro-ornament.is-undrawing path { animation: none; }
    .yhd-contact-intro-butterfly.is-drawing path,
    .yhd-contact-intro-butterfly.is-undrawing path { animation: none; }
    .yhd-contact-mandala { animation: none; opacity: 0.05; }
    .yhd-package-mandala { animation: none; }
    .yhd-package-divider::before { animation: none; opacity: 0.7; }
    .yhd-tour-center-mandala { animation: none; }
}