/* ==========================================================================
   RMB Tasheel — Redesign 2026
   Shared design system, layout and animation layer
   ========================================================================== */

/* ---------------------------------- Reset --------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

:root {
  /* Brand — black scale */
  --brand-950: #050505;
  --brand-900: #0c0c0c;
  --brand-800: #151515;
  --brand-700: #1e1e1e;
  --brand-600: #2a2a2a;
  --brand-500: #3a3a3a;
  --brand-400: #575757;
  --brand-100: #efefef;

  --gold-700: #a67c1f;
  --gold-600: #bf942f;
  --gold-500: #d0a63f;
  --gold-400: #e0be6a;
  --gold-100: #f7edd0;

  /* Neutrals */
  --ink: #0a0a0a;
  --ink-2: #1b1b1b;
  --muted: #666666;
  --muted-2: #8f8f8f;
  --bg: #ffffff;
  --bg-2: #f6f4ee;
  --surface: #ffffff;
  --line: rgba(10, 10, 10, 0.10);
  --line-strong: rgba(10, 10, 10, 0.18);

  /* Support */
  --danger: #c0392b;
  --ok: #1f7a5a;

  /* Shape */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 6px 20px -12px rgba(0, 0, 0, 0.30);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.45);

  --container: 1200px;
  --header-h: 76px;

  --font-ar: "Tajawal", "Cairo", "Segoe UI", system-ui, sans-serif;
  --font-en: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

html[lang="ar"] { --font: var(--font-ar); }
html[lang="en"] { --font: var(--font-en); }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle ambient texture so the page never feels flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48rem 48rem at 110% -10%, rgba(0, 0, 0, 0.05), transparent 60%),
    radial-gradient(40rem 40rem at -10% 110%, rgba(208, 166, 63, 0.12), transparent 60%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold-400); color: var(--brand-950); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ------------------------------- Typography ------------------------------- */
h1, h2, h3, h4, h5 {
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 62ch;
}

.gradient-text {
  background: linear-gradient(100deg, var(--gold-400), #fff3d0 40%, var(--gold-500) 75%, var(--gold-400));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* --------------------------------- Layout --------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: linear-gradient(180deg, transparent, rgba(239, 235, 224, 0.7) 12%, rgba(239, 235, 224, 0.7) 88%, transparent); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.02rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700));
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }

.section-head h2 { margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); }

/* --------------------------------- Buttons -------------------------------- */
.btn {
  --btn-bg: linear-gradient(120deg, var(--gold-500), var(--gold-600));
  --btn-fg: #0a0a0a;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.6rem;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  box-shadow: 0 14px 30px -16px rgba(166, 124, 31, 0.45);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}
[dir="rtl"] .btn::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.6); }
.btn:hover::after { transform: translateX(130%); }
[dir="rtl"] .btn:hover::after { transform: translateX(-130%); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn--gold { --btn-bg: linear-gradient(120deg, var(--gold-500), var(--gold-600)); --btn-fg: #0a0a0a; box-shadow: 0 16px 34px -18px rgba(166, 124, 31, 0.9); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #0a0a0a; border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn--ghost:hover { --btn-bg: #0a0a0a; --btn-fg: #fff; border-color: #0a0a0a; }
.btn--light { --btn-bg: rgba(255, 255, 255, 0.12); --btn-fg: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); box-shadow: none; }
.btn--light:hover { --btn-bg: rgba(255, 255, 255, 0.22); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold-700);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover { gap: 0.8rem; color: #0a0a0a; }
.link-arrow:hover svg { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }

[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

/* --------------------------- Scroll progress bar -------------------------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold-500), var(--brand-400), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s linear;
}
[dir="rtl"] .scroll-progress { transform-origin: right; }

/* -------------------------------- Preloader ------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--brand-950);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  position: relative;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: #fff;
}
.preloader__mark::after {
  content: "";
  position: absolute;
  inset-block-end: -14px;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  animation: loader-sweep 1.1s var(--ease-soft) infinite;
  transform: scaleX(0.3);
}
@keyframes loader-sweep {
  0% { transform: scaleX(0.1); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.1); opacity: 0.4; }
}

/* --------------------------------- Topbar --------------------------------- */
.topbar {
  position: relative;
  z-index: 60;
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding-block: 0.35rem;
}
.topbar__group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.25s; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 15px; height: 15px; opacity: 0.8; }
.topbar__socials { display: flex; gap: 0.55rem; }
.topbar__socials a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, transform 0.25s;
}
.topbar__socials a:hover { background: var(--gold-500); color: var(--brand-950); transform: translateY(-2px); }
.topbar__socials svg { width: 14px; height: 14px; opacity: 1; }

/* --------------------------------- Header --------------------------------- */
.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease);
}
.header.is-scrolled .header__inner { min-height: 64px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.logo__img {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #ffffff, #f3efe2);
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.14), 0 0 0 5px rgba(208, 166, 63, 0.1), 0 10px 20px -14px rgba(0, 0, 0, 0.55);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), transform 0.4s var(--ease);
}
.logo:hover .logo__img { transform: rotate(-4deg) scale(1.04); }
.header.is-scrolled .logo__img { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text b { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.logo__text span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* Nav */
.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 0.3rem; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-block-end: 0.28rem;
  inset-inline: 0.85rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--brand-500));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--brand-700); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-700); }

