/* 기본 스타일 초기화 */
body, h1, p, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: inherit;
    font-family: "Gowun Batang", "Palatino LT", "Palatino Linotype", "Palatino", "Book Antiqua", serif;
    font-style: normal;
}
.pc-only {
    display: block;
}
.mobile-only {
    display: none;
}
@media (max-width: 1024px) {
    .pc-only {
        display: none !important;
    }
    .mobile-only {
        display: block;
    }
}

/* --- 키프레임 정의 --- */
@font-face {
    font-family: "Gowun Batang";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/gowunbatang/v12/ijwSs5nhRMIjYsdSgcMa3wRhXA.ttf") format("truetype");
    unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF;
}
@font-face {
    font-family: "Gowun Batang";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/gowunbatang/v12/ijwNs5nhRMIjYsdSgcMa3wRZ4J7awg.ttf") format("truetype");
    unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7A3, U+D7B0-D7FF;
}
@font-face {
    font-family: "Palatino LT";
    src: local("Palatino LT Std"), local("Palatino LT"), local("Palatino Linotype"), local("Palatino"), local("Book Antiqua");
    font-weight: 400;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}
@font-face {
    font-family: "Palatino LT";
    src: local("Palatino LT Std Bold"), local("Palatino LT Bold"), local("Palatino Linotype Bold"), local("Palatino-Bold"), local("Book Antiqua Bold");
    font-weight: 700;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}
