/* 01. 디자인 토큰 */
:root {

    /* Brand */
    --sf-navy:      #1a2332;
    --sf-navy-dark: #0d1520;
    --sf-navy-mid:  #243045;

    --sf-gold:       #c9a84c;
    --sf-gold-light: #e8c96a;

    /* Surface */
    --sf-cream:      #f8f4ee;
    --sf-white:      #ffffff;
    --sf-light-gray: #f0ece6;

    /* Text */
    --sf-gray: #8a8a8a;

    /* Semantic */
    --sf-danger:       #c62828;
    --sf-danger-light: #ffebee;
    --sf-success:      #2e7d32;
    --sf-success-light:#e8f5e9;
    --sf-warning:      #e65100;
    --sf-warning-light:#fff3e0;
    --sf-info:         #01579b;
    --sf-info-light:   #e1f5fe;

    /* Typography */
    --sf-font-display: 'Noto Sans KR', sans-serif;
    --sf-font-body:    'Noto Sans KR', sans-serif;

    /* Spacing */
    --sf-space-xs:  4px;
    --sf-space-sm:  8px;
    --sf-space-md:  16px;
    --sf-space-lg:  24px;
    --sf-space-xl:  40px;
    --sf-space-2xl: 64px;
    --sf-space-3xl: 96px;

    /* Radius */
    --sf-radius-sm: 2px;
    --sf-radius-md: 4px;
    --sf-radius-lg: 8px;

    /* Shadow */
    --sf-shadow-sm:   0 4px 16px rgba(26,35,50,0.08);
    --sf-shadow-md:   0 12px 40px rgba(26,35,50,0.12);
    --sf-shadow-lg:   0 24px 64px rgba(26,35,50,0.16);
    --sf-shadow-xl:   0 40px 100px rgba(0,0,0,0.5);
    --sf-shadow-gold: 0 8px 24px rgba(201,168,76,0.3);

    /* Nav */
    --sf-nav-h: 72px;

    /* Transition */
    --sf-transition:      0.25s ease;
    --sf-transition-slow: 0.4s ease;
}


/* 02. 리셋 & 베이스 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    font-family: var(--sf-font-body);
    background: var(--sf-cream);
    color: var(--sf-navy);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--sf-nav-h);

}

a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--sf-font-body); }


/* 03. 내비게이션 */
.sf-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;

    background: var(--sf-navy) !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;

    border-bottom: 1px solid rgba(201, 168, 76, 0.2) !important;
    z-index: 9999 !important;
}

.nav-logo {
    font-family: var(--sf-font-display, 'Cinzel', serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--sf-gold) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.nav-logo:hover {
    opacity: 0.85;
}

/* 중앙 메뉴 링크 배치 */
.sf-nav__links {
    display: flex;
    gap: 36px;
    align-items: center;
}

/* 메뉴 링크 기본 스타일 및 애니메이션 준비 */
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;       /* 텍스트와 선 사이의 간격 조정 */
    left: 50%;          /* 가운데에서부터 선이 늘어나도록 설정 */
    width: 0;
    height: 1.5px;      /* 선의 두께 */
    background: var(--sf-gold); /* 시그니처 골드 컬러 */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 부드러운 가속도 효과 */
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--sf-gold-light) !important;
}

.nav-link:hover::after {
    width: 100%;
}

.sf-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sf-btn--outline-gold {
    background: transparent !important;
    border: 1px solid rgba(201, 168, 76, 0.4) !important;
    color: var(--sf-gold) !important;
    padding: 8px 18px !important;
    border-radius: 4px !important; /* 미니멀한 명품 엣지 스타일 */
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
}

.sf-btn--outline-gold:hover {
    background: rgba(201, 168, 76, 0.1) !important; /* 은은한 골드 잔상만 부여 */
    border-color: var(--sf-gold-light) !important;
    color: var(--sf-gold-light) !important;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.15) !important;
}

.sf-btn--outline {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
}
.sf-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--sf-white) !important;
}

/* 04. 버튼
 */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: var(--sf-radius-md);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--sf-transition);
}

