/* =====================================================================
   كافيه حنين — Café Hanin
   Design system: light mode, mobile-first, Arabic-first (RTL)
   Brand teal #57AFA1 on warm ivory, classic serif + Arabic calligraphy.
   ===================================================================== */

:root {
  /* Brand palette (sampled from the logo) */
  --teal:        #57AFA1;
  --teal-600:    #469184;
  --teal-700:    #3E8A7E;
  --teal-800:    #2F6A61;
  --teal-tint:   #E8F4F1;
  --teal-mist:   #F2F9F7;

  --ink:         #1F2A28;
  --ink-soft:    #475450;
  --ink-faint:   #8A958F;

  --ivory:       #FBF8F3;
  --paper:       #FFFFFF;
  --line:        #E9E4DA;

  --gold:        #C9A86A;
  --gold-soft:   #E3D2AC;

  /* Type */
  --f-display-ar: "Aref Ruqaa", "Amiri", serif;
  --f-body-ar:    "Tajawal", "Segoe UI", system-ui, sans-serif;
  --f-display-la: "Cormorant Garamond", Georgia, serif;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 56px);
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(31,42,40,.06);
  --shadow:    0 14px 40px -18px rgba(47,106,97,.30);
  --shadow-lg: 0 30px 80px -30px rgba(47,106,97,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--f-body-ar);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[dir="ltr"] { font-family: var(--f-display-la); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

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

/* utility text */
.f-display { font-family: var(--f-display-ar); font-weight: 700; line-height: 1.25; }
body[dir="ltr"] .f-display { font-family: var(--f-display-la); }
.la { font-family: var(--f-display-la); letter-spacing: .04em; }
.eyebrow {
  font-family: var(--f-display-la);
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: .72rem;
  color: var(--teal-700);
  font-weight: 600;
}
body[dir="ltr"] .eyebrow { letter-spacing: .4em; }

/* ---------------- Sun-ray brand motif ---------------- */
.rays {
  width: 46px; height: 22px; display: inline-block;
  color: var(--gold);
}
.rays svg { width: 100%; height: 100%; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 18px;
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -22px rgba(31,42,40,.4);
  padding-block: 10px;
}
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.nav__brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__brand-text { line-height: 1.05; }
.nav__brand-ar { font-family: var(--f-display-ar); font-size: 1.45rem; font-weight: 700; color: var(--teal-800); }
.nav__brand-la { font-family: var(--f-display-la); font-size: .62rem; letter-spacing: .34em; color: var(--ink-faint); text-transform: uppercase; }
.nav:not(.scrolled) .nav__brand-ar,
.nav:not(.scrolled) .nav__brand-la { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }

.nav__links { display: none; align-items: center; gap: 30px; }
.nav__links a { position: relative; font-size: .98rem; font-weight: 500; color: var(--ink-soft); transition: color .3s; }
.nav:not(.scrolled) .nav__links a { color: rgba(255,255,255,.9); }
.nav__links a::after {
  content: ""; position: absolute; inset-block-end: -6px; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--teal); }