@keyframes sparkle {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 1); }
}
@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes char-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bg-flash {
    0% { opacity: 0; transform: scale(1.08); filter: brightness(0.7); }
    45% { opacity: 1; transform: scale(1.01); filter: brightness(1.05); }
    100% { opacity: 0.85; transform: scale(1); filter: brightness(1); }
}
@keyframes section-text-left {
    0% { opacity: 0; transform: translateX(-90px) scale(0.95); }
    60% { opacity: 1; transform: translateX(12px) scale(1.04); }
    80% { transform: translateX(-4px) scale(1); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes section-text-right {
    0% { opacity: 0; transform: translateX(90px) scale(0.95); }
    60% { opacity: 1; transform: translateX(-12px) scale(1.04); }
    80% { transform: translateX(4px) scale(1); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes facility-pop {
    0% { opacity: 0; transform: var(--position-transform) translateY(-40px) scale(0.85); }
    75% { opacity: 1; transform: var(--position-transform) translateY(8px) scale(1.02); }
    100% { opacity: 1; transform: var(--position-transform) translateY(0) scale(1); }
}
@keyframes copy-fade {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes subtitle-shine {
    0% { transform: scaleX(0); opacity: 0; }
    40% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1.4); opacity: 0; }
}
@keyframes section3-text-rise {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(6px); }
    60% { opacity: 1; transform: translateY(-6px) scale(1.02); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mobileSlideLeft {
    0% { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes mobileSlideRight {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes mobileCardPop {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); }
    60% { transform: translateY(-4px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mobileImageSlide {
    0% { opacity: 0; transform: translateX(-60px) scale(0.95); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes mobileTitleSlide {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes mobileTextRise {
    0% { opacity: 0; transform: translateY(35px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes section3MobileTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@keyframes galleryMobileTrack {
    0%, 18% { transform: translateX(0); }
    25%, 43% { transform: translateX(-100%); }
    50%, 68% { transform: translateX(-200%); }
    75%, 93% { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}
@keyframes galleryMobileProgress {
    0% { width: 0; }
    100% { width: 100%; }
}
@keyframes section3MobileBase {
    0%, 45% { opacity: 1; }
    55%, 100% { opacity: 0; }
}
@keyframes section3MobileReveal {
    0%, 50% { opacity: 0; }
    60%, 90% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes mobileFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes vipButtonPulse {
    0% { box-shadow: 0 0 0 0 rgba(10, 36, 106, 0.35); transform: translateY(0); }
    60% { box-shadow: 0 0 0 14px rgba(10, 36, 106, 0); transform: translateY(-1px); }
    100% { box-shadow: 0 0 0 0 rgba(10, 36, 106, 0); transform: translateY(0); }
}
@keyframes vipButtonSheen {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(220%); }
}
@keyframes vipLoaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes vipSuccessGlow {
    0% { box-shadow: 0 20px 60px rgba(10, 36, 106, 0.2); }
    50% { box-shadow: 0 25px 65px rgba(10, 36, 106, 0.28); }
    100% { box-shadow: 0 20px 60px rgba(10, 36, 106, 0.2); }
}
@keyframes quickMenuFloat {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(calc(-50% - 6px)) translateX(0); }
    100% { transform: translateY(-50%) translateX(0); }
}
@keyframes quickMenuPulse {
    0% { box-shadow: 0 0 0 0 rgba(254, 195, 95, 0.55); }
    70% { box-shadow: 0 0 0 20px rgba(254, 195, 95, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 195, 95, 0); }
}
@keyframes quickMenuFloatMobile {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}
@keyframes quickMenuIconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
@keyframes scrollLetterReveal {
    0% { opacity: 0; transform: scale(0.7) translateY(40px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes scrollPhrasePulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.15); text-shadow: 0 0 35px rgba(255, 255, 255, 0.4); }
}


/* --- 헤더 스타일 --- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
#site-header .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 40px;
    padding: 15px 60px;
}
#site-header .site-logo img {
    height: 50px;
}
#site-header .primary-nav {
    justify-self: center;
}
#site-header .primary-nav__list {
    display: flex;
    gap: 28px;
    align-items: center;
}
#site-header .primary-nav__item {
    position: relative;
}
#site-header .primary-nav__link {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    position: relative;
}
#site-header .primary-nav__caret {
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: 2px;
}
#site-header .primary-nav__submenu-panel {
    position: absolute;
    top: calc(100% + 28px);
    left: 50%;
    transform: translate(-50%, -16px);
    width: clamp(200px, 16vw, 260px);
    max-width: min(320px, calc(100vw - 40px));
    padding: 18px 24px;
    border-radius: 18px;
    background-color: #fff;
    color: #111;
    border: 1px solid rgba(10, 36, 106, 0.12);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-align: center;
}
#site-header .primary-nav__submenu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#site-header .primary-nav__submenu-link {
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    color: inherit;
    white-space: nowrap;
}
#site-header .primary-nav__submenu-link:hover {
    background-color: rgba(10, 36, 106, 0.08);
    color: #0A246A;
}
#site-header .primary-nav__item--has-children:hover > .primary-nav__submenu-panel,
#site-header .primary-nav__item--has-children:focus-within > .primary-nav__submenu-panel,
#site-header .primary-nav__item.primary-nav__item--open > .primary-nav__submenu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
#site-header .primary-nav__item--has-children:hover > .primary-nav__link .primary-nav__caret,
#site-header .primary-nav__item--has-children:focus-within > .primary-nav__link .primary-nav__caret,
#site-header .primary-nav__item--open > .primary-nav__link .primary-nav__caret {
    transform: rotate(-135deg);
}
#site-header .nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: inherit;
    justify-self: end;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
#site-header .nav-toggle__bars {
    position: relative;
    width: 24px;
    height: 16px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}
#site-header .nav-toggle__bars span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
#site-header.nav-open .nav-toggle__bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#site-header.nav-open .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
}
#site-header.nav-open .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
#site-header.scrolled {
    background-color: #fff;
    color: #111;
    border-bottom-color: #eee;
}
body.subpage-body #site-header {
    background-color: #fff;
    color: #111;
    border-bottom-color: #eee;
}
body.subpage-body,
body.subpage-body * {
    font-family: "Gowun Batang", "Palatino LT", "Palatino Linotype", "Palatino", "Book Antiqua", serif;
    font-style: normal;
}
body.nav-menu-open {
    overflow: hidden;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* --- 메인 섹션 1 스타일 --- */
.main-section-1 {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('https://motoshinhwa.cdn1.cafe24.com/img/main_1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}
.main-section-1::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.main-section-1 > * {
    position: relative;
    z-index: 2;
}
.main-section-1 .main-text-container {
    text-align: center;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.7);
}
.main-section-1 .main-text-1 {
    font-size: 2.5rem;
    font-weight: 500;
    opacity: 0;
}
.main-section-1 .main-text-2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-top: 1rem;
    opacity: 0;
}
.main-section-1 .highlight-gold { color: #E0B88A; }

/* 글자별 애니메이션 스타일 */
.main-text-2 .char {
    display: inline-block;
    opacity: 0;
    animation-fill-mode: forwards;
}
.main-section-1.is-visible .animate-chars .char {
    animation-name: char-fade-in;
    animation-duration: 1s;
    animation-timing-function: ease-out;
}


/* 슬라이드 인 애니메이션 실행 */
.main-section-1.is-visible .main-text-1 {
    animation: slide-in-left 1s forwards ease-out;
}
.main-section-1.is-visible .main-text-2 {
    animation: slide-in-right 1s forwards ease-out 0.3s;
}

/* 배너 스타일 및 애니메이션 */
.main-section-1 .open-banner {
    position: absolute;
    bottom: 80px;
    background-color: #722f37;
    padding: 10px 30px;
    border-radius: 20px; /* 둥근 모서리 적용 */
    opacity: 0; /* 기본 숨김 */
    transform: scale(0.5); /* 기본 축소 */
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.main-section-1.is-visible .open-banner.animate {
    animation: scale-in 1.2s infinite alternate cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 부드럽게 반복되도록 수정 */
}
.main-section-1 .open-banner p {
    font-size: 24px;
    font-weight: 900;
    color: white;
}

/* 주의 문구 스타일 */
.hero-phrases {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
}
.hero-phrase {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: 0.08em;
    min-height: 28px;
}
.hero-phrase .phrase-text {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-phrase .phrase-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(-40px);
    animation: heroLetterDrop 0.45s forwards;
}
.hero-phrase .phrase-emphasis {
    display: inline-block;
    animation: heroEmphasisPulse 1.1s ease-in-out infinite;
}
@keyframes heroLetterDrop {
    0% { opacity: 0; transform: translateY(-40px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroEmphasisPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.main-section-1 .disclaimer {
    position: absolute;
    bottom: 32px;
    width: 100%;
    text-align: center;
}
.main-section-1 .disclaimer p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255);
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}


/* --- 반응형 스타일 --- */
@media (max-width: 1024px) {
    #site-header,
    #site-header.scrolled,
    body.subpage-body #site-header,
    body.subpage-body #site-header.scrolled {
        background-color: rgba(5, 7, 11, 0.95);
        color: #fff;
        border-bottom-color: transparent;
    }
    #site-header .site-header__inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo toggle"
            "nav nav";
        row-gap: 12px;
        column-gap: 12px;
        padding: 14px 20px 18px;
    }
    #site-header .site-logo { grid-area: logo; }
    #site-header .primary-nav {
        grid-area: nav;
        width: 100%;
    }
    #site-header .nav-toggle {
        display: inline-flex;
        grid-area: toggle;
        justify-self: end;
        border-color: rgba(255, 255, 255, 0.4);
        color: #fff;
    }
    #site-header .primary-nav {
        background: rgba(5, 7, 11, 0.95);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0 18px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.2s ease;
    }
    #site-header.nav-open .primary-nav {
        max-height: 80vh;
        opacity: 1;
        padding: 18px 22px 22px;
        transform: translateY(0);
    }
    #site-header .primary-nav__list {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }
    #site-header .primary-nav__item {
        width: 100%;
    }
    #site-header .primary-nav__link {
        width: 100%;
        justify-content: center;
        padding: 14px 46px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        text-align: center;
    }
    #site-header .primary-nav__item:last-child > .primary-nav__link {
        border-bottom: none;
    }
    #site-header .primary-nav__item--has-children > .primary-nav__link {
        padding-right: 56px;
    }
    #site-header .primary-nav__caret {
        position: absolute;
        right: 28px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        border-color: rgba(255, 255, 255, 0.9);
    }
    #site-header .primary-nav__submenu-panel {
        position: static;
        transform: none;
        width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        color: inherit;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        pointer-events: none;
        transition: max-height 0.3s ease, padding 0.2s ease;
    }
    #site-header .primary-nav__submenu-list {
        align-items: center;
        gap: 4px;
    }
    #site-header .primary-nav__submenu-link {
        color: #fff;
        padding: 8px 12px;
        white-space: normal;
    }
    #site-header .primary-nav__item--open > .primary-nav__submenu-panel {
        max-height: 360px;
        padding: 10px 0 8px;
        pointer-events: auto;
    }
    #site-header .primary-nav__submenu-link:hover {
        background-color: rgba(255, 255, 255, 0.18);
        color: #fff;
    }
    .main-section-1 {
        padding: 0 24px;
    }
    .main-section-1 .main-text-container {
        max-width: 640px;
    }
    .main-section-1 .main-text-1 { font-size: 2rem; }
    .main-section-1 .main-text-2 { font-size: 2.6rem; }
    .main-section-1 .hero-phrases {
        margin-top: 20px;
    }
    .main-section-1 .disclaimer p {
        padding: 0 20px;
    }
}
@media (max-width: 768px) {
    #site-header .site-header__inner {
        padding: 12px 16px 16px;
    }
    #site-header .nav-toggle {
        width: 44px;
        height: 44px;
    }
    #site-header .site-logo img { height: 42px; }
    #site-header .primary-nav {
        border-radius: 20px;
    }
    #site-header .primary-nav__link {
        font-size: 0.95rem;
        padding: 12px 36px;
    }
    .main-section-1 {
        padding: 0 16px;
    }
    .main-section-1 .main-text-1 { font-size: 1.5rem; }
    .main-section-1 .main-text-2 { font-size: 2rem; line-height: 1.35; }
    .main-section-1 .hero-phrases { gap: 6px; }
    .hero-phrase { font-size: 1rem; letter-spacing: 0.05em; }
    .main-section-1 .open-banner {
        position: static;
        margin-top: 24px;
        width: 100%;
        text-align: center;
    }
    .main-section-1 .open-banner p { font-size: 1rem; }
    .main-section-1 .disclaimer {
        margin-top: 24px;
        width: 90%;
    }
    .main-section-1 .disclaimer p {
        font-size: 0.72rem;
        padding: 0;
        line-height: 1.5;
    }
}