.header__actions { display: flex; align-items: center; gap: 0.7rem; flex: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.lang-toggle svg { width: 15px; height: 15px; }
.lang-toggle:hover { background: var(--brand-700); border-color: transparent; color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; }
.mobile-nav__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.mobile-nav__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(86vw, 380px);
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
[dir="rtl"] .mobile-nav__panel { transform: translateX(-100%); }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-nav__close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.mobile-nav__close svg { width: 18px; height: 18px; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s, padding-inline 0.25s;
}
.mobile-nav__link:hover,
.mobile-nav__link.is-active { background: var(--brand-100); color: var(--brand-800); padding-inline-start: 1.3rem; }
.mobile-nav__link svg { width: 16px; height: 16px; opacity: 0.5; }
[dir="rtl"] .mobile-nav__link svg { transform: scaleX(-1); }
.mobile-nav__cta { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* --------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(208, 166, 63, 0.28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(208, 166, 63, 0.18), transparent 60%),
    linear-gradient(160deg, #0a0a0a, #1a1408 55%, #0f0f0f);
  color: #fff;
  isolation: isolate;
}
.hero--home { min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero--page { padding-block: clamp(4rem, 9vw, 7rem); }

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
}

/* Animated aurora blobs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: orb-float 18s var(--ease-soft) infinite alternate;
}
.orb--1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(208, 166, 63, 0.45), transparent 70%); inset-block-start: -80px; inset-inline-end: -60px; }
.orb--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(208, 166, 63, 0.55), transparent 70%); inset-block-end: -160px; inset-inline-start: -120px; animation-delay: -6s; }
.orb--3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%); inset-block-start: 40%; inset-inline-start: 45%; animation-delay: -11s; }

@keyframes orb-float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -40px, 0) scale(1.12); }
  100% { transform: translate3d(-25px, 25px, 0) scale(0.95); }
}

/* Geometric floating outlines */
.shape-deco {
  position: absolute;
  z-index: -1;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 26%;
  pointer-events: none;
  animation: spin-slow 26s linear infinite;
}
.shape-deco--a { width: 120px; height: 120px; inset-block-start: 18%; inset-inline-end: 14%; }
.shape-deco--b { width: 70px; height: 70px; inset-block-end: 20%; inset-inline-start: 12%; border-radius: 50%; animation-duration: 18s; animation-direction: reverse; }
.shape-deco--c { width: 46px; height: 46px; inset-block-start: 64%; inset-inline-end: 32%; border-radius: 10px; animation-duration: 14s; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero__inner { position: relative; padding-block: clamp(3rem, 7vw, 5rem); width: 100%; }
.hero__content { max-width: 760px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-100);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  margin-bottom: 1.4rem;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(224, 190, 106, 0.6);
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(224, 190, 106, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(224, 190, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 190, 106, 0); }
}

.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .line { display: block; }
.hero__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero__rotator {
  display: inline-flex;
  align-items: center;
  min-height: 1.4em;
  font-weight: 800;
  color: var(--gold-400);
}
.hero__rotator .word {
  display: inline-block;
  animation: word-in 0.6s var(--ease) both;
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(0.5em) rotateX(-40deg); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
[dir="rtl"] .hero__scroll { letter-spacing: 0; }
.hero__scroll .mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: "";
  position: absolute;
  inset-block-start: 7px;
  inset-inline-start: 50%;
  width: 4px; height: 7px;
  margin-inline-start: -2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.75);
  animation: scroll-wheel 1.8s var(--ease-soft) infinite;
}
@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Hero side card */
.hero__aside {
  position: absolute;
  inset-block-end: 12%;
  inset-inline-end: 0;
  width: 280px;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 0.9rem;
  animation: float-y 6s var(--ease-soft) infinite alternate;
}
@keyframes float-y { to { transform: translateY(-14px); } }
.hero__aside .row { display: flex; align-items: center; gap: 0.7rem; }
.hero__aside .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(208, 166, 63, 0.18); color: var(--gold-400); flex: none; }
.hero__aside .ic svg { width: 18px; height: 18px; }
.hero__aside b { display: block; font-size: 0.92rem; }
.hero__aside small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.78rem; }