.nav:not(.scrolled) .nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-family: var(--f-display-la); font-size: .8rem; letter-spacing: .08em;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 7px 14px;
  color: var(--teal-700); transition: all .3s var(--ease); font-weight: 600;
}
.nav:not(.scrolled) .lang-toggle { color: #fff; }
.lang-toggle:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.btn-reserve {
  display: none; align-items: center; gap: 8px;
  background: var(--gold); color: #fff; font-weight: 700;
  padding: 11px 22px; border-radius: 999px; font-size: .95rem;
  box-shadow: 0 10px 24px -12px rgba(201,168,106,.9);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn-reserve:hover { transform: translateY(-2px); background: #b9965a; box-shadow: 0 16px 30px -12px rgba(201,168,106,.9); }

.burger { width: 30px; height: 22px; position: relative; }
.burger span { position: absolute; inset-inline: 0; height: 2.4px; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }
.nav:not(.scrolled) .burger span { background: #fff; }
.burger span:nth-child(1){ top: 0; } .burger span:nth-child(2){ top: 50%; transform: translateY(-50%);} .burger span:nth-child(3){ bottom: 0; }
body.menu-open .burger span:nth-child(1){ top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--teal-800);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer a { color: #fff; font-family: var(--f-display-ar); font-size: 2rem; opacity: 0; transform: translateY(18px); }
body.menu-open .drawer a { animation: drawerIn .5s var(--ease-out) forwards; }
body.menu-open .drawer a:nth-child(1){ animation-delay:.08s } body.menu-open .drawer a:nth-child(2){ animation-delay:.14s }
body.menu-open .drawer a:nth-child(3){ animation-delay:.2s } body.menu-open .drawer a:nth-child(4){ animation-delay:.26s }
body.menu-open .drawer a:nth-child(5){ animation-delay:.32s } body.menu-open .drawer a:nth-child(6){ animation-delay:.38s }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--teal) 0%, var(--teal-700) 55%, var(--teal-800) 100%);
}
.hero__noise { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* floating arabesque dots */
.hero__orbits { position: absolute; inset: 0; pointer-events: none; }
.hero__orbits span {
  position: absolute; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%;
  inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%,-50%);
  animation: spin linear infinite;
}
.hero__orbits span:nth-child(1){ width: 540px; height: 540px; animation-duration: 60s; }
.hero__orbits span:nth-child(2){ width: 760px; height: 760px; animation-duration: 90s; animation-direction: reverse; border-color: rgba(255,255,255,.14); }
.hero__orbits span:nth-child(3){ width: 1000px; height: 1000px; animation-duration: 120s; border-color: rgba(255,255,255,.08); }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero__inner { position: relative; z-index: 2; padding-block: 120px 80px; }
.hero__logo {
  width: clamp(120px, 30vw, 168px); height: auto; margin-inline: auto; border-radius: 50%;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.06);
  opacity: 0; transform: scale(.8) translateY(20px);
  animation: heroLogo 1.1s var(--ease-out) .15s forwards;
}
@keyframes heroLogo { to { opacity: 1; transform: none; } }
.hero__rays { color: var(--gold-soft); margin: 22px auto 8px; opacity:0; animation: fadeUp .8s var(--ease-out) .5s forwards; }
.hero h1 {
  font-family: var(--f-display-ar); font-weight: 700;
  font-size: clamp(3rem, 11vw, 6.5rem); line-height: 1.05; margin-block: 4px;
}
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(2deg);
  animation: heroWord .9s var(--ease-out) forwards; }
.hero h1 .word:nth-child(2){ animation-delay: .15s; }
@keyframes heroWord { to { opacity: 1; transform: none; } }
.hero__la { font-family: var(--f-display-la); letter-spacing: .5em; text-transform: uppercase;
  font-size: clamp(.8rem, 2.6vw, 1.05rem); color: rgba(255,255,255,.82);
  margin-block-start: 6px; opacity: 0; animation: fadeUp .8s var(--ease-out) .65s forwards; }
.hero__tag { max-width: 30ch; margin: 22px auto 0; font-size: clamp(1.05rem, 3.6vw, 1.3rem);
  color: rgba(255,255,255,.9); font-weight: 300; opacity: 0; animation: fadeUp .8s var(--ease-out) .8s forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-block-start: 34px;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .95s forwards; }
@keyframes fadeUp { from { opacity:0; transform: translateY(24px);} to { opacity:1; transform:none;} }

.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  padding: 15px 30px; font-size: 1rem; font-weight: 700;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
}
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 14px 30px -14px rgba(201,168,106,.95); }
.btn--gold:hover { transform: translateY(-3px); background: #fff; color: var(--teal-800); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--teal-800); transform: translateY(-3px); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn--teal:hover { background: var(--teal-700); transform: translateY(-3px); }
.btn .arrow { transition: transform .35s var(--ease); }
body[dir="rtl"] .btn:hover .arrow { transform: translateX(-5px); }
body[dir="ltr"] .btn:hover .arrow { transform: translateX(5px); }

.hero__scroll { position: absolute; inset-block-end: 26px; left: 0; right: 0; margin-inline: auto; width: max-content;
  z-index: 2; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-align: center;
  opacity: 0; animation: fadeUp 1s 1.4s forwards; transition: opacity .45s var(--ease); }
.hero__scroll.is-hidden { opacity: 0 !important; pointer-events: none; }
.hero__scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; margin: 8px auto 0; position: relative; }
.hero__scroll .mouse::after { content:""; position:absolute; inset-block-start:6px; inset-inline-start:50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1; transform: translate(-50%,0)} 70%{opacity:0; transform: translate(-50%,12px)} 100%{opacity:0} }

/* =====================================================================
   MARQUEE strip of poetic names
   ===================================================================== */
.marquee { background: var(--ink); color: var(--ivory); overflow: hidden; padding-block: 16px; }
.marquee__track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
body[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display-ar); font-size: 1.5rem; display: inline-flex; align-items: center; gap: 56px; opacity: .92; }
.marquee__track span::after { content: "✦"; color: var(--gold); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SECTION scaffolding
   ===================================================================== */
section { position: relative; }
.section { padding-block: clamp(64px, 12vw, 130px); }
.section-head { text-align: center; max-width: 60ch; margin-inline: auto; margin-block-end: clamp(40px, 7vw, 70px); }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-block-end: 14px; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content:""; width: 30px; height: 1px; background: var(--gold-soft); }
.section-head h2 { font-family: var(--f-display-ar); font-size: clamp(2.1rem, 7vw, 3.4rem); color: var(--ink); line-height: 1.15; }
body[dir="ltr"] .section-head h2 { font-family: var(--f-display-la); }
.section-head p { margin-block-start: 16px; color: var(--ink-soft); font-size: 1.08rem; }

/* reveal animation — only hidden when JS is active (graceful fallback otherwise) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal] { opacity: 1; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .1s } [data-reveal][data-delay="2"]{ transition-delay: .2s }
[data-reveal][data-delay="3"]{ transition-delay: .3s } [data-reveal][data-delay="4"]{ transition-delay: .4s }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { background: var(--paper); }
.about__grid { display: grid; gap: clamp(32px, 6vw, 70px); align-items: center; }
.about__media { position: relative; }
.about__badge {
  aspect-ratio: 1; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: radial-gradient(130% 120% at 30% 20%, var(--teal) 0%, var(--teal-700) 60%, var(--teal-800) 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about__badge img { width: 56%; border-radius: 50%; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.about__badge::before { content:""; position: absolute; inset: 18px; border: 1px dashed rgba(255,255,255,.3); border-radius: calc(var(--radius-lg) - 8px); }
.about__floar { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; }
.about__floar.one { inset-block-start: -18px; inset-inline-start: -10px; }
.about__floar.two { inset-block-end: -18px; inset-inline-end: -10px; }
.about__floar b { font-family: var(--f-display-ar); font-size: 1.7rem; color: var(--teal-700); display:block; line-height: 1; }
.about__floar small { color: var(--ink-faint); font-size: .8rem; }
.about__text h2 { font-family: var(--f-display-ar); font-size: clamp(1.9rem, 6vw, 3rem); color: var(--ink); line-height: 1.2; margin-block-end: 18px; }
.about__text p { color: var(--ink-soft); margin-block-end: 16px; font-size: 1.06rem; }
.about__vals { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.about__vals li { display: flex; align-items: center; gap: 8px; background: var(--teal-mist); color: var(--teal-800);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.about__vals li svg { width: 16px; height: 16px; color: var(--teal); }

/* =====================================================================
   SIGNATURE highlights
   ===================================================================== */
.signature { background: var(--ivory); }
.sig-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.sig-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 34px 28px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
  box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.sig-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sig-card::before { content:""; position: absolute; inset: 0; z-index: -2; background: var(--bg, var(--teal)); transition: transform .8s var(--ease); }
.sig-card:hover::before { transform: scale(1.08); }
.sig-card::after { content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,40,36,.72), rgba(20,40,36,.05)); }
.sig-card .sig-ar { font-family: var(--f-display-ar); font-size: 1.9rem; line-height: 1.2; }
.sig-card .sig-la { font-family: var(--f-display-la); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; opacity: .85; }
.sig-card .sig-desc { font-size: .96rem; opacity: .9; margin-block-start: 8px; max-width: 32ch; }
.sig-card .sig-mark { position: absolute; inset-block-start: 24px; inset-inline-end: 24px; width: 46px; height: 46px; opacity: .25; }
.sig-card .sig-mark svg { width: 100%; height: 100%; }

