/* قاعة الفيصلية — صفحة هبوط */
:root {
  --ink: #1A1714;
  --ink-soft: #3C352C;
  --muted: #5E574E;
  --ivory: #F6F1E8;
  --paper: #FBF8F3;
  --sand: #E8E0D2;
  --white: #FFFcf8;
  --gold: #7A5A32;
  --gold-line: #C4A36A;
  --line: rgba(26, 23, 20, 0.12);
  --shadow: 0 18px 50px rgba(26, 23, 20, 0.08);
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "Amiri", "Times New Roman", serif;
  --radius: 16px;
  --header-h: 76px;
  --sticky-h: 76px;
  --section: clamp(72px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.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;
}

.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold-line);
}
.sec-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700; line-height: 1.35; color: var(--ink); margin-top: 10px;
}
.sec-sub {
  color: var(--muted); max-width: 38rem; margin: 14px auto 0;
  font-size: 1.02rem; line-height: 1.85;
}
.note {
  margin-top: 14px; color: var(--muted); font-size: 0.92rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #654822; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(26, 23, 20, 0.28); }
.btn-line:hover { border-color: var(--ink); background: rgba(26, 23, 20, 0.04); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-ghost {
  background: transparent; color: var(--white); border-color: rgba(255, 252, 248, 0.45);
}
.btn-ghost:hover { background: rgba(255, 252, 248, 0.08); border-color: var(--white); }
.btn-wide { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 0.9rem; }

.sar {
  display: inline-block; width: 0.95em; height: 1.05em; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("sar-symbol.svg") center / contain no-repeat;
  mask: url("sar-symbol.svg") center / contain no-repeat;
  vertical-align: -0.12em;
}
.price-amount { display: inline-flex; align-items: baseline; gap: 0.28em; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(26, 23, 20, 0.04); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.logo-mark {
  width: 42px; height: 42px; color: var(--gold); display: grid; place-items: center;
  border: 1px solid var(--sand); border-radius: 50%; background: var(--white);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.logo-text small { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a { color: var(--ink-soft); font-size: 0.94rem; font-weight: 500; }
.header-nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(320px, 0.92fr) 1.15fr;
  min-height: calc(100svh - var(--header-h));
  background: var(--paper);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 64px);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.35; font-weight: 700; margin: 16px 0 18px; max-width: 9em;
}
.hero-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 36rem; font-weight: 400; }
.hero-price {
  margin: 28px 0 26px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-price b { font-size: 1.2rem; font-weight: 600; }
.hero-price span { color: var(--muted); font-size: 0.92rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { position: relative; min-height: 420px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-caption {
  position: absolute; inset-inline-start: 16px; bottom: 16px;
  background: rgba(26, 23, 20, 0.72); color: var(--white);
  font-size: 0.78rem; padding: 6px 10px; border-radius: 999px;
}

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line); background: var(--paper);
}
.facts article { padding: 26px 18px; text-align: center; }
.facts article + article { border-inline-start: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.88rem; }

/* Story */
.story { padding-block: var(--section); }
.story-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.story-photos { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; }
.story-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.story-photos img:first-child { grid-row: span 2; min-height: 460px; }
.story-photos img:nth-child(2) { min-height: 220px; }
.story-photos img:nth-child(3) { min-height: 220px; }
.story-copy .sec-title, .story-copy .eyebrow { margin-inline: 0; }
.story-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.story-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.story-list li {
  display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft);
}
.story-list svg { flex: 0 0 18px; margin-top: 4px; color: var(--gold); }

/* Packages */
.packages { padding-block: var(--section); background: var(--paper); }
.package-grid {
  margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch;
}
.package-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.package-card.is-featured { border-color: #d9c4a2; transform: translateY(-8px); }
.package-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.package-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.package-badge {
  align-self: flex-start; margin-bottom: 8px; color: var(--gold);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
}
.package-name { font-family: var(--display); font-size: 1.85rem; line-height: 1.3; }
.package-price { margin: 12px 0 2px; font-size: 1.85rem; font-weight: 600; letter-spacing: -0.02em; }
.package-price .price-unit { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.package-min { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.package-features { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; flex: 1; }
.package-features li { position: relative; padding-inline-start: 18px; color: var(--ink-soft); font-size: 0.94rem; }
.package-features li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.65em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-line);
}

/* Gallery */
.gallery-sec { padding-block: var(--section); }
.gallery-grid {
  margin-top: 36px; display: grid; gap: 12px;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 230px;
}
.gallery-cell {
  position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden;
  background: var(--sand); color: inherit; text-align: start; cursor: zoom-in;
}
.gallery-cell:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-cell:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery-cell:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-cell:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-cell:nth-child(5) { grid-column: 3; grid-row: 2; }
.gallery-cell:nth-child(6) { grid-column: 1 / -1; grid-row: 3; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute; inset-inline: 12px; bottom: 12px;
  background: rgba(26, 23, 20, 0.72); color: var(--white);
  border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; width: fit-content;
}

/* Occasions */
.occasions { padding-block: var(--section); background: var(--ink); color: var(--white); }
.occasions .sec-title { color: var(--white); }
.occasions .sec-sub { color: rgba(255, 252, 248, 0.74); }
.occasions .eyebrow { color: var(--gold-line); }
.occasion-grid {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.occasion-card {
  border: 1px solid rgba(255, 252, 248, 0.12); border-radius: 18px;
  padding: 22px 18px; display: flex; align-items: center; gap: 14px;
  background: rgba(255, 252, 248, 0.03);
}
.occasion-card svg { width: 28px; height: 28px; color: var(--gold-line); flex: 0 0 28px; }
.occasion-card b { font-weight: 600; font-size: 1.02rem; }

/* Visit */
.visit {
  position: relative; min-height: 420px; display: grid; place-items: center;
  color: var(--white); text-align: center; overflow: hidden;
}
.visit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,23,20,0.35), rgba(26,23,20,0.72)); }
.visit .wrap { position: relative; z-index: 1; padding-block: 72px; }
.visit h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.35; }
.visit p { max-width: 34rem; margin: 14px auto 26px; color: rgba(255,252,248,0.88); }

/* Booking */
.booking { padding-block: var(--section); }
.booking-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start;
}
.booking-copy .sec-title { margin-top: 8px; }
.booking-copy .sec-sub { margin-inline: 0; text-align: start; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.contact-list a {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  min-height: 52px;
}
.contact-list a:hover { border-color: var(--gold-line); }
.contact-list small { color: var(--muted); }
.form-box {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgroup { margin-bottom: 14px; }
.fgroup label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.fgroup label em { color: #8C2F2F; font-style: normal; }
.fgroup input, .fgroup select, .fgroup textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.fgroup textarea { min-height: 110px; resize: vertical; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent;
}
.fgroup .err { display: none; margin-top: 6px; color: #8C2F2F; font-size: 0.82rem; }
.fgroup.bad input, .fgroup.bad select { border-color: #8C2F2F; }
.fgroup.bad .err { display: block; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 0.92rem; }
.form-msg.ok { background: #E8F3EA; color: #1C5C32; }
.form-msg.bad { background: #F8E8E6; color: #8C2F2F; }
.form-box .btn { margin-top: 6px; }

/* FAQ */
.faq-sec { padding-block: var(--section); background: var(--paper); }
.faq { max-width: 760px; margin: 32px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; background: none; border: 0; text-align: start; font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq-a { display: none; color: var(--ink-soft); padding-bottom: 16px; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }
.faq-plus { width: 22px; height: 22px; position: relative; flex: 0 0 22px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 1px;
}
.faq-plus::before { width: 14px; height: 1.5px; top: 10px; inset-inline-start: 4px; }
.faq-plus::after { width: 1.5px; height: 14px; inset-inline-start: 10px; top: 4px; }
.faq-item.open .faq-plus::after { display: none; }

/* Footer */
.final-cta { background: var(--sand); padding: 56px 0; text-align: center; }
.final-cta h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.final-cta p { color: var(--ink-soft); margin: 10px 0 22px; }
.final-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
footer { background: var(--ink); color: rgba(255,252,248,0.78); padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--white); margin-bottom: 12px; }
.foot-brand .logo-mark { background: transparent; border-color: rgba(255,252,248,0.16); }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a:hover { color: var(--white); }
.foot-links span { color: var(--gold-line); font-size: 0.78rem; letter-spacing: 0.06em; }
.copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,252,248,0.1); font-size: 0.84rem; }

.sticky-bar {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 35;
  background: rgba(251, 248, 243, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.sticky-bar .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(18, 16, 14, 0.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; object-fit: contain; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,252,248,0.3); background: transparent; color: white; font-size: 1.4rem;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero, .story-grid, .booking-grid, .package-grid, .occasion-grid, .foot-grid { grid-template-columns: 1fr; }
  .package-card.is-featured { transform: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts article:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .facts article:nth-child(4) { border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery-cell,
  .gallery-cell:nth-child(1),
  .gallery-cell:nth-child(2),
  .gallery-cell:nth-child(3),
  .gallery-cell:nth-child(4),
  .gallery-cell:nth-child(5),
  .gallery-cell:nth-child(6) { grid-row: auto; grid-column: auto; min-height: 220px; }
  .hero-media { min-height: 0; height: min(46vw, 320px); order: -1; }
  .hero-media img { position: relative; height: 100%; }
  .story-photos img:first-child { min-height: 320px; }
}
@media (max-width: 760px) {
  .wrap { width: min(1160px, calc(100% - 32px)); }
  .hero-copy { padding-block: 24px 16px; }
  .hero-media { height: 168px; }
  .hero h1 { margin: 10px 0 12px; }
  .hero-price { margin: 14px 0 14px; }
  .nav-toggle { display: inline-flex; }
  .header-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  body.nav-open .header-nav { display: flex; }
  .header-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .header-nav .header-cta { margin-top: 12px; border: 0; }
  .form-row, .story-photos, .gallery-grid { grid-template-columns: 1fr; }
  .story-photos img:first-child { grid-row: auto; min-height: 240px; }
  .sticky-bar { display: block; }
  body { padding-bottom: var(--sticky-h); }
  .gallery-cell { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .gallery-cell:hover img { transform: none; }
}