/* Hero aside slider */
.hero__aside.hero__slider { padding: 0; overflow: hidden; }
.hero__slides { position: relative; min-height: 220px; }
.hero__slide {
  position: absolute;
  inset: 0;
  padding: 1.4rem 1.4rem 2.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  display: grid;
  align-content: start;
}
.hero__slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.hero__slide-inner { display: grid; gap: 0.9rem; }
.hero__slide-inner--app { gap: 0.55rem; }
.hero__app-kicker { display: inline-flex; align-items: center; width: fit-content; font-size: 0.72rem; font-weight: 700; color: #0a0a0a; background: var(--gold-500); padding: 0.2rem 0.55rem; border-radius: 999px; }
.hero__app-title { color: #fff; font-size: 1.05rem; line-height: 1.3; margin: 0; }
.hero__app-text { color: rgba(255,255,255,0.72); font-size: 0.85rem; line-height: 1.6; margin: 0; }
.app-badges--hero { margin-top: 0.35rem; gap: 0.45rem; }
.app-badges--hero .store-badge--sm { flex: 1 1 auto; background: rgba(255,255,255,0.1); }
.hero__slider-dots {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding-inline: 0.8rem;
  z-index: 2;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: width .25s var(--ease), background .25s;
}
.hero__dot.is-active { width: 22px; background: var(--gold-500); }

/* -------------------------------- Page hero ------------------------------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { position: relative; max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, 0.78); font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 60ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { opacity: 0.5; }
[dir="rtl"] .breadcrumb .sep { transform: scaleX(-1); }

/* ---------------------------------- Stats --------------------------------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}
.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
  position: relative;
  transition: background 0.3s;
}
.stat:hover { background: #faf8f2; }
.stat__num {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__num .suffix { color: var(--gold-600); -webkit-text-fill-color: var(--gold-600); }
.stat__label { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* ---------------------------------- Cards --------------------------------- */
.grid { display: grid; gap: 1.3rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--brand-500));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-100), #fff);
  color: var(--brand-700);
  border: 1px solid var(--line);
  margin-bottom: 1.1rem;
  transition: transform 0.5s var(--ease), background 0.5s, color 0.5s;
}
.service-card__icon svg { width: 27px; height: 27px; }
.service-card:hover .service-card__icon {
  transform: rotate(-6deg) scale(1.06);
  background: linear-gradient(145deg, var(--brand-700), var(--brand-500));
  color: #fff;
}
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.18rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; margin-bottom: 1.1rem; }
.tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
}
.service-card .link-arrow { font-size: 0.9rem; }

/* Feature card (why choose us) */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__ic {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand-700);
}
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* ---------------------------------- Split --------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.split__media { position: relative; }
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(208, 166, 63, 0.28), transparent 60%),
    linear-gradient(150deg, var(--brand-800), var(--brand-950));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 60% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 75%);
}
.media-frame--photo { aspect-ratio: 785 / 873; }
.media-frame--photo::after {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6));
  mask-image: none;
  -webkit-mask-image: none;
  pointer-events: none;
}
.media-frame__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.4s var(--ease);
}
.split__media:hover .media-frame__photo { transform: scale(1.055); }
.media-frame__seal {
  width: min(58%, 240px);
  height: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.16);
  animation: float-y 7s var(--ease-soft) infinite alternate;
}
.media-frame__emblem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.media-frame__emblem .crest {
  width: 110px; height: 110px;
  border-radius: 30px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 2rem; font-weight: 800;
  margin-inline: auto;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
  animation: float-y 7s var(--ease-soft) infinite alternate;
}
.media-frame__emblem b { display: block; font-size: 1.15rem; }
.media-frame__emblem span { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin-top: 0.25rem; }