.sf-btn--gold {
    background: var(--sf-gold);
    color: var(--sf-navy);
}
.sf-btn--gold:hover {
    background: var(--sf-gold-light);
    transform: translateY(-1px);
    box-shadow: var(--sf-shadow-gold);
}

.sf-btn--outline {
    background: transparent;
    border: 1px solid rgba(201,168,76,0.45);
    color: var(--sf-gold);
}
.sf-btn--outline:hover {
    background: rgba(201,168,76,0.8);
    color: var(--sf-white);
}

.sf-btn--primary {
    background: var(--sf-navy);
    color: var(--sf-gold);
}
.sf-btn--primary:hover {
    background: var(--sf-navy-dark);
    color: var(--sf-gold);
}

.sf-btn--sm  { padding: 8px 18px; font-size: 0.88rem; }
.sf-btn--lg  { padding: 15px 36px; font-size: 1rem; }

/* gold 테두리 (멤버십 섹션용) */
.sf-btn--outline-gold {
    background: transparent;
    border: 1px solid rgba(201,168,76,0.45);
    color: var(--sf-gold);
}
.sf-btn--outline-gold:hover {
    background: rgba(201,168,76,0.8);
    color: var(--sf-white);
}


/* 05. 공통 타이포 */
.sf-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sf-gold);
    margin-bottom: 16px;
}

.sf-heading-lg {
    font-family: var(--sf-font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
}


/* 06. 히어로 슬라이더 */
.sf-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: visible;
    background: var(--sf-navy-dark);
}

/*  슬라이드  */
.sf-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}
.sf-slide.active { opacity: 1; }

/*  슬라이드 텍스트  */
.slide-copy {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    margin-top: -80px;
    pointer-events: none;
}

.slide-caption { display: none; }

.sf-slide.active .slide-caption {
    display: block;
    animation: sfHeroIn 1s ease-out;
}

@keyframes sfHeroIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--sf-gold);
    margin-bottom: 16px;
}

.slide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    color: var(--sf-white);
    line-height: 1.1;
    margin-bottom: 22px;
}
.slide-title em,
.slide-title strong,
.slide-title b {
    font-style: normal;
    font-weight: 700;
    color: var(--sf-gold);
}

.slide-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.8;
}

/*  슬라이더 컨트롤  */
.slide-dots {
    position: absolute;
    bottom: 230px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slide-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}
.slide-dot.active {
    width: 24px;
    border-radius: 3px;
    background: var(--sf-gold);
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--sf-white);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
.slide-arrow:hover { background: rgba(201,168,76,0.18); }
.slide-arrow--prev { left: 32px; }
.slide-arrow--next { right: 32px; }

/*  스크롤 힌트  */
.slide-scroll {
    position: absolute;
    bottom: 195px; right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: sfScrollBounce 2.5s infinite;
}
.slide-scroll::after {
    content: '';
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent);
}
@keyframes sfScrollBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}


/* 07. 예약 바 */
.resv-bar {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    /* 원래 1000이었던 값을 페이지 최상위급으로 올리거나, 형제 요소들보다 확실히 높게 설정 */
    z-index: 2000;
    width: min(1100px, 96vw);
    background: rgba(13,21,32,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--sf-radius-lg) var(--sf-radius-lg) 0 0;
    overflow: visible !important; /* 드롭다운이 빠져나올 수 있도록 절대 보장 */
}

.resv-bar--static {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: var(--sf-radius-lg);
    overflow: visible !important;
    z-index: 2000; /* 하단 카드들과의 경쟁에서 이기도록 설정 */
}

.resv-bar.is-open {
    z-index: 2500 !important;
}

/* 예약 바 내부 transition 전체 제거 (날짜 picker 깜빡임 방지) */
.resv-bar, .resv-bar * { transition: none !important; }
.resv-bar *:hover { box-shadow: none !important; }

.resv-tabs {
    /* 탭이 생기면 여기에 스타일 추가 */
}

.resv-tab {
    padding: 12px 24px;
    font-size: 0.85rem;
    color: var(--sf-gold);
    font-weight: 600;
    letter-spacing: 1px;
}