/* --- 메인 섹션 2 스타일 (리디자인 3차) --- */
.main-section-2 {
    height: 100vh;
    min-height: 720px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(60px, 10vh, 140px) 0;
    box-sizing: border-box;
    color: white;
    overflow: hidden;
    opacity: 1;
    transition: none;
    background-image: url('https://motoshinhwa.cdn1.cafe24.com/img/section2_back.png');
    background-size: cover;
    background-position: center;
    background-color: #030a16;
}
.main-section-2.is-visible { opacity: 1; }

.main-section-2::before,
.main-section-2::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}
.main-section-2::before {
    background-image: url('https://motoshinhwa.cdn1.cafe24.com/img/section2_back.png');
    background-size: cover;
    background-position: center;
    filter: saturate(1.35) brightness(1.08);
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-section-2::after {
    background: linear-gradient(180deg, rgba(2, 6, 11, 0.4), rgba(2, 6, 11, 0.85));
    mix-blend-mode: multiply;
}
.main-section-2.bg-animate::before {
    clip-path: circle(160% at 50% 50%);
}

.section2-center-text {
    position: relative;
    z-index: 3;
    text-align: center;
    text-shadow: 1px 2px 3px black;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
}

.section2-center-text .center-text-line1 {
    font-size: 1.8rem;
    font-weight: bold;
    opacity: 0;
}
.section2-center-text .center-text-line2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6779;
    margin-top: 10px;
    opacity: 0;
}
.main-section-2.stage-text .center-text-line1 {
    animation: section-text-left 1.15s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.main-section-2.stage-text .center-text-line2 {
    animation: section-text-right 1.15s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.35s;
}


.facilities-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    width: clamp(420px, 33vw, 640px);
    opacity: 0;
    --seq-index: 0;
    --position-transform: translate3d(0, 0, 0);
    --facility-img-width: clamp(240px, 13vw, 340px);
    --facility-img-height: clamp(160px, 8vw, 220px);
    transform: var(--position-transform);
}

/* 넓게 재배치 */
.facility-item:nth-child(1) { top: 14%; left: 50%; --position-transform: translateX(-130%); }
.facility-item:nth-child(2) { top: 14%; left: 50%; --position-transform: translateX(30%); }
.facility-item:nth-child(3) { top: 50%; left: 6%; --position-transform: translateY(-50%); }
.facility-item:nth-child(4) { top: 50%; right: 6%; --position-transform: translateY(-50%); }
.facility-item:nth-child(5) { bottom: 14%; left: 50%; --position-transform: translateX(-130%); }
.facility-item:nth-child(6) { bottom: 14%; left: 50%; --position-transform: translateX(30%); }


.facility-item[data-seq="0"] { --seq-index: 0; }
.facility-item[data-seq="1"] { --seq-index: 1; }
.facility-item[data-seq="2"] { --seq-index: 2; }
.facility-item[data-seq="3"] { --seq-index: 3; }
.facility-item[data-seq="4"] { --seq-index: 4; }
.facility-item[data-seq="5"] { --seq-index: 5; }

.main-section-2.stage-grid .facility-item {
    animation: facility-pop 1.1s forwards cubic-bezier(0.25, 0.9, 0.4, 1);
    animation-delay: calc(var(--seq-index) * 0.24s);
}

.facility-image {
    position: relative;
    flex-shrink: 0;
}
.facility-item img {
    width: var(--facility-img-width);
    height: var(--facility-img-height);
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
}
.image-label {
    position: absolute;
    right: 12px;
    bottom: 10px;
    border-radius: 999px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    
    
    text-transform: uppercase;
}

.facility-text {
    flex: 1 1 auto;
    text-align: left;
    color: #111;
    opacity: 0;
    transform: translateY(10px);
}

    
.facility-subtitle {
    font-size: 2.0rem;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    text-shadow: 1px 2px 3px black;
 
}
.facility-subtitle::after {
    content: '';
    display: block;
    height: 2px;
    width: 70px;
    background: linear-gradient(90deg, transparent, rgba(244, 217, 163, 0.85), transparent);
    transform-origin: left center;
    animation: subtitle-shine 2.8s ease-in-out infinite;
}

.facility-item h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0a246a;
}

.facility-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(17, 17, 17, 0.85);
}
.main-section-2.stage-copy .facility-text {
    animation: copy-fade 0.8s forwards;
    animation-delay: calc(var(--seq-index) * 0.16s);
}

/* --- 모바일/태블릿 전용 섹션2 --- */
.main-section-2-mobile {
    position: relative;
    padding: 90px 0 140px;
    background: radial-gradient(circle at top, rgba(2, 6, 11, 0.85), rgba(0, 0, 0, 0.95));
    color: #fff;
    overflow: hidden;
}
.section2-mobile-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://motoshinhwa.cdn1.cafe24.com/img/section2_back.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: blur(2px);
}
.section2-mobile-headline {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}
.section2-mobile-line1 {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
}
.section2-mobile-line2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffb37d;
    margin-top: 8px;
}
.section2-mobile-list {
    position: relative;
    width: min(540px, 94%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.section2-mobile-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    padding: 24px 22px 30px;
    backdrop-filter: blur(8px);
    overflow: hidden;
    --card-delay: 0s;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    will-change: transform, opacity;
}
.section2-mobile-image {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}
.section2-mobile-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    opacity: 0;
    transform: translateX(-50px);
    will-change: transform, opacity;
}
.section2-mobile-body {
    text-align: center;
    margin-top: 18px;
}
.section2-mobile-subtitle {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    opacity: 0;
}
.section2-mobile-card h3 {
    margin: 10px 0 6px;
    font-size: 1.5rem;
    color: #ffebd2;
    opacity: 0;
}
.section2-mobile-card p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}
.section2-mobile-card .section2-mobile-body p:last-child {
    opacity: 0;
}
.section2-mobile-card:nth-child(1) { --card-delay: 0s; }
.section2-mobile-card:nth-child(2) { --card-delay: 0.1s; }
.section2-mobile-card:nth-child(3) { --card-delay: 0.2s; }
.section2-mobile-card:nth-child(4) { --card-delay: 0.3s; }
.section2-mobile-card:nth-child(5) { --card-delay: 0.4s; }
.section2-mobile-card:nth-child(6) { --card-delay: 0.5s; }
.section2-mobile-card.is-visible {
    animation: mobileCardPop 0.9s forwards;
    animation-delay: var(--card-delay, 0s);
}
.section2-mobile-card.is-visible .section2-mobile-image img {
    animation: mobileImageSlide 0.9s forwards;
    animation-delay: calc(var(--card-delay, 0s) + 0.08s);
}
.section2-mobile-card.is-visible .section2-mobile-subtitle {
    animation: mobileTitleSlide 0.9s forwards;
    animation-delay: calc(var(--card-delay, 0s) + 0.18s);
}
.section2-mobile-card.is-visible h3 {
    animation: mobileTitleSlide 0.9s forwards;
    animation-delay: calc(var(--card-delay, 0s) + 0.24s);
}
.section2-mobile-card.is-visible .section2-mobile-body p:last-child {
    animation: mobileTextRise 0.85s forwards;
    animation-delay: calc(var(--card-delay, 0s) + 0.32s);
}