.floating-card {
  position: absolute;
  inset-block-end: -18px;
  inset-inline-start: -18px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  animation: float-y 5s var(--ease-soft) infinite alternate;
}
.floating-card--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #0a0a0a; border: none; inset-block-end: auto; inset-block-start: -16px; inset-inline-start: auto; inset-inline-end: -14px; }
.floating-card__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); flex: none; }
.floating-card--gold .floating-card__ic { background: rgba(10, 10, 10, 0.12); color: #0a0a0a; }
.floating-card svg { width: 20px; height: 20px; }
.floating-card b { display: block; font-size: 0.95rem; line-height: 1.2; }
.floating-card small { display: block; color: var(--muted); font-size: 0.78rem; }
.floating-card--gold small { color: rgba(10, 10, 10, 0.7); }

.split__body h2 { margin-bottom: 1rem; }
.split__body p { color: var(--muted); margin-bottom: 1rem; }
.check-list { display: grid; gap: 0.7rem; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.96rem; color: var(--ink-2); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--brand-500); margin-top: 0.15rem; }

/* -------------------------------- Timeline -------------------------------- */
.timeline { position: relative; display: grid; gap: 1.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 15px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-400), var(--brand-400), transparent);
}
[dir="rtl"] .timeline::before { inset-inline-start: auto; inset-inline-end: 15px; }
.timeline__item { position: relative; padding-inline-start: 3rem; }
[dir="rtl"] .timeline__item { padding-inline-start: 0; padding-inline-end: 3rem; }
.timeline__dot {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--brand-400);
  color: var(--brand-700);
  font-size: 0.72rem; font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg);
}
[dir="rtl"] .timeline__dot { inset-inline-start: auto; inset-inline-end: 0; }
.timeline__item h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.timeline__item .date { font-size: 0.8rem; font-weight: 700; color: var(--gold-600); }
.timeline__item p { color: var(--muted); font-size: 0.92rem; }

/* --------------------------------- Events --------------------------------- */
.tabs { display: inline-flex; gap: 0.4rem; padding: 0.35rem; background: var(--bg-2); border-radius: 999px; margin-bottom: 2rem; }
.tab {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.tab.is-active { background: var(--surface); color: var(--brand-800); box-shadow: var(--shadow-sm); }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.event-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-700), var(--brand-950));
}
.event-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 300px at 30% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(300px 200px at 90% 90%, rgba(208, 166, 63, 0.45), transparent 60%);
  transition: transform 0.7s var(--ease);
}
.event-card:hover .event-card__media::before { transform: scale(1.12); }
.event-card__media .glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
}
.event-card__media .glyph svg { width: 46px; height: 46px; opacity: 0.85; }
.event-card__year {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold-100);
  backdrop-filter: blur(4px);
}
.event-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.event-card__body h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.event-card__body p { color: var(--muted); font-size: 0.9rem; }
.event-card__date { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--gold-600); margin-top: 0.7rem; }
.event-card__date svg { width: 14px; height: 14px; }

/* --------------------------------- Quote ---------------------------------- */
.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  inset-block-start: -1.5rem;
  inset-inline-start: 1.5rem;
  font-size: 10rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(208, 166, 63, 0.15);
  pointer-events: none;
}
.quote-card p { font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.8; color: var(--ink-2); position: relative; }
.quote-card p + p { margin-top: 1rem; }
.quote-sign { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.quote-sign__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-600), var(--brand-900));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  flex: none;
}
.quote-sign b { display: block; }
.quote-sign span { display: block; color: var(--muted); font-size: 0.88rem; }

