/* ==========================================================================
   Nippur Hotel - Main stylesheet
   ========================================================================== */

:root {
    --ink: #03051a;
    --navy: #060932;
    --navy-2: #0c1140;
    --navy-3: #151b4f;
    --gold: #c8a66e;
    --gold-light: #e6d3a6;
    --gold-dark: #9d7d48;
    --gold-grad: linear-gradient(135deg, #ecdcb2 0%, #c8a66e 45%, #a3834d 100%);
    --cream: #f7f2e8;
    --sand: #ece3d1;
    --paper: #fbf8f2;
    --text: #22252b;
    --text-soft: #5d626c;
    --text-light: #c3c8d2;
    --line-dark: rgba(200, 166, 110, .22);
    --line-light: rgba(34, 37, 43, .1);
    --success: #2f8f5b;
    --danger: #c0473d;
    --warning: #c98a1d;
    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 20px 50px -20px rgba(3, 5, 26, .45);
    --shadow-soft: 0 10px 30px -12px rgba(3, 5, 26, .18);
    --ease: cubic-bezier(.22, .8, .24, 1);
    --header-h: 86px;
    --font-head: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-brand: 'Cormorant Garamond', 'Times New Roman', serif;
    --title-tracking: 0;
}

html[lang="ar"] {
    --font-head: 'El Messiri', 'Tajawal', serif;
    --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: lining-nums;
    overflow-x: hidden;
}
html[lang="ar"] body { font-size: 17px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 999; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(900px, 100% - 48px); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
    --btn-pad: 15px 32px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--btn-pad);
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 600; font-size: .92rem; letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .4s var(--ease);
    position: relative; overflow: hidden; isolation: isolate;
    white-space: nowrap;
}
html[lang="ar"] .btn { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.btn .icon { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(200, 166, 110, .6); }
.btn-gold::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(200, 166, 110, .75); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--gold-light); }
.btn-ghost { color: var(--text-soft); background: transparent; border-color: var(--line-light); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-sm { --btn-pad: 10px 20px; font-size: .8rem; }
html[lang="ar"] .btn-sm { font-size: .92rem; }
.btn-lg { --btn-pad: 18px 44px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::before {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite;
}
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-light); font-weight: 500; border-bottom: 1px solid currentColor; }
.link-btn:hover { color: #fff; }
.link-gold { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 500; }
.link-gold:hover { color: var(--gold-light); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    color: var(--gold-dark); font-size: .78rem; font-weight: 600;
    letter-spacing: .32em; text-transform: uppercase; margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: .04em; font-size: .95rem; }
.eyebrow::before, .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.section-head:not(.center) .eyebrow::after { display: none; }
.dark .eyebrow, .eyebrow.light { color: var(--gold); }

.section-title { font-size: clamp(2rem, 4.2vw, 3.3rem); color: var(--navy); letter-spacing: var(--title-tracking); }
html[lang="en"] .section-title { font-weight: 500; }
.dark .section-title { color: #fff; }
.section-sub { color: var(--text-soft); max-width: 640px; font-size: 1.05rem; }
.dark .section-sub { color: var(--text-light); }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.lead { font-size: 1.12rem; color: var(--text); }

.divider { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 6px 0 26px; }
.divider span { width: 50px; height: 1px; background: var(--gold); opacity: .6; }
.divider .icon { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.dark { background: var(--navy); color: var(--text-light); }
.section-pattern, .hero-pattern, .footer-pattern {
    position: absolute; inset: 0; pointer-events: none;
    background-image: url('/assets/img/pattern.svg'); background-size: 160px; opacity: .03;
}

/* ---------- Preloader ---------- */
body.is-loading { overflow: hidden; }
.preloader {
    position: fixed; inset: 0; z-index: 1000; overflow: hidden;
    display: grid; place-items: center;
    background: radial-gradient(ellipse at 50% 42%, #10175a 0%, var(--navy) 48%, var(--ink) 100%);
    transition: transform 1.15s cubic-bezier(.77, 0, .18, 1), visibility 0s linear 1.15s;
    will-change: transform;
}
.preloader::before {
    content: ""; position: absolute; inset: 0; opacity: .022;
    background: url('/assets/img/pattern.svg') center / 160px;
}
.pl-glow {
    position: absolute; width: min(560px, 90vw); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 166, 110, .2) 0%, rgba(200, 166, 110, .05) 40%, transparent 68%);
    animation: plGlow 3.2s ease-in-out infinite;
}
.pl-inner { position: relative; display: flex; flex-direction: column; align-items: center; transition: opacity .55s ease, transform .9s var(--ease); }
.pl-mark { position: relative; width: clamp(130px, 18vw, 176px); aspect-ratio: 320 / 253; }
.pl-mark img { width: 100%; height: 100%; clip-path: inset(100% 0 0 0); animation: plRise 1.35s cubic-bezier(.65, 0, .2, 1) .15s forwards; }
.pl-shine {
    position: absolute; inset: 0; pointer-events: none;
    -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 220, .95) 50%, transparent 62%);
    background-size: 320% 100%; background-position: 130% 0;
    animation: plShine 2.6s ease-in-out 1.35s infinite;
}
.pl-text {
    width: clamp(170px, 22vw, 220px); height: auto; margin-top: 22px;
    opacity: 0; transform: translateY(16px); filter: blur(6px);
    animation: plFadeUp 1s var(--ease) 1.05s forwards;
}
.pl-progress {
    position: relative; width: 168px; height: 1px; margin-top: 34px; overflow: hidden;
    background: rgba(200, 166, 110, .18); opacity: 0; animation: plFade .6s ease 1.2s forwards;
}
.pl-progress span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: linear-gradient(90deg, #a3834d, #e6d3a6, #a3834d); box-shadow: 0 0 10px rgba(200, 166, 110, .8); transition: width .45s ease; }
.pl-percent {
    margin-top: 12px; font-family: var(--font-brand); font-size: .82rem; letter-spacing: .12em; direction: ltr;
    color: var(--gold); font-variant-numeric: tabular-nums lining-nums; opacity: 0; animation: plFade .6s ease 1.2s forwards;
}
.pl-curtain { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transition: transform .6s var(--ease); }
.preloader.is-complete .pl-curtain { transform: scaleX(1); }
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader.is-done .pl-inner { opacity: 0; transform: translateY(-40px) scale(.96); }
.preloader.is-quick .pl-mark img { animation-duration: .5s; animation-delay: 0s; }
.preloader.is-quick .pl-text, .preloader.is-quick .pl-progress, .preloader.is-quick .pl-percent { animation-delay: .2s; animation-duration: .4s; }
@keyframes plRise { from { clip-path: inset(100% 0 0 0); transform: translateY(18px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes plShine { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes plFadeUp { to { opacity: 1; transform: none; filter: none; } }
@keyframes plFade { to { opacity: 1; } }
@keyframes plGlow { 0%, 100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 100;
    height: var(--header-h);
    transition: background .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
    background: rgba(3, 5, 26, .93);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: rgba(200, 166, 110, .15);
    --header-h: 74px;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: auto; transition: height .5s var(--ease); }
.brand-emblem { height: 52px; }
.brand-wordmark { height: 40px; }
.site-header.is-scrolled .brand-emblem, .site-header.is-solid .brand-emblem { height: 44px; }
.site-header.is-scrolled .brand-wordmark, .site-header.is-solid .brand-wordmark { height: 34px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 190px; height: auto; }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
    color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    position: relative; padding: 6px 0; white-space: nowrap;
}
html[lang="ar"] .main-nav a { font-size: 1rem; letter-spacing: 0; }
.main-nav a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transition: transform .4s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-size: .9rem; }
.lang-switch:hover { color: var(--gold-light); }
.lang-switch .icon { width: 17px; height: 17px; color: var(--gold); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); position: relative; }
.burger span { position: absolute; inset-inline-start: 11px; width: 20px; height: 1.5px; background: var(--gold-light); transition: all .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; width: 14px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
    position: fixed; inset: 0; z-index: 90; background: rgba(3, 5, 26, .97);
    display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .5s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mobile-link { font-family: var(--font-head); font-size: 1.8rem; color: #fff; transform: translateY(20px); opacity: 0; transition: all .5s var(--ease); }
.mobile-nav.is-open .mobile-link { transform: none; opacity: 1; }
.mobile-nav.is-open .mobile-link:nth-child(2) { transition-delay: .05s; }
.mobile-nav.is-open .mobile-link:nth-child(3) { transition-delay: .1s; }
.mobile-nav.is-open .mobile-link:nth-child(4) { transition-delay: .15s; }
.mobile-nav.is-open .mobile-link:nth-child(5) { transition-delay: .2s; }
.mobile-link:hover { color: var(--gold-light); }
.mobile-lang { display: inline-flex; gap: 8px; align-items: center; color: var(--gold); margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 180px;
    background: var(--ink);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.12);
    transition: opacity 1.8s ease, transform 9s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(3,5,26,.75) 0%, rgba(3,5,26,.35) 35%, rgba(3,5,26,.55) 70%, rgba(3,5,26,.95) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(3,5,26,.5) 100%);
}
.hero-pattern { opacity: .04; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 16px; color: var(--gold-light);
    font-size: .85rem; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 26px;
}
html[lang="ar"] .hero-eyebrow { letter-spacing: .05em; font-size: 1.05rem; }
.hero-eyebrow strong { color: var(--gold); font-weight: 600; }
.hero-eyebrow .line { width: 50px; height: 1px; background: var(--gold); }
.hero-title {
    font-size: clamp(2.4rem, 6.4vw, 5.4rem); font-weight: 500; line-height: 1.1; margin-bottom: 26px;
    text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
html[lang="ar"] .hero-title { font-weight: 600; line-height: 1.35; font-size: clamp(2.1rem, 5.4vw, 4.4rem); }
.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 680px; margin: 0 auto 26px; font-weight: 300; }
html[lang="ar"] .hero-subtitle { font-weight: 400; }
.hero-stars { display: inline-flex; gap: 6px; color: var(--gold); }
.hero-stars .icon { width: 16px; height: 16px; fill: currentColor; }

.booking-bar {
    position: absolute; z-index: 3; bottom: 56px; inset-inline: 0; margin-inline: auto;
    width: min(1100px, 100% - 48px);
    display: grid; grid-template-columns: 1.3fr 1.3fr .8fr .8fr auto; gap: 0;
    background: rgba(6, 9, 50, .62);
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(200, 166, 110, .3);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.bb-field { display: flex; flex-direction: column; padding: 8px 20px; border-inline-end: 1px solid rgba(200, 166, 110, .18); min-width: 0; }
.bb-field label { display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
html[lang="ar"] .bb-field label { letter-spacing: 0; font-size: .88rem; }
.bb-field label .icon { width: 15px; height: 15px; }
.bb-field input, .bb-field select {
    background: transparent; border: 0; color: #fff; font-size: 1.02rem; padding: 4px 0; width: 100%;
    color-scheme: dark; outline: none; cursor: pointer;
}
.bb-field select option { background: var(--navy); color: #fff; }
.bb-submit { margin-inline-start: 10px; border-radius: 6px; padding-inline: 30px; }

.scroll-cue {
    position: absolute; bottom: 14px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 3;
    display: none; flex-direction: column; align-items: center; gap: 8px;
    font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
[dir="rtl"] .scroll-cue { transform: translateX(50%); }

/* ---------- About ---------- */
.about { background: var(--paper); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 0 40px; padding-inline-start: 40px; }
.about-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-frame { position: absolute; top: 40px; bottom: 0; inset-inline-start: 0; inset-inline-end: 40px; border: 1px solid var(--gold); border-radius: var(--radius); }
.about-badge {
    position: absolute; z-index: 2; bottom: 0; inset-inline-end: -20px;
    background: var(--navy); color: #fff; padding: 26px 30px; border-radius: var(--radius);
    display: flex; flex-direction: column; gap: 4px; max-width: 220px; box-shadow: var(--shadow);
    border-top: 2px solid var(--gold);
}
[dir="rtl"] .about-badge-num { text-align: right; }
.about-badge-num { font-family: var(--font-brand); font-size: 2.6rem; color: var(--gold-light); line-height: 1; }
.about-badge-text { font-size: .9rem; color: var(--text-light); line-height: 1.5; }
.about-text p { color: var(--text-soft); }
.about-text .lead { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 40px; padding: 28px 0; border-block: 1px solid var(--line-light); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-brand); font-size: 2.6rem; color: var(--gold-dark); line-height: 1; font-weight: 600; }
.stat-label { font-size: .88rem; color: var(--text-soft); }

/* ---------- Rooms ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; position: relative; }
.room-card {
    grid-column: span 2;
    background: var(--navy-2); border: 1px solid rgba(200, 166, 110, .14); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.room-card:nth-child(5n+1), .room-card:nth-child(5n+2) { grid-column: span 3; }
.rooms-grid[data-layout="even"] .room-card { grid-column: span 3; }
.room-badge {
    position: absolute; z-index: 1; top: 16px; inset-inline-end: 16px;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 30px;
    background: var(--gold-grad); color: var(--ink); font-size: .8rem; font-weight: 600;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.room-badge .icon { width: 16px; height: 16px; }
.room-amenities { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 18px; }
.room-amenities li { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-light); }
.room-amenities .icon { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.room-card:hover { transform: translateY(-8px); border-color: rgba(200, 166, 110, .5); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8); }
.room-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.room-card:hover .room-media img { transform: scale(1.07); }
.room-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3,5,26,.65)); }
.room-price {
    position: absolute; z-index: 1; bottom: 16px; inset-inline-start: 16px;
    background: rgba(3,5,26,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 166, 110, .35); border-radius: var(--radius);
    padding: 8px 14px; color: var(--gold-light); font-weight: 600; display: flex; align-items: baseline; gap: 6px;
}
.room-price small { font-weight: 400; color: var(--text-light); font-size: .75rem; }
.room-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { color: #fff; font-size: 1.65rem; margin-bottom: 10px; }
html[lang="en"] .room-body h3 { font-weight: 500; }
.room-body p { color: var(--text-light); font-size: .97rem; }
.room-meta { list-style: none; padding: 0; margin: 4px 0 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; color: var(--text-light); }
.room-meta li { display: inline-flex; align-items: center; gap: 8px; }
.room-meta .icon { color: var(--gold); width: 17px; height: 17px; }
.room-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(200, 166, 110, .14); }

/* ---------- Amenities ---------- */
.amenities { background: var(--cream); }
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facility {
    position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden;
    display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.facility img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.facility::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,5,26,.05) 20%, rgba(3,5,26,.9) 100%); transition: background .6s; }
.facility:hover img { transform: scale(1.08); }
.facility.no-img { background: var(--navy); }
.facility.no-img::before { background: url('/assets/img/pattern.svg') center / 160px; opacity: .07; }
.facility-content { padding: 32px; position: relative; }
.facility-icon {
    display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
    border: 1px solid rgba(200, 166, 110, .6); color: var(--gold-light); margin-bottom: 18px;
    background: rgba(3,5,26,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.facility-icon .icon { width: 24px; height: 24px; }
.facility h3 { font-size: 1.6rem; margin-bottom: 8px; }
html[lang="en"] .facility h3 { font-weight: 500; }
.facility p { color: rgba(255,255,255,.78); font-size: .95rem; margin: 0; max-width: 380px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; padding: clamp(100px, 14vw, 170px) 0; overflow: hidden; color: #fff; text-align: center; }
.cta-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; will-change: transform; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,26,.85), rgba(3,5,26,.7), rgba(3,5,26,.85)); }
.cta-content { position: relative; z-index: 1; max-width: 820px; }
.cta-content h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
html[lang="en"] .cta-content h2 { font-weight: 500; }
.cta-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.gallery { background: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gallery-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.gallery-item.g-wide { grid-column: span 2; }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.9); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(3,5,26,.35); opacity: 0; transition: opacity .5s; }
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-zoom {
    position: absolute; z-index: 1; top: 50%; inset-inline-start: 50%; translate: -50% -50%;
    width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light);
    display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: all .5s var(--ease);
}
[dir="rtl"] .gallery-zoom { translate: 50% -50%; }
.gallery-item:hover .gallery-zoom { opacity: 1; transform: scale(1); }

.lightbox {
    position: fixed; inset: 0; z-index: 300; background: rgba(4, 6, 10, .95);
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 90vw); max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow); transition: opacity .3s; }
.lb-close, .lb-nav {
    position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(200,166,110,.4); color: var(--gold-light);
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: all .3s;
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 24px; inset-inline-end: 24px; }
.lb-prev { inset-inline-start: 24px; }
.lb-next { inset-inline-end: 24px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper); }
.testi-slider { position: relative; text-align: center; min-height: 340px; }
.testi {
    position: absolute; inset: 0 0 60px; margin: 0; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all .8s var(--ease);
    display: flex; flex-direction: column; align-items: center;
}
.testi.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.testi-quote { color: var(--gold); opacity: .4; }
.testi-quote .icon { width: 48px; height: 48px; }
.testi-stars { display: flex; gap: 4px; color: var(--gold); margin: 14px 0 22px; }
.testi-stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testi blockquote { margin: 0 0 28px; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.6; color: var(--navy); }
html[lang="en"] .testi blockquote { font-style: italic; font-weight: 400; }
.testi figcaption { display: flex; flex-direction: column; gap: 2px; }
.testi figcaption strong { color: var(--navy); font-size: 1.05rem; }
.testi figcaption span { color: var(--gold-dark); font-size: .9rem; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testi-dots button { width: 34px; height: 3px; padding: 0; border: 0; background: var(--sand); transition: all .4s; }
.testi-dots button.is-active { background: var(--gold); width: 54px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; position: relative; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--gold); }
.info-item h4 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; }
.info-item p { margin: 0; color: var(--text-light); }
.info-item a:hover { color: var(--gold-light); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); height: 230px; filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
    background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 44px);
}

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; position: relative; }
.field label { font-size: .85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-soft); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border-radius: var(--radius);
    border: 1px solid var(--line-light); background: #fff; color: var(--text);
    transition: border-color .3s, box-shadow .3s; outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 166, 110, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; margin-top: 6px; }