/* --- 메인 섹션 3 스타일 --- */
.main-section-3 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #02060b;
    color: #fff;
}
.section3-images {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section3-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}
.section3-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    --mask-size: 9%;
    --mask-rotation: 45deg;
    --mask-scale: 1;
    clip-path: polygon(
        calc(50% - var(--mask-size)) calc(50% - var(--mask-size)),
        calc(50% + var(--mask-size)) calc(50% - var(--mask-size)),
        calc(50% + var(--mask-size)) calc(50% + var(--mask-size)),
        calc(50% - var(--mask-size)) calc(50% + var(--mask-size))
    );
    transform: rotate(var(--mask-rotation)) scale(var(--mask-scale));
    transform-origin: center;
    transition: clip-path 0.45s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-section-3.is-reveal-complete .section3-mask {
    --mask-rotation: 0deg;
    --mask-size: 90%;
    --mask-scale: 1.12;
}
.section3-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 90%);
    font-family: "Palatino LT", "Palatino Linotype", "Palatino", "Book Antiqua", serif;
    text-transform: uppercase;
    text-align: center;
}
.section3-line {
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
    line-height: 1.1;
    letter-spacing: 0.18em;
}
.section3-line.line-1 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 900;
}
.section3-line.line-2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
}
.section3-line.line-3 {
    font-size: clamp(1.8rem, 3.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.22em;
}
.section3-line.line-4 {
    margin-top: 1.5rem;
    text-transform: none;
    font-family: "Gowun Batang", "Palatino LT", "Palatino Linotype", "Palatino", serif;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.section3-highlight {
    color: #ff6779;
    font-weight: 700;
    position: relative;
}
.section3-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 8px;
    background: rgba(255, 103, 121, 0.35);
    z-index: -1;
}
.main-section-3.is-visible .section3-line {
    animation: section3-text-rise 1s forwards cubic-bezier(0.19, 1, 0.22, 1);
}
.main-section-3.is-visible .line-1 { animation-delay: 0.2s; }
.main-section-3.is-visible .line-2 { animation-delay: 0.5s; }
.main-section-3.is-visible .line-3 { animation-delay: 0.85s; }
.main-section-3.is-visible .line-4 { animation-delay: 1.4s; }

.section3-disclaimer {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

/* --- 모바일/태블릿 전용 섹션3 --- */
.main-section-3-mobile {
    position: relative;
    padding: 90px 0 60px;
    background: linear-gradient(180deg, #03060f 0%, #0a1732 55%, #010308 100%);
    color: #fff;
}
.section3-mobile-slider {
    width: min(600px, 96%);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
    background: #01050c;
}
.section3-mobile-track {
    display: flex;
    transition: transform 0.8s ease;
}
.section3-mobile-slide {
    position: relative;
    min-width: 100%;
}
.section3-mobile-slide img {
    width: 100%;
    height: clamp(360px, 65vw, 520px);
    object-fit: cover;
    display: block;
}
.section3-mobile-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px 28px;
    background: linear-gradient(180deg, rgba(1, 5, 12, 0), rgba(1, 5, 12, 0.9));
    text-align: center;
}
.section3-mobile-caption p {
    margin: 0;
    letter-spacing: 0.3em;
    font-weight: 700;
}
.section3-mobile-caption .line-2,
.section3-mobile-caption .line-3 {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
}
.section3-mobile-caption .line-4,
.section3-mobile-caption .line-5 {
    letter-spacing: 0.08em;
    font-size: 1.2rem;
}
.section3-mobile-disclaimer {
    margin: 30px auto 0;
    width: min(520px, 94%);
    text-align: center;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

/* --- 메인 섹션 4: 오시는 길 --- */
.main-section-gallery {
    position: relative;
    background: radial-gradient(circle at top, rgba(10, 36, 106, 0.12), transparent 55%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.gallery-headline {
    width: min(1200px, 100%);
}
.gallery-subtitle {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #0A246A;
    margin-bottom: 10px;
}
.gallery-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: rgba(10, 36, 106, 0.8);
    margin: 0;
}
.gallery-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1200px, 100%);
    padding: 0 clamp(10px, 2vw, 40px);
}
.gallery-viewport {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(10, 36, 106, 0.25);
    background: radial-gradient(circle at center, rgba(255,255,255,0.18), rgba(5,12,24,0.92));
    min-height: clamp(360px, 52vw, 620px);
}
.gallery-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-slide {
    min-width: 100%;
    position: relative;
}
.gallery-slide img {
    width: 100%;
    height: clamp(320px, 48vw, 580px);
    object-fit: contain;
    display: block;
    background-color: #01050c;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 36px;
    background: linear-gradient(180deg, rgba(6, 15, 35, 0) 0%, rgba(6, 15, 35, 0.9) 80%);
    color: #fff;
}
.caption-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.caption-text {
    margin: 0;
    font-size: 1rem;
    opacity: 0.85;
}
.gallery-control {
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: #0A246A;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 18px 40px rgba(10, 36, 106, 0.25);
}
.gallery-control span {
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
}
.gallery-prev { left: clamp(20px, 4vw, 50px); }
.gallery-next { right: clamp(20px, 4vw, 50px); }
.gallery-control:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 22px 45px rgba(10, 36, 106, 0.3);
}
.gallery-progress {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
    z-index: 2;
}
.gallery-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f7c778, #f19636);
    transform: scaleX(0);
    transform-origin: left;
}
.gallery-progress.is-animating::after {
    transition: transform 3s linear;
    transform: scaleX(1);
}
.gallery-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.gallery-slide.is-active::after {
    opacity: 1;
}
.gallery-viewport:hover .gallery-caption {
    background: linear-gradient(180deg, rgba(6, 15, 35, 0.2) 0%, rgba(6, 15, 35, 0.95) 80%);
}
.gallery-thumbnails {
    width: min(1800px, 100%);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0 0;
}
.gallery-thumb {
    border: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 8px;
    width: 120px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 8px 18px rgba(10, 36, 106, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}
.gallery-thumb.active {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(10, 36, 106, 0.25);
    background: linear-gradient(180deg, rgba(10, 36, 106, 0.08), rgba(255, 255, 255, 0.98));
}
.gallery-thumb:focus-visible {
    outline: 2px solid #0A246A;
    outline-offset: 4px;
}
@media (max-width: 1024px) {
    .gallery-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 12px;
        padding: 0;
    }
    .gallery-viewport,
    .gallery-progress {
        grid-column: 1 / -1;
    }
    .gallery-control {
        position: static;
        transform: none;
        width: 48px;
        height: 48px;
        justify-self: center;
    }
    .gallery-progress {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(520px, 90%);
        margin: 18px auto 0;
    }
    .gallery-thumbnails {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 18px 4% 0;
        gap: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .gallery-thumb {
        width: 120px;
        flex: 0 0 120px;
        scroll-snap-align: center;
    }
}

/* --- 모바일/태블릿 전용 갤러리 --- */
.main-section-gallery-mobile {
    position: relative;
    padding: 90px 0 120px;
    background: linear-gradient(180deg, rgba(7, 18, 44, 0.95), rgba(2, 6, 15, 1));
    text-align: center;
    color: #fff;
}
.gallery-mobile-headline {
    margin-bottom: 30px;
}
.gallery-mobile-subtitle {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}
.gallery-mobile-title {
    font-size: 2rem;
    margin: 8px 0 0;
}
.gallery-mobile-viewport {
    width: min(520px, 94%);
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background: #01050c;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
    position: relative;
}
.gallery-mobile-track {
    display: flex;
    transition: transform 0.7s ease;
}
.gallery-mobile-slide {
    min-width: 100%;
    position: relative;
}
.gallery-mobile-slide img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.gallery-mobile-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(1, 4, 10, 0), rgba(1, 4, 10, 0.95));
    text-align: left;
}
.gallery-mobile-caption .caption-title {
    margin: 0 0 6px;
    font-size: 1.1rem;
}
.gallery-mobile-progress {
    display: none;
}
.gallery-mobile-thumbs {
    margin: 28px auto 0;
    width: min(560px, 94%);
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}
.gallery-mobile-thumbs img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    opacity: 0.85;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-mobile-thumbs img.active {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
    opacity: 1;
}

