:root {
  --navy: #141e3a;
  --navy-deep: #0c1324;
  --navy-mid: #1d2b4d;
  --navy-soft: #2a3b64;
  --cream: #f3efe6;
  --cream-2: #e8e1d4;
  --paper: #faf8f3;
  --gold: #c4a574;
  --gold-2: #d8c09a;
  --gold-dk: #9a7b4c;
  --ink: #1b1916;
  --muted: #5f5a52;
  --line: rgba(196, 165, 116, 0.35);
  --white: #fffdf8;
  --whatsapp: #146246;
  --whatsapp-2: #1a7a58;
  --danger-mute: #8a7f6f;
  --shadow: 0 18px 40px rgba(20, 30, 58, 0.16);
  --header-h: 4.25rem;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Noto Sans Arabic", "Segoe UI", sans-serif;
  --font-ar: "Noto Sans Arabic", "Source Sans 3", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/fonts/noto-sans-arabic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

html[lang="ar"] body { font-family: var(--font-ar); font-size: 1.08rem; }
html[lang="ar"] .serif, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
  font-family: var(--font-ar);
  letter-spacing: 0;
  font-weight: 600;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Language visibility */
.ar { display: none !important; }
html[lang="ar"] .ar { display: inline !important; }
html[lang="ar"] .en { display: none !important; }
html[lang="ar"] p.ar,
html[lang="ar"] li.ar,
html[lang="ar"] h1.ar,
html[lang="ar"] h2.ar,
html[lang="ar"] h3.ar,
html[lang="ar"] .block.ar { display: block !important; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .12em;
  font-size: .72rem;
  text-transform: uppercase;
}
html[lang="ar"] .brand-name {
  letter-spacing: 0;
  font-size: .9rem;
  text-transform: none;
}
.brand-city {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: .15rem;
}
html[lang="ar"] .brand-city { letter-spacing: .04em; font-size: .75rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .04em;
  opacity: .88;
}
.nav a:hover { color: var(--gold-2); opacity: 1; }

.lang-btn, .menu-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font: inherit;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .7rem;
  cursor: pointer;
  border-radius: 999px;
}
.lang-btn:hover, .menu-btn:hover {
  border-color: var(--gold);
  color: var(--white);
}
.menu-btn { display: none; }

/* Hero */
.hero {
  background: var(--navy-deep);
  color: var(--white);
  display: grid;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1.15fr; min-height: calc(100svh - var(--header-h)); min-height: calc(100vh - var(--header-h)); }
}
.hero-copy {
  padding: 2.4rem 1.25rem 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 900px) {
  .hero-copy { padding: 4rem 3.5rem 4rem 0; width: min(36rem, 100%); margin-inline-start: auto; }
  html[dir="rtl"] .hero-copy { padding: 4rem 0 4rem 3.5rem; margin-inline-start: 0; margin-inline-end: auto; }
}
.eyebrow {
  color: var(--gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
html[lang="ar"] .eyebrow { letter-spacing: .06em; font-size: .85rem; text-transform: none; }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
}
.lede {
  color: rgba(243, 239, 230, .82);
  font-size: 1.08rem;
  max-width: 34rem;
  margin: 0 0 1.6rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
  color: var(--gold-2);
  font-size: .9rem;
}
.meta-row > span { display: inline-flex; align-items: center; gap: .4rem; }

.hero-photo {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  min-height: 280px;
}
@media (min-width: 900px) {
  .hero-photo img { position: absolute; inset: 0; min-height: 100%; }
  .hero-photo { min-height: 100%; }
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,19,36,.28), transparent 42%);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  padding: .8rem 1.15rem;
  border-radius: 2px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,253,248,.35);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); }
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-wa:hover { background: var(--whatsapp-2); }
.btn-pending {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--cream-2);
  cursor: not-allowed;
  pointer-events: none;
  opacity: .9;
  position: relative;
}
.btn-pending .soon {
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-inline-start: .35rem;
}
html[lang="ar"] .btn-pending .soon { text-transform: none; letter-spacing: 0; }