/* =====================================================================
   MENU
   ===================================================================== */
.menu { background: var(--paper); }
.menu__controls { position: sticky; inset-block-start: 64px; z-index: 40; padding-block: 14px; margin-block-end: 18px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-block-end: 1px solid var(--line); }
.menu__groups { display: flex; gap: 10px; justify-content: center; margin-block-end: 14px; }
.grp-btn {
  font-family: var(--f-display-ar); font-size: 1.15rem; font-weight: 700; color: var(--ink-faint);
  padding: 8px 26px; border-radius: 999px; transition: all .35s var(--ease); position: relative;
}
.grp-btn.active { color: #fff; background: var(--teal); box-shadow: var(--shadow); }
.menu__search { max-width: 420px; margin: 0 auto 14px; position: relative; }
.menu__search input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 46px; font-family: var(--f-body-ar);
  font-size: 1rem; background: var(--ivory); transition: border-color .3s, box-shadow .3s; color: var(--ink);
}
.menu__search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.menu__search svg { position: absolute; inset-block-start: 50%; inset-inline-start: 16px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-faint); }
.menu__chips { display: flex; gap: 9px; overflow-x: auto; padding-block-end: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.menu__chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 8px 17px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .9rem; font-weight: 600; color: var(--ink-soft); transition: all .3s var(--ease); background: #fff;
}
.chip:hover { border-color: var(--teal); color: var(--teal-700); }
.chip.active { background: var(--teal-800); color: #fff; border-color: var(--teal-800); }

.menu__cat { margin-block-end: 54px; scroll-margin-top: 180px; }
.cat-head { display: flex; align-items: baseline; gap: 16px; margin-block-end: 22px; padding-block-end: 14px; border-block-end: 1px solid var(--line); }
.cat-head .cat-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--teal-tint); color: var(--teal-700); }
.cat-head .cat-ico svg { width: 24px; height: 24px; }
.cat-head .cat-titles { flex: 1; }
.cat-head h3 { font-family: var(--f-display-ar); font-size: 1.85rem; color: var(--ink); line-height: 1.1; }
.cat-head .cat-poetic { font-family: var(--f-display-ar); color: var(--gold); font-size: 1.05rem; }
body[dir="ltr"] .cat-head .cat-poetic { font-family: var(--f-display-la); font-style: italic; letter-spacing: .02em; }
.cat-head .cat-la { font-family: var(--f-display-la); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--ink-faint); }
.cat-note { font-size: .82rem; color: var(--teal-700); background: var(--teal-tint); padding: 4px 12px; border-radius: 999px; align-self: center; white-space: nowrap; }

.items { display: grid; gap: 4px; grid-template-columns: 1fr; }
.item {
  display: flex; align-items: baseline; gap: 12px; padding: 13px 14px; border-radius: 12px;
  transition: background .3s; position: relative;
}
.item:hover { background: var(--teal-mist); }
.item__name { font-weight: 600; color: var(--ink); font-size: 1.04rem; }
.item__en { font-family: var(--f-display-la); font-size: .82rem; color: var(--ink-faint); letter-spacing: .02em; display: block; margin-block-start: 1px; }
.item__dots { flex: 1; border-block-end: 1.5px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.item__price { font-family: var(--f-display-la); font-weight: 600; color: var(--teal-700); font-size: 1.08rem; white-space: nowrap; }
.item__price .cur { font-size: .68em; color: var(--ink-faint); margin-inline-start: 2px; }
.menu__tax { text-align: center; color: var(--ink-faint); font-size: .86rem; margin-block-start: 30px; padding-block-start: 24px; border-block-start: 1px solid var(--line); }

/* =====================================================================
   RESERVE (birthday) section + modal calendar
   ===================================================================== */
.reserve { background: linear-gradient(160deg, var(--teal-700), var(--teal-800)); color: #fff; overflow: hidden; }
.reserve .section-head h2 { color: #fff; }
.reserve .section-head p { color: rgba(255,255,255,.86); }
.reserve .eyebrow { color: var(--gold-soft); }
.reserve .section-head .eyebrow::before, .reserve .section-head .eyebrow::after { background: rgba(255,255,255,.4); }
.reserve__card {
  max-width: 640px; margin-inline: auto; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 46px); text-align: center; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.reserve__cake { width: 84px; margin: 0 auto 18px; color: var(--gold-soft); }
.reserve__card p { color: rgba(255,255,255,.88); margin-block: 12px 26px; }
.reserve__perks { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; margin-block-start: 26px; font-size: .92rem; color: rgba(255,255,255,.82); }
.reserve__perks span { display: inline-flex; align-items: center; gap: 7px; }
.reserve__perks svg { width: 16px; height: 16px; color: var(--gold-soft); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,35,32,.55); backdrop-filter: blur(6px); }
.modal__panel {
  position: relative; width: min(560px, 100%); max-height: 92svh; overflow-y: auto; background: var(--paper);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 38px);
  transform: translateY(30px) scale(.97); transition: transform .5s var(--ease-out); scrollbar-width: thin;
}
.modal.open .modal__panel { transform: none; }
.modal__close { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; width: 38px; height: 38px;
  border-radius: 50%; background: var(--ivory); display: grid; place-items: center; transition: .3s; color: var(--ink); }
.modal__close:hover { background: var(--teal); color: #fff; transform: rotate(90deg); }
.modal__head { text-align: center; margin-block-end: 22px; }
.modal__head h3 { font-family: var(--f-display-ar); font-size: 1.9rem; color: var(--ink); }
.modal__head p { color: var(--ink-faint); font-size: .92rem; }

/* steps */
.steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin-block-end: 24px; }
.steps .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: .4s var(--ease); }
.steps .dot.active { background: var(--teal); transform: scale(1.3); }
.steps .dot.done { background: var(--teal-700); }