.dark .field label, .contact-form .field label { color: var(--gold-light); }
.dark .field input, .dark .field select, .dark .field textarea {
    background: rgba(3,5,26,.5); border-color: rgba(200, 166, 110, .2); color: #fff; color-scheme: dark;
}
[dir="rtl"] input[dir="ltr"] { text-align: right; }

.form-alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.form-alert.success { background: rgba(47, 143, 91, .14); color: #3fb875; border: 1px solid rgba(47, 143, 91, .4); }
.form-alert.error { background: rgba(192, 71, 61, .12); color: #e0675c; border: 1px solid rgba(192, 71, 61, .4); }
.light-bg .form-alert.success, .booking-page .form-alert.success { color: var(--success); }
.light-bg .form-alert.error, .booking-page .form-alert.error { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-light); padding: 90px 0 0; position: relative; overflow: hidden; border-top: 1px solid rgba(200,166,110,.18); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 50px; position: relative; }
.footer-brand p { margin: 24px 0; max-width: 340px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 22px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: .95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 5px; width: 17px; height: 17px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--gold); transition: all .3s; }
.socials a:hover { background: var(--gold); color: var(--ink); }
.pay-badges { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pay-cash { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; }
.pay-cash .icon { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; margin-top: 70px; border-top: 1px solid rgba(200,166,110,.12); font-size: .85rem; color: #7c8494; position: relative; }
.footer-domain { font-family: var(--font-brand); letter-spacing: .2em; color: var(--gold-dark); }

.whatsapp-float {
    position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
    transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 10, .85); backdrop-filter: blur(4px); }
.modal-dialog {
    position: relative; width: min(980px, 100%); max-height: 90vh; overflow: auto;
    background: var(--navy); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
    display: grid; grid-template-columns: 1fr 1fr; color: var(--text-light);
    transform: translateY(30px) scale(.98); transition: transform .5s var(--ease);
}
.modal.is-open .modal-dialog { transform: none; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal-body { padding: 40px; }
.modal-body h3 { color: #fff; font-size: 2rem; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(3,5,26,.7); color: var(--gold-light); display: grid; place-items: center; }
.modal-close:hover { background: var(--gold); color: var(--ink); }
.amenity-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: .9rem; }
.amenity-list li { display: flex; align-items: center; gap: 10px; }
.amenity-list .icon { color: var(--gold); width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.is-visible { opacity: 1; transform: none; }
.booking-bar.reveal { transform: translateY(36px); }
.booking-bar.reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .pl-mark img { clip-path: none; }
    .pl-text, .pl-progress, .pl-percent { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   Inner pages (booking / status)
   ========================================================================== */
.page-hero {
    position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; text-align: center; overflow: hidden;
    background: var(--navy);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: url('/assets/img/hero-lobby.jpg') center / cover; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,26,.6), rgba(11,17,28,.95)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
html[lang="en"] .page-hero h1 { font-weight: 500; }
.page-hero p { color: var(--text-light); margin: 0; }

.booking-page { background: var(--paper); }
.booking-wrap { padding: 50px 0 110px; }

.steps { display: flex; justify-content: center; gap: 0; margin: -88px auto 50px; position: relative; z-index: 2; max-width: 760px;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 18px 20px; border: 1px solid var(--line-light); }
.step { flex: 1; display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--text-soft); font-weight: 500; font-size: .95rem; position: relative; }
.step + .step::before { content: ""; position: absolute; inset-inline-start: -14%; width: 28%; top: 50%; height: 1px; background: var(--line-light); }
.step-num { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; font-size: .9rem; transition: all .4s; font-weight: 700; }
.step.is-active { color: var(--navy); }
.step.is-active .step-num { background: var(--gold-grad); border-color: transparent; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(200,166,110,.8); }
.step.is-done .step-num { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 36px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-soft); }
.panel + .panel { margin-top: 24px; }
.panel-title { font-size: 1.6rem; color: var(--navy); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.panel-title .icon { color: var(--gold); }
.wizard-step { display: none; animation: fadeUp .6s var(--ease); }
.wizard-step.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.dates-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }
.counter { display: flex; align-items: center; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fff; }
.counter button { width: 44px; height: 48px; border: 0; background: none; color: var(--gold-dark); font-size: 1.3rem; }
.counter button:hover { color: var(--navy); }
.counter input { border: 0 !important; text-align: center !important; box-shadow: none !important; padding: 0 !important; -moz-appearance: textfield; font-weight: 600; }
.counter input::-webkit-inner-spin-button { -webkit-appearance: none; }

.search-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 16px 22px; background: var(--cream); border-radius: var(--radius); margin-bottom: 26px; font-size: .95rem; }
.search-summary span { display: inline-flex; align-items: center; gap: 8px; }
.search-summary .icon { color: var(--gold-dark); width: 17px; height: 17px; }
.search-summary button { margin-inline-start: auto; }

.room-options { display: flex; flex-direction: column; gap: 20px; }
.room-option {
    display: grid; grid-template-columns: 260px minmax(0, 1fr); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
    overflow: hidden; background: #fff; transition: all .4s var(--ease); position: relative;
}
.room-option:hover { border-color: rgba(200,166,110,.6); box-shadow: var(--shadow-soft); }
.room-option.is-selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), var(--shadow-soft); }
.room-option.is-disabled { opacity: .55; }
.room-option.is-disabled .ro-select { pointer-events: none; }
.ro-media { position: relative; min-height: 220px; }
.ro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ro-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--danger); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.ro-badge.gold { background: var(--navy); color: var(--gold-light); }
.ro-breakfast { position: absolute; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--gold-grad); color: var(--ink); font-size: .75rem; font-weight: 600; padding: 4px 11px; border-radius: 20px; }
.ro-breakfast .icon { width: 14px; height: 14px; }
.ro-body { padding: 22px 24px; display: flex; flex-direction: column; }
.ro-body h3 { color: var(--navy); font-size: 1.45rem; margin-bottom: 6px; }
.ro-body p { color: var(--text-soft); font-size: .93rem; margin-bottom: 12px; }
.ro-body .room-meta { color: var(--text-soft); margin-bottom: 12px; }
.ro-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ro-amenities span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-soft); background: var(--paper); border: 1px solid var(--line-light); padding: 4px 10px; border-radius: 20px; }
.ro-amenities .icon { width: 14px; height: 14px; color: var(--gold-dark); }
.ro-footer { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line-light); }
.ro-price strong { display: block; font-size: 1.4rem; color: var(--navy); font-family: var(--font-brand); font-weight: 700; }
html[lang="ar"] .ro-price strong { font-family: var(--font-body); }
.ro-price small { color: var(--text-soft); font-size: .82rem; }
.ro-controls { display: flex; align-items: center; gap: 12px; }
.ro-controls select { padding: 10px 12px; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fff; }