.resv-body {
    padding: 32px;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

/*  입력 필드  */
.resv-field {
    flex: 1;
    padding: 0 24px;
    border-right: 1px solid rgba(201,168,76,0.15);
}
.resv-field:first-child { padding-left: 0; }
.resv-field:last-child  { border-right: none; }

.resv-label {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sf-gold);
    margin-bottom: 10px;
}

.resv-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--sf-white);
    font-size: 1.08rem;
    font-family: var(--sf-font-body);
    color-scheme: dark;
}
.resv-input::placeholder { color: rgba(255,255,255,0.35); }

/* 커스텀 select 드롭다운 래퍼 */
.resv-select-wrap {
    position: relative;
    width: 100%;
}

/* 실제 select는 숨김 — form submit 값 전송용 */
.resv-select-wrap select {
    display: none;
}

/* 커스텀 트리거 버튼 */
.resv-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--sf-white);
    font-size: 1.08rem;
    font-family: var(--sf-font-body);
    cursor: pointer;
    padding: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.resv-select-trigger::after {
    content: '▾';
    font-size: 0.75rem;
    margin-left: 6px;
    opacity: 0.6;
    flex-shrink: 0;
}
.resv-select-trigger.has-value { color: var(--sf-white); }

/* 커스텀 드롭다운 패널 — DEV 드롭다운과 동일 구조 */
.resv-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: -16px;
    min-width: 180px;
    background: var(--sf-navy);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--sf-radius-md);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 9999;
    box-shadow: var(--sf-shadow-md);
    max-height: 280px;
    overflow-y: auto;
}
.resv-select-menu.open { display: block; }

.resv-select-menu li {
    padding: 9px 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--sf-transition), color var(--sf-transition);
}
.resv-select-menu li:hover {
    background: rgba(201,168,76,0.12);
    color: var(--sf-gold);
}
.resv-select-menu li.selected {
    color: var(--sf-gold);
    font-weight: 600;
}

.resv-action { padding-left: 28px; }


/* 08. 인원 드롭다운 */
.guests-wrap {
    position: relative;
    flex: 1;
    padding: 0 24px;
}

.guests-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255,255,255,0.35);
    font-size: 1.08rem;
    text-align: left;
    cursor: pointer;
}
.guests-trigger.has-value { color: var(--sf-white); }

.guests-dd {
    display: none;
    position: absolute;
    bottom: calc(100% + 16px);
    left: 0;
    min-width: 320px;
    background: var(--sf-navy);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--sf-radius-lg);
    padding: 24px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    z-index: 9999;
}
.guests-dd.open { display: block; }

.guests-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.guests-row:last-of-type { border-bottom: none; }

.guests-label {
    color: var(--sf-white);
    font-size: 0.95rem;
    font-weight: 500;
}
.guests-sub {
    color: rgba(255,255,255,0.38);
    font-size: 0.78rem;
    margin-top: 4px;
}

.guests-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.guests-count-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.45);
    background: transparent;
    color: var(--sf-gold);
    font-size: 1.15rem;
    cursor: pointer;
}

.guests-count {
    width: 24px;
    text-align: center;
    color: var(--sf-white);
    font-size: 1rem;
}

.guests-confirm {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: none;
    border-radius: var(--sf-radius-md);
    background: var(--sf-gold);
    color: var(--sf-navy);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}


/* 09. 특가 객실 그리드 */
.sf-offers {
    background: var(--sf-cream);
    padding: var(--sf-space-3xl) 80px;
}

.offers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/*  객실 카드  */
.offer-card {
    background: var(--sf-white);
    border-radius: var(--sf-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(.2,.8,.4,1), box-shadow 0.3s;
    /* 카드 높이 통일 */
    display: flex;
    flex-direction: column;
    height: 100%;
}
.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sf-shadow-lg);
}

.offer-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.offer-card-img img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.offer-card:hover .offer-card-img img { transform: scale(1.06); }

.offer-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;                /* 카드 내 body가 남은 공간 채움 */
}