.main-section-4 {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    background-image: url('https://motoshinhwa.cdn1.cafe24.com/img/section4_back.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    box-sizing: border-box;
}
.section4-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.75));
    backdrop-filter: blur(2px);
}
.section4-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    width: 90%;
    padding: clamp(40px, 8vh, 100px) 20px;
}
.section4-title {
    font-size: clamp(2.8rem, 8vw, 5rem);
    letter-spacing: 0.32em;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    color: #722f37;
    opacity: 0;
    transform: translateX(80px);
}
.section4-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: subtitle-shine 3s ease-in-out infinite;
}
.section4-divider {
    width: 120px;
    height: 2px;
   
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateX(80px);
}
.section4-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateX(-80px);
}
.section4-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    pointer-events: none;
}
.section4-image {
    display: block;
    width: 100%;
    height: auto;
}

.main-section-4.is-visible .section4-title,
.main-section-4.is-visible .section4-divider {
    animation: section-text-right 1.1s forwards ease;
}
.main-section-4.is-visible .section4-image-wrapper {
    animation: section-text-left 1.1s forwards ease 0.15s;
}

/* 섹션2 반응형 */
@media (max-width: 1920px) {
    .facility-item {
        width: clamp(380px, 28vw, 520px);
        --facility-img-width: clamp(220px, 12vw, 300px);
        --facility-img-height: clamp(150px, 7.5vw, 200px);
    }
    .facility-item:nth-child(1),
    .facility-item:nth-child(5) { --position-transform: translateX(-115%); }
    .facility-item:nth-child(2),
    .facility-item:nth-child(6) { --position-transform: translateX(15%); }
    .facility-item:nth-child(3) { left: 2; }
    .facility-item:nth-child(4) { right: 0; }
}
@media (max-width: 1600px) {
    .facility-item {
        width: 430px;
        --facility-img-width: clamp(200px, 18vw, 260px);
        --facility-img-height: clamp(140px, 10vw, 180px);
    }
    .section3-text {
        width: min(760px, 90%);
    }
}
	@media (max-width: 1200px) {
	    .main-section-2 {
	        height: auto;
	        min-height: auto;
	        padding: 100px 0 140px;
	        background-size: cover;
	        background-repeat: repeat-y;
	        background-position: top center;
	        overflow: visible;
	    }
    .main-section-2::before,
    .main-section-2::after {
        background-size: cover;
        background-repeat: repeat-y;
    }
	    .facilities-container {
	        position: relative;
	        top: auto;
	        left: auto;
	        right: auto;
	        bottom: auto;
	        transform: none;
	        display: flex;
	        flex-direction: column;
	        gap: 28px;
	        width: min(560px, 92%);
	        margin: 50px auto 0;
	        height: auto;
	    }
	    .facility-item {
	        position: relative;
	        top: auto;
	        left: auto;
	        right: auto;
	        bottom: auto;
	        transform: none;
	        width: min(520px, calc(100% - 32px));
	        padding: 26px 24px;
	        border-radius: 26px;
	        background: rgba(2, 8, 18, 0.85);
	        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
	        border: 1px solid rgba(255, 255, 255, 0.08);
	        animation: none;
	        opacity: 1;
	        margin: 0 auto;
	        box-sizing: border-box;
	    }
	    .facility-item img {
	        width: 100%;
	        height: auto;
	        display: block;
	        margin: 0 auto 18px;
	        border-radius: 18px;
	        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
	    }
    .facility-item h3 {
        white-space: normal;
    }
    .facility-text {
        opacity: 1;
        transform: none;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }
    .facility-desc {
        -webkit-line-clamp: unset;
        color: rgba(232, 236, 255, 0.8);
    }
	    .facility-subtitle {
	        justify-content: center;
	        text-shadow: none;
	    }
	    .main-section-2.stage-grid .facility-item,
	    .main-section-2.stage-copy .facility-item {
	        opacity: 0;
	    }
	    .main-section-2.stage-grid .facility-item:nth-child(odd),
	    .main-section-2.stage-copy .facility-item:nth-child(odd) {
	        animation: mobileSlideLeft 0.85s forwards;
	        animation-delay: calc(var(--seq-index) * 0.12s);
	    }
	    .main-section-2.stage-grid .facility-item:nth-child(even),
	    .main-section-2.stage-copy .facility-item:nth-child(even) {
	        animation: mobileSlideRight 0.85s forwards;
	        animation-delay: calc(var(--seq-index) * 0.12s);
	    }
	    .main-section-3 {
	        height: auto;
	        padding: 140px 0 200px;
	    }
    .section3-text {
        position: relative;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        margin: 0;
        width: 85%;
        text-align: center;
    }
    .main-section-4 {
        height: auto;
        min-height: 100vh;
    }
}
@media (max-width: 768px) {
    .facility-item { flex-direction: column; text-align: center; }
    .facility-text { text-align: center; }
    .section3-line { letter-spacing: 0.12em; }
    .section3-line.line-2,
    .section3-line.line-3 { letter-spacing: 0.08em; }
}

/* --- 서브페이지 공통 --- */
.subpage {
    min-height: 100vh;
    padding-top: 140px;
    background: linear-gradient(135deg, #0F1D3A, #152750);
    color: white;
}
.subpage-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 24px;
}
.subpage-content {
    max-width: 960px;
    text-align: center;
    padding: 60px 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}
.subpage-label {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: #E0B88A;
}
.subpage h1 {
    font-size: 3rem;
    margin-bottom: 18px;
}
.subpage-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.86);
}

