:root {
  --cream: #E8DFD1;
  --paper: #F3EDE4;
  --panel: #DCCFBD;
  --clay: #5A2A22;
  --clay-dark: #44201A;
  --ink: #4A2620;
  --ink-2: #7A5D51;
  --sand: #BFAA92;
  --line: #D3C3AE;
  --lilac: #BBA7BE;
  --lilac-soft: #ECE4EC;
  --ok: #5E7A55;
  --danger: #A2433A;
  --font: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --wrap: 1120px;
  --r-lg: 28px; --r: 20px; --r-sm: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); background: var(--cream); color: var(--ink);
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: var(--clay); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.25; color: var(--ink); }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .28em; color: var(--clay); text-transform: uppercase; font-weight: 500; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--clay); border-radius: 999px;
  background: var(--clay); color: var(--cream); font-weight: 500; font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
}
.btn:hover { background: var(--clay-dark); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--clay); }
.btn.ghost:hover { background: var(--panel); }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--clay); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(232, 223, 209, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.top-logo img { height: 40px; width: auto; }
.top-logo .mk { height: 42px; }
.top-logo .ln { height: 20px; }
.top-logo span { font-size: 14px; color: var(--ink-2); border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
.top-nav { display: flex; align-items: center; gap: 26px; }
.top-nav a:not(.btn) { color: var(--ink); font-size: 15px; }
.top-nav a:not(.btn):hover { color: var(--clay); }

.loading { min-height: 70vh; display: grid; place-items: center; }
.loading img { width: 44px; animation: turn 2.4s linear infinite; opacity: .8; }
@keyframes turn { to { transform: rotate(360deg); } }


.band { height: 22px; background:
  url("assets/rosette-1.svg") 0 50% / 16px 16px repeat-x,
  linear-gradient(var(--cream), var(--cream)); opacity: .55; margin: 0 auto; max-width: var(--wrap); }

/* ---------- sections ---------- */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin-top: 10px; }
.sec-head p { max-width: 42ch; color: var(--ink-2); }


/* ---------- services ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--panel); border-radius: 999px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs button { background: none; border: 0; padding: 9px 20px; cursor: pointer; color: var(--ink-2); border-radius: 999px; white-space: nowrap; font-size: 16px; }
.tabs button.on { color: var(--cream); background: var(--clay); font-weight: 500; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc h3 { font-size: 21px; font-weight: 400; }
.svc p { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.svc .meta { grid-column: 1; font-size: 14px; color: var(--ink-2); display: flex; gap: 14px; margin-top: 4px; }
.svc .side { grid-row: 1 / span 3; grid-column: 2; display: flex; flex-direction: column; align-items: end; gap: 10px; }
.price { font-weight: 500; color: var(--clay); white-space: nowrap; }
.price.tbd { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.add {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--clay); background: transparent; color: var(--clay);
  display: grid; place-items: center; cursor: pointer; transition: all .15s; font-size: 22px; line-height: 1;
}
.add:hover { background: var(--panel); }
.add.on { background: var(--clay); color: var(--cream); }


.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--clay); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }


/* ---------- footer ---------- */
.foot { padding: 0 0 48px; }
.foot .band { margin-bottom: 44px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: start; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 8px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols p { font-size: 15px; margin-top: 6px; }

/* ---------- booking ---------- */
.book { padding: 36px 0 140px; }
.book-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.book-head h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 8px; }
.stepper { display: flex; gap: 0; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.stepper div { flex: 1; padding: 0 0 12px; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 8px; align-items: center; }
.stepper div b { font-weight: 500; font-size: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--sand); display: grid; place-items: center; }
.stepper div.on { color: var(--clay); border-bottom-color: var(--clay); }
.stepper div.on b, .stepper div.done b { background: var(--clay); color: var(--cream); border-color: var(--clay); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.book-grid > * { min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 28px; border-radius: var(--r-lg); }
.panel h2 { font-size: 26px; margin-bottom: 18px; }

.days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.day { flex: none; width: 74px; padding: 12px 0; text-align: center; border: 1px solid var(--line); background: var(--paper); cursor: pointer; border-radius: var(--r); }
.day small { display: block; font-size: 12px; color: var(--ink-2); }
.day strong { display: block; font-size: 24px; font-weight: 400; line-height: 1.3; }
.day.on { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.day.on small { color: var(--panel); }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 22px; }
.slot { padding: 12px 0; border: 1px solid var(--line); background: var(--paper); cursor: pointer; border-radius: 999px; font-size: 16px; }
.slot:hover { border-color: var(--clay); }
.slot.on { background: var(--clay); color: var(--cream); border-color: var(--clay); }
.period { margin-top: 22px; font-size: 13px; letter-spacing: .1em; color: var(--ink-2); }
.period + .slots { margin-top: 10px; }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 14px; color: var(--ink-2); }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 10px 16px; border: 1px solid var(--line); background: #FBF8F3; border-radius: var(--r-sm); font-size: 16px;
}
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(130, 82, 61, .12); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hint { font-size: 13px; color: var(--ink-2); }
.counter { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #FBF8F3; border-radius: 999px; }
.counter button { width: 46px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--clay); font-size: 20px; }
.counter span { min-width: 34px; text-align: center; }

