/* ============================================================
   Le Fournil · Landing System
   Design tokens from "Le Fournil Landing System.dc.html" v2
   ============================================================ */

:root {
  --navy:        #0E1E3C;
  --navy-deep:   #0b1730;
  --navy-2:      #12213f;
  --cream:       #FAF5EA;
  --cream-2:     #F4EBD8;
  --cream-3:     #F0E6D2;
  --cream-card:  #FFFDF7;
  --gold:        #C9A24B;
  --gold-dark:   #B98A2E;
  --gold-pale:   #EBD9A8;
  --whatsapp:    #1EA65A;
  --border:      #e0d2b4;
  --border-soft: #e4d7bd;
  --ink:         #0E1E3C;
  --ink-soft:    #4a5266;
  --ink-mute:    #7c8496;
  --ink-mute-2:  #5b6474;
  --on-navy-soft:#9fb0d0;
  --on-navy-body:#DFE5F0;

  --font-latin-heading: 'Cormorant Garamond', serif;
  --font-latin-body:    'Hanken Grotesk', sans-serif;
  --font-he-heading:    'Frank Ruhl Libre', serif;
  --font-he-body:       'Assistant', sans-serif;
  --font-ar:            'Tajawal', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  /* clip, not hidden: overflow-x:hidden makes .page a scroll container and
     hijacks touch scrolling on mobile Safari/Chrome */
  overflow-x: hidden;
  overflow-x: clip;
  box-shadow: 0 0 90px rgba(0,0,0,.6);
}

/* -------- per-language font stacks -------- */
body[data-lang="he"] .page { font-family: var(--font-he-body); }
body[data-lang="he"] .h-serif { font-family: var(--font-he-heading); font-weight: 700; }

body[data-lang="en"] .page,
body[data-lang="ru"] .page { font-family: var(--font-latin-body); }
body[data-lang="en"] .h-serif,
body[data-lang="ru"] .h-serif { font-family: var(--font-latin-heading); font-weight: 600; }

