/* ================================================================
   【页面】酒店预订页（那拉泉度假酒店）
   【模块】1. 主视觉 + 订房 CTA
   【用途】全宽深绿渐变hero区域，含标题文案、描述文字和右侧电话预订挂牌
   【关键属性】linear-gradient背景、flex布局、挂牌动画hlHangIn
   【交互】文字错峰上浮淡入动画，挂牌如自上放下带轻微回弹；按钮hover上浮+阴影加深
   ================================================================ */
.hl-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0;
    background: linear-gradient(118deg, #0b3121 0%, #11523a 50%, #1d7c57 100%);
}
/* 有导航Banner图时：整图铺底（图由 blade 经 CSS 变量 --hl-bg 传给 ::before）+ 左侧深色渐变蒙版（::after，文字/按钮区保证可读） */
.hl-hero--img { background-color: #0b3121; }
.hl-hero--img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hl-bg, none) center / cover no-repeat;
}
.hl-hero--img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 24, 17, .88) 0%, rgba(6, 24, 17, .62) 46%, rgba(6, 24, 17, 0) 100%);
}
.hl-hero .nl-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px 60px;
}
.hl-hero__text { max-width: 680px; }
/* —— 进入动画：文字错峰上浮淡入 —— */
.hl-hero__title {
    margin: 0 0 14px 0;
    font-size: 56px;
    font-weight: 700;
    color: var(--nl-primary);     /* 与网站主题绿一致 #2f9e6e */
    letter-spacing: 3px;
    line-height: 1.2;
    opacity: 0;
    animation: hlUpIn .9s cubic-bezier(.2, .66, .3, 1) .25s forwards;
}
.hl-hero__sub {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    letter-spacing: 1px;
    opacity: 0;
    animation: hlUpIn .9s cubic-bezier(.2, .66, .3, 1) .42s forwards;
}
.hl-hero__desc {
    margin: 0;
    font-size: 16px;
    line-height: 2.0;
    color: rgba(255, 255, 255, .88);
    max-width: 620px;
    opacity: 0;
    animation: hlUpIn .9s cubic-bezier(.2, .66, .3, 1) .6s forwards;
}
@keyframes hlUpIn {
    from { opacity: 0; transform: translateY(34px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 右：电话预订挂牌（深绿烤漆质感 · 顶部挂环 · 白字 · 反白按钮）
   不透明实卡避免毛玻璃与复杂背景叠加显脏；收窄到 300px 尽量少挡大图 */
.hl-hero__cta {
    flex: 0 0 300px;
    width: 300px;
    box-sizing: border-box;
    border-radius: 18px;
    padding: 34px 26px 30px;
    text-align: center;
    position: relative;
    /* 深绿烤漆：顶部柔光 + 斜向漆面渐变 */
    background:
        radial-gradient(150% 110% at 50% -18%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(168deg, #17904f 0%, #0e6a3c 40%, #0a3f28 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    /* 厚度感：上缘亮 / 下缘暗 + 大柔影 */
    box-shadow:
        0 30px 60px -14px rgba(3, 18, 11, .55),
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .28);
    /* 进入动画：如挂牌自上放下，带轻微回弹 */
    opacity: 0;
    animation: hlHangIn 1.1s cubic-bezier(.22, .85, .3, 1) .55s forwards;
}
@keyframes hlHangIn {
    0%   { opacity: 0; transform: translateY(-56px); }
    62%  { opacity: 1; transform: translateY(10px); }
    82%  { transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* 顶部金属挂环 */
.hl-hero__cta::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9), rgba(214, 232, 220, .45) 45%, rgba(140, 168, 152, .3) 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .4), inset 0 1px 2px rgba(255, 255, 255, .8);
}
/* 上小标：酒店预订 · HOTEL */
.hl-hero__cta-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .88);
    letter-spacing: 6px;
    margin-bottom: 16px;
}
/* 装饰细分隔线 */
.hl-hero__cta-label::after {
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
}
.hl-hero__cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: Georgia, "Times New Roman", serif;
}
.hl-hero__cta-phone svg { width: 28px; height: 28px; color: rgba(255, 255, 255, .92); }
/* 立即电话预订：反白胶囊（白底绿字），深绿挂牌上更精致 */
.hl-hero__cta-btn {
    display: block;
    margin-top: 20px;
    padding: 13px 0;
    border-radius: 999px;
    background: #fff;
    color: #0d5c37;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition: all .3s ease;
}
.hl-hero__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
    background: #e9f7ee;
}