.offer-card-brand {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sf-gold);
    margin-bottom: 10px;
    /* 브랜드명 1줄 말줄임 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-card-title {
    font-family: var(--sf-font-display);
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 12px;
    /* 제목 2줄 말줄임 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card-desc {
    font-size: 0.92rem;
    color: var(--sf-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;                /* footer를 항상 하단에 고정하기 위해 남은 공간 채움 */
    /* 설명 3줄 말줄임 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;       /* footer 항상 카드 하단 고정 */
}

.offer-card-price {
    font-family: var(--sf-font-display);
    font-size: 1.2rem;
}


/* 10. 프로모 배너 */
.sf-promo {
    position: relative;
    height: 460px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.promo-bg {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(to right, rgba(13,21,32,0.95) 35%, rgba(13,21,32,0.4) 100%),
            url('https://images.unsplash.com/photo-1559599238-308793637427?w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.promo-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 0 80px;
}

.promo-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--sf-gold);
    margin-bottom: 20px;
}

.promo-title {
    font-family: var(--sf-font-display);
    font-size: clamp(2.3rem, 4vw, 3.3rem);
    line-height: 1.15;
    color: var(--sf-white);
    margin-bottom: 18px;
}
.promo-title em,
.promo-title strong,
.promo-title b {
    font-style: normal;
    font-weight: 700;
    color: var(--sf-gold);
}

.promo-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.58);
    margin-bottom: 36px;
}


/* 11. 멤버십 */
.sf-membership {
    position: relative;
    overflow: hidden;
    background: var(--sf-navy);
    padding: var(--sf-space-3xl) 80px;
}
.sf-membership::before {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
}

.mbr-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 80px;
}

.mbr-text { flex: 1; }

.mbr-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mbr-item {
    padding: 24px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--sf-radius-md);
}

.mbr-icon {
    font-size: 1.2rem;
    color: var(--sf-gold);
    margin-bottom: 12px;
}

.mbr-title {
    font-size: 0.95rem;
    color: var(--sf-white);
    font-weight: 600;
    margin-bottom: 8px;
}

.mbr-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}


/* 12. 토스트 */
.sf-toast {
    position: fixed;
    bottom: 32px; right: 32px;
    z-index: 9999;
    padding: 14px 22px;
    background: var(--sf-navy);
    color: var(--sf-white);
    border-radius: var(--sf-radius-lg);
    font-size: 0.92rem;
    box-shadow: var(--sf-shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.sf-toast.show {
    opacity: 1;
    transform: translateY(0);
}


/* 13. 반응형 */
@media (max-width: 1200px) {
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .resv-body { flex-direction: column; gap: 18px; }

    .resv-field {
        width: 100%;
        padding: 0 0 18px;
        border-right: none;
        border-bottom: 1px solid rgba(201,168,76,0.15);
    }

    .guests-wrap { padding: 0; }
    .resv-action  { width: 100%; padding-left: 0; }

    .mbr-inner      { flex-direction: column; }
    .sf-offers, .sf-membership { padding: 56px 20px; }
    .promo-content  { padding: 0 32px; }
}

@media (max-width: 640px) {

    html {
        font-size: 15px;
    }
    body {
        padding-top: 140px;
    }
    /*
     * NAV
     *  */
    .sf-nav {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 9999; /* 화면 최상단에 고정되도록 서치바보다 높게 설정 */
        height: auto;
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .sf-nav__links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .nav-link {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .sf-nav__actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sf-btn {
        padding: 6px 12px;
        font-size: 0.82rem;
    }

    /*
     * HERO
     *  */
    .slide-scroll {
        display: none;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-arrow {
        display: none;
    }

    /*
     * GRID
     *  */
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .mbr-grid {
        grid-template-columns: 1fr;
    }
}

/* DEV 드롭다운 — Bootstrap JS 없이 순수 CSS/JS
 */
.sf-dev-wrap {
    position: relative;
}
.sf-dev-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--sf-navy);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--sf-radius-md);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 400;
    box-shadow: var(--sf-shadow-md);
    max-height: 320px;
    overflow-y: auto;
}
.sf-dev-menu.open { display: block; }
.sf-dev-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    white-space: nowrap;
}
.sf-dev-menu li a:hover {
    background: rgba(201,168,76,0.12);
    color: var(--sf-gold);
}


/* ================================================================
   07. 예약 바 (최종 수정본 — index / rooms 분리)
================================================================ */

/* [기본형] index.html 전용: 슬라이더 바닥에 절대좌표로 고정 */
.resv-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1100px, 96vw) !important;
    background: rgba(13,21,32,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--sf-radius-lg) var(--sf-radius-lg) 0 0;
    overflow: visible !important;
    margin: 0 !important; /* 인덱스에서는 마진을 절대 주면 안 됩니다 */
    z-index: 1000;
}