.field-label { font-weight: 700; color: var(--ink); margin-block-end: 12px; display: flex; align-items: center; gap: 8px; }
.field-label svg { width: 18px; height: 18px; color: var(--teal); }

/* calendar */
.cal { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cal__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 12px; }
.cal__top button { width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; transition: .3s; }
.cal__top button:hover { background: var(--teal); color: #fff; }
.cal__top b { font-family: var(--f-display-ar); font-size: 1.25rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cal__grid .dow { text-align: center; font-size: .72rem; color: var(--ink-faint); padding-block: 6px; font-weight: 700; }
.cal__day { aspect-ratio: 1; border-radius: 11px; display: grid; place-items: center; font-size: .95rem; font-weight: 600;
  color: var(--ink); transition: .2s var(--ease); position: relative; }
.cal__day:not(.disabled):hover { background: var(--teal-tint); }
.cal__day.disabled { color: var(--line); cursor: not-allowed; }
.cal__day.empty { pointer-events: none; }
.cal__day.selected { background: var(--teal); color: #fff; box-shadow: var(--shadow); transform: scale(1.05); }
.cal__day.today::after { content:""; position: absolute; inset-block-end: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.cal__day.selected.today::after { background: #fff; }

/* time + guests grids */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px,1fr)); gap: 10px; }
.opt {
  border: 1.5px solid var(--line); border-radius: 13px; padding: 12px 6px; text-align: center; font-weight: 700;
  color: var(--ink-soft); transition: .25s var(--ease); font-family: var(--f-display-la); font-size: 1rem;
}
.opt:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); }
.opt.selected { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: var(--shadow); }
.opt small { display: block; font-family: var(--f-body-ar); font-size: .68rem; opacity: .8; font-weight: 500; }

.stepper { display: flex; align-items: center; justify-content: center; gap: 22px; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 1.6rem; color: var(--teal-700);
  display: grid; place-items: center; transition: .25s var(--ease); line-height: 1; }
.stepper button:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: scale(1.08); }
.stepper .count { font-family: var(--f-display-ar); font-size: 3rem; min-width: 90px; text-align: center; color: var(--ink); }

.field { margin-block-end: 18px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 16px; font-family: var(--f-body-ar);
  font-size: 1rem; background: var(--ivory); transition: .3s; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }

.modal__nav { display: flex; gap: 12px; margin-block-start: 26px; }
.modal__nav .btn { flex: 1; justify-content: center; }
.btn--line { border: 1.5px solid var(--line); color: var(--ink-soft); }
.btn--line:hover { border-color: var(--teal); color: var(--teal-700); }
.step-pane { display: none; animation: paneIn .5s var(--ease-out); }
.step-pane.active { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateX(var(--dir, 24px)); } to { opacity: 1; transform: none; } }