/* --- 사업안내 페이지 --- */
.business-page {
    background-color: #fff;
    padding-top: 140px;
    padding-bottom: 160px;
}
.business-section {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px 24px;
}
.business-section.business-disclaimer {
    max-width: none;
    /*width: 100%;*/
    padding: 24px 32px;
    margin-top: 20px;
    border-radius: 18px;
    background: rgba(10, 36, 106, 0.05);
    border: 1px solid rgba(10, 36, 106, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.business-disclaimer .disclaimer-icon {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.15));
}
.business-disclaimer .disclaimer-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.78);
}
.business-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding-bottom: 60px;
}
.business-hero .hero-text {
    flex: 1;
}
.hero-text-en {
    font-family: "Palatino LT", "Palatino Linotype", "Palatino", "Book Antiqua", serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    letter-spacing: 0.0em;
    margin-bottom: 12px;
    color: #0A246A;
}
.hero-text-ko {
    font-family: "Gowun Batang", "Palatino LT", serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #111;
}
.business-hero .hero-image {
    flex: 1;
    text-align: right;
}
.business-hero .hero-image img {
    width: min(100%, 620px);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
.business-divider {
    max-width: 1500px;
    margin: 0 auto;
    border-bottom: 2px solid #0A246A;
}
.business-cta {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 40px;
}
.business-button {
    min-width: 240px;
    text-align: center;
    padding: 18px 32px;
    border-radius: 999px;
    border: 1px solid #0A246A;
    color: #0A246A;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.business-button:hover {
    background-color: #0A246A;
    color: #fff;
    transform: translateY(-2px);
}
.business-copy {
    text-align: center;
    padding-top: 40px;
}
.business-copy .copy-headline {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #0A246A;
    margin-bottom: 20px;
    line-height: 1.4;
}
.business-copy .copy-subline {
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    font-weight: 700;
    color: #111;
    line-height: 1.5;
}
.business-copy .copy-subline.navy {
    color: #0A246A;
    margin-bottom: 8px;
}
.copy-highlight {
    color: #f4b248;
    font-weight: 900;
    position: relative;
}
.copy-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.35em;
    background: rgba(244, 210, 150, 0.45);
    z-index: -1;
}
.copy-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: #0A246A;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}
.business-ribbon {
    padding: 0;
}
.business-ribbon span {
    display: block;
    text-align: center;
    padding: 16px 0;
    background: linear-gradient(90deg, #0A246A, #142E80);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4em;
    font-size: 28px;
    border-radius: 20px;
}
.dsplaycenter{
    display: flex ;
    justify-content: center ;
}

.business-image {
    padding: 30px 24px;
}
.business-image img {
    display: block;
    margin: 10px auto;
    width: min(100%, 1200px);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}
.sale-info-block {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.sale-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.sale-highlight-card {
    background: linear-gradient(135deg, rgba(10, 36, 106, 0.9), rgba(39, 75, 159, 0.75));
    color: #fff;
    padding: 22px 20px;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.sale-highlight-card strong {
    color: #f4d7a3;
    font-size: 1.1rem;
    font-weight: 800;
}
.sale-info-image img {
    display: block;
    margin: 0 auto;
    width: min(100%, 900px);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.vip-agree-all {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.vip-register-form {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.vip-agree-all-btn {
    border: 1px solid #0A246A;
    background-color: #fff;
    color: #0A246A;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.vip-agree-all-btn:hover {
    background-color: #0A246A;
    color: #fff;
    transform: translateY(-2px);
}
.vip-agreement h2,
.vip-form h2 {
    font-size: 1.8rem;
    margin-bottom: 22px;
    color: #0A246A;
}
.vip-important {
    padding-top: 20px;
    padding-bottom: 0;
}
.vip-important-text {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(222, 181, 0, 0.5);
    color: #8a5b00;
    font-weight: 800;
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.05rem;
}
.vip-article {
    background-color: rgba(10, 36, 106, 0.04);
    padding: 24px;
    border-radius: 16px;
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
    max-height: 250px;
    overflow-y: auto;
}
.vip-article.scrollable {
    max-height: 150px;
}
.consent-options {
    display: flex;
    justify-content: center ;
    align-items: center;
}
.consent-options {
    display: flex;
    justify-content: center ;
    gap: 24px;
    margin-top: 18px;
    font-weight: 700;
    color: #0A246A;
}
.consent-options input {
    margin-right: 8px;
}
.vip-table-wrapper {
    overflow-x: auto;
}
.vip-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(10, 36, 106, 0.15);
}
.vip-table th,
.vip-table td {
    border: 1px solid rgba(10, 36, 106, 0.15);
    padding: 16px;
    text-align: center;
    font-weight: 600;
}
.vip-table th {
    background-color: rgba(10, 36, 106, 0.08);
    color: #0A246A;
}
.vip-table td {
    font-weight: 500;
}
.vip-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.vip-alert {
    margin: 10px 0 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}
.vip-alert.success {
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.45);
    color: #1d824b;
}
.vip-alert.error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #a33224;
}
.vip-note {
    background-color: #f7f7f9;
    padding: 18px;
    border-radius: 12px;
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}
.vip-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-field label {
    font-weight: 700;
    color: #0A246A;
}
.form-field input {
    border: 1px solid rgba(10, 36, 106, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
}
.phone-row {
    display: grid;
    grid-template-columns: 90px 1fr 1fr;
    gap: 10px;
}
.phone-row input:first-child {
    background-color: #f0f3f8;
    font-weight: 700;
    text-align: center;
}
.phone-row input::placeholder {
    color: #bbb;
}
.form-field input:focus {
    outline: 2px solid rgba(10, 36, 106, 0.4);
}
.field-error {
    color: #c0392b;
    font-size: 0.88rem;
    margin-top: -4px;
}
.vip-required {
    font-size: 0.9rem;
    color: #999;
}
.vip-form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}
.vip-submit-btn {
    border: none;
    background: linear-gradient(135deg, #0A246A, #274b9f);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 16px 38px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: vipButtonPulse 2.8s infinite;
}
.vip-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(10, 36, 106, 0.25);
}
.vip-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -110%;
    width: 80%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: vipButtonSheen 4s infinite;
}
.vip-submit-btn.loading {
    opacity: 0.85;
    cursor: wait;
    animation: none;
}
.vip-submit-btn.loading::after {
    display: none;
}
.vip-submit-btn .btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #fff;
    animation: vipLoaderSpin 0.8s linear infinite;
}
.vip-submit-btn.loading .btn-loader {
    display: inline-block;
}
.vip-submit-btn .btn-text {
    font-weight: 800;
}

.vip-success-page {
    min-height: calc(100vh - 140px);
    padding: clamp(40px, 10vw, 120px) clamp(20px, 8vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(10, 36, 106, 0.05), rgba(10, 36, 106, 0));
}
.vip-success-card {
    width: min(100%, 720px);
    background: #fff;
    border-radius: 28px;
    padding: clamp(32px, 5vw, 60px);
    text-align: center;
    box-shadow: 0 25px 60px rgba(10, 36, 106, 0.15);
    animation: vipSuccessGlow 5s ease-in-out infinite;
}
.vip-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: radial-gradient(circle at 30% 30%, #fff, #0A246A);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vip-success-check {
    width: 28px;
    height: 52px;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(45deg) translateY(-4px);
    display: inline-block;
}
.vip-success-card .vip-success-label {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: #0A246A;
    font-weight: 800;
    margin-bottom: 10px;
}
.vip-success-card .vip-success-alert {
    font-size: 0.95rem;
    color: #0A246A;
    font-weight: 600;
    margin-bottom: 14px;
    background-color: rgba(10, 36, 106, 0.08);
    padding: 10px 16px;
    border-radius: 999px;
    display: inline-block;
}
.vip-success-card .vip-success-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 20px;
    color: #0A246A;
    line-height: 1.4;
}
.vip-success-card .vip-success-message {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}
.vip-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.vip-success-btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid #0A246A;
    min-width: 180px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.vip-success-btn.primary {
    background: linear-gradient(135deg, #0A246A, #274B9F);
    color: #fff;
    box-shadow: 0 12px 30px rgba(10, 36, 106, 0.2);
}
.vip-success-btn.ghost {
    background: transparent;
    color: #0A246A;
}
.vip-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(10, 36, 106, 0.22);
}