/* 예약 바 내부 transition 전체 제거 */
.resv-bar, .resv-bar * { transition: none !important; }
.resv-bar *:hover { box-shadow: none !important; }

.resv-tab {
    padding: 12px 24px;
    font-size: 0.85rem;
    color: var(--sf-gold);
    font-weight: 600;
    letter-spacing: 1px;
}

.resv-body {
    padding: 32px;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.resv-field {
    flex: 1;
    padding: 0 24px;
    border-right: 1px solid rgba(201,168,76,0.15);
}
.resv-field:first-child { padding-left: 0; }
.resv-field:last-child  { border-right: none; }

.resv-label {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sf-gold);
    margin-bottom: 10px;
}

.resv-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--sf-white);
    font-size: 1.08rem;
    font-family: var(--sf-font-body);
    color-scheme: dark;
}

.resv-action { padding-left: 28px; }


/* ----------------------------------------------------------------
   [변형] room-list.html 전용 static 서치바
---------------------------------------------------------------- */
/* ================================================================
   [최종 보완] room-list.html 전용 와이드 서치바 스타일
================================================================ */
.resv-bar--static {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    width: min(1300px, 94vw) !important;
    margin: 0 auto !important;

    background: rgba(13,21,32,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--sf-radius-lg);
    overflow: visible !important;
    z-index: 1010 !important;
}

.resv-bar--static .resv-body {
    display: flex !important;
    flex-direction: row !important; /* 무조건 가로 배치 강제 */
    align-items: flex-end !important;
    padding: 24px 32px !important;
    gap: 0 !important;
    width: 100% !important;
}

.resv-bar--static .resv-field {
    flex: 1.2 !important;
    min-width: 0 !important;
    padding: 0 20px !important;
    border-right: 1px solid rgba(201,168,76,0.15) !important;
}

.resv-bar--static .resv-field:nth-child(4), /* 체크인 */
.resv-bar--static .resv-field:nth-child(5)  /* 체크아웃 */ {
    flex: 1 !important;
}

.resv-bar--static .guests-wrap {
    flex: 1 !important;
    padding: 0 20px !important;
}

/* 검색 버튼 영역 */
.resv-bar--static .resv-action {
    padding-left: 20px !important;
    flex-shrink: 0 !important;
}

.resv-bar--static .resv-action button {
    padding: 12px 36px !important;
    font-size: 0.95rem !important;
}

/* ========== 페이지네이션 ========== */
.pagination {
    gap: 6px;
}
.page-item .page-link {
    border: 1px solid rgba(26, 35, 50, 0.12);
    border-radius: var(--sf-radius-lg) !important;
    color: var(--sf-navy);
    background: var(--sf-white);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    transition: all var(--sf-transition);
    cursor: pointer;
}
.page-item .page-link:hover {
    background: var(--sf-navy);
    color: var(--sf-gold);
    border-color: var(--sf-navy);
}
.page-item.active .page-link {
    background: var(--sf-navy);
    color: var(--sf-gold);
    border-color: var(--sf-navy);
    font-weight: 700;
    box-shadow: var(--sf-shadow-sm);
}
.page-item.disabled .page-link {
    background: var(--sf-light-gray);
    color: var(--sf-gray);
    border-color: transparent;
    cursor: default;
    opacity: 0.5;
}
.page-info-text {
    text-align: center;
    font-size: 0.82rem;
    color: var(--sf-gray);
    margin-top: 8px;
}