.h-hero{position:relative;min-height:clamp(380px,calc(100svh - 184px),540px);padding:0;display:flex;align-items:center;background:var(--navy) url('../img/habitaciones/hero-habitaciones.webp') 65% 40%/cover no-repeat;color:#fff}
.h-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,42,82,.96) 0%,rgba(13,42,82,.82) 34%,rgba(13,42,82,.1) 62%,rgba(13,42,82,0) 100%)}
.h-hero .wrap{position:relative;width:100%}
.h-hero .tx{max-width:520px;padding:34px 0}
.h-hero .eyebrow{color:var(--gold-l);display:flex;align-items:center;gap:14px}
.h-hero .eyebrow::after{content:"";height:1.5px;width:56px;background:var(--gold-l)}
.h-hero h1{color:#fff;font-size:clamp(2.4rem,5.5vw,3.8rem);font-weight:600;margin-bottom:16px}
.h-hero p{font-size:1.1rem;margin-bottom:28px;color:#e6edf8}
.h-hero .btn{display:inline-flex;align-items:center;gap:10px;background:transparent;border:1.5px solid #fff;border-radius:40px;padding:12px 28px}
.h-hero .btn:hover{background:#fff;color:var(--navy)}
.feat8{background:var(--cream);border-bottom:1px solid var(--line)}
.feat8 ul{list-style:none;display:grid;grid-template-columns:repeat(8,1fr)}
.feat8 li{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 8px;text-align:center;font-size:.82rem;font-weight:700;color:var(--navy);line-height:1.25;border-right:1px solid var(--line)}
.feat8 li:last-child{border:0}
.feat8 svg{width:34px;height:34px;stroke:var(--teal);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.h-intro{padding:64px 0 36px}
.h-intro .wrap{display:grid;grid-template-columns:auto 1fr;gap:48px;align-items:center}
.h-intro h2{font-size:clamp(2rem,4vw,2.8rem)}
.wave{display:block;width:84px;height:14px;margin-top:12px}
.h-intro .txt{border-left:2px solid var(--gold-l);padding-left:32px}
.h-intro .txt p{margin-bottom:10px}
.h-intro .no{font-size:.9rem;color:var(--mute)}
/* tarjetas */
.rcards{padding:0 0 64px}
.rcards ul{position:relative;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:28px}
.rcards li{display:flex}
.rc{flex:1;position:relative;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 6px 20px rgba(13,42,82,.06);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;cursor:pointer}
.rc:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(13,42,82,.12)}
.rc.on{outline:2px solid var(--gold-l)}
.rc img{width:100%;aspect-ratio:4/3;object-fit:cover;flex:none}
.rc div{padding:16px 16px 18px;display:flex;flex-direction:column;flex:1}
.rc div .m:last-of-type{margin-bottom:14px}
.rc.on::before{content:'Viendo';position:absolute;top:10px;left:10px;z-index:2;background:var(--gold-l);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:12px}
.rc h3{font-size:1.45rem;font-style:italic;margin-bottom:4px}
.rc p{font-size:.9rem;color:var(--mute);margin-bottom:10px}
.rc .m{font-size:.85rem;font-weight:600;color:var(--navy);display:flex;align-items:center;gap:8px;margin-bottom:6px}
.rc .m svg{width:20px;height:20px;stroke:var(--teal);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rc button{margin-top:auto;font:inherit;font-weight:700;font-size:.88rem;color:var(--teal);background:#fff;border:1.5px solid var(--teal);border-radius:4px;padding:9px;cursor:pointer}
.rc button:hover{background:var(--teal);color:#fff}
/* detalle */
.rdet{background:var(--cream);padding:56px 0 72px}
.room{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:start}
.js .room:not(.on){display:none}
.rg .main{position:relative;border-radius:8px;overflow:hidden;background:#000;aspect-ratio:16/10}
.rg .main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rg .main img.l{opacity:0;transition:opacity .55s ease}
.rg .main{touch-action:pan-y;cursor:zoom-in}
.rg .main button{z-index:5;cursor:pointer;transition:background .2s,transform .2s}
.rg .main button:hover{background:rgba(13,42,82,.85);transform:translateY(-50%) scale(1.06)}
.rg .ct{z-index:5}
.rg .main button{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1.5px solid #fff;background:rgba(13,42,82,.55);color:#fff;font-size:1.5rem;cursor:pointer;line-height:1}
.rg .pv{left:14px}.rg .nx{right:14px}
.rg .ct{position:absolute;right:12px;bottom:12px;background:rgba(13,42,82,.7);color:#fff;font-size:.85rem;padding:3px 12px;border-radius:12px}
.rg .th{display:flex;gap:14px;margin-top:18px;padding:3px 2px 6px;overflow-x:auto;scrollbar-width:none}
.rg .th::-webkit-scrollbar{display:none}
.rg .th button{flex:none;width:92px;height:66px;border:2px solid transparent;border-radius:4px;padding:0;overflow:hidden;cursor:pointer;opacity:.6;background:none;transition:opacity .3s,border-color .3s,transform .3s}
.rg .th button:hover{opacity:.9}
.rg .th button.on{border-color:var(--gold-l);opacity:1;transform:translateY(-2px)}
.rg .th img{width:100%;height:100%;object-fit:cover}
.room .eyebrow{display:flex;align-items:center;gap:14px}
.room .eyebrow::after{content:"";height:1.5px;width:56px;background:var(--gold)}
.room h2{font-size:clamp(2rem,4vw,2.8rem);margin-bottom:12px}
.room .d{color:var(--mute);margin-bottom:20px}
.facts{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:24px}
.facts div{padding:14px 8px;text-align:center;font-size:.8rem;color:var(--mute);border-right:1px solid var(--line);line-height:1.3}
.facts div:last-child{border:0}
.facts b{display:block;color:var(--navy);font-size:.88rem}
.room h3{font-size:1.25rem;margin-bottom:10px}
.eq{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;margin-bottom:26px}
.eq li{font-size:.92rem;padding-left:24px;position:relative}
.eq li::before{content:"";position:absolute;left:2px;top:.45em;width:10px;height:6px;border-left:2px solid var(--teal);border-bottom:2px solid var(--teal);transform:rotate(-45deg)}
.room .btn{display:inline-flex;align-items:center;gap:10px;border-radius:40px;padding:14px 32px}
@media(max-width:1000px){.rcards ul{grid-template-columns:repeat(3,1fr);gap:22px}.feat8 ul{grid-template-columns:repeat(4,1fr)}.feat8 li:nth-child(4n){border-right:0}.feat8 li{border-bottom:1px solid var(--line)}}
@media(max-width:900px){
 .h-hero{background-position:55% 40%;min-height:430px}
 .h-hero::before{background:linear-gradient(180deg,rgba(13,42,82,.85),rgba(13,42,82,.5))}
 .h-intro .wrap{grid-template-columns:1fr;gap:24px}
 .h-intro .txt{padding-left:20px}
 .room{grid-template-columns:1fr;gap:24px}
}
@media(max-width:620px){.rcards ul{grid-template-columns:1fr 1fr}.feat8 ul{grid-template-columns:repeat(2,1fr)}.feat8 li:nth-child(2n){border-right:0}.eq{grid-template-columns:1fr}}
.rc img{height:auto}
.rcards li,.room>*,.rg{min-width:0}
.h-hero,.rdet,.rcards{overflow-x:clip}
.rdet{scroll-margin-top:var(--hh)}

.hint{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 36px;font-size:.98rem;color:var(--mute);text-align:center}
.hint b{color:var(--navy)}
.hint .ar{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--teal);color:#fff;font-size:.95rem;flex:none;animation:bob 1.8s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}
.room.on{animation:roomIn .55s ease both}
@keyframes roomIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.lb.on{animation:lbIn .28s ease both}
@keyframes lbIn{from{opacity:0}to{opacity:1}}
.lb img{width:92vw;height:86vh;max-width:none;max-height:none;object-fit:contain;border-radius:0;background:transparent;transition:opacity .3s ease}
.lb{-webkit-tap-highlight-color:transparent}
.room .rhead,.room .rbody{min-width:0}
@media(min-width:901px){
 .room{grid-template-columns:1.1fr 1fr;grid-template-rows:auto 1fr;column-gap:40px;row-gap:0}
 .room .rg{grid-column:1;grid-row:1/3}
 .room .rhead{grid-column:2;grid-row:1}
 .room .rbody{grid-column:2;grid-row:2}
}
@media(max-width:900px){
 .rcards{padding-bottom:36px}
 .rcards .wrap{padding-right:0}
 .rcards ul{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 24px 14px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .rcards ul::-webkit-scrollbar{display:none}
 .rcards li{flex:0 0 72%;max-width:300px;scroll-snap-align:center}
 .hint{margin-bottom:22px;font-size:.92rem}
 .hint .hx{display:none}
 .rdet{padding:36px 0 56px}
 .room .rhead{order:1;margin-bottom:18px}
 .room .rg{order:2}
 .room .rbody{order:3;margin-top:22px}
 .room h2{margin-bottom:8px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:900px){.room{gap:0}.room .rhead{margin-bottom:16px}}
.lb{background:rgba(5,15,30,.97)}