.vip-success-btn.ghost:hover {
    background-color: rgba(10, 36, 106, 0.08);
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .vip-submit-btn,
    .vip-success-card {
        animation: none !important;
    }
    .vip-submit-btn::after {
        display: none;
    }
}
.business-links {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
.link-row {
    width: min(100%, 600px);
    text-align: center;
}
.link-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0A246A;
}
.map-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background-color: #0A246A;
    color: white;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(10, 36, 106, 0.3);
}
.business-disclaimer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    padding: 50px clamp(24px, 8vw, 120px);
    background-color: rgba(10, 36, 106, 0.07);
    border-radius: 0;
    margin-top: 40px;
    text-align: left;
}
.business-disclaimer .disclaimer-icon {
    font-size: 2.6rem;
    line-height: 1;
}
.business-disclaimer .disclaimer-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
}

@media (max-width: 1024px) {
    .business-hero {
        flex-direction: column;
        text-align: center;
    }
    .business-hero .hero-image {
        text-align: center;
    }
    .business-cta {
        flex-direction: column;
        align-items: center;
    }
    .business-button {
        width: 60%;
        max-width: 360px;
    }
}
.scroll-highlight {
    position: fixed;
    left: clamp(8px, 1.5vw, 24px);
    top: 50%;
    transform: translateY(calc(-50% + var(--scroll-offset, 0px)));
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.scroll-highlight.is-visible {
    opacity: 1;
}
.scroll-highlight-track {
    width: auto;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    padding: 24px 16px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(10, 36, 106, 0.28);
    position: relative;
    overflow: hidden;
}
.scroll-highlight-outline {
    position: absolute;
    inset: 8px;
    border-radius: 22px;
    border: 1px dashed rgba(10, 36, 106, 0.35);
    animation: quickMenuPulse 5s linear infinite;
}
.scroll-highlight-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #0A246A;
    display: inline-flex;
    gap: 12px;
    align-items: center;
}
.scroll-highlight-text .scroll-letter {
    opacity: 0;
    display: inline-block;
    animation: scrollLetterReveal 0.35s forwards;
}
.scroll-highlight-text.emphasize {
    animation: scrollPhrasePulse 0.45s ease-in-out 3;
}
@media (max-width: 768px) {
    .scroll-highlight {
        display: none;
    }
}