body[data-lang="ar"] .page { font-family: var(--font-ar); }
body[data-lang="ar"] .h-serif { font-family: var(--font-ar); font-weight: 800; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ============ top bar ============ */
.topbar {
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px 12px;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-row + .switcher { margin-top: 11px; }
.brand { font-size: 19px; line-height: 1.2; }
body[data-lang="en"] .brand,
body[data-lang="ru"] .brand { font-size: 22px; }
.brand .brand-tag { color: var(--gold); font-size: 14px; font-weight: 500; }
.topbar-link { font-size: 12px; font-weight: 700; color: var(--gold); }
.kosher-chip {
  font-size: 11px; font-weight: 700;
  color: var(--navy); background: var(--gold);
  padding: 5px 10px; border-radius: 999px;
}

/* language toggle */
.lang-toggle { display: flex; gap: 12px; font-size: 12px; font-weight: 700; }
.lang-toggle button {
  all: unset; cursor: pointer;
  color: var(--on-navy-soft); font: inherit; font-weight: 700;
  padding: 4px 2px; min-width: 24px; text-align: center;
}
.lang-toggle button[aria-pressed="true"] { color: var(--gold); font-weight: 800; }

/* branch switcher */
.switcher { display: flex; align-items: center; gap: 8px; }
.switcher-label { font-size: 11px; font-weight: 600; color: var(--on-navy-soft); }
.switcher-btns { display: flex; gap: 6px; flex: 1; }
.switcher-btns a, .switcher-btns span {
  flex: 1; text-align: center; padding: 9px;
  font-size: 13px; font-weight: 700; border-radius: 9px;
  background: rgba(255,255,255,.09); color: var(--cream);
}
.switcher-btns .active { background: var(--gold); color: var(--navy); font-weight: 800; }

/* ============ hero ============ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.hero-inner { position: relative; padding: 32px 26px 28px; }

.hero-media-bg { position: absolute; inset: 0; }
.hero-media-bg .media-fill { width: 100%; height: 100%; object-fit: cover; }
.hero-media-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy) 8%, rgba(14,30,60,.35) 60%);
}
.hero-media-bg.placeholder {
  background: repeating-linear-gradient(-45deg, var(--navy-2), var(--navy-2) 11px, #0d1a34 11px, #0d1a34 22px);
  opacity: .55;
}
.hero-media-bg.placeholder::after { display: none; }

.hero-tall .hero-inner {
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; color: var(--gold);
  margin-bottom: 14px;
}
body[data-lang="en"] .eyebrow,
body[data-lang="ru"] .eyebrow { text-transform: uppercase; letter-spacing: .2em; }
body[data-lang="ar"] .eyebrow { letter-spacing: .04em; }

.hero h1 {
  font-size: clamp(31px, 9.3vw, 40px); line-height: 1.04; margin: 0 0 14px;
}
body[data-lang="he"] .hero h1 { font-weight: 900; }
body[data-lang="en"] .hero h1, body[data-lang="ru"] .hero h1 { font-size: clamp(34px, 10.2vw, 44px); line-height: 1.02; }
.hero p.sub { font-size: 18px; line-height: 1.5; margin: 0 0 22px; color: var(--on-navy-body); }
.hero p.sub b { color: #fff; }

.hero-note {
  background: rgba(201,162,75,.14);
  border: 1px solid rgba(201,162,75,.4);
  border-radius: 12px; padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: var(--gold-pale);
}

.media-tag {
  position: absolute; top: 18px; inset-inline-end: 22px;
  font: 600 10px/1.4 ui-monospace, monospace; color: #6b80a8;
  z-index: 1; text-align: end;
}

/* ============ buttons ============ */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 14px; font-weight: 800; cursor: pointer;
  border: 0; width: 100%;
}
.btn-stack { display: flex; flex-direction: column; gap: 11px; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

.btn-primary   { height: 56px; background: var(--gold); color: var(--navy); font-size: 18px; }
.btn-navy      { height: 52px; background: var(--navy); color: var(--cream); font-size: 16px; }
.btn-ghost     { height: 52px; background: transparent; color: var(--cream); border: 1.5px solid rgba(201,162,75,.55); font-size: 16px; font-weight: 700; }
.btn-outline   { height: 50px; background: transparent; color: var(--ink); border: 1.5px solid var(--navy); font-size: 15px; font-weight: 700; border-radius: 13px; }
.btn-soft      { height: 50px; background: var(--cream-3); color: var(--ink); font-size: 14px; font-weight: 700; border-radius: 13px; }
.btn-wa        { height: 52px; background: var(--whatsapp); color: #fff; font-size: 16px; border-radius: 13px; }
.btn-wa-lg     { height: 58px; background: var(--whatsapp); color: #fff; font-size: 18px; border-radius: 14px; }
.btn-dim       { background: rgba(255,255,255,.08); color: var(--cream); font-size: 13px; font-weight: 700; border-radius: 11px; padding: 12px; flex: 1; text-align: center; display: block; }

.btn-caption {
  text-align: center; font-size: 12px; font-weight: 600;
  color: var(--ink-mute); margin: 6px 0 0;
}

/* order platform row */
.order-btn {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 20px;
  background: var(--cream); color: var(--ink); border-radius: 14px;
}
.order-btn .platform { font-size: 17px; font-weight: 800; font-family: var(--font-latin-body); }
.order-btn .go { font-size: 13px; font-weight: 700; color: var(--gold-dark); }

/* ============ sections ============ */
.section { padding: 26px 26px; }
.section h2 { font-size: clamp(24px, 6.5vw, 28px); line-height: 1.1; margin: 0 0 10px; }
body[data-lang="en"] .section h2, body[data-lang="ru"] .section h2 { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.05; }
.section .eyebrow-lt { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold-dark); margin-bottom: 8px; }
body[data-lang="en"] .section .eyebrow-lt, body[data-lang="ru"] .section .eyebrow-lt { text-transform: uppercase; letter-spacing: .16em; }
.section p.body { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; }

/* ============ trust block ============ */
.trust-wrap { padding: 0 22px; position: relative; z-index: 2; }
.trust-wrap.overlap { margin-top: -20px; }
.trust-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--cream-card);
  border: 1.5px solid var(--gold);
  border-radius: 16px; padding: 15px 16px;
  box-shadow: 0 18px 34px -20px rgba(14,30,60,.5);
}
.trust-cert {
  flex: none; width: 66px; height: 66px; border-radius: 12px;
  border: 1px dashed var(--gold); background: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.trust-cert img { width: 100%; height: 100%; object-fit: cover; }
.trust-cert .ph { font: 600 8px/1.3 ui-monospace, monospace; color: var(--gold-dark); }
.trust-title { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.trust-body { font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--ink-soft); }

/* supervision strip (catering) */
.supervision-strip {
  padding: 14px 26px; background: var(--cream-2);
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--ink-soft);
}

/* ============ social proof ============ */
.social { padding: 20px 26px 4px; }
.stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.rating-row { display: flex; align-items: center; gap: 8px; }
.rating-num { font: 800 15px var(--font-latin-body); color: var(--ink); }
.rating-meta { font-size: 12px; font-weight: 600; color: var(--ink-mute); }
.quote { font-style: italic; font-size: 19px; color: var(--ink); margin-top: 8px; }
body[data-lang="en"] .quote, body[data-lang="ru"] .quote { font-size: 20px; }

.rating-cards { display: flex; gap: 10px; }
.rating-card { flex: 1; background: var(--cream-2); border-radius: 12px; padding: 12px 14px; }
.rating-card .name { font-size: 13px; font-weight: 700; color: var(--ink); }
.rating-card .row { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.rating-card .stars { font-size: 12px; letter-spacing: 1px; }
.rating-card .num { font: 800 13px var(--font-latin-body); }
.rating-card .count { font-size: 11px; font-weight: 500; color: var(--ink-mute); }

/* ============ media placeholders ============ */
.media-box {
  border-radius: 14px; overflow: hidden; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
}
.media-box.ph-light { background: repeating-linear-gradient(45deg, #e7dbc1, #e7dbc1 9px, #f1e8d3 9px, #f1e8d3 18px); }
.media-box.ph-dark  { background: repeating-linear-gradient(45deg, #22314f, #22314f 8px, #1a2843 8px, #1a2843 16px); align-items: center; }
.media-box .label {
  font: 600 10px/1.3 ui-monospace, monospace; color: var(--ink);
  background: rgba(250,245,234,.9); padding: 5px 8px; border-radius: 6px; margin: 10px;
}
.media-box.ph-dark .label { color: var(--on-navy-soft); background: transparent; }
.media-box img, .media-box video { width: 100%; height: 100%; object-fit: cover; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-grid .media-box { aspect-ratio: 3/4; }
.photo-grid.square .media-box { aspect-ratio: 1; }

.full-bleed { border-radius: 0; height: 300px; align-items: center; }
.single-photo { height: 210px; border-radius: 16px; }

/* ============ dark feature card (pastries) ============ */
.dark-card {
  border-radius: 18px; overflow: hidden;
  background: var(--navy); color: var(--cream);
  padding: 22px 22px 20px;
}
.dark-card .eyebrow-lt { color: var(--gold); }
.dark-card h3 { font-size: 26px; margin: 0 0 12px; }
body[data-lang="en"] .dark-card h3, body[data-lang="ru"] .dark-card h3 { font-size: 28px; }
.dark-card .media-box { height: 150px; border-radius: 12px; }

/* pastry stills "reel" — shows real photos until the video file lands */
.pastry-strip { height: 150px; border-radius: 12px; overflow: hidden; direction: ltr; }
.pastry-strip .track {
  display: flex; height: 100%; width: max-content;
  animation: pastry-scroll 26s linear infinite;
}
.pastry-strip img { height: 100%; width: auto; flex: none; }
@keyframes pastry-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .pastry-strip .track { animation: none; }
}

/* ============ catering card ============ */
.cater-card {
  border-radius: 18px; border: 1.5px solid var(--border);
  background: var(--cream-2); padding: 20px 20px 22px;
}
.cater-card h3 { font-size: 24px; margin: 0 0 14px; }
body[data-lang="en"] .cater-card h3, body[data-lang="ru"] .cater-card h3 { font-size: 26px; }
.cater-card .eyebrow-lt { margin-bottom: 6px; }
.cater-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cater-item { background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.cater-item .t { font-size: 15px; font-weight: 700; }
.cater-item .d { font-size: 13px; font-weight: 500; color: var(--ink-mute); }

/* ============ order block ============ */
.order-block { padding: 8px 26px 26px; background: var(--navy); color: var(--cream); }
.order-block h2 { font-size: 28px; margin: 26px 0 4px; text-align: center; }
body[data-lang="en"] .order-block h2, body[data-lang="ru"] .order-block h2 { font-size: 32px; }
.order-block .order-sub { text-align: center; font-size: 14px; font-weight: 500; color: var(--on-navy-soft); margin: 0 0 20px; }

/* ============ location ============ */
.map-frame { border-radius: 14px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 160px; border: 0; display: block; }
.loc-name { font-size: 16px; font-weight: 700; }
.loc-addr { font-size: 14px; font-weight: 500; color: var(--ink-mute); margin-bottom: 4px; direction: ltr; text-align: start; }
.loc-phone { font-size: 14px; font-weight: 600; color: var(--gold-dark); margin-bottom: 12px; }
.loc-hours { font-size: 14px; line-height: 1.7; font-weight: 500; color: var(--ink-soft); margin-bottom: 16px; }
.location .btn { margin-bottom: 12px; }

/* branch cards (pre-arrival) */
.branch-card { border: 1.5px solid var(--border); border-radius: 14px; padding: 16px; }
.branch-card .name { font-size: 17px; font-weight: 700; }
.branch-card .meta { font-size: 13px; font-weight: 500; color: var(--ink-mute); margin-bottom: 10px; }
.branch-card .btn-soft { height: 44px; border-radius: 11px; font-size: 14px; }
.branch-cards { display: flex; flex-direction: column; gap: 12px; }

/* ============ audience cards (catering funnel) ============ */
.aud-card { border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--cream-2); }
.aud-card .media-box { height: 120px; border-radius: 0; align-items: center; }
.aud-card .pad { padding: 16px 18px 18px; }
.aud-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 9px; border-radius: 999px; margin-bottom: 8px;
}
.aud-tag.gold { color: var(--navy); background: var(--gold); }
.aud-tag.navy { color: var(--cream); background: var(--navy); }
.aud-card h3 { font-size: 24px; margin: 0 0 6px; }
.aud-card p { font-size: 14px; font-weight: 500; color: var(--ink-mute-2); margin: 0; }

/* checklist + steps */
.checklist { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.checklist .item { display: flex; gap: 10px; align-items: center; }
.checklist .item::before { content: "✦"; color: var(--gold); }

.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 14px; padding-bottom: 16px; align-items: flex-start; }
.step:last-child { padding-bottom: 0; }
.step .n {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font: 800 14px var(--font-latin-body);
  display: flex; align-items: center; justify-content: center;
}
.step .t { font-size: 15px; font-weight: 600; padding-top: 4px; }

/* ============ dark CTA block (catering) ============ */
.cta-block { padding: 28px 26px; background: var(--navy); color: var(--cream); margin-top: 22px; }
.cta-block h2 { font-size: 30px; margin: 0 0 4px; text-align: center; }
.cta-block .cta-sub { text-align: center; font-size: 14px; font-weight: 500; color: var(--on-navy-soft); margin: 0 0 18px; }
.cta-block .btn-wa-lg { margin-bottom: 10px; }

/* ============ footer ============ */
.footer { background: var(--navy-deep); color: var(--cream); padding: 26px 26px 30px; }
.footer .f-brand { font-size: 22px; margin-bottom: 14px; }
body[data-lang="en"] .footer .f-brand, body[data-lang="ru"] .footer .f-brand { font-size: 26px; }
.footer .switcher-btns { margin-bottom: 18px; }
.footer .f-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--on-navy-soft); }
.footer .f-row a { color: var(--gold); }
.footer .f-note { font-size: 13px; font-weight: 500; color: var(--on-navy-soft); margin: 0 0 16px; }
.footer .f-links { display: flex; gap: 16px; font-size: 13px; font-weight: 600; }
.footer .f-links a { color: var(--gold); }
.footer-mini { background: var(--navy-deep); color: var(--on-navy-soft); padding: 20px 26px; font-size: 12px; font-weight: 600; text-align: center; }

/* keep latin fragments readable inside RTL */
.ltr { direction: ltr; unicode-bidi: isolate; }


/* ---- Order sheet ---- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8,13,26,.6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.order-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
  max-width: 480px; margin: 0 auto;
  background: var(--cream); color: var(--ink);
  border-radius: 22px 22px 0 0; padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform .32s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 -18px 50px rgba(0,0,0,.4);
}
.order-sheet.open { transform: none; }
.order-sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: #d8ccae; margin: 0 auto 14px; }
.order-sheet h3 { font-size: 20px; margin: 0 0 14px; text-align: center; }
.order-sheet .order-btn { border: 1px solid var(--border); margin-bottom: 10px; background: #fff; }

/* ---- Menu modal ---- */
.menu-modal {
  position: fixed; inset: 0; z-index: 60; display: none;
  background: rgba(8,13,26,.92); padding: 12px;
}
.menu-modal.open { display: flex; flex-direction: column; }
.menu-modal .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px 12px; color: var(--c-cream, #F3ECDD);
}
.menu-modal .bar .t { font-weight: 700; font-size: 15px; color: #F3ECDD; }
.menu-modal .bar .actions { display: flex; gap: 14px; align-items: center; }
.menu-modal .bar a { color: #EBCB7E; font-size: 13px; font-weight: 700; }
.menu-modal .close {
  all: unset; cursor: pointer; color: #F3ECDD; font-size: 22px; line-height: 1; padding: 2px 8px;
}
.menu-modal iframe {
  flex: 1; width: 100%; border: 0; border-radius: 14px; background: #fff;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .06s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .14s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .22s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .30s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .38s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
