/* ============================================================
   HOTEL SINGLE (scoped hx-)
   ============================================================ */
.hx-wrap{background:#f7f8fb;color:#0a0f1a;padding-top:70px;overflow-x:hidden;}
.hx-wrap *{box-sizing:border-box;}

/* ---------- Cinematic Hero ---------- */
.hx-hero{position:relative;height:92vh;min-height:560px;max-height:900px;overflow:hidden;color:#fff;}
.hx-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform-origin:center;animation:hxKenBurns 14s ease-in-out infinite alternate;}
@keyframes hxKenBurns{from{transform:scale(1) translate(0,0);}to{transform:scale(1.12) translate(-1.5%,-1%);}}
.hx-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,15,26,0.55) 0%,rgba(10,15,26,0.15) 35%,rgba(10,15,26,0.55) 70%,rgba(10,15,26,0.92) 100%);}
.hx-hero-grain{position:absolute;inset:0;opacity:.06;mix-blend-mode:overlay;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:3px 3px;pointer-events:none;}

/* Badge top-right: "نسعى لخدمتك" */
.hx-service-badge{position:absolute;top:30px;right:30px;z-index:4;background:rgba(255,255,255,0.09);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,0.22);border-radius:100px;padding:10px 18px 10px 14px;display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:.82rem;letter-spacing:.02em;}
.hx-pulse{width:10px;height:10px;border-radius:50%;background:#25D366;position:relative;flex-shrink:0;}
.hx-pulse::after{content:'';position:absolute;inset:-4px;border-radius:50%;background:#25D366;opacity:.6;animation:hxPulse 1.6s infinite;}
@keyframes hxPulse{0%{transform:scale(.8);opacity:.7;}100%{transform:scale(2.2);opacity:0;}}

.hx-hero-inner{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:0 28px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:72px;}
.hx-breadcrumb{font-size:.8rem;opacity:.85;margin-bottom:22px;letter-spacing:.02em;}
.hx-breadcrumb a{color:#fff;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s;}
.hx-breadcrumb a:hover{border-bottom-color:rgba(255,255,255,.6);}
.hx-breadcrumb span{opacity:.5;margin:0 6px;}

/* Postcard panel */
.hx-postcard{background:linear-gradient(135deg,rgba(255,255,255,0.08),rgba(255,255,255,0.03));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,0.18);border-radius:28px;padding:34px 38px;box-shadow:0 30px 80px rgba(0,0,0,.35);max-width:820px;position:relative;}
.hx-postcard::before{content:'';position:absolute;top:-1px;inset-inline:30px;height:2px;background:linear-gradient(90deg,transparent,rgba(56,189,248,.8),transparent);}
.hx-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:800;letter-spacing:.22em;color:#38BDF8;margin-bottom:12px;text-transform:uppercase;}
.hx-eyebrow::before{content:'';width:28px;height:1.5px;background:#38BDF8;display:inline-block;}
.hx-hero h1{font-family:'Tajawal',sans-serif;font-size:clamp(2rem,5.2vw,4rem);font-weight:900;line-height:1.12;margin:0 0 18px;letter-spacing:-0.01em;text-shadow:0 4px 30px rgba(0,0,0,.4);}

.hx-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px;}
.hx-pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:100px;padding:7px 14px;font-size:.82rem;font-weight:700;color:#fff;}
.hx-pill-stars{background:rgba(56,189,248,.1);border-color:rgba(56,189,248,.35);}
.hx-star{width:14px;height:14px;display:inline-block;vertical-align:middle;}
.hx-star.on{fill:#38BDF8;stroke:none;}
.hx-star.off{fill:none;stroke:rgba(255,255,255,.5);stroke-width:1.2;}
.hx-pill-price{background:linear-gradient(135deg,rgba(75,158,255,.2),rgba(75,158,255,.08));border-color:rgba(75,158,255,.4);color:#dbeaff;}
.hx-pill-price b{color:#fff;font-weight:900;font-size:.95rem;}

.hx-actions{display:flex;flex-wrap:wrap;gap:12px;}
.hx-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:14px;font-weight:800;font-size:.95rem;text-decoration:none;transition:transform .25s,box-shadow .25s,background .25s;border:none;cursor:pointer;font-family:inherit;}
.hx-btn-wa{background:#25D366;color:#fff;box-shadow:0 12px 32px rgba(37,211,102,.35);}
.hx-btn-wa:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(37,211,102,.5);background:#1da851;color:#fff;}
.hx-btn-book{background:rgba(255,255,255,.12);color:#fff;border:1.5px solid rgba(255,255,255,.3);backdrop-filter:blur(8px);}
.hx-btn-book:hover{background:#fff;color:#0a0f1a;border-color:#fff;transform:translateY(-3px);}
.hx-btn svg{width:18px;height:18px;flex-shrink:0;}

/* ---------- Side-rail (desktop) ---------- */
.hx-rail{position:fixed;top:50%;right:22px;transform:translateY(-50%);z-index:60;display:flex;flex-direction:column;gap:14px;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);border:1px solid rgba(0,0,0,.06);padding:16px 10px;border-radius:100px;box-shadow:0 10px 30px rgba(0,0,0,.08);}
.hx-rail-item{position:relative;display:flex;align-items:center;justify-content:flex-end;cursor:pointer;border:none;background:transparent;padding:0;font-family:inherit;}
.hx-rail-dot{width:10px;height:10px;border-radius:50%;background:#d0d4dd;transition:all .3s;}
.hx-rail-item.active .hx-rail-dot{background:#4B9EFF;transform:scale(1.5);box-shadow:0 0 0 4px rgba(75,158,255,.18);}
.hx-rail-label{position:absolute;right:26px;top:50%;transform:translateY(-50%) translateX(8px);background:#0a0f1a;color:#fff;font-size:.72rem;font-weight:700;padding:5px 12px;border-radius:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:all .25s;}
.hx-rail-item:hover .hx-rail-label{opacity:1;transform:translateY(-50%) translateX(0);}
@media(max-width:1100px){.hx-rail{display:none;}}

/* ---------- Main layout ---------- */
.hx-main{max-width:1200px;margin:0 auto;padding:70px 28px;}
.hx-section{margin-bottom:80px;scroll-margin-top:110px;opacity:0;transform:translateY(30px);transition:opacity .8s ease,transform .8s ease;}
.hx-section.visible{opacity:1;transform:translateY(0);}
.hx-section-head{display:flex;align-items:center;gap:14px;margin-bottom:26px;}
.hx-section-num{font-family:'Inter',sans-serif;font-size:.82rem;font-weight:800;color:#4B9EFF;letter-spacing:.2em;}
.hx-section-line{flex:1;height:1px;background:linear-gradient(to left,transparent,#e3e6ec);}
.hx-section-title{font-size:clamp(1.4rem,2.4vw,1.9rem);font-weight:900;color:#0a0f1a;margin:0;letter-spacing:-.01em;}

/* Overview 2-col */
.hx-overview{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:start;}
.hx-about{font-size:1rem;line-height:2;color:#33394a;}
.hx-about p{margin:0 0 16px;}
.hx-about p:first-child::first-letter{float:right;font-family:'Tajawal',sans-serif;font-size:3.4rem;line-height:1;font-weight:900;color:#4B9EFF;margin:6px 0 0 10px;padding:0 4px;background:linear-gradient(135deg,#4B9EFF,#6db1ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}

/* Facts card */
.hx-facts{background:#fff;border-radius:22px;padding:28px;box-shadow:0 10px 40px rgba(0,0,0,.05);border:1px solid #eef0f4;position:sticky;top:110px;}
.hx-facts-title{font-size:.82rem;font-weight:800;color:#8a8fa3;letter-spacing:.16em;margin-bottom:18px;text-transform:uppercase;}
.hx-fact{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #f0f2f6;}
.hx-fact:last-child{border-bottom:none;}
.hx-fact-icon{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#ebf4ff,#dceaff);display:flex;align-items:center;justify-content:center;color:#4B9EFF;flex-shrink:0;}
.hx-fact-icon svg{width:20px;height:20px;}
.hx-fact-label{font-size:.72rem;color:#8a8fa3;font-weight:600;}
.hx-fact-value{font-size:.95rem;color:#0a0f1a;font-weight:800;}
.hx-fact-rating{display:flex;gap:3px;margin-top:4px;}
.hx-fact-rating .hx-star{width:16px;height:16px;}
.hx-fact-rating .hx-star.off{stroke:#c8cbd4;}
.hx-fact-price{color:#4B9EFF;font-weight:900;font-size:1.1rem;}

/* Amenities */
.hx-amenities{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;}
.hx-amenity{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #eef0f4;border-radius:14px;padding:14px 16px;transition:all .3s;position:relative;overflow:hidden;}
.hx-amenity::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(75,158,255,.05),transparent);opacity:0;transition:opacity .3s;}
.hx-amenity:hover{border-color:#4B9EFF;transform:translateY(-2px);box-shadow:0 10px 24px rgba(75,158,255,.1);}
.hx-amenity:hover::before{opacity:1;}
.hx-amenity-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#4B9EFF,#6db1ff);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:1;}
.hx-amenity-icon svg{width:20px;height:20px;}
.hx-amenity-label{font-size:.9rem;font-weight:700;color:#0a0f1a;position:relative;z-index:1;}

/* Rooms */
.hx-rooms-desc{font-size:1rem;line-height:1.9;color:#33394a;margin-bottom:30px;background:#fff;padding:24px 28px;border-radius:18px;border-right:4px solid #4B9EFF;box-shadow:0 4px 20px rgba(0,0,0,.04);}
.hx-room-types{display:flex;flex-direction:column;gap:14px;}
.hx-room{display:flex;align-items:stretch;gap:20px;background:#fff;border:1px solid #eef0f4;border-radius:18px;padding:20px 24px;transition:all .3s;}
.hx-room:hover{border-color:#4B9EFF;transform:translateX(-4px);box-shadow:0 14px 30px rgba(0,0,0,.06);}
.hx-room-num{font-family:'Inter',sans-serif;font-size:2.8rem;font-weight:900;line-height:1;background:linear-gradient(135deg,#4B9EFF,#0a0f1a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;min-width:64px;}
.hx-room-body{flex:1;display:flex;flex-direction:column;justify-content:center;}
.hx-room-label{font-size:.68rem;font-weight:800;color:#8a8fa3;letter-spacing:.18em;margin-bottom:4px;}
.hx-room-name{font-size:1.05rem;font-weight:800;color:#0a0f1a;line-height:1.5;}

/* Gallery */
.hx-gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:10px;grid-auto-flow:dense;}
.hx-gal-item{position:relative;overflow:hidden;border-radius:14px;cursor:pointer;aspect-ratio:4/3;}
.hx-gal-item:nth-child(6n+1){grid-column:span 6;aspect-ratio:16/10;}
.hx-gal-item:nth-child(6n+2){grid-column:span 3;}
.hx-gal-item:nth-child(6n+3){grid-column:span 3;}
.hx-gal-item:nth-child(6n+4){grid-column:span 4;}
.hx-gal-item:nth-child(6n+5){grid-column:span 4;}
.hx-gal-item:nth-child(6n+6){grid-column:span 4;}
.hx-gal-item img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.9,.3,1);}
.hx-gal-item:hover img{transform:scale(1.08);}
.hx-gal-item::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.4),transparent 50%);opacity:0;transition:opacity .3s;}
.hx-gal-item:hover::after{opacity:1;}
.hx-gal-zoom{position:absolute;top:12px;left:12px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.7);transition:all .3s;}
.hx-gal-item:hover .hx-gal-zoom{opacity:1;transform:scale(1);}
.hx-gal-zoom svg{width:16px;height:16px;color:#0a0f1a;}
@media(max-width:720px){
  .hx-gallery{grid-template-columns:repeat(2,1fr);}
  .hx-gal-item,.hx-gal-item:nth-child(6n+1),.hx-gal-item:nth-child(6n+2),.hx-gal-item:nth-child(6n+3),.hx-gal-item:nth-child(6n+4),.hx-gal-item:nth-child(6n+5),.hx-gal-item:nth-child(6n+6){grid-column:span 1;aspect-ratio:1/1;}
}

/* Location */
.hx-location{display:grid;grid-template-columns:1fr 1.3fr;gap:30px;align-items:stretch;}
.hx-location-text{background:#fff;border-radius:20px;padding:28px;border:1px solid #eef0f4;display:flex;flex-direction:column;justify-content:center;}
.hx-location-text p{font-size:.98rem;line-height:1.9;color:#33394a;margin:0 0 18px;}
.hx-addr-pill{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,#ebf4ff,#dceaff);color:#0a0f1a;border-radius:100px;padding:10px 18px;font-size:.85rem;font-weight:700;width:fit-content;}
.hx-addr-pill svg{width:16px;height:16px;color:#4B9EFF;}
.hx-map{position:relative;border-radius:20px;overflow:hidden;min-height:380px;background:#e8ecf2;border:1px solid #eef0f4;}
.hx-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.hx-map-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef2f8,#dde4ef);color:#64697a;text-align:center;padding:24px;}
.hx-map-fallback svg{width:52px;height:52px;margin-bottom:14px;color:#4B9EFF;}
.hx-map-fallback h4{font-size:1rem;font-weight:800;color:#0a0f1a;margin:0 0 8px;}
.hx-map-fallback .hx-btn-wa{margin-top:14px;}

/* Family policy */
.hx-family{background:linear-gradient(135deg,#F8FBFF,#EFF6FF);border:1px solid #BAE6FD;border-radius:22px;padding:34px 38px;position:relative;overflow:hidden;}
.hx-family::before{content:'"';position:absolute;top:-20px;right:24px;font-family:Georgia,serif;font-size:9rem;line-height:1;color:rgba(56,189,248,.22);font-weight:900;}
.hx-family-icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#38BDF8,#0ea5e9);color:#0a0f1a;display:flex;align-items:center;justify-content:center;margin-bottom:18px;position:relative;z-index:1;}
.hx-family-icon svg{width:28px;height:28px;}
.hx-family-text{font-size:1.02rem;line-height:1.95;color:#3d3420;font-weight:500;position:relative;z-index:1;}
.hx-family-label{display:inline-block;background:#0a0f1a;color:#38BDF8;font-size:.7rem;font-weight:800;letter-spacing:.2em;padding:5px 12px;border-radius:100px;margin-bottom:12px;}

/* Similar hotels */
.hx-similar{background:#fff;padding:70px 0;border-top:1px solid #eef0f4;}
.hx-similar-inner{max-width:1200px;margin:0 auto;padding:0 28px;}
.hx-similar h2{font-size:1.6rem;font-weight:900;color:#0a0f1a;margin:0 0 6px;letter-spacing:-.01em;}
.hx-similar-sub{font-size:.9rem;color:#8a8fa3;margin-bottom:28px;}
.hx-similar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.hx-sim-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid #eef0f4;border-radius:18px;overflow:hidden;transition:all .3s;}
.hx-sim-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(0,0,0,.08);border-color:#4B9EFF;}
.hx-sim-img{aspect-ratio:4/3;overflow:hidden;background:#eef2f8;}
.hx-sim-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.hx-sim-card:hover .hx-sim-img img{transform:scale(1.08);}
.hx-sim-body{padding:16px 18px;}
.hx-sim-stars{display:flex;gap:2px;margin-bottom:6px;}
.hx-sim-stars .hx-star{width:13px;height:13px;}
.hx-sim-name{font-size:.95rem;font-weight:800;color:#0a0f1a;margin-bottom:4px;line-height:1.4;}
.hx-sim-city{font-size:.78rem;color:#8a8fa3;display:flex;align-items:center;gap:5px;}

/* Floating mobile booking bar */
.hx-mbar{display:none;position:fixed;bottom:0;inset-inline:0;background:#fff;border-top:1px solid #eef0f4;box-shadow:0 -10px 30px rgba(0,0,0,.08);padding:12px 16px;z-index:90;gap:14px;align-items:center;}
.hx-mbar-price{flex:1;min-width:0;}
.hx-mbar-price-label{font-size:.65rem;color:#8a8fa3;font-weight:700;}
.hx-mbar-price-val{font-size:1.15rem;font-weight:900;color:#4B9EFF;line-height:1.1;}
.hx-mbar-price-alt{font-size:.7rem;color:#8a8fa3;}
.hx-mbar .hx-btn{padding:12px 18px;font-size:.88rem;}
@media(max-width:720px){.hx-mbar{display:flex;} .hx-wrap{padding-bottom:74px;}}

/* Lightbox */
.hx-lb{display:none;position:fixed;inset:0;z-index:9999;background:rgba(5,8,15,.96);align-items:center;justify-content:center;}
.hx-lb.active{display:flex;}
.hx-lb-img{max-width:92vw;max-height:85vh;border-radius:12px;box-shadow:0 30px 80px rgba(0,0,0,.6);}
.hx-lb-close,.hx-lb-prev,.hx-lb-next{position:absolute;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);color:#fff;width:48px;height:48px;border-radius:50%;font-size:1.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .25s;}
.hx-lb-close:hover,.hx-lb-prev:hover,.hx-lb-next:hover{background:rgba(255,255,255,.22);}
.hx-lb-close{top:24px;left:24px;}
.hx-lb-prev{right:24px;top:50%;transform:translateY(-50%);}
.hx-lb-next{left:24px;top:50%;transform:translateY(-50%);}
.hx-lb-counter{position:absolute;bottom:24px;right:50%;transform:translateX(50%);color:rgba(255,255,255,.8);font-size:.85rem;font-weight:700;letter-spacing:.1em;}

/* Responsive */
@media(max-width:1024px){
  .hx-overview{grid-template-columns:1fr;}
  .hx-facts{position:static;}
  .hx-location{grid-template-columns:1fr;}
  .hx-similar-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:720px){
  .hx-hero{height:88vh;min-height:500px;}
  .hx-hero-inner{padding-bottom:50px;padding-inline:20px;}
  .hx-postcard{padding:24px 22px;border-radius:22px;}
  .hx-service-badge{top:20px;right:20px;font-size:.72rem;padding:8px 14px 8px 10px;}
  .hx-main{padding:50px 20px;}
  .hx-section{margin-bottom:60px;}
  .hx-similar-grid{grid-template-columns:1fr;}
  .hx-similar{padding:50px 0;}
  .hx-btn{padding:12px 20px;font-size:.88rem;}
  .hx-room{padding:16px 18px;gap:14px;}
  .hx-room-num{font-size:2.2rem;min-width:48px;}
  .hx-family{padding:26px 22px;}
}