.summary { position: sticky; top: 96px; }
.summary h3 { font-size: 22px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 500; color: var(--clay); }
.sum-empty { color: var(--ink-2); font-size: 15px; }
.note { background: var(--lilac-soft); padding: 16px 18px; font-size: 14px; color: var(--ink); border-radius: var(--r); display: flex; gap: 12px; align-items: start; }
.note::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; background: url("assets/rosette-3.svg") center / contain no-repeat; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.mbar { display: none; }

/* ---------- booking page ---------- */
.ticket { max-width: 680px; margin: 0 auto; }
.ticket-head { text-align: center; padding: 20px 0 34px; }
.ticket-head img.ros { width: 48px; margin: 0 auto 18px; }
.ticket-head h1 { font-size: clamp(34px, 5vw, 50px); margin: 10px 0; }
.code { font-size: 15px; letter-spacing: .14em; color: var(--clay); }
.timeline { display: flex; justify-content: space-between; margin: 10px 0 30px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; inset-inline: 10%; height: 1px; background: var(--line); }
.timeline div { position: relative; flex: 1; text-align: center; font-size: 13px; color: var(--ink-2); }
.timeline div i { display: block; width: 19px; height: 19px; margin: 0 auto 8px; border-radius: 50%; background: var(--paper); border: 1px solid var(--sand); }
.timeline div.on { color: var(--clay); }
.timeline div.on i { background: var(--clay); border-color: var(--clay); }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; font-size: 16px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
.badge { display: inline-block; padding: 2px 12px; font-size: 13px; border: 1px solid currentColor; border-radius: 30px; }
.badge.cancelled { color: var(--danger); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); padding: 12px 22px; font-size: 15px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; max-width: 90vw; border-radius: 999px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .top-in { height: 64px; }
  .top-logo .mk { height: 34px; }
  .top-logo .ln { height: 16px; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .summary-col { display: none; }
  .panel { padding: 22px 18px; }
  .two { grid-template-columns: 1fr; }
  .stepper div span { display: none; }
  .stepper div { justify-content: center; }
  .mbar {
    display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px;
  }
  .mbar .info { font-size: 14px; line-height: 1.4; }
  .mbar .info b { display: block; color: var(--clay); font-weight: 500; font-size: 16px; }
  .actions.desk { display: none; }
  .kv { grid-template-columns: 96px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .loading img { animation: none; } }

/* ---------- motifs ---------- */
.sec-head .label::before, .hero .label::before, .book-head .label::before, .ticket-head .label::before { content: ""; width: 14px; height: 14px; background: url("assets/rosette-1.svg") center / contain no-repeat; }
section.block { border-top: 0; position: relative; }
section.block::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--wrap), calc(100% - 40px)); height: 16px;
  background: url("assets/rosette-2.svg") center / 14px 14px repeat-x; opacity: .28; }
.panel h2::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-inline-start: 10px; background: url("assets/rosette-1.svg") center / contain no-repeat; opacity: .6; vertical-align: middle; }
.panel h2 { display: flex; align-items: center; }
.svc-list .svc:hover h3 { color: var(--clay); }
.foot-brand img.full { height: 96px; }
.summary h3::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-end: 8px; background: url("assets/rosette-1.svg") center / contain no-repeat; vertical-align: -1px; }

