/* Canela — brand palette from the guidelines (Biscuit Peach, Espresso, Cinnamon, Terracotta).
   Day = peach ground with Espresso type; Night = Espresso ground with peach type.
   Layla's section follows its own "Morning" (ivory) and "Night" (midnight) moods. */
:root {
  --peach: #F5C9A8;
  --logo-peach: #FFC9A7;
  --espresso: #2E1A10;
  --cinnamon: #C4826A;
  --cinnamon-deep: #82442B;
  --terracotta: #C07858;
  --coral: #F68962;

  --midnight: #0D1D3D;
  --ivory: #F7F2E8;
  --butter: #E9D3A1;
  --gold: #A58D4E;
  --gold-light: #C9B27A;
  --gold-deep: #735C26;

  --serif: Georgia, 'Noto Naskh Arabic', 'Times New Roman', serif;
  --sans: Arial, 'IBM Plex Sans Arabic', 'Helvetica Neue', sans-serif;
  --ly-serif: 'Cormorant Garamond', 'Amiri', Garamond, serif;
  --ly-sans: 'Jost', 'Tajawal', 'Gill Sans MT', sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --tabbar-h: 0px;
}

:root[data-theme='light'] {
  --bg: #FBEFE6;
  --bg-2: #F8DCC6;
  --surface: #FFF8F2;
  --surface-2: #FDEBDD;
  --text: var(--espresso);
  --muted: #6B4A3A;
  --accent: var(--cinnamon-deep);
  --line: rgba(46, 26, 16, .12);
  --shadow: 0 18px 40px -22px rgba(90, 45, 20, .45);
  --btn-bg: var(--espresso);
  --btn-text: var(--peach);
  --ly-bg: var(--ivory);
  --ly-surface: #FFFDF8;
  --ly-text: var(--midnight);
  --ly-muted: #4B5670;
  --ly-gold: var(--gold-deep);
  --ly-line: rgba(13, 29, 61, .14);
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #1E110A;
  --bg-2: #2E1A10;
  --surface: #36211A;
  --surface-2: #2A1810;
  --text: #FBE3D2;
  --muted: #D7B29B;
  --accent: var(--coral);
  --line: rgba(245, 201, 168, .14);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  --btn-bg: var(--peach);
  --btn-text: var(--espresso);
  --ly-bg: var(--midnight);
  --ly-surface: #13274F;
  --ly-text: var(--ivory);
  --ly-muted: #BCC3D3;
  --ly-gold: var(--gold-light);
  --ly-line: rgba(201, 178, 122, .22);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
  padding-bottom: var(--tabbar-h);
}
[dir='rtl'] body { line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
[dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-text); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
[dir='rtl'] .eyebrow { letter-spacing: 0; font-size: 14px; font-weight: 600; }

.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--terracotta), var(--coral));
  transform-origin: left; transform: scaleX(0);
}
[dir='rtl'] .progress { transform-origin: right; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-text);
  font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .3s;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--outline { background: transparent; color: var(--text); border-color: currentColor; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--wa { background: #1FAF5A; color: #fff; }
.btn-ghost { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; }

.icon-btn, .lang {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s var(--ease), background-color .3s;
}
.icon-btn:hover, .lang:hover { transform: rotate(-8deg) scale(1.06); }
.icon-btn svg { width: 19px; height: 19px; fill: currentColor; }
.lang { font-weight: 700; font-size: 14px; font-family: var(--sans); }
[data-theme='light'] .i-sun, [data-theme='dark'] .i-moon { display: none; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.topbar.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: auto; transition: transform .8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-200deg); }
.brand__word { width: 96px; height: auto; }
[data-theme='light'] .brand__word--dark, [data-theme='dark'] .brand__word--light { display: none; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface-2); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: -72px; padding: 120px 0 80px;
  background:
    radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--peach) 70%, transparent), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--cinnamon) 25%, transparent), transparent 70%),
    var(--bg);
}
[data-theme='dark'] .hero {
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(196, 130, 106, .28), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(246, 137, 98, .12), transparent 70%),
    var(--bg);
}
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; min-height: min(78vh, 720px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 0 rgba(192, 120, 88, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(192, 120, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(192, 120, 88, 0); } }
.hero__title { font-size: clamp(46px, 7.4vw, 92px); margin-bottom: 18px; }
[dir='rtl'] .hero__title { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.3; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.5em); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.hero__swirl {
  position: absolute; width: 58%; inset-inline-start: 22%; top: 20%; opacity: .2;
  animation: spin 60s linear infinite; filter: saturate(1.1);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__photo { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(70, 30, 10, .6); background: var(--surface); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__photo:hover img { transform: scale(1.06); }
.hero__photo--a { width: 54%; aspect-ratio: 3 / 4; inset-inline-start: 4%; top: 2%; z-index: 2; animation: float 9s ease-in-out infinite; }
.hero__photo--b { width: 42%; aspect-ratio: 4 / 5; inset-inline-end: 0; top: 16%; z-index: 1; animation: float 11s ease-in-out -3s infinite; }
.hero__photo--c { width: 56%; aspect-ratio: 3 / 2; inset-inline-end: 8%; bottom: 0; z-index: 3; animation: float 10s ease-in-out -6s infinite; border: 6px solid var(--bg); }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Cinnamon dust drifting up */
.dust { position: absolute; inset: 0; pointer-events: none; }
.dust i {
  position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cinnamon); opacity: 0;
  animation: drift 14s linear infinite;
}
.dust i:nth-child(odd) { width: 4px; height: 4px; background: var(--terracotta); }
.dust i:nth-child(1) { left: 6%; animation-delay: 0s; }
.dust i:nth-child(2) { left: 14%; animation-delay: -4s; animation-duration: 18s; }
.dust i:nth-child(3) { left: 23%; animation-delay: -9s; }
.dust i:nth-child(4) { left: 31%; animation-delay: -2s; animation-duration: 16s; }
.dust i:nth-child(5) { left: 42%; animation-delay: -11s; }
.dust i:nth-child(6) { left: 50%; animation-delay: -6s; animation-duration: 20s; }
.dust i:nth-child(7) { left: 58%; animation-delay: -1s; }
.dust i:nth-child(8) { left: 66%; animation-delay: -13s; animation-duration: 17s; }
.dust i:nth-child(9) { left: 74%; animation-delay: -7s; }
.dust i:nth-child(10) { left: 83%; animation-delay: -3s; animation-duration: 19s; }
.dust i:nth-child(11) { left: 90%; animation-delay: -10s; }
.dust i:nth-child(12) { left: 96%; animation-delay: -5s; animation-duration: 15s; }
@keyframes drift {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: .55; }
  100% { transform: translate(40px, -95vh); opacity: 0; }
}

.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--muted); border-radius: 20px; opacity: .6; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--muted); animation: cue 1.8s infinite; }
@keyframes cue { 80% { transform: translateY(14px); opacity: 0; } }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--espresso); color: var(--peach); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); }
[data-theme='dark'] .ribbon { background: var(--peach); color: var(--espresso); }
.ribbon__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.ribbon__track span { display: inline-flex; align-items: center; gap: 40px; }
.ribbon__track span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--cinnamon); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir='rtl'] .ribbon__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.story, .menu, .order, .gallery, .contact { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 14px; }
.section-head p { color: var(--muted); }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }

/* Story */
.story { background: var(--surface); }
.story__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.story__img { margin: 0; position: relative; }
.story__img img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.story__img figcaption {
  position: absolute; bottom: 24px; inset-inline-start: -18px; background: var(--btn-bg); color: var(--btn-text);
  padding: 12px 20px; border-radius: 14px; font-family: var(--serif); font-size: 18px; box-shadow: var(--shadow);
}
.story__copy h2 { font-size: clamp(34px, 4.2vw, 52px); margin-bottom: 22px; }
.story__copy p { color: var(--muted); font-size: 17px; }
.story__copy blockquote {
  margin: 26px 0; padding: 4px 22px; border-inline-start: 3px solid var(--cinnamon);
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.6; color: var(--text);
}
[dir='rtl'] .story__copy blockquote { font-style: normal; }
.route { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 20px; color: var(--accent); }
.route svg { width: 120px; height: 24px; fill: currentColor; color: var(--cinnamon); }
[dir='rtl'] .route svg { transform: scaleX(-1); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 80px; }
.pillar {
  padding: 28px 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__n { font-family: var(--serif); font-size: 34px; color: var(--cinnamon); display: block; margin-bottom: 10px; }
.pillar h3 { font-size: 22px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Menu ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; margin-bottom: 20px; position: sticky; top: 72px; z-index: 5; background: linear-gradient(var(--bg) 70%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: 14px; transition: background-color .25s, color .25s, transform .2s;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-selected='true'] { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }

.cat-block { margin-bottom: 64px; }
.cat-block__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-block__head h3 { font-size: clamp(26px, 3vw, 34px); }
.cat-block__head p { color: var(--muted); margin: 0; font-size: 15px; flex: 1 1 280px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; text-align: start; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--logo-peach); }
.card__ph img { width: 42%; height: auto; object-fit: contain; animation: spin 40s linear infinite; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
[dir='rtl'] .card__name { font-weight: 700; font-size: 20px; }
.card__alt { font-size: 13px; color: var(--muted); }
.card__desc { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge {
  position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--espresso); color: var(--peach); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
[dir='rtl'] .badge { letter-spacing: 0; font-size: 12px; }
.badge--season { background: #1A1A2E; color: #F3B58B; }

.boxes { margin-top: 20px; padding: 44px; border-radius: 32px; background: var(--btn-bg); color: var(--btn-text); position: relative; overflow: hidden; }
.boxes::after { content: ''; position: absolute; inset-inline-end: -80px; top: -80px; width: 280px; height: 280px; background: url('../assets/img/canela-mark.webp') center / contain no-repeat; opacity: .12; animation: spin 50s linear infinite; }
.boxes h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 26px; }
.boxes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 1; }
.box {
  padding: 22px; border-radius: 20px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  transition: transform .3s var(--ease), background-color .3s;
}
.box:hover { transform: translateY(-4px); background: color-mix(in srgb, currentColor 8%, transparent); }
.box--hero { background: color-mix(in srgb, currentColor 10%, transparent); }
.box__n { display: flex; gap: 5px; margin-bottom: 14px; }
.box__n i { width: 14px; height: 14px; border-radius: 50%; background: var(--cinnamon); }
.box b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; }
[dir='rtl'] .box b { font-weight: 700; }
.box small { opacity: .8; font-size: 14px; }
.boxes__extras { margin: 22px 0 0; opacity: .85; font-size: 14px; position: relative; z-index: 1; }
.allergen { margin-top: 26px; font-size: 13px; color: var(--muted); }

/* ---------- Layla's ---------- */
.laylas { background: var(--ly-bg); color: var(--ly-text); font-family: var(--ly-sans); transition: background-color .5s, color .5s; padding-bottom: 110px; }
.laylas h2, .laylas h3 { font-family: var(--ly-serif); font-weight: 500; }
[dir='rtl'] .laylas h2, [dir='rtl'] .laylas h3 { font-family: 'Amiri', var(--ly-serif); font-weight: 700; }
.laylas__hero { position: relative; padding: 110px 0 90px; overflow: hidden; text-align: center; }
.laylas__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; filter: grayscale(.3); }
[data-theme='dark'] .laylas__bg { opacity: .22; }
.laylas__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--ly-bg)); }
.laylas__intro { position: relative; z-index: 1; max-width: 760px; }
.laylas__logo { width: min(340px, 72%); height: auto; margin: 0 auto 26px; }
[data-theme='light'] .laylas__logo--dark, [data-theme='dark'] .laylas__logo--light { display: none; }
.laylas__intro h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.laylas__quote { font-family: var(--ly-serif); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: var(--ly-gold); line-height: 1.5; }
[dir='rtl'] .laylas__quote { font-family: 'Amiri', serif; font-style: normal; }
.laylas__intro p { color: var(--ly-muted); font-weight: 300; font-size: 17px; }
[dir='rtl'] .laylas__intro p { font-weight: 400; }
.laylas__origin { font-size: 12px !important; letter-spacing: .24em; text-transform: uppercase; color: var(--ly-gold) !important; font-weight: 500 !important; }
[dir='rtl'] .laylas__origin { letter-spacing: 0; font-size: 15px !important; }