.pay-options { display: grid; gap: 14px; }
.pay-option { position: relative; display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-light); border-radius: var(--radius-lg); cursor: pointer; transition: all .3s; background: #fff; }
.pay-option:hover { border-color: rgba(200,166,110,.6); }
.pay-option input { position: absolute; opacity: 0; }
.pay-option .po-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-light); flex-shrink: 0; position: relative; transition: all .3s; }
.pay-option input:checked ~ .po-radio { border-color: var(--gold); }
.pay-option input:checked ~ .po-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); }
.pay-option:has(input:checked) { border-color: var(--gold); background: #fffcf5; box-shadow: 0 0 0 1px var(--gold); }
.pay-option input:focus-visible ~ .po-radio { outline: 2px solid var(--gold); outline-offset: 3px; }
.po-icon { width: 64px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px; background: var(--cream); color: var(--gold-dark); }
.po-icon img { width: 64px; height: auto; }
.po-text strong { display: block; color: var(--navy); font-size: 1.05rem; }
.po-text span { color: var(--text-soft); font-size: .9rem; }

.check-line { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; font-size: .95rem; color: var(--text-soft); cursor: pointer; }
.check-line input { width: 19px; height: 19px; accent-color: var(--gold-dark); margin-top: 4px; flex-shrink: 0; }

.wizard-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.secure-note { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--text-soft); margin-top: 16px; }
.secure-note .icon { color: var(--success); }

/* Summary sidebar */
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--navy); color: var(--text-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.summary-media { position: relative; height: 170px; background: var(--navy-2); }
.summary-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.summary-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--navy)); }
.summary-body { padding: 4px 26px 26px; position: relative; }
.summary h3 { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(200,166,110,.12); font-size: .93rem; }
.summary-row span:first-child { color: #8f97a6; }
.summary-row span:last-child { color: #fff; text-align: end; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 6px; }
.summary-total span:first-child { color: var(--gold-light); font-size: 1.05rem; }
.summary-total strong { color: var(--gold-light); font-size: 1.6rem; font-family: var(--font-brand); }
html[lang="ar"] .summary-total strong { font-family: var(--font-body); font-size: 1.4rem; }
.summary-note { font-size: .8rem; color: #8f97a6; margin: 14px 0 0; }
.summary-empty { color: #8f97a6; font-size: .93rem; padding: 10px 0; }
.policies { margin-top: 24px; padding: 22px 26px; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); }
.policies h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 12px; }
.policies ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .88rem; color: var(--text-soft); }
.policies li { display: flex; gap: 10px; }
.policies .icon { color: var(--gold-dark); width: 16px; height: 16px; margin-top: 5px; }

.loader-block { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 60px 0; color: var(--text-soft); }
.loader-block::before { content: ""; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--sand); border-top-color: var(--gold); animation: spin .9s linear infinite; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-soft); }
.empty-state .icon { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 14px; }

/* Status page */
.status-card { max-width: 820px; margin: -70px auto 0; position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line-light); }
.status-head { text-align: center; padding: 46px 30px 34px; border-bottom: 1px solid var(--line-light); }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.status-icon .icon { width: 42px; height: 42px; }
.status-icon.success { background: rgba(47,143,91,.1); color: var(--success); box-shadow: 0 0 0 10px rgba(47,143,91,.05); }
.status-icon.pending { background: rgba(201,138,29,.1); color: var(--warning); box-shadow: 0 0 0 10px rgba(201,138,29,.05); }
.status-icon.error { background: rgba(192,71,61,.1); color: var(--danger); box-shadow: 0 0 0 10px rgba(192,71,61,.05); }
.status-head h2 { color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.status-head p { color: var(--text-soft); max-width: 560px; margin: 0 auto; }
.status-ref { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 24px; padding: 12px 28px; border: 1px dashed var(--gold); border-radius: var(--radius); background: #fffcf5; }
.status-ref small { color: var(--text-soft); font-size: .8rem; }
.status-ref strong { font-family: var(--font-brand); font-size: 1.6rem; letter-spacing: .12em; color: var(--gold-dark); direction: ltr; }
.status-body { padding: 30px clamp(20px, 4vw, 46px) 40px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.detail-row span:first-child { color: var(--text-soft); }
.detail-row span:last-child { color: var(--navy); font-weight: 600; text-align: end; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.badge.green { background: rgba(47,143,91,.12); color: var(--success); }
.badge.amber { background: rgba(201,138,29,.14); color: #a06c10; }
.badge.red { background: rgba(192,71,61,.12); color: var(--danger); }
.badge.gray { background: #eef0f3; color: #646b78; }
.badge.blue { background: rgba(48,98,186,.12); color: #3062ba; }
.status-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding: 20px 24px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.status-total strong { color: var(--gold-light); font-size: 1.5rem; }
.status-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
    .main-nav { gap: 22px; }
    .main-nav a { font-size: .8rem; letter-spacing: .04em; }
    html[lang="ar"] .main-nav a { font-size: .95rem; }
}

@media (max-width: 1080px) {
    .main-nav, .header-book, .lang-switch span { display: none; }
    .burger { display: block; }
}

@media (max-width: 1100px) {
    .booking-bar { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .bb-submit { grid-column: 1 / -1; margin: 10px 0 0; }
    .bb-field:nth-child(4) { border-inline-end: 0; }
    .hero { padding-bottom: 240px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .booking-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
}

@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .main-nav, .header-book, .lang-switch span { display: none; }
    .burger { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; margin-inline: auto; width: 100%; }
    .rooms-grid { grid-template-columns: 1fr 1fr; }
    .room-card, .room-card:nth-child(5n+1), .room-card:nth-child(5n+2) { grid-column: span 1; }
    .room-card:nth-child(5n+1) { grid-column: 1 / -1; }
    .rooms-grid[data-layout="even"] .room-card { grid-column: span 1; }
    .facilities-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .contact-grid { grid-template-columns: 1fr; }
    .modal-dialog { grid-template-columns: 1fr; }
    .modal-media img { max-height: 280px; min-height: 0; }
    .dates-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container, .container.narrow { width: calc(100% - 32px); }
    .brand { gap: 9px; }
    .brand-emblem, .site-header.is-scrolled .brand-emblem, .site-header.is-solid .brand-emblem { height: 40px; }
    .brand-wordmark, .site-header.is-scrolled .brand-wordmark, .site-header.is-solid .brand-wordmark { height: 30px; }
    .hero { padding: calc(var(--header-h) + 30px) 0 30px; justify-content: flex-start; min-height: auto; }
    .hero-content { padding-top: 6vh; }
    .booking-bar { position: relative; bottom: auto; margin-top: 40px; grid-template-columns: 1fr 1fr; width: calc(100% - 32px); }
    .bb-field { border-inline-end: 0; border-bottom: 1px solid rgba(200,166,110,.15); padding: 8px 10px; }
    .bb-field input, .bb-field select { font-size: .95rem; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .stat-num { font-size: 2rem; }
    .about-media { padding-inline-start: 20px; padding-bottom: 30px; }
    .about-frame { top: 20px; inset-inline-end: 20px; }
    .about-badge { inset-inline-end: 0; padding: 18px 20px; }
    .rooms-grid, .facilities-grid { grid-template-columns: 1fr; }
    .room-card:nth-child(5n+1) { grid-column: auto; }
    .facility { min-height: 320px; }
    .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
    .gallery-item.g-wide { grid-column: span 2; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .room-option { grid-template-columns: 1fr; }
    .ro-media { min-height: 200px; }
    .steps { margin-top: -70px; padding: 14px 10px; }
    .step { flex-direction: column; gap: 6px; font-size: .78rem; }
    .step + .step::before { display: none; }
    .detail-grid { grid-template-columns: 1fr; }
    .lb-nav { width: 42px; height: 42px; }
    .lb-prev { inset-inline-start: 8px; }
    .lb-next { inset-inline-end: 8px; }
    .amenity-list { grid-template-columns: 1fr; }
    .modal-body { padding: 26px; }
    .wizard-actions .btn { flex: 1; }
    .search-summary button { margin-inline-start: 0; }
}

@media print {
    .site-header, .site-footer, .status-actions, .whatsapp-float, .page-hero::before { display: none !important; }
    .page-hero { padding: 20px 0; background: none; color: #000; }
    .page-hero::after { display: none; }
    .status-card { margin: 0; box-shadow: none; }
}
