/* =========================================================================
   Catering Firdaus — stylesheet
   Dark editorial system: pure black / near-black alternating sections,
   floating pill navigation, pill buttons, bordered cards, bold sans type.
   Accent kept in the brand's green (logo-matched), not neon.
   Mobile-first, RTL-aware.
   ========================================================================= */

:root {
  /* --- surfaces --- */
  --black: #000000;
  --surface: #0a0a0a;        /* alternating section tone */
  --card: #171717;           /* card / panel fill */
  --card-hover: #1e1e1e;

  /* --- brand green accent --- */
  --accent: #2fb469;
  --accent-bright: #45c47f;
  --accent-deep: #1c8f50;
  --on-accent: #06140c;      /* dark text that sits on accent fills */

  /* --- text --- */
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;

  /* --- shape --- */
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-lg: 20px;
  --btn-h: 48px;
  --btn-h-sm: 42px;

  --container: 1180px;
  --container-narrow: 760px;
  --section-y: 112px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-rtl { --font-sans: "Tajawal", "Inter", -apple-system, sans-serif; }

/* ---------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* stop iOS inflating text when the phone is rotated to landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* replace the default blue tap flash with a subtle brand-tinted one */
a, button { -webkit-tap-highlight-color: rgba(47, 180, 105, .18); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-sans); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--white);
}
p { margin: 0 0 1em; color: var(--text-muted); }
button { font: inherit; cursor: pointer; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* max() keeps the 24px gutter, but grows it clear of a notch in landscape */
.container {
  max-width: var(--container); margin: 0 auto; position: relative; z-index: 1;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* =========================================================================
   BUTTONS — one pill language for every control
   ========================================================================= */
.btn,
.lang-toggle,
.nav-toggle,
.menu-tab,
.footer-langs button,
.skip-link {
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  transition:
    transform .3s var(--ease),
    background-color .3s var(--ease),
    border-color .3s var(--ease),
    box-shadow .3s var(--ease),
    color .3s var(--ease);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h); padding: 0 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-lg { min-height: 52px; padding: 0 32px; font-size: 14.5px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: var(--on-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(47, 180, 105, .5); }

.btn-outline,
.btn-outline-light {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-strong);
  color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-outline:hover,
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 999;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 22px; font-weight: 600; font-size: 13px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .3em;
  font-size: 12px; font-weight: 600; margin-bottom: 18px; color: var(--accent);
}
.eyebrow-light { color: var(--accent); }

/* =========================================================================
   HEADER — floating pill, fixed over the hero
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: center;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
  padding-bottom: 0;
  background: none; border: none;
}
.header-inner {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  width: auto; max-width: calc(100% - 4px); margin: 0; height: auto;
  padding: 9px 10px 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, .55);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled .header-inner { background: rgba(0,0,0,.78); border-color: var(--line-strong); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-logo-img { height: 100%; width: auto; object-fit: contain; border-radius: 7px; }
.brand-logo-fallback {
  display: none; height: 40px; width: 40px; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: var(--accent);
  border: 1px solid var(--line-strong); border-radius: 50%;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 500; font-size: 13.5px; letter-spacing: 0;
  color: rgba(255,255,255,.72); position: relative; padding: 4px 0;
  transition: color .25s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  border-radius: 2px; background: var(--accent); transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--btn-h-sm); padding: 0 14px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-weight: 600; font-size: 12.5px; color: var(--white); letter-spacing: .04em;
}
.lang-toggle:hover { background: rgba(255,255,255,.12); border-color: var(--line-strong); }

.lang-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 182px;
  background: rgba(16, 16, 16, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.75); padding: 7px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 50;
}
body.is-rtl .lang-menu { right: auto; left: 0; }
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { margin: 2px 0; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 10px; border: none;
  min-height: 40px; padding: 0 12px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--white); text-align: start;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lang-menu button:hover { background: rgba(255,255,255,.07); }
.lang-menu li.is-active button { color: var(--accent); font-weight: 600; }
.lang-code { display: inline-block; width: 24px; font-weight: 700; color: var(--accent); font-size: 11.5px; }

.btn-nav-cta { display: none; min-height: var(--btn-h-sm); padding: 0 20px; font-size: 13px; }

.nav-toggle {
  width: var(--btn-h-sm); height: var(--btn-h-sm); flex-shrink: 0;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================================
   HERO — full-screen image, centred copy, header floats over it
   ========================================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--black);
}
.hero-media { position: absolute; inset: 0; background: var(--black); }
.hero-media-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.88) 100%);
}
.hero-placeholder {
  background:
    radial-gradient(circle at 24% 20%, rgba(47,180,105,.2), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(28,143,80,.16), transparent 58%),
    linear-gradient(165deg, #101010, #000 65%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 120px 0 96px; }
.hero-copy { max-width: 768px; margin: 0 auto; text-align: center; }
.hero-copy h1 {
  color: var(--white); font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 3.75rem); line-height: 1.04; letter-spacing: -.03em;
  margin-bottom: .5em;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; justify-content: center; }
.hero-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--text-muted); font-size: 13.5px; font-weight: 500;
}
.hero-phone svg { color: var(--accent); flex-shrink: 0; }
.hero-phone strong { color: var(--white); font-weight: 600; transition: color .25s var(--ease); }
.hero-phone:hover strong { color: var(--accent); }

/* ---------------------------------- Facts strip ---------------------------------- */
.facts-strip { background: var(--black); padding: 20px 0; border-top: 1px solid var(--line); }
.facts-strip-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.facts-strip-inner span { color: var(--text-faint); font-size: 12.5px; font-weight: 500; position: relative; }

/* ---------------------------------- Section shared ---------------------------------- */
section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: var(--container-narrow); margin-bottom: 56px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; }
.section-sub { color: var(--text-muted); font-size: 15px; margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------------------------- About ---------------------------------- */
.about { background: var(--surface); }
.about-inner { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.about-media {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; position: relative;
  border: 1px solid var(--line);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-placeholder { background: linear-gradient(155deg, #141414, #000 60%); }
.about-copy h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); }
.about-copy p { font-size: 16px; max-width: 46ch; }

.media-placeholder { position: absolute; inset: 0; display: none; }
.media-placeholder.show { display: block; }

/* ---------------------------------- Showcase ---------------------------------- */
.showcase { position: relative; padding: 0; height: 54vh; min-height: 320px; overflow: hidden; background: var(--black); }
.showcase img { width: 100%; height: 100%; object-fit: cover; }
.showcase-placeholder {
  background:
    radial-gradient(circle at 74% 32%, rgba(47,180,105,.16), transparent 58%),
    linear-gradient(155deg, #131313, #000 74%);
}
.showcase-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.85) 100%);
}
.showcase-caption {
  position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; margin: 0; padding: 0 24px;
  text-align: center; color: var(--white); font-size: 15px; font-weight: 500;
  letter-spacing: .04em;
}

/* ---------------------------------- Why choose us (cards) ---------------------------------- */
.why { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.why-card:hover { background: var(--card-hover); border-color: var(--line-strong); transform: translateY(-3px); }
.why-num { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 16px; letter-spacing: .06em; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: .5em; }
.why-card p { font-size: 14.5px; margin-bottom: 0; color: var(--text-muted); }

/* ---------------------------------- Menu ---------------------------------- */
.menu-section { background: var(--black); }
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.menu-tab {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h-sm); padding: 0 22px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
}
.menu-tab:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--line-strong); transform: translateY(-1px); }
.menu-tab.is-active {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: var(--on-accent); border-color: transparent;
}