.ly-group { margin-bottom: 48px; }
.ly-group__title {
  display: flex; align-items: center; gap: 18px; margin-bottom: 22px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ly-gold); font-weight: 500;
}
[dir='rtl'] .ly-group__title { letter-spacing: 0; font-size: 16px; }
.ly-group__title::after { content: ''; flex: 1; height: 1px; background: var(--ly-line); }
.ly-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ly-card {
  display: flex; align-items: center; gap: 16px; padding: 14px; text-align: start; border-radius: 18px;
  background: var(--ly-surface); border: 1px solid var(--ly-line); color: var(--ly-text);
  transition: transform .35s var(--ease), border-color .35s;
}
.ly-card:hover { transform: translateY(-4px); border-color: var(--ly-gold); }
.ly-card img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; background: #F3DCC4; }
.ly-card b { display: block; font-family: var(--ly-serif); font-size: 21px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
[dir='rtl'] .ly-card b { font-family: 'Amiri', serif; font-weight: 700; font-size: 19px; }
.ly-card small { font-size: 13.5px; color: var(--ly-muted); font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[dir='rtl'] .ly-card small { font-weight: 400; }

.laylas__gallery { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 16px; margin: 30px 0 40px; }
.laylas__gallery img { width: 100%; height: 340px; object-fit: cover; border-radius: 18px; }
.laylas__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--gold { background: var(--ly-text); color: var(--ly-bg); box-shadow: none; font-family: var(--ly-sans); }
[data-theme='dark'] .btn--gold { background: var(--gold-light); color: var(--midnight); }
.btn--line { background: transparent; color: var(--ly-text); border-color: var(--ly-line); box-shadow: none; font-family: var(--ly-sans); }
.btn--line:hover { border-color: var(--ly-gold); }

/* ---------- Order ---------- */
.order { background: var(--bg-2); }
[data-theme='dark'] .order { background: var(--bg-2); }
.order-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 16px; }
.order-card {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.order-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.order-card b { display: block; font-size: 17px; }
.order-card small { color: var(--muted); font-size: 13px; }
.order-card--wa { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: flex-end; background: var(--btn-bg); color: var(--btn-text); border: 0; min-height: 200px; }
.order-card--wa small { color: inherit; opacity: .8; }
.order-card--wa b { font-family: var(--serif); font-size: 26px; font-weight: 400; }
[dir='rtl'] .order-card--wa b { font-weight: 700; }
.order-card--wa svg { width: 44px; height: 44px; fill: currentColor; margin-bottom: auto; }
.app-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: var(--t); font-weight: 800; font-size: 20px; font-family: var(--sans); flex: none; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g { border-radius: 18px; overflow: hidden; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.g:hover img { transform: scale(1.08); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); text-align: start;
  background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-card:not(.contact-card--static):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card svg { width: 26px; height: 26px; fill: var(--accent); flex: none; }
.contact-card b { display: block; }
.contact-card small { color: var(--muted); font-size: 13px; }
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.socials a {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.socials a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--btn-bg); color: var(--btn-text); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 60px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.footer__logo { width: 140px; height: auto; margin: 0 auto 18px; }
[data-theme='light'] .footer__logo--dark, [data-theme='dark'] .footer__logo--light { display: none; }
.footer__slogan { font-family: var(--serif); font-size: 20px; color: var(--text); }
.footer p { margin: 6px 0; }
.tags { font-size: 13px; letter-spacing: .04em; }
.credit { margin-top: 16px !important; font-size: 13px; }
.credit a { color: var(--accent); font-weight: 700; transition: color .2s; }
.credit a:hover { color: var(--text); }

/* ---------- Tab bar (mobile) ---------- */
.tabbar { display: none; }

/* ---------- Sheets ---------- */
.sheet {
  border: 0; padding: 0; border-radius: 28px; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 32px);
  background: var(--surface); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: auto;
}
.sheet::backdrop { background: rgba(20, 10, 5, .55); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.sheet__close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(6px); font-size: 15px;
}
#sheetImg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet__body { padding: 24px 26px 28px; }
.sheet__body h3 { font-size: 28px; margin-bottom: 4px; }
.sheet__alt { color: var(--muted); font-size: 14px; }
#sheetDesc { color: var(--muted); }
.sheet.is-laylas { background: var(--ly-surface); color: var(--ly-text); font-family: var(--ly-sans); }
.sheet.is-laylas h3 { font-family: var(--ly-serif); }
[dir='rtl'] .sheet.is-laylas h3 { font-family: 'Amiri', serif; }
.sheet.is-laylas .eyebrow { color: var(--ly-gold); }
.sheet.is-laylas #sheetDesc, .sheet.is-laylas .sheet__alt { color: var(--ly-muted); }
.sheet.is-laylas #sheetImg { object-fit: contain; background: #F3DCC4; }

.share__body { padding: 34px 26px 28px; text-align: center; }
.share__logo { margin: 0 auto 8px; }
.share__body h3 { font-size: 28px; margin-bottom: 8px; }
.share__body p { color: var(--muted); }
.share__qr { width: min(240px, 70vw); margin: 10px auto 14px; padding: 10px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.share__url { border: 1px dashed var(--line); background: var(--bg); border-radius: 999px; padding: 8px 18px; font-weight: 700; margin-bottom: 18px; }
.share__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share__actions .btn { box-shadow: none; font-size: 14px; padding: 0 12px; }

.toast {
  position: fixed; bottom: calc(24px + var(--tabbar-h)); left: 50%; translate: -50% 0; z-index: 90;
  background: var(--btn-bg); color: var(--btn-text); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow); animation: sheetIn .35s var(--ease); max-width: calc(100% - 32px); text-align: center;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Theme switch ripple (View Transitions where supported) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .topbar__actions { margin-inline-start: auto; }
  .hero__in { grid-template-columns: 1fr; text-align: center; gap: 30px; min-height: 0; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .pill { justify-content: center; }
  .hero__art { width: min(520px, 100%); margin-inline: auto; }
  .story__grid { grid-template-columns: 1fr; gap: 40px; }
  .story__img { width: min(460px, 100%); margin-inline: auto; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .boxes__grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr 1fr; }
  .order-card--wa { grid-column: span 2; grid-row: auto; min-height: 160px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 640px) {
  :root { --tabbar-h: 68px; }
  html { scroll-padding-top: 70px; }
  .topbar__in { height: 64px; }
  .hero { margin-top: -64px; padding: 96px 0 70px; }
  .brand__word { width: 84px; }
  .btn-ghost { display: none; }
  .icon-btn, .lang { width: 38px; height: 38px; }
  .story, .menu, .order, .gallery, .contact { padding: 76px 0; }
  .pillars { grid-template-columns: 1fr; margin-top: 50px; }
  .chips { top: 64px; }
  .grid { grid-template-columns: 1fr; }
  .boxes { padding: 28px 20px; border-radius: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .laylas__gallery { grid-template-columns: 1fr 1fr; }
  .laylas__gallery img { height: 220px; }
  .laylas__gallery img:nth-child(2) { grid-column: span 2; grid-row: 1; }
  .ly-grid { grid-template-columns: 1fr; }
  .story__img figcaption { inset-inline-start: 12px; }
  .share__actions { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .tabbar {
    display: flex; position: fixed; inset: auto 0 0; z-index: 55; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); transition: color .2s; }
  .tabbar a svg { width: 22px; height: 22px; fill: currentColor; transition: transform .3s var(--ease); }
  .tabbar a.active { color: var(--accent); }
  .tabbar a.active svg { transform: translateY(-2px) scale(1.1); }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .w { opacity: 1; transform: none; }
}
