/* Hawara Events — brand tokens + layout. Logical properties throughout so the
   Arabic (dir="rtl") page mirrors without separate rules. */

:root {
  --ivory: #FAF6EF;
  --ivory-2: #F3ECE1;
  --ink: #2A2420;
  --muted: #5A4A40;
  --gold: #B08D57;
  --gold-text: #7A5C32;
  --gold-light: #D4B887;
  --blush: #C9A39A;
  --line: #E4DCCD;
  --white: #FFFDF9;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --track: 0.28em;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --radius-arch: 999px 999px 0 0;
}

:lang(en) {
  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --track: 0.28em;
}

:lang(ar) {
  /* Arabic script must never be letter-spaced: it breaks the joins. */
  --serif: "Amiri", "Noto Naskh Arabic", "Cormorant Garamond", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Jost", system-ui, sans-serif;
  --track: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
:lang(ar) body, body:lang(ar) { font-size: 1.125rem; line-height: 1.9; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--ivory); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.75rem; }
:lang(ar) h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.35; letter-spacing: 0; }
:lang(ar) h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.35; }
:lang(ar) h3 { font-size: 1.6rem; line-height: 1.4; }

.eyebrow {
  display: block; margin: 0 0 18px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-text);
}
:lang(ar) .eyebrow { font-size: 0.95rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }

.rule { display: flex; align-items: center; gap: 14px; }
.rule::before, .rule::after { content: ""; height: 1px; width: 56px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ivory);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
:lang(ar) .btn { letter-spacing: 0; font-size: 1rem; }
.btn:hover { background: var(--gold-text); border-color: var(--gold-text); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Logo (Monogram A) ---------- */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; flex: none;
}
.logo__mark span {
  width: 44px; height: 44px; border-radius: 50%; border: 0.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; direction: ltr;
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 24px;
  line-height: 1; letter-spacing: -2px; padding-inline-end: 2px;
}
.logo__mark b { font-weight: 400; color: var(--gold); }
.logo__word { display: flex; flex-direction: column; align-items: center; gap: 3px; direction: ltr; }
.logo__name {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 1.45rem;
  letter-spacing: 0.3em; padding-inline-start: 0.3em; line-height: 1;
}
.logo__sub {
  font-family: "Jost", system-ui, sans-serif; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.5em; padding-inline-start: 0.5em; color: var(--gold-text); line-height: 1;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a, .lang {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 10px 0;
}
:lang(ar) .nav__links a { letter-spacing: 0; font-size: 1rem; }
.nav__links a:hover { color: var(--gold-text); }
.lang {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); letter-spacing: 0; text-transform: none; font-size: 1rem;
}
.lang { font-family: var(--sans); }
.lang:hover { border-color: var(--gold); color: var(--ink); }
.lang svg { width: 16px; height: 16px; color: var(--gold-text); }
.header .btn { min-height: 44px; padding: 0 20px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .header .btn span.lbl { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .nav .lang, .nav .btn { margin-top: 16px; justify-content: center; }
  .header .btn span.lbl { display: inline; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) var(--section); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin: 0 0 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.arch {
  position: relative; border-radius: var(--radius-arch); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--ivory-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame { position: relative; padding: 14px; }
.arch-frame::before {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--gold);
  border-radius: var(--radius-arch); pointer-events: none;
}
.hero__media { max-width: 500px; justify-self: end; width: 100%; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 420px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--ivory-2); }
.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { display: flex; justify-content: center; }
.section__head p { color: var(--muted); font-size: 1.15rem; margin: 20px 0 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.full-service {
  margin-top: clamp(48px, 7vw, 80px); padding: clamp(28px, 4vw, 48px); background: var(--ivory);
  border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.full-service h3 { margin-bottom: 12px; }
.full-service p { margin: 0; color: var(--muted); }
.full-service ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.full-service li { padding-inline-start: 22px; position: relative; }
.full-service li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 860px) { .full-service { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .full-service ul { grid-template-columns: 1fr; } }
.service { padding-top: 30px; border-top: 1px solid var(--gold); }
.service h3 { margin-bottom: 14px; }
.service p { margin: 0; color: var(--muted); }
.service__icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 22px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 14px; }
:lang(ar) .step__num { font-style: normal; }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
/* Editorial grid: wide ballroom + tall cake on top, three details below. */
.gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 22vw, 290px);
  gap: clamp(12px, 2vw, 22px); list-style: none; padding: 0; margin: 0;
}
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(2) { grid-row: span 2; }
.gallery a { display: block; height: 100%; overflow: hidden; background: var(--line); }
.gallery picture { display: block; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery li:nth-child(3) img { object-position: 50% 35%; }
.gallery a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } .gallery a:hover img { transform: none; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .gallery li:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery li:nth-child(2) { grid-row: span 2; }
  .gallery li:nth-child(5) { grid-column: span 2; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.about__media { max-width: 440px; width: 100%; }
.about__text p { color: var(--muted); font-size: 1.1rem; }
.about__text p.first { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.4; margin: 26px 0 18px; }
.signature { font-family: var(--script); font-size: 2.8rem; color: var(--gold-text); line-height: 1.2; margin-top: 18px; direction: ltr; text-align: start; }
:lang(ar) .signature { text-align: end; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__media { justify-self: center; max-width: 380px; } }

/* Area */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.region { border-inline-start: 1px solid var(--gold); padding-inline-start: 22px; }
.region h3 { font-size: 1.5rem; margin-bottom: 8px; }
.region p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 980px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact__intro { color: var(--muted); font-size: 1.15rem; margin: 22px 0 36px; }
.details { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.details li { display: grid; gap: 2px; }
.details span { font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-text); }
:lang(ar) .details span { font-size: 0.95rem; }
.details a, .details strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.details a:hover { color: var(--gold-text); }
.details strong { font-size: 1.25rem; }
.wa { margin-top: 28px; }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
:lang(ar) .field label { letter-spacing: 0; font-size: 0.98rem; }
.field label small { font-weight: 400; color: var(--muted); letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1px solid #CDBFA8; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A5C32' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px;
}
[dir="rtl"] .field select { background-position: left 14px center; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; }
[dir="rtl"] .field input[type="tel"], [dir="rtl"] .field input[type="email"] { text-align: right; }
.form__hint { grid-column: 1 / -1; margin: -6px 0 0; font-size: 0.9rem; color: var(--muted); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__foot p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px solid var(--line); background: var(--ivory); }
.form__status:empty { display: none; }
.form__status.is-ok { border-color: #8C9A80; background: #F1F3EC; }
.form__status.is-err { border-color: #B4877C; background: #F8EEEB; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
#cf-turnstile { grid-column: 1 / -1; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Simple pages (thanks / 404) */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.simple .rule { justify-content: center; margin: 22px 0 28px; }
.simple p { color: var(--muted); font-size: 1.2rem; margin: 0 0 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #CFC5B6; padding-block: 72px 40px; }
.footer .logo, .footer .logo:hover { color: var(--ivory); }
.footer .logo__sub { color: var(--gold-light); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer__tag { margin: 18px 0 0; max-width: 28em; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ivory); text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer__phone { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; direction: ltr; unicode-bidi: isolate; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #4A403A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.9rem; }

/* Social icon row */
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #4A403A; }
.social svg { width: 18px; height: 18px; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid #4A403A; padding-bottom: env(safe-area-inset-bottom);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px;
    color: var(--ivory); text-decoration: none; font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
  }
  :lang(ar) .callbar a { letter-spacing: 0; font-size: 1rem; }
  .callbar a + a { border-inline-start: 1px solid #4A403A; }
  .callbar svg { width: 18px; height: 18px; color: var(--gold-light); }
  body { padding-bottom: 56px; }
}

bdi, .ltr { direction: ltr; unicode-bidi: isolate; }

/* FAQ */
.faq { max-width: 880px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.5rem; }
.faq__item summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: -6px;
  border-right: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq__item summary:hover h3 { color: var(--gold-text); }
.faq__item p { margin: 0 0 26px; color: var(--muted); max-width: 44em; }