/* ================= refined home ================= */
:root { --oud: #5A2A22; --oud-2: #4A221B; --on-oud: #F3EBDF; --on-oud-2: #D9C6B7; --soft: #E0D5C4; --ease: cubic-bezier(.2,.7,.2,1); }
.top { transition: background .3s, border-color .3s; }
.top-logo { transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.home .top:not(.scrolled) .top-logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
body.home .top:not(.scrolled) { background: transparent; backdrop-filter: none; }

.hero { position: relative; padding: 40px 0 88px; text-align: center; overflow: hidden; }
.hero-pattern { position: absolute; inset: -10% -10% 0; background: url("assets/rosette-2.svg") 0 0 / 34px 34px; opacity: .045;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 38%, #000 0%, transparent 72%); mask-image: radial-gradient(60% 55% at 50% 38%, #000 0%, transparent 72%); pointer-events: none; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: clamp(150px, 19vw, 210px); animation: markIn 1.6s var(--ease) both; }
.hero-mark img { width: 100%; }
.hero-line { width: clamp(230px, 30vw, 330px); margin-top: 14px; animation: rise 1s var(--ease) .7s both; }
.hero-title { font-size: clamp(46px, 7.6vw, 96px); font-weight: 300; letter-spacing: -.015em; margin: 44px 0 18px; line-height: 1.12; }
.hero-title span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero-title span:nth-child(1) { animation-delay: 1s; }
.hero-title span:nth-child(2) { animation-delay: 1.15s; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); animation: rise 1s var(--ease) 1.3s both; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; animation: rise 1s var(--ease) 1.45s both; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; width: 1px; height: 42px; background: var(--line); overflow: hidden; }
.hero-scroll span { position: absolute; inset: 0; background: var(--clay); animation: drip 2.4s var(--ease) 2s infinite; transform: translateY(-100%); }
@keyframes markIn { from { clip-path: inset(100% 0 0 0); opacity: .2; transform: translateY(16px); } to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.btn { white-space: nowrap; }
.btn .arr { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(-5px); }
.btn { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset; }
.btn:not(.ghost):hover { box-shadow: 0 10px 24px -12px rgba(90, 42, 34, .55); transform: translateY(-1px); }
.btn.light { background: var(--on-oud); color: var(--oud); border-color: var(--on-oud); }
.btn.light:hover { background: #fff; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; background: var(--paper); }
.mq-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: mq 46s linear infinite; }
.mq-track span { font-size: 19px; font-weight: 300; color: var(--ink); white-space: nowrap; }
.mq-track img { width: 14px; opacity: .55; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(33.333%); } }

section.block.dark, .cta-band.dark { background: var(--oud); color: var(--on-oud); }
section.block.dark h2, section.block.dark h3, .cta-band.dark h2 { color: var(--on-oud); }
section.block.dark .sec-head p, section.block.dark .step p { color: var(--on-oud-2); }
section.block.dark .label { color: var(--on-oud-2); }
section.block.dark .label::before { filter: brightness(0) invert(88%) sepia(12%) saturate(380%) hue-rotate(330deg); }
section.block.dark::before, section.block.soft::before { display: none; }
section.block.soft { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 32px 28px 30px; border: 1px solid rgba(243, 235, 223, .16); border-radius: var(--r-lg); background: rgba(243, 235, 223, .04); transition: background .4s var(--ease), transform .4s var(--ease); }
.step:hover { background: rgba(243, 235, 223, .08); transform: translateY(-3px); }
.step .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243, 235, 223, .35); font-size: 15px; color: var(--on-oud); }
.step img { width: 30px; height: 30px; margin: 22px 0 14px; filter: brightness(0) invert(92%) sepia(10%) saturate(300%) hue-rotate(330deg); }
.step h3 { font-size: 26px; margin-bottom: 6px; }
.step p { font-size: 16px; }

.svc { transition: background .3s var(--ease), padding .3s var(--ease); border-radius: var(--r); padding-inline: 14px; margin-inline: -14px; }
.svc:hover { background: rgba(243, 237, 228, .7); }
.add { transition: transform .25s var(--ease), background .25s, color .25s; }
.add.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.svc-foot { margin-top: 36px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 15px; }

.kit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.kit h2 { font-size: clamp(36px, 4.6vw, 58px); margin: 12px 0 16px; }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kit-list li { background: var(--paper); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.kit-list li:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(74, 38, 32, .45); }
.kit-list img { width: 26px; }
.kit-list b { display: block; font-weight: 500; font-size: 18px; }
.kit-list span { color: var(--ink-2); font-size: 15px; }

.faq details { transition: background .3s; }
.faq details[open] summary { color: var(--clay); }

.cta-band { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("assets/rosette-2.svg") 0 0 / 34px 34px; opacity: .05; filter: brightness(0) invert(1); }
.cta-band .wrap { position: relative; }
.cta-mark { width: 74px; margin: 0 auto 26px; }
.cta-band h2 { font-size: clamp(38px, 5.4vw, 64px); margin-bottom: 32px; }
.foot { padding-top: 40px; }

#step-body { animation: rise .6s var(--ease) both; }

@media (max-width: 900px) {
  .hero { padding: 28px 0 76px; }
  .hero-title { margin-top: 34px; }
  .hero .cta { width: 100%; }
  .hero .cta .btn { flex: 1; padding: 0 18px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 24px 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
  .step .n { grid-row: span 2; }
  .step img { display: none; }
  .step h3 { font-size: 22px; margin: 0; }
  .kit { grid-template-columns: 1fr; gap: 30px; }
  .kit-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kit-list li { padding: 18px 16px; }
  .svc-list, .faq { grid-template-columns: 1fr; gap: 0; }
  .marquee { padding: 12px 0; }
  .mq-track span { font-size: 16px; }
  .cta-band { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark, .hero-line, .hero-title span, .hero .lead, .hero .cta, #step-body { animation: none; }
  .mq-track, .hero-scroll span { animation: none; }
}