.quick-menu-floating {
    position: fixed;
    top: 35%;
    right: clamp(12px, 3vw, 36px);
    transform: translateY(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 120px;
    border-radius: 40px;
    text-align: center;
    gap: 0px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(165deg, #0A246A, #274B9F 60%, #5170c5);
    box-shadow: 0 18px 40px rgba(10, 36, 106, 0.45);
    letter-spacing: 0.08em;
    text-decoration: none;
    z-index: 1300;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    animation: quickMenuFloat 4s ease-in-out infinite;
}
.quick-menu-floating::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}
.quick-menu-floating::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    animation: quickMenuPulse 3s infinite;
    pointer-events: none;
}
.quick-menu-floating .quick-menu-icon {
    font-size: 2.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
    animation: quickMenuIconPulse 2.8s ease-in-out infinite;
}
.quick-menu-text-group {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.quick-menu-floating .quick-menu-text {
    font-size: 1rem;
    line-height: 1.15;
    white-space: pre-line;
    transition: opacity 0.25s ease, transform 0.25s ease;
    letter-spacing: 0.06em;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.quick-menu-text-hover {
    opacity: 0;
    transform: translate(-50%, -2px);
    letter-spacing: 0.2em;
}
.quick-menu-text-default {
    transform: translate(-50%, 0);
}
.quick-menu-floating:hover .quick-menu-text-default,
.quick-menu-floating:focus-visible .quick-menu-text-default {
    opacity: 0;
    transform: translate(-50%, -8px);
}
.quick-menu-floating:hover .quick-menu-text-hover,
.quick-menu-floating:focus-visible .quick-menu-text-hover {
    opacity: 1;
    transform: translate(-50%, 0);
}
.quick-menu-floating:hover,
.quick-menu-floating:focus-visible {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 22px 50px rgba(10, 36, 106, 0.6);
}
.quick-menu-floating:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 8px;
}
@media (max-width: 1024px) {
    .quick-menu-floating {
        top: auto;
        bottom: 36px;
        right: 20px;
        transform: none;
    }
}
@media (max-width: 768px) {
    .quick-menu-floating {
        width: 76px;
        height: 100px;
        right: 18px;
        top: auto;
        bottom: 28px;
        transform: none;
        animation: quickMenuFloatMobile 3.5s ease-in-out infinite;
    }
    .quick-menu-floating:hover,
    .quick-menu-floating:focus-visible {
        transform: translateY(-4px) scale(1.02);
    }
}

/* --- Global Responsive Enhancements --- */
@media (max-width: 1024px) {
    .business-page,
    .subpage {
        padding-left: 10px;
        padding-right: 10px;
    }
    .main-section-2 {
        height: auto;
        min-height: auto;
        padding: 90px 0 120px;
        overflow: visible;
    }
    .facilities-container {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        gap: 24px;
        width: min(520px, 92%);
        margin: 0 auto;
        height: auto;
    }
    .facility-item {
        width: min(520px, calc(100% - 24px));
        padding: 24px 22px;
        border-radius: 24px;
        background: rgba(2, 8, 18, 0.9);
        margin: 0 auto;
        gap: 18px;
        box-sizing: border-box;
    }
    .facility-item img {
        width: 100%;
        margin: 0 auto 16px;
        display: block;
        height: auto;
    }
    .facility-text {
        text-align: center;
    }
    .facility-subtitle {
        justify-content: center;
        text-shadow: none;
    }
    .section3-images {
        position: relative;
        width: min(520px, 92%);
        margin: 0 auto 40px;
        min-height: 340px;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 28px 60px rgba(5, 12, 24, 0.55);
        background: #01050c;
    }
    .section3-images .section3-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .section3-mask {
        position: absolute;
        inset: 0;
        clip-path: none;
        transform: none;
    }
    .section3-img.base {
        animation: section3MobileBase 9s ease-in-out infinite;
        animation-fill-mode: both;
    }
    .section3-mask .section3-img {
        animation: section3MobileReveal 9s ease-in-out infinite;
        animation-fill-mode: both;
    }
    .main-section-3 {
        height: auto;
        padding: 110px 0 140px;
    }
    .section3-text {
        position: relative;
        transform: translate(-50%, 0);
    }
    .main-section-gallery {
        padding: 80px 0 120px;
    }
    .gallery-control {
        margin: 0;
        justify-self: center;
    }
    .gallery-progress {
        position: static;
        margin-top: 16px;
        width: 100%;
    }
    .gallery-caption {
        padding: 18px 20px;
    }
    .gallery-thumbnails {
        padding: 10px 0 0;
    }
    .main-section-4 {
        min-height: auto;
        height: auto;
        padding: 120px 0 140px;
        animation: mobileFadeUp 1s ease both;
    }
    .main-section-4 .section4-title,
    .main-section-4 .section4-divider,
    .main-section-4 .section4-image-wrapper {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .business-page,
    .subpage {
        padding-top: 120px;
    }
    .business-section {
        padding: 20px 18px;
    }
    .business-hero {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }
    .business-hero .hero-image {
        text-align: center;
    }
    .business-cta {
        flex-direction: column;
        gap: 14px;
    }
    .business-button {
        width: 60%;
        max-width: 420px;
    }
    .business-disclaimer {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px;
        gap: 10px;
    }
    .business-disclaimer .disclaimer-icon { font-size: 1.3rem; }
    .business-disclaimer .disclaimer-text { font-size: 0.95rem; line-height: 1.6; }
    .sale-highlights {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .sale-highlight-card {
        text-align: center;
        padding: 18px 16px;
    }
    .sale-info-image img {
        width: 100%;
        border-radius: 12px;
    }
    .vip-agree-all {
        justify-content: center;
    }
    .vip-table th,
    .vip-table td {
        font-size: 0.95rem;
        padding: 14px 12px;
    }
    .vip-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .phone-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .vip-form-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .facilities-container {
        width: 100%;
    }
    .facility-item {
        padding: 20px 16px;
        background: rgba(0, 0, 0, 0.25);
    }
    .facility-desc {
        -webkit-line-clamp: unset;
        font-size: 1rem;
    }
    .section3-text {
        width: 90%;
    }
    .section3-line {
        letter-spacing: 0.08em;
    }
    .gallery-viewport {
        min-height: 320px;
    }
    .gallery-thumbnails {
        gap: 12px;
        padding: 12px 3% 0;
        overflow-x: auto;
    }
    .gallery-thumb {
        width: 130px;
        flex: 0 0 130px;
    }
    .gallery-caption {
        font-size: 0.95rem;
    }
    .gallery-headline {
        padding: 0 16px;
    }
    .main-section-gallery {
        padding: 70px 0 90px;
    }
    .business-section {
        padding: 18px 14px;
    }
    .subpage-hero {
        flex-direction: column;
        padding: 80px 16px 40px;
        text-align: center;
    }
    .business-copy .copy-headline {
        font-size: 1.2rem;
    }
    .business-ribbon span {
        font-size: 1.5rem;
        letter-spacing: 0.25em;
    }
    .business-image img {
        border-radius: 10px;
    }
    .business-disclaimer {
        padding: 24px 16px;
        gap: 8px;
    }
    .business-disclaimer .disclaimer-icon { font-size: 1.2rem; }
    .business-disclaimer .disclaimer-text { font-size: 0.9rem; }
    .sale-highlight-card {
        font-size: 0.95rem;
    }
    .vip-agree-all {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .vip-agree-all-btn {
        width: 100%;
    }
    .consent-options {
        gap: 8px;
    }
    .vip-article {
        max-height: none;
        padding: 18px;
    }
    .vip-important-text {
        font-size: 0.95rem;
    }
    .vip-success-page {
        padding: 60px 16px 90px;
    }
    .vip-success-card {
        border-radius: 20px;
    }
    .vip-success-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .main-section-1 .main-text-2 {
        font-size: 1.8rem;
    }
    .facility-item {
        padding: 18px 12px;
    }
    .gallery-thumb {
        width: 120px;
        flex: 0 0 120px;
    }
    .gallery-subtitle {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    .gallery-title {
        font-size: 1.4rem;
    }
    .gallery-caption {
        font-size: 0.9rem;
    }
    .business-section {
        padding: 16px 12px;
    }
    .business-ribbon span {
        font-size: 1.2rem;
        letter-spacing: 0.18em;
    }
    .business-disclaimer {
        padding: 20px 12px;
    }
    .business-disclaimer .disclaimer-icon { font-size: 1.1rem; }
    .sale-highlights {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    .sale-highlight-card {
        padding: 16px 12px;
    }
    .vip-table th,
    .vip-table td {
        font-size: 0.85rem;
        padding: 12px 8px;
    }
    .vip-important-text {
        padding: 14px;
    }
    .vip-success-card {
        padding: 28px 18px;
    }
}
.site-footer {
    background: #050505;
    color: #f4f4f4;
    padding: 60px 5vw 30px;
    font-family: 'Gowun Batang', serif;
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.site-footer .footer-col {
    flex: 1 1 260px;
    min-width: 220px;
}
.footer-brand img {
    width: 200px;
    margin-bottom: 12px;
}
.footer-brand .footer-site a {
    color: #f4d7a3;
    text-decoration: none;
    font-weight: 700;
}
.footer-brand .footer-phone a {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .08em;
    text-decoration: none;
}
.site-footer p {
    margin: 6px 0;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}
.footer-col a {
    color: rgba(244, 215, 163, 0.95);
    text-decoration: none;
}
.footer-note {
    margin: 30px auto 0;
    max-width: 1200px;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-copy {
    margin-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}
@media (max-width: 1024px) {
    .site-footer {
        padding: 40px 24px 24px;
    }
    .site-footer .footer-inner {
        gap: 30px;
    }
    .footer-brand img {
        width: 150px;
    }
    .site-footer .footer-col {
        min-width: 200px;
        flex: 1 1 1px;
    }
    .footer-brand .footer-phone a {
        font-size: 1.2rem;
    }
}
@media (max-width: 768px) {
    .site-footer {
        padding: 32px 18px 20px;
    }
    .site-footer .footer-inner {
        flex-direction: column;
        gap: 24px;
    }
    .site-footer .footer-col {
        min-width: 100%;
        flex: 1 1 1px;
    }
    .footer-brand img {
        width: 120px;
    }
    .footer-brand .footer-phone a {
        font-size: 1.1rem;
    }
    .site-footer p {
        font-size: 0.95rem;
    }
    .footer-note {
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    .site-footer {
        padding: 26px 16px 16px;
    }
    .site-footer p {
        font-size: 0.88rem;
    }
    .footer-note {
        font-size: 0.8rem;
    }
}