/* summary / success */
.summary { background: var(--teal-mist); border-radius: var(--radius); padding: 20px; margin-block-end: 18px; }
.summary__row { display: flex; justify-content: space-between; padding-block: 9px; border-block-end: 1px dashed var(--line); }
.summary__row:last-child { border: none; }
.summary__row span:first-child { color: var(--ink-faint); }
.summary__row span:last-child { font-weight: 700; color: var(--ink); }
.success { text-align: center; padding-block: 16px; }
.success__check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal); }
.success__check svg { width: 42px; height: 42px; }
.success h3 { font-family: var(--f-display-ar); font-size: 2rem; color: var(--ink); margin-block-end: 8px; }

/* =====================================================================
   VISIT
   ===================================================================== */
.visit { background: var(--ivory); }
.visit__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.visit-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: .4s var(--ease); }
.visit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.visit-card .vico { width: 52px; height: 52px; border-radius: 15px; background: var(--teal-tint); color: var(--teal-700); display: grid; place-items: center; margin-block-end: 16px; }
.visit-card .vico svg { width: 26px; height: 26px; }
.visit-card h4 { font-family: var(--f-display-ar); font-size: 1.4rem; color: var(--ink); margin-block-end: 6px; }
.visit-card p { color: var(--ink-soft); }
.visit-card a.link { color: var(--teal-700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-block-start: 10px; }
.hours-row { display: flex; justify-content: space-between; padding-block: 5px; color: var(--ink-soft); }
.hours-row b { color: var(--ink); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding-block: 60px 28px; text-align: center; }
.footer__logo { width: 84px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.05); }
.footer__name { font-family: var(--f-display-ar); font-size: 2rem; color: #fff; }
.footer__la { font-family: var(--f-display-la); letter-spacing: .4em; text-transform: uppercase; font-size: .7rem; color: var(--gold-soft); margin-block-start: 4px; }
.footer__social { display: flex; gap: 14px; justify-content: center; margin-block: 24px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: .3s var(--ease); }
.footer__social a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-4px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-block-end: 24px; font-size: .95rem; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .82rem; color: rgba(255,255,255,.5); padding-block-start: 22px; border-block-start: 1px solid rgba(255,255,255,.1); }

/* floating reserve FAB (mobile) */
.fab { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 80;
  background: var(--gold); color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 16px 34px -12px rgba(201,168,106,.9); display: inline-flex; align-items: center; gap: 8px;
  transform: translateY(120px); transition: transform .5s var(--ease); }
.fab.show { transform: none; }
.fab:hover { background: #b9965a; }
.fab svg { width: 18px; height: 18px; }

.toast { position: fixed; inset-block-end: 24px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 90vw;
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; z-index: 300; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); transition: .4s var(--ease); font-size: .92rem; }
.toast.show { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 600px) {
  .sig-grid { grid-template-columns: repeat(2,1fr); }
  .items { grid-template-columns: 1fr 1fr; gap: 4px 40px; }
  .visit__grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .btn-reserve { display: inline-flex; }
  .burger { display: none; }
  .fab { display: none; }
  .sig-grid { grid-template-columns: repeat(3,1fr); }
  .sig-card.feature { grid-column: span 1; }
  .about__grid { grid-template-columns: .9fr 1.1fr; }
  body[dir="rtl"] .about__media { order: 2; }
  .visit__grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 1100px) {
  .sig-grid { grid-template-columns: repeat(3,1fr); grid-auto-rows: 1fr; }
}

/* ---------------- Safe-area insets (notched phones / native app) ---------------- */
@supports (padding: max(0px)) {
  .nav { padding-block-start: max(18px, env(safe-area-inset-top)); }
  .nav.scrolled { padding-block-start: max(10px, env(safe-area-inset-top)); }
  .menu__controls { top: max(64px, calc(env(safe-area-inset-top) + 56px)); }
  .fab { inset-block-end: max(20px, calc(env(safe-area-inset-bottom) + 10px)); }
  .footer { padding-block-end: max(28px, calc(env(safe-area-inset-bottom) + 20px)); }
}