/* ================================================================
   【页面】酒店预订页
   【模块】2. 图库
   【用途】分类tab切换 + 瀑布网格展示酒店图片，每页12张分页，悬停显示放大镜遮罩
   【关键属性】grid网格布局、tab切换、分页导航、hover遮罩过渡
   【交互】点击tab切换分类、hover图片放大+遮罩淡入、分页按钮切换页码
   ================================================================ */
.hl-gallery { padding: 50px 0 34px; background: #f4f8f5; }
.hl-gallery__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}
.hl-gallery__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-tab {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 9px 22px;
    border: 1.5px solid rgba(47, 158, 110, .5);
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #1b6b46;
    cursor: pointer;
    transition: all .3s ease;
}
.hl-tab b { font-size: 12px; font-weight: 700; opacity: .75; }
.hl-tab:hover { border-color: #2f9e6e; color: #0f7256; }
.hl-tab.is-on {
    background: #2f9e6e;
    border-color: #2f9e6e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 158, 110, .28);
}
.hl-cate__name {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 6px 0 18px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1c2c25;
    letter-spacing: 1px;
}
.hl-cate__name::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, #2f9e6e, #0f7256);
    align-self: center;
}
.hl-cate__name span { font-size: 14px; font-weight: 400; color: #93a39b; }
/* 瀑布网格 */
.hl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hl-cell {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #dcefe3, #b1d9c2);
    box-shadow: 0 10px 26px rgba(14, 59, 40, .08);
}
.hl-cell img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .8s cubic-bezier(.22, .68, .35, 1), opacity .4s ease;
}
.hl-cell:hover img { transform: scale(1.08); }
.hl-cell__mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 40, 26, .30);
    opacity: 0;
    transition: opacity .35s ease;
}
.hl-cell__mask svg { width: 42px; height: 42px; color: #fff; opacity: .9; }
.hl-cell:hover .hl-cell__mask { opacity: 1; }
.hl-empty { padding: 70px 0; text-align: center; color: #93a39b; font-size: 16px; }

/* ================================================================
   【页面】酒店预订页
   【模块】3. 设施与服务
   【用途】5列网格展示酒店设施与服务项目，含图标+名称，hover效果
   【关键属性】grid-template-columns: repeat(5, 1fr); 圆形图标; hover上浮
   【交互】hover时卡片上浮+边框变色+阴影加深，图标背景渐变为绿色
   ================================================================ */
.hl-svc { padding: 56px 0 64px; background: #fff; }
.hl-head {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
}
.hl-head__text { flex: 0 0 auto; }
.hl-head__title {
    margin: 0 0 8px 0;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: 1px;
}
.hl-head__sub {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #0f7256;
    line-height: 1.5;
    letter-spacing: .5px;
}
.hl-head__line {
    flex: 1;
    height: 2px;
    margin-top: 24px;
    background: linear-gradient(to right, rgba(47, 158, 110, .55) 0%, rgba(47, 158, 110, .55) 80px, transparent 80px);
}
.hl-svc__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.hl-svc__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 12px 22px;
    background: #f7fbf8;
    border: 1px solid #e6f0e9;
    border-radius: 14px;
    transition: all .35s ease;
}
.hl-svc__item:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 158, 110, .5);
    box-shadow: 0 16px 34px rgba(14, 59, 40, .12);
}
.hl-svc__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #0f7256;
    background: #e6f3ea;
    transition: all .35s ease;
}
.hl-svc__icon svg { width: 30px; height: 30px; }
.hl-svc__item:hover .hl-svc__icon {
    background: linear-gradient(135deg, #2f9e6e, #0f7256);
    color: #fff;
}
.hl-svc__item b {
    font-size: 15px;
    font-weight: 600;
    color: #24362e;
    text-align: center;
    line-height: 1.5;
}

/* ================================================================
   【页面】酒店预订页
   【模块】4. 底部预约提示
   【用途】页面底部CTA区域，深绿渐变背景+金色电话号码，引导用户电话预订
   【关键属性】linear-gradient背景、金色文字、圆角卡片
   【交互】电话号码hover变白
   ================================================================ */
.hl-foot { padding: 0 0 70px; background: #fff; }
.hl-foot__box {
    text-align: center;
    padding: 44px 30px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(118deg, #0b3121, #11523a 55%, #1d7c57);
    box-shadow: 0 22px 54px rgba(14, 59, 40, .2);
}
.hl-foot__box h3 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}
.hl-foot__box p { margin: 0 0 16px 0; font-size: 15px; color: rgba(255, 255, 255, .82); }
.hl-foot__phone {
    display: inline-block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffd98a;
    letter-spacing: 1px;
    border-bottom: 2px dashed rgba(255, 217, 138, .6);
    padding-bottom: 4px;
}
.hl-foot__phone:hover { color: #fff; }

/* ================================================================
   【页面】酒店预订页
   【模块】5. 大图预览（Lightbox）
   【用途】全屏fixed相册灯箱，点击图片进入，可左右翻页 + 键盘控制
   【关键属性】position: fixed; z-index: 2000; 半透明深色遮罩
   【交互】点击箭头切换图片、hover箭头变绿、关闭按钮hover变白底绿字、键盘左右/Esc控制
   ================================================================ */
.hl-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;   /* 高于 sticky 导航(1000)，避免遮挡关闭按钮 */
    background: rgba(6, 24, 17, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.hl-lightbox.is-open { display: flex; }
.hl-lightbox__img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .25s ease;
}
/* 左右翻页箭头 */
.hl-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(6, 24, 17, .35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    z-index: 2;
}
.hl-lightbox__nav svg { width: 24px; height: 24px; }
.hl-lightbox__nav:hover { background: #2f9e6e; border-color: #2f9e6e; }
.hl-lightbox__nav--prev { left: 26px; }
.hl-lightbox__nav--next { right: 26px; }
/* 张数提示 */
.hl-lightbox__count {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(6, 24, 17, .55);
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 2;
    white-space: nowrap;
}
.hl-lightbox__close {
    position: absolute;
    right: 30px;
    top: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: all .3s ease;
}
.hl-lightbox__close:hover { background: #fff; color: #0f7256; }

/* ================================================================
   【页面】酒店预订页
   【模块】6. 响应式适配
   【用途】适配 1280px / 1024px 断点，调整栅格列数、字号和内边距
   【关键属性】media queries、grid列数递减、flex布局调整
   ================================================================ */
@media (max-width: 1280px) {
    .hl-grid { grid-template-columns: repeat(3, 1fr); }
    .hl-svc__grid { grid-template-columns: repeat(4, 1fr); }
    .hl-hero__title { font-size: 46px; }
}
@media (max-width: 1024px) {
    .hl-hero { padding: 54px 0; }
    .hl-hero__cta { flex: none; width: 100%; max-width: 420px; }
    .hl-grid { grid-template-columns: repeat(2, 1fr); }
    .hl-svc__grid { grid-template-columns: repeat(3, 1fr); }
    .hl-head__title { font-size: 40px; }
}

/* ================================================================
   【页面】酒店预订页
   【模块】7. 图库分页导航
   【用途】每页12张的分页按钮，页码+上下页按钮，支持hover和active状态
   【关键属性】flex按钮组、圆角边框、active状态绿色填充
   【交互】hover边框变绿、当前页绿色高亮
   ================================================================ */
.hl-page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 10px;
}
.hl-page__num,
.hl-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 4px;
    border: 1px solid #dfeae3;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #55665e;
    cursor: pointer;
    transition: all .3s ease;
}
.hl-page__btn { font-size: 16px; }
.hl-page__num:hover,
.hl-page__btn:hover { border-color: #2f9e6e; color: #0f7256; }
.hl-page__num.is-on {
    background: #2f9e6e;
    border-color: #2f9e6e;
    color: #fff;
    cursor: default;
    box-shadow: 0 8px 18px rgba(47, 158, 110, .25);
}
@media (max-width: 1024px) {
    .hl-page { gap: 6px; }
    .hl-page__num, .hl-page__btn { min-width: 34px; height: 34px; }
}

/* ================================================================
   【页面】酒店预订页
   【模块】8. 设施与服务 紧凑版（v2）
   【用途】设施服务板块的小型化版本，小标题+左侧绿条、横向小卡（图标+名称）
   【关键属性】flex-direction: row; 紧凑内边距; 小尺寸图标
   【交互】hover边框变绿+背景淡绿
   ================================================================ */
.hl-svc { padding: 30px 0 6px; background: #fff; }
/* 小标题：28px + 左侧绿条 */
.hl-svc .hl-head { margin-bottom: 20px; gap: 18px; }
.hl-svc .hl-head__text { display: flex; flex-direction: column; align-items: flex-start; }
.hl-svc .hl-head__title {
    position: relative;
    margin: 0;
    padding-left: 16px;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: 1px;
}
.hl-svc .hl-head__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #2f9e6e, #0f7256);
}
.hl-svc .hl-head__sub {
    margin: 6px 0 0 16px;
    font-size: 14px;
    font-weight: 400;
    color: #94a39b;
    letter-spacing: .5px;
}
.hl-svc .hl-head__line {
    height: 1px;
    margin-top: 8px;
    background: linear-gradient(to right, rgba(47, 158, 110, .28) 0%, rgba(47, 158, 110, .28) 90px, transparent 90px);
}
/* 卡片：横向小卡（图标 + 名称），行高更矮 */
.hl-svc__grid { gap: 12px; }
.hl-svc__item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #e9f1ec;
    border-radius: 12px;
    background: #f8fbf9;
}
.hl-svc__item:hover {
    transform: none;
    border-color: rgba(47, 158, 110, .6);
    background: #eff8f3;
    box-shadow: none;
}
.hl-svc__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e9f4ee;
    color: #0f7256;
}
.hl-svc__icon svg { width: 19px; height: 19px; }
.hl-svc__item:hover .hl-svc__icon {
    background: linear-gradient(135deg, #2f9e6e, #0f7256);
    color: #fff;
}
.hl-svc__item b {
    font-size: 13.5px;
    font-weight: 600;
    color: #2b3a32;
    text-align: left;
    white-space: nowrap;
}
/* 手机端（≤640px）：设施服务卡片网格防横向溢出
   1fr 轨道会被长名称(nowrap)撑宽 → 改 minmax(0,1fr) 并允许名称换行 */
@media (max-width: 640px) {
    .hl-svc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .hl-svc__item { padding: 12px 10px; gap: 8px; }
    .hl-svc__item b { white-space: normal; font-size: 12.5px; line-height: 1.4; }
    .hl-svc__icon { flex: 0 0 30px; width: 30px; height: 30px; }
    /* 酒店 Hero（手机端）：横幅整图完整显示（图源 1920×370 = 19.271%）
       ::before 改为顶部完整横幅条，文字/挂牌自然排到图下方深绿渐变底上 */
    .hl-hero--img { padding: 0; }
    .hl-hero--img::before {
        inset: 0 0 auto 0; height: 0; padding-top: 19.271%;
        background: var(--hl-bg, none) center / 100% auto no-repeat;
    }
    .hl-hero--img::after {
        inset: 0 0 auto 0; height: 0; padding-top: 19.271%;
        background: linear-gradient(90deg, rgba(6, 24, 17, .45) 0%, rgba(6, 24, 17, .18) 55%, rgba(6, 24, 17, .04) 100%);
    }
    .hl-hero .nl-container {
        margin-top: 19.271%;
        padding: 22px 0 42px;
        gap: 24px;
    }
    .hl-hero__title { font-size: 32px; letter-spacing: 2px; }
    .hl-hero__sub { font-size: 15px; }
    .hl-hero__desc { font-size: 14px; line-height: 1.9; max-width: 100%; }
    .hl-hero__cta { padding: 24px 20px 22px; }
    .hl-hero__cta-phone { font-size: 24px; }
}

/* 移动端（≤767px）：图库分类 tab 单行横滑
   10 个分类胶囊(全部/房间/家庭亲子…)手机放不下 →
   强制单行(nowrap) + 横向滚动(overflow-x:auto)，多余左右滑动查看；
   bar 改 block 使 tabs 宽度受限才可滚动；隐藏滚动条保持胶囊条整洁 */
@media (max-width: 767px) {
    .hl-gallery__bar {
        display: block;
        overflow: hidden;
        margin-bottom: 20px;
    }
    .hl-gallery__tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 2px 2px 8px;
        scrollbar-width: none;
    }
    .hl-gallery__tabs::-webkit-scrollbar { display: none; }
    .hl-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 18px;
        font-size: 14px;
    }
}