.menu-photo {
  position: relative; width: 100%; aspect-ratio: 21/8; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 48px; background: var(--card); border: 1px solid var(--line);
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-photo-placeholder {
  background:
    radial-gradient(circle at 26% 32%, rgba(47,180,105,.18), transparent 58%),
    linear-gradient(150deg, #131313, #000 76%);
}

.menu-panels { max-width: var(--container-narrow); margin: 0 auto; }
.menu-category-label { text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.menu-row { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-row-label { display: flex; flex-direction: column; gap: 3px; }
.menu-row-name { font-size: 15.5px; font-weight: 600; color: var(--white); }
.menu-row-weight { font-size: 12px; color: var(--text-faint); font-weight: 500; }
.menu-row-dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(255,255,255,.2); transform: translateY(-5px); }
.menu-row-price { font-size: 15.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------------------------------- Weekly menu ---------------------------------- */
.weekly-section { background: var(--surface); }
.weekly-panel {
  max-width: var(--container-narrow); margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 40px clamp(20px, 5vw, 48px);
}
.weekly-group + .weekly-group { margin-top: 30px; }
.weekly-group-title { text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.weekly-bread { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------------------------------- Parties & events ---------------------------------- */
.events { background: var(--black); }
.events-inner { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.events-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--card);
}
.events-media img { width: 100%; height: 100%; object-fit: cover; }
/* No events photo supplied yet — this designed panel stands in for it.
   Drop assets/img/events.jpg in and it takes over automatically. */
.events-placeholder {
  background:
    radial-gradient(circle at 30% 26%, rgba(47,180,105,.2), transparent 56%),
    radial-gradient(circle at 78% 76%, rgba(28,143,80,.14), transparent 58%),
    linear-gradient(155deg, #141414, #000 68%);
}
.events-copy p { font-size: 16px; max-width: 46ch; }
.events-types {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px;
}
.events-type {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--card); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.events-type:hover { background: var(--card-hover); border-color: var(--line-strong); color: var(--white); }
.events-type .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------------------------------- Event inquiry form ---------------------------------- */
.event-inquiry { background: var(--surface); }
.event-form-panel {
  max-width: var(--container-narrow); margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 40px clamp(20px, 5vw, 48px);
}
.event-form { display: grid; grid-template-columns: 1fr; gap: 22px; }
/* the display rule above outranks the UA [hidden] rule — restore it */
.event-form[hidden] { display: none; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-label {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: .01em;
}
.form-optional { font-size: 11.5px; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }

.form-control {
  width: 100%; min-height: var(--btn-h); padding: 12px 16px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; line-height: 1.5;
  color: var(--white); background: rgba(255,255,255,.05);
  border: 1px solid var(--line); border-radius: var(--radius-card);
  /* keeps the native date picker and its calendar icon on the dark palette */
  color-scheme: dark;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:hover { border-color: var(--line-strong); }
.form-control:focus {
  outline: none; background: rgba(255,255,255,.08);
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,180,105,.16);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* chevron matches the language switcher's */
.form-select {
  padding-inline-end: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232fb469' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 10px 6px;
}
body.is-rtl .form-select { background-position: left 18px center; }
.form-select option { background: #121212; color: var(--white); }

.form-control.has-error { border-color: #e2564d; }
.form-control.has-error:focus { box-shadow: 0 0 0 3px rgba(226,86,77,.18); }
.form-error { margin: 0; font-size: 12.5px; font-weight: 500; color: #ef7970; }

.form-actions { display: flex; margin-top: 2px; }
.form-actions .btn { width: 100%; }

/* ---- success panel: the composed enquiry, ready to send ---- */
.event-form-success h3 { font-size: 19px; margin-bottom: .4em; }
.event-form-success > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; }
.event-summary {
  margin: 0 0 24px; padding: 20px clamp(16px, 3vw, 22px);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: var(--radius-card);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.75;
  color: var(--text-muted); white-space: pre-wrap; overflow-wrap: anywhere;
  text-align: start;
}
.event-success-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.event-success-actions .btn { flex: 1 1 auto; }
.event-success-actions svg { flex-shrink: 0; }
.event-reset {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px;
  padding: 0; border: none; background: none;
  font-size: 13.5px; font-weight: 600; color: var(--accent);
  text-decoration: underline; text-underline-offset: 4px;
}
.event-reset:hover { color: var(--accent-bright); }

/* ---------------------------------- Contact ---------------------------------- */
.contact { background: var(--black); }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.contact-copy h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.contact-copy p { color: var(--text-muted); font-size: 15.5px; max-width: 48ch; }
.contact-facts { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.contact-facts li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--text-muted); }
.contact-facts .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.contact-phones-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 28px clamp(20px, 4vw, 32px);
}
.contact-phones { display: flex; flex-direction: column; gap: 0; }
.contact-fine { font-size: 12.5px; color: var(--text-faint); margin: 18px 0 0; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--black); color: var(--text-muted); padding: 76px 0 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand .brand-logo { height: 62px; }
.footer-brand .brand-logo-fallback { height: 62px; width: 62px; font-size: 25px; }
.footer-tagline { font-size: 13px; margin: 0; color: var(--text-faint); }
.footer-col h4 { color: var(--white); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 11px; color: var(--text-muted); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-phones { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-langs button {
  border: 1px solid var(--line); min-height: 36px; padding: 0 15px;
  background: rgba(255,255,255,.05); color: var(--text-muted);
  font-size: 12.5px; font-weight: 600;
}
.footer-langs button:hover { background: rgba(255,255,255,.1); color: var(--white); }
.footer-langs button.is-active { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.footer-bottom { padding: 22px 24px 26px; font-size: 12.5px; text-align: center; color: var(--text-faint); }

/* ---------------------------------- Mobile call bar ---------------------------------- */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: var(--on-accent); font-weight: 600; font-size: 14px;
  /* sit above the iPhone home indicator instead of under it */
  min-height: calc(54px + env(safe-area-inset-bottom));
  padding: 0 16px env(safe-area-inset-bottom);
}

/* ---------------------------------- Phone rows (JS-rendered) ---------------------------------- */
.phone-row {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 700; color: var(--white); letter-spacing: -.01em;
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.phone-row:first-child { padding-top: 0; }
.phone-row:last-child { border-bottom: none; padding-bottom: 0; }
.phone-row svg { color: var(--accent); flex-shrink: 0; transition: transform .25s var(--ease); }
.phone-row:hover { color: var(--accent); }
.phone-row-footer {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 0; border: none;
}
.phone-row-footer:hover { color: var(--accent); }

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 900px) {
  .header-inner { width: 100%; justify-content: space-between; padding: 8px 8px 8px 14px; }
  /* Dropdown hangs from the pill itself — the pill's backdrop-filter makes it
     the containing block, so anchor to it rather than fighting that. */
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12, 12, 12, .97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: var(--radius-card);
    padding: 8px 16px; max-height: calc(100vh - 120px); overflow-y: auto;
    box-shadow: 0 30px 60px -22px rgba(0,0,0,.8);
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
  .btn-nav-cta { display: none !important; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }

  section { padding: 80px 0; }
  .hero-inner { padding: 110px 0 84px; }
  .why-card { padding: 26px 22px; }

  /* ---- touch ergonomics: every tappable thing gets a ~44px target ---- */
  .hero-phone { min-height: 44px; padding: 4px 8px; }

  .footer-col a {
    min-height: 44px; display: flex; align-items: center;
    margin-bottom: 0; font-size: 15px;
  }
  .footer-phones { gap: 0; align-self: stretch; }
  .phone-row-footer { min-height: 44px; font-size: 15px; }

  .menu-tab { min-height: 44px; }
  .lang-menu button { min-height: 44px; }
  .events-type { min-height: 44px; }
  .form-control { min-height: 48px; font-size: 16px; }
  .event-success-actions .btn { flex: 1 1 100%; }
  .footer-langs button { min-height: 44px; padding: 0 18px; }
  .lang-toggle, .nav-toggle { min-height: 44px; }
  .nav-toggle { width: 44px; height: 44px; }
  .brand-logo, .brand-logo-fallback { height: 44px; }
  .brand-logo-fallback { width: 44px; }

  /* small labels are hard to read on a phone — nudge them up */
  .weekly-group-title,
  .menu-category-label { font-size: 12px; }
  .lang-code { font-size: 12px; }
  .facts-strip-inner span { font-size: 13px; }
  .menu-row-weight { font-size: 12.5px; }
}

/* Landscape phones: a 100vh hero would need two screens of scrolling
   before any content appears — shrink it to fit the short viewport. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero-inner { padding: 96px 0 40px; }
  .hero-copy h1 { font-size: 1.9rem; margin-bottom: .35em; }
  .hero-ctas { margin: 20px 0 16px; }
  .showcase { height: 70vh; min-height: 220px; }
  section { padding: 56px 0; }
}

@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .btn-nav-cta { display: inline-flex; }
  /* never let a long label break a nav item over two lines */
  .main-nav a { white-space: nowrap; }
}

/* Six items only just clear the pill at the narrow end of the desktop range —
   tighten the spacing there instead of letting the header grow to two rows. */
@media (min-width: 901px) and (max-width: 1023px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 13px; }
}

@media (min-width: 640px) {
  .facts-strip-inner { flex-direction: row; justify-content: center; gap: 0; }
  .facts-strip-inner span:not(:last-child)::after {
    content: "·"; display: inline-block; color: rgba(255,255,255,.28);
    margin: 0 16px; vertical-align: middle;
  }
}

/* Stacked layout: the portrait About crop becomes far too tall when it spans
   the full width, so switch it to a landscape crop until it sits in a column. */
@media (max-width: 819px) {
  .about-media { aspect-ratio: 16 / 10; }
}

/* A 21:8 banner is a thin letterbox slit on a phone — give it more height. */
@media (max-width: 700px) {
  .menu-photo { aspect-ratio: 16 / 9; }
}

/* Large phone / small tablet: two columns is the honest fit here — three
   squeezes the card text to ~176px, which reads badly. */
@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .event-form { grid-template-columns: repeat(2, 1fr); }
  .form-field-wide { grid-column: 1 / -1; }
  .form-actions .btn { width: auto; min-width: 220px; }
}

@media (min-width: 820px) {
  .about-inner { grid-template-columns: .85fr 1.15fr; }
  body.is-rtl .about-inner { direction: rtl; }
  .contact-inner { grid-template-columns: 1.15fr .85fr; }
  .events-inner { grid-template-columns: 1.05fr .95fr; }
  body.is-rtl .events-inner { direction: rtl; }
}

@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* Very large displays: let the measure breathe rather than stranding the
   content in a narrow column on a 1440p+ monitor. */
@media (min-width: 1600px) {
  :root { --container: 1320px; --section-y: 128px; }
  .hero-copy { max-width: 860px; }
}

/* ---------------------------------- RTL ---------------------------------- */
body.is-rtl .main-nav a::after { left: auto; right: 0; }
body.is-rtl .lang-code { margin-left: 4px; }
body.is-rtl .skip-link { left: auto; right: 16px; }

/* ---------------------------------- Reduced motion ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