/* --------------------------------- CTA band ------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(2.4rem, 6vw, 4.5rem);
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(208, 166, 63, 0.38), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(208, 166, 63, 0.22), transparent 60%),
    linear-gradient(150deg, #14110a, #0a0a0a);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 0.7rem; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.cta-band .orb { z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }

/* -------------------------------- Contact --------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.info-card__ic {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand-100), #fff);
  color: var(--brand-700);
  border: 1px solid var(--line);
}
.info-card__ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.93rem; display: block; }
.info-card a:hover { color: var(--brand-600); }
.info-stack { display: grid; gap: 0.9rem; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 28px 60px -40px rgba(0,0,0,0.35);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(208, 166, 63, 0.2);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .error-msg { color: var(--danger); font-size: 0.78rem; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .error-msg { display: block; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(208, 166, 63, 0.14);
  color: var(--ok);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1rem;
}
.form-success.is-visible { display: flex; animation: pop-in 0.4s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

.map-card {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(10, 10, 10, 0.04), rgba(10, 10, 10, 0.04)),
    repeating-linear-gradient(0deg, var(--bg-2) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, var(--bg-2) 0 1px, transparent 1px 46px),
    var(--bg);
  min-height: 220px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.map-card__pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(145deg, var(--brand-700), var(--brand-950)); display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); animation: pin-bounce 2.4s var(--ease-soft) infinite; }
.map-card__pin svg { transform: rotate(45deg); width: 24px; height: 24px; color: #fff; }
@keyframes pin-bounce { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-8px); } }
.map-card b { display: block; margin-top: 1rem; }
.map-card span { color: var(--muted); font-size: 0.88rem; }

/* ---------------------------------- Auth ---------------------------------- */
.auth-wrap { max-width: 560px; margin-inline: auto; }
.auth-card { width: 100%; }
.auth-switch a { color: var(--gold-700); font-weight: 700; }
.auth-switch a:hover { color: #0a0a0a; }
.form-alert {
  display: none;
  margin: 0.2rem 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-alert.is-visible { display: block; }
.form-alert.is-error { background: rgba(192, 57, 43, 0.1); color: #b03528; border: 1px solid rgba(192, 57, 43, 0.18); }
.form-alert.is-success { background: rgba(208, 166, 63, 0.14); color: #7a5b12; border: 1px solid rgba(208, 166, 63, 0.28); }
.auth-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.account-profile { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.4rem; }
.account-profile h2 { margin-bottom: 0; }
.account-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: linear-gradient(145deg, #0a0a0a, #1f1f1f);
  color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em;
  border: 2px solid rgba(208, 166, 63, 0.55);
  box-shadow: 0 10px 24px -16px rgba(0,0,0,0.6);
  flex: none;
}
.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: linear-gradient(145deg, #0a0a0a, #2a2a2a);
  color: var(--gold-400); font-weight: 800; font-size: 0.68rem;
  border: 1px solid rgba(208, 166, 63, 0.45);
  margin-inline-end: 0.45rem;
  vertical-align: middle;
}
.account-details { display: grid; gap: 0.75rem; margin: 1.2rem 0 0.4rem; }
.account-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, var(--bg-2)); }
.account-row span { color: var(--muted); font-size: 0.9rem; }
.account-row b { font-size: 0.98rem; }
.nav-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.nav-auth:hover { background: var(--brand-100); color: #0a0a0a; }
@media (max-width: 1100px) {
  .header__actions .nav-auth { display: none; }
}

/* -------------------------------- Footer ---------------------------------- */
.footer {
  position: relative;
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 166, 63, 0.6), transparent);
}
.footer__glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 166, 63, 0.18), transparent 70%); inset-block-end: -260px; inset-inline-end: -100px; pointer-events: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  position: relative;
}
.footer .logo__text b { color: #fff; }
.footer .logo__text span { color: rgba(255, 255, 255, 0.55); }
.footer .logo__img { background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 6px rgba(208, 166, 63, 0.16), 0 16px 34px -20px #000; }
.footer__about p { margin-top: 1.1rem; font-size: 0.9rem; max-width: 34ch; }
.footer__socials { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.25s, transform 0.25s, color 0.25s;
}
.footer__socials a:hover { background: var(--gold-500); color: var(--brand-950); transform: translateY(-3px); }
.footer__socials svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.9rem; transition: color 0.25s, padding-inline 0.25s; display: inline-flex; align-items: center; gap: 0.4rem; }
.footer__links a::before { content: ""; width: 0; height: 1px; background: var(--gold-400); transition: width 0.3s var(--ease); }
.footer__links a:hover { color: var(--gold-400); }
.footer__links a:hover::before { width: 12px; }
.footer__contact { display: grid; gap: 0.8rem; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-400); margin-top: 0.15rem; }
.footer__bottom {
  margin-top: 2.5rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.75); }
.footer__bottom a:hover { color: var(--gold-400); }

/* ------------------------------- Back to top ------------------------------ */
.to-top {
  position: fixed;
  inset-block-end: 1.6rem;
  inset-inline-end: 1.6rem;
  z-index: 70;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-800);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease), background 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ------------------------------ App / download ----------------------------- */