/* Sections */
section { padding: 4rem 0; }
.section-kicker {
  color: var(--gold-dk);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  margin: 0 0 .5rem;
}
html[lang="ar"] .section-kicker { letter-spacing: .05em; text-transform: none; font-size: .85rem; }
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 1.5rem;
  letter-spacing: -.01em;
  color: var(--navy);
}
.intro { background: var(--cream); }
.intro-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .intro-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
}
.intro p { margin: 0 0 1rem; color: var(--muted); max-width: 38rem; }
.intro .facts {
  background: var(--navy);
  color: var(--cream);
  padding: 1.6rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1rem;
}
.fact b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-2);
  line-height: 1.1;
}
html[lang="ar"] .fact b { font-family: var(--font-ar); }
.fact span { font-size: .85rem; opacity: .8; }

/* Rooms */
.rooms { background: var(--paper); }
.room-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 800px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
.room {
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.room img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.room-body { padding: 1.15rem 1.15rem 1.3rem; }
.room h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  color: var(--navy);
}
.room p { margin: 0; color: var(--muted); font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.pill {
  font-size: .75rem;
  letter-spacing: .04em;
  border: 1px solid var(--cream-2);
  padding: .2rem .5rem;
  color: var(--navy-mid);
  background: var(--cream);
}

/* Amenities */
.amenities { background: var(--navy); color: var(--cream); }
.amenities h2 { color: var(--white); }
.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 800px) { .amenity-grid { grid-template-columns: repeat(4, 1fr); } }
.amenity {
  border: 1px solid var(--line);
  padding: 1.15rem 1rem 1.25rem;
  background: rgba(255,255,255,.03);
}
.amenity svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; margin-bottom: .7rem; }
.amenity h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 .25rem;
  color: var(--white);
  font-weight: 600;
}
.amenity p { margin: 0; font-size: .9rem; color: rgba(243,239,230,.7); }

/* Stay */
.stay { background: var(--cream); }
.stay-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) { .stay-grid { grid-template-columns: 1fr 1fr 1fr; } }
.stay-card {
  background: var(--paper);
  padding: 1.3rem 1.2rem 1.45rem;
  border-top: 3px solid var(--gold);
}
.stay-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 .4rem;
  font-size: 1.35rem;
  color: var(--navy);
}
.stay-card p { margin: 0; color: var(--muted); }

/* Location */
.location { background: var(--paper); }
.loc-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) { .loc-grid { grid-template-columns: .9fr 1.1fr; align-items: stretch; } }
.loc-copy p { color: var(--muted); }
.addr {
  margin: 1rem 0;
  font-style: normal;
  color: var(--navy);
  line-height: 1.55;
}
.plus { color: var(--gold-dk); font-weight: 600; letter-spacing: .04em; }
.map-wrap {
  min-height: 280px;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(.25) contrast(1.05);
}

/* Contact / book */
.book { background: var(--navy-deep); color: var(--cream); }
.book h2 { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.contact-list li { margin: 0 0 .55rem; }
.contact-list a { color: var(--gold-2); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.book-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(243,239,230,.65);
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 5.5rem;
  font-size: .88rem;
}
@media (min-width: 800px) { .footer { padding-bottom: 1.4rem; } }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.footer a { color: var(--gold-2); text-decoration: none; }

/* Mobile menu */
@media (max-width: 799px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 1.2rem;
    gap: .2rem;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; font-size: 1rem; }
  .nav .lang-btn { align-self: flex-start; margin-top: .4rem; }
}

/* Sticky mobile book bar */
.sticky-book {
  display: none;
}
@media (max-width: 799px) {
  .sticky-book {
    display: flex;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    gap: .5rem;
    padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(12, 19, 36, .94);
    backdrop-filter: blur(10px);
    z-index: 40;
    border-top: 1px solid var(--line);
  }
  .sticky-book .btn { flex: 1; }
}

/* Gallery strip under rooms */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: 2rem;
}
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .35rem;
}