.app-banner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #fff 0%, #fff8e8 55%, #f6ecd3 100%);
  border: 1px solid rgba(208, 166, 63, 0.28);
  box-shadow: 0 30px 70px -40px rgba(10,10,10,0.35);
  position: relative;
  overflow: hidden;
}
.app-banner::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  inset-inline-end: -80px; inset-block-start: -120px;
  background: radial-gradient(circle, rgba(208,166,63,0.25), transparent 70%);
  pointer-events: none;
}
.app-banner__content .eyebrow { margin-bottom: 0.5rem; }
.app-banner__content h2 { margin-bottom: 0.7rem; }
.app-banner__content p { color: var(--ink-soft); margin-bottom: 1.25rem; max-width: 60ch; }
.app-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: stretch; }
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  padding-inline-end: 2.6rem;
  border-radius: 14px;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px -16px rgba(0,0,0,0.6);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  min-width: 190px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(0,0,0,0.7); background: #141414; }
.store-badge__ic { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; flex: none; }
.store-badge__ic svg { width: 26px; height: 26px; }
.store-badge__txt { display: grid; line-height: 1.1; }
.store-badge__txt small { font-size: 0.7rem; opacity: 0.8; font-weight: 500; }
.store-badge__txt b { font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; }
.store-badge__soon {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--gold-500);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.app-banner__visual { display: flex; justify-content: center; position: relative; z-index: 1; }
.app-phone {
  width: 170px; height: 300px;
  border-radius: 28px;
  background: #0a0a0a;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45), inset 0 0 0 2px rgba(255,255,255,0.08);
  transform: rotate(-4deg);
}
.app-phone__screen {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf6, #f3e7c7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  color: #0a0a0a;
}
.app-phone__screen img { width: 54px; height: 54px; object-fit: contain; }
.app-phone__screen span { font-weight: 800; font-size: 0.95rem; }
.app-phone__screen small { font-size: 0.75rem; color: #5a4a20; font-weight: 600; }

.footer__app { margin-top: 1.1rem; }
.footer__app-title { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.app-badges--sm { gap: 0.5rem; }
.store-badge--sm { min-width: 0; padding: 0.45rem 0.7rem; gap: 0.45rem; border-radius: 10px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); box-shadow: none; padding-inline-end: 0.7rem; }
.store-badge--sm:hover { background: rgba(255,255,255,0.14); }
.store-badge--sm .store-badge__txt small { font-size: 0.65rem; }
.store-badge--sm .store-badge__txt b { font-size: 0.85rem; }
[dir="rtl"] .app-phone { transform: rotate(4deg); }

@media (max-width: 900px) {
  .app-banner { grid-template-columns: 1fr; }
  .app-banner__visual { order: -1; }
  .app-phone { transform: none; width: 150px; height: 260px; }
}

/* --------------------------- Scroll reveal engine ------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="fade"] { transform: none; }
[dir="rtl"] [data-reveal="left"] { transform: translateX(46px); }
[dir="rtl"] [data-reveal="right"] { transform: translateX(-46px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger helper */
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ------------------------------- Responsive ------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .header__actions .btn { display: none; }
  .hero--home { display: block; }
  .hero__aside {
    position: relative;
    inset: auto;
    display: grid;
    width: min(420px, calc(100% - 2rem));
    margin: 0 auto 2.5rem;
    animation: none;
    z-index: 2;
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__group--hours { display: none; }
  .topbar__inner { justify-content: center; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero--page { padding-block: 3rem; }
  .floating-card { inset-inline-start: 12px; }
  .floating-card--gold { inset-inline-end: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { justify-content: center; text-align: center; }
  .to-top { inset-block-end: 1rem; inset-inline-end: 1rem; }
}

/* --------------------------- Reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ------------------- Ads slide inside the hero card ---------------------- */
.hero__slide-inner--ad { gap: 0.5rem; }
.hero__ad-media {
  position: relative;
  display: block;
  margin: 0;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero__ad-media img,
.hero__ad-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-soft);
}
.hero__ad-media:hover img,
.hero__ad-media:hover video { transform: scale(1.04); }
.hero__ad-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.38));
  pointer-events: none;
}
.hero__ad-kicker {
  position: absolute;
  inset-block-start: 0.4rem;
  inset-inline-start: 0.4rem;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--gold-500);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
[dir="rtl"] .hero__ad-kicker { letter-spacing: 0; }
.hero__ad-title {
  position: absolute;
  inset-inline: 0.55rem;
  inset-block-end: 0.45rem;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
}
.hero__ad-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.79rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__ad-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 700;
}
.hero__ad-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.hero__ad-link:hover svg { transform: translateX(3px); }
[dir="rtl"] .hero__ad-link svg { transform: scaleX(-1); }
[dir="rtl"] .hero__ad-link:hover svg { transform: scaleX(-1) translateX(3px); }