/* =============================================================================
   ALZAIDIALEPO — luxury car rental
   Black & gold. Logical properties throughout so Arabic (RTL) mirrors cleanly.
   ============================================================================= */

:root {
  --ink: #07070a;
  --ink-2: #0d0d11;
  --ink-3: #14141a;
  --line: rgba(201, 169, 106, .18);
  --line-soft: rgba(255, 255, 255, .07);
  --gold: #c9a96a;
  --gold-hi: #ecd9a8;
  --gold-lo: #8f7338;
  --gold-grad: linear-gradient(135deg, #f2e3bd 0%, #c9a96a 45%, #8f7338 100%);
  --text: #f3efe7;
  --muted: #a8a196;
  --faint: #6f6a62;
  --wa: #25d366;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 2px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

html[lang="ar"] {
  --serif: "Amiri", "Cormorant Garamond", serif;
  --sans: "Tajawal", "Inter", sans-serif;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

/* no background on body: it would paint over the fixed .backdrop (z-index -1) */
body {
  margin: 0;
  color: var(--text);
  font: 300 16px/1.7 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-size: 17px; font-weight: 400; }

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 14px; height: 14px; }

/* ------------------------------------------------------------ backdrop --- */

.backdrop {
  position: fixed; inset: 0; z-index: -1;
  background: url("../assets/img/backdrop.jpg") center / cover no-repeat var(--ink);
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,.55), rgba(7,7,10,.35) 50%, rgba(7,7,10,.7));
}

/* ------------------------------------------------------------- curtain --- */

.curtain {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--ink);
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}
.curtain img { width: 96px; height: auto; animation: breathe 2.4s ease-in-out infinite; }
.curtain-line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.curtain-line::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); transform: translateX(-100%); animation: sweep 1.4s var(--ease) infinite; }
.curtain.is-done { opacity: 0; visibility: hidden; }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes sweep { to { transform: translateX(100%); } }

/* -------------------------------------------------------------- header --- */

.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  height: var(--header-h);
  transition: border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
/* the blur lives on a pseudo-element: a backdrop-filter on .header itself
   would become the containing block of the fixed mobile menu and trap it */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 7, 10, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity .5s var(--ease);
}
.header.is-solid::before { opacity: 1; }
.header.is-solid { border-bottom-color: var(--line-soft); }
.header-inner {
  height: 100%;
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Cormorant Garamond", serif; font-size: 19px; letter-spacing: .28em; color: var(--gold-hi); }
.brand-sub { font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
html[lang="ar"] .brand-sub { letter-spacing: 0; font-size: 11px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav > a:not(.btn) {
  white-space: nowrap;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  position: relative; padding-block: 6px; transition: color .3s;
}
html[lang="ar"] .nav > a:not(.btn) { letter-spacing: 0; font-size: 15px; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a.is-current { color: var(--text); }
.nav > a:not(.btn):hover::after, .nav > a.is-current::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 10px; }

/* language */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 12px;
  border: 1px solid var(--line); border-radius: 40px;
  font-size: 12px; letter-spacing: .12em; color: var(--text);
  transition: border-color .3s, background .3s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--gold); background: rgba(201,169,106,.08); }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  min-width: 190px; padding: 8px;
  background: rgba(13, 13, 17, .97); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-menu li button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px; font-size: 14px; color: var(--muted); text-align: start;
  transition: background .2s, color .2s;
}
.lang-menu li button:hover { background: rgba(255,255,255,.04); color: var(--text); }
.lang-menu li button[aria-selected="true"] { color: var(--gold-hi); }
.lang-menu li button small { font-size: 10px; letter-spacing: .14em; color: var(--faint); }

/* burger */
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; inset-inline-start: 10px; width: 22px; height: 1px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border-radius: var(--radius); white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; }
.btn-gold { background: var(--gold-grad); color: #16120a; box-shadow: 0 10px 30px -12px rgba(201,169,106,.6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(201,169,106,.75); }
.btn-ghost { border: 1px solid rgba(243,239,231,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(37,211,102,.55); }
.btn-block { width: 100%; }
.btn .ico { width: 17px; height: 17px; }
.nav-cta { min-height: 40px; padding: 0 18px; }

/* ----------------------------------------------------------------- hero --- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: calc(var(--header-h) + 40px) 40px;
  overflow: hidden; isolation: isolate;
  background: var(--ink);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img { object-fit: cover; object-position: 68% 50%; transform: scale(1.08); transition: transform 8s var(--ease); }
.hero.is-seen .hero-media img { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.6) 38%, rgba(7,7,10,0) 70%),
    linear-gradient(0deg, rgba(7,7,10,1) 0%, rgba(7,7,10,0) 35%),
    linear-gradient(180deg, rgba(7,7,10,.6) 0%, rgba(7,7,10,0) 22%);
}
html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.6) 38%, rgba(7,7,10,0) 70%),
    linear-gradient(0deg, rgba(7,7,10,1) 0%, rgba(7,7,10,0) 35%),
    linear-gradient(180deg, rgba(7,7,10,.6) 0%, rgba(7,7,10,0) 22%);
}

.hero-content { margin-bottom: clamp(40px, 9vh, 110px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
html[lang="ar"] .eyebrow { letter-spacing: .04em; font-size: 14px; }

.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 104px); line-height: 1.02; letter-spacing: -.01em;
  max-width: 12ch; margin-top: 22px;
}
.hero-title em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
html[lang="ar"] .hero-title { line-height: 1.3; max-width: 14ch; letter-spacing: 0; }
html[lang="ar"] .hero-title em { font-style: normal; }
html[lang="ru"] .hero-title, html[lang="de"] .hero-title, html[lang="fr"] .hero-title { max-width: 13ch; }

.hero-sub { max-width: 520px; margin-top: 24px; color: rgba(243,239,231,.78); font-size: clamp(15px, 1.3vw, 17px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  padding-top: 26px; border-top: 1px solid var(--line-soft);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
html[lang="ar"] .hero-badges { letter-spacing: 0; font-size: 14px; }
.hero-badges li { display: flex; align-items: center; gap: 10px; }
.hero-badges .ico { color: var(--gold); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue i { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
html[dir="rtl"] .scroll-cue { right: auto; left: var(--gutter); }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ----------------------------------------------------------------- film --- */

.film { position: relative; height: 420vh; background: #05060a; }
.film-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #05060a; }
.film-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(125% 95% at 50% 45%, transparent 50%, rgba(0,0,0,.55) 100%); }
.film-line {
  position: absolute; inset-inline: var(--gutter); bottom: 16vh;
  text-align: center; font-family: var(--serif); font-style: italic;
  font-size: clamp(30px, 4.6vw, 64px); line-height: 1.15; color: var(--text);
  text-shadow: 0 4px 40px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
html[lang="ar"] .film-line { font-style: normal; }
.film-line.is-on { opacity: 1; transform: none; }
.film-line--brand { top: auto; bottom: 9vh; font-style: normal; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.film-line--brand span { font-family: "Cormorant Garamond", serif; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: .34em; padding-inline-start: .34em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.film-line--brand small { font-family: var(--sans); font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .film-line--brand small { letter-spacing: 0; font-size: 14px; }
.film-cue {
  position: absolute; left: 50%; bottom: clamp(30px, 5vh, 56px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5);
  transition: opacity .6s var(--ease);
}
html[lang="ar"] .film-cue { letter-spacing: 0; font-size: 13px; }
.film-cue svg { width: 11px; height: 26px; animation: cue 2.6s var(--ease) infinite; }
.film-cue.is-hidden { opacity: 0; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); opacity: .45; } 50% { transform: translateY(4px); opacity: 1; } }
.film-bar { position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.08); }
.film-bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); }
html[dir="rtl"] .film-bar span { margin-inline-start: auto; }

/* ------------------------------------------------------------- sections --- */

.section { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.fleet, .services, .contact { background: rgba(7, 7, 10, .93); }
.services { background: rgba(10, 10, 13, .9); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-title { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 72px); line-height: 1.05; margin-top: 16px; }
html[lang="ar"] .section-title { line-height: 1.35; }
.section-sub { margin-top: 18px; color: var(--muted); max-width: 580px; }

.fine { margin-top: 28px; font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* --------------------------------------------------------------- fleet --- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  height: 40px; padding: 0 20px; border-radius: 40px; border: 1px solid var(--line);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: all .3s var(--ease);
}
html[lang="ar"] .chip { letter-spacing: 0; font-size: 14px; }
.chip:hover { color: var(--text); border-color: rgba(201,169,106,.5); }
.chip.is-active { background: var(--gold-grad); color: #16120a; border-color: transparent; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line-soft);
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  cursor: pointer;
}
.card:hover { border-color: var(--line); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); } }
.card.is-hidden { display: none; }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,13,17,.85) 0%, transparent 35%); pointer-events: none; }

/* swipeable photo strip (moved by makeSlider in app.js) */
.c-track, .m-track, .v-track {
  display: flex; height: 100%;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.c-track.is-dragging, .m-track.is-dragging, .v-track.is-dragging { transition: none; cursor: grabbing; }
.c-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }

.c-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7,7,10,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  opacity: 0; transition: opacity .3s var(--ease), border-color .2s, background .2s;
}
.c-arrow svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.5; }
.c-prev { inset-inline-start: 12px; }
.c-next { inset-inline-end: 12px; }
.c-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .c-prev svg { transform: none; }
html[dir="rtl"] .c-next svg { transform: scaleX(-1); }
.card:hover .c-arrow, .card:focus-within .c-arrow { opacity: 1; }
.c-arrow:hover { border-color: var(--gold); background: rgba(7,7,10,.8); }
.c-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .c-arrow { display: none; } }

.c-dots { position: absolute; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.c-dots button { width: 16px; height: 2px; background: rgba(255,255,255,.35); transition: width .3s var(--ease), background .3s; }
.c-dots button.is-active { width: 28px; background: var(--gold); }

.c-count {
  position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 30px;
  background: rgba(7,7,10,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 11px; letter-spacing: .06em;
  transition: border-color .2s;
}
.c-count:hover { border-color: var(--gold); }
.c-count .ico { width: 14px; height: 14px; }
.c-count b { font-weight: 500; }

.tag {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px; border-radius: 30px;
  font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(7,7,10,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--gold-hi);
}
html[lang="ar"] .tag { letter-spacing: 0; font-size: 12px; }
.tag--self { color: #fff; border-color: rgba(255,255,255,.25); }
.tag .ico { width: 13px; height: 13px; }

.card-body { display: flex; flex-direction: column; gap: 18px; padding: 22px 24px 24px; flex: 1; }
.card-brand { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .card-brand { letter-spacing: .1em; }
.card-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-top: 6px; }
.card-cat { font-size: 13px; color: var(--muted); margin-top: 4px; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-block: 14px; border-block: 1px solid var(--line-soft); }
.spec { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.spec .ico { color: var(--gold); width: 16px; height: 16px; }
.spec b { font-weight: 500; font-size: 14px; white-space: nowrap; }
.spec small { font-size: 10px; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; line-height: 1.3; }
html[lang="ar"] .spec small { font-size: 12px; letter-spacing: 0; }

.prices { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.price-row b { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--gold-hi); white-space: nowrap; }
.price-row b small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 300; margin-inline-start: 2px; }
.vat-line { font-size: 11.5px; letter-spacing: .04em; color: var(--faint); text-align: end; }
.price-row em { font-style: normal; font-size: 11px; color: var(--faint); display: block; }
.poa { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-hi); }
html[lang="ar"] .poa { font-style: normal; }

.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; min-height: 44px; padding: 8px 14px; font-size: 11px; letter-spacing: .14em; white-space: normal; line-height: 1.3; text-align: center; }
html[lang="ar"] .card-actions .btn { font-size: 14px; }

/* ------------------------------------------------------------ services --- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); border-inline-start: 1px solid var(--line-soft); }
.svc {
  padding: clamp(28px, 3.4vw, 48px);
  border-bottom: 1px solid var(--line-soft); border-inline-end: 1px solid var(--line-soft);
  transition: background .5s var(--ease);
}
.svc:hover { background: rgba(201,169,106,.04); }
.svc-ico { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-top: 26px; }
.svc p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ------------------------------------------- jet, yacht & helicopter --- */

.elite { background: rgba(7, 7, 10, .95); border-bottom: 1px solid var(--line-soft); }
.elite-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.elite-media { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
.elite-media img { width: 100%; height: auto; aspect-ratio: 2000 / 1493; object-fit: cover; }
.elite-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(0,0,0,.35); pointer-events: none; }
.elite-copy .section-head { margin-bottom: 28px; }
.elite-list { display: flex; flex-direction: column; gap: 2px; }
.elite-item { display: flex; gap: 18px; padding: 20px 22px; background: var(--ink-2); border: 1px solid var(--line-soft); transition: border-color .4s var(--ease); }
.elite-item:hover { border-color: var(--line); }
.elite-ico { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.elite-item h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.elite-where { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; }
html[lang="ar"] .elite-where { letter-spacing: 0; font-size: 12px; }
.elite-item p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.elite-btn { min-height: 40px; padding: 0 16px; font-size: 11px; margin-top: 14px; }
html[lang="ar"] .elite-btn { font-size: 14px; }
@media (max-width: 960px) { .elite-inner { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .elite-item { padding: 18px 16px; gap: 14px; } .elite-item h3 { font-size: 23px; } .elite-btn { width: 100%; } }

/* ------------------------------------------------------ villas for sale --- */

.villas { background: rgba(7, 7, 10, .93); border-bottom: 1px solid var(--line-soft); }
.villa-list { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }
.villa { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "gallery info" "feats info"; background: var(--ink-2); border: 1px solid var(--line-soft); }
.villa-gallery { grid-area: gallery; min-width: 0; display: flex; flex-direction: column; background: #000; }
.villa-view { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #111; touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab; }
.villa-view:hover .c-arrow, .villa-view:focus-within .c-arrow { opacity: 1; }
.villa-view .c-arrow { width: 44px; height: 44px; }
.v-thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; background: var(--ink); }
.v-thumb { flex: none; width: 84px; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 1px solid transparent; opacity: .5; transition: opacity .25s, border-color .25s; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v-thumb:hover { opacity: .85; }
.v-thumb.is-active { opacity: 1; border-color: var(--gold); }

.villa-info { grid-area: info; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 44px); min-width: 0; }
.villa-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.villa-price { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--gold-hi); }
.villa-price small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
html[lang="ar"] .villa-price small { letter-spacing: 0; font-size: 13px; }
.v-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.v-spec { background: var(--ink-2); padding: 12px 12px; }
.v-spec b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); }
.v-spec small { font-size: 10px; letter-spacing: .1em; }
.villa-desc { color: var(--muted); font-size: 15px; line-height: 1.65; }
.v-feats { grid-area: feats; align-content: start; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 22px clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.v-feats li { position: relative; padding-inline-start: 16px; }
.v-feats li::before { content: ""; position: absolute; inset-inline-start: 1px; top: .6em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.villa-ask { align-self: flex-start; margin-top: auto; }
.villas-more { margin-top: 26px; text-align: center; font-size: 14px; }

@media (max-width: 1100px) { .villa { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "gallery" "info" "feats"; } .villa-info { gap: 16px; } }
@media (max-width: 760px) {
  .v-specs { grid-template-columns: repeat(2, 1fr); }
  .v-feats { grid-template-columns: 1fr; }
  .villa-ask { align-self: stretch; }
  .v-thumb { width: 72px; }
}

/* -------------------------------------------------------------- cities --- */

.cities { background: rgba(7, 7, 10, .93); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.city {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(160deg, rgba(201,169,106,.07), rgba(13,13,17,.6) 55%);
  border: 1px solid var(--line-soft);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.city:hover { border-color: var(--line); transform: translateY(-4px); }
.city-n {
  position: absolute; top: 10px; inset-inline-end: 20px;
  font-family: "Cormorant Garamond", serif; font-size: 110px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,169,106,.22);
  pointer-events: none;
}
.city-geo { font-size: 11px; letter-spacing: .2em; color: var(--faint); }
.city h3 { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1.05; padding-top: 88px; }
.city-tag { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
html[lang="ar"] .city-tag { letter-spacing: 0; font-size: 14px; }
.city-text { color: var(--muted); font-size: 15px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }

.footer-cities { margin-top: 22px; font-family: var(--serif); font-size: 20px; letter-spacing: .08em; color: var(--gold-hi); }

/* --------------------------------------------------------------- about --- */

.about { background: linear-gradient(90deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.55) 60%, rgba(7,7,10,.35) 100%); }
html[dir="rtl"] .about { background: linear-gradient(270deg, rgba(7,7,10,.92) 0%, rgba(7,7,10,.55) 60%, rgba(7,7,10,.35) 100%); }
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-copy > p { color: rgba(243,239,231,.8); margin-top: 22px; max-width: 560px; font-size: 17px; }
.stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 44px; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
html[lang="ar"] .stats span { letter-spacing: 0; font-size: 14px; }

.steps { display: flex; flex-direction: column; gap: 2px; }
.steps li {
  display: flex; gap: 22px; padding: 26px 28px;
  background: rgba(7,7,10,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
}
.step-n { font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1; color: var(--gold); }
.steps h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.steps p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ------------------------------------------------------------- contact --- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.info-list li { display: flex; gap: 14px; padding: 22px; background: var(--ink-2); }
.info-list .ico { color: var(--gold); margin-top: 3px; }
.info-list div { display: flex; flex-direction: column; gap: 3px; font-size: 15px; min-width: 0; }
.info-list a { transition: color .2s; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--gold-hi); }
.label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html[lang="ar"] .label { letter-spacing: 0; font-size: 13px; }
.status { font-style: normal; letter-spacing: .08em; font-size: 10px; padding: 2px 8px; border-radius: 20px; border: 1px solid currentColor; }
.status.is-open { color: var(--wa); }
.status.is-closed { color: #d77; }

.map { margin-top: 1px; border: 1px solid var(--line-soft); border-top: 0; aspect-ratio: 16 / 8; background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.9) contrast(.9) brightness(.95); }

.panel { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 44px); }
.panel-title { font-family: var(--serif); font-size: 32px; line-height: 1.15; margin-bottom: 24px; }

/* ---------------------------------------------------------------- form --- */

.req-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .field label { letter-spacing: 0; font-size: 13px; }
.field label i { font-style: normal; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-size: 15px; color: var(--text);
  transition: border-color .25s, background .25s;
  -webkit-appearance: none; appearance: none;
  color-scheme: dark;
}
.field textarea { min-height: 88px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a96a' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right 14px center;
  padding-inline-end: 40px;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #0a0a0e; }
.field.is-invalid input, .field.is-invalid select { border-color: #c56; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--faint); display: flex; gap: 8px; align-items: flex-start; }
.form-note .ico { color: var(--wa); width: 15px; height: 15px; margin-top: 3px; }
.form-err { font-size: 13px; color: #e08a8a; min-height: 1em; }

/* ------------------------------------------------------- reserve & pay --- */

.m-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 40px; }
.m-tabs button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 12px; border-radius: 40px;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: background .3s var(--ease), color .3s;
}
html[lang="ar"] .m-tabs button { letter-spacing: 0; font-size: 14px; }
.m-tabs button .ico { width: 16px; height: 16px; }
.m-tabs button:hover { color: var(--text); }
.m-tabs button.is-active { background: var(--gold-grad); color: #16120a; }
.pay-intro { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

.field-label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .field-label { letter-spacing: 0; font-size: 13px; }
.field-hint { font-size: 12px; color: var(--faint); }

.svc-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.svc-opt { position: relative; cursor: pointer; }
.field .svc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.svc-opt span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; border: 1px solid var(--line-soft); background: var(--ink);
  transition: border-color .25s, background .25s;
}
.svc-opt b { font-weight: 500; font-size: 14px; }
.svc-opt small { font-family: var(--serif); font-size: 18px; color: var(--gold-hi); }
.svc-opt:hover span { border-color: rgba(201,169,106,.45); }
.svc-opt input:checked + span { border-color: var(--gold); background: rgba(201,169,106,.08); box-shadow: inset 0 0 0 1px var(--gold); }
.svc-opt input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.pay-sum { grid-column: 1 / -1; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(201,169,106,.04); }
.pay-sum:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.sum-row em { display: block; font-style: normal; font-size: 12px; color: var(--faint); }
.sum-row b { font-weight: 500; color: var(--text); white-space: nowrap; }
.sum-total { border-bottom: 0; color: var(--text); }
.sum-total span { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .sum-total span { letter-spacing: 0; font-size: 15px; }
.sum-total b { font-family: var(--serif); font-size: 30px; color: var(--gold-hi); }

.policy { grid-column: 1 / -1; padding: 16px 18px; border: 1px solid var(--line-soft); background: var(--ink); font-size: 13.5px; color: var(--muted); }
.policy-title { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
html[lang="ar"] .policy-title { letter-spacing: 0; font-size: 14px; }
.policy ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.policy li { position: relative; padding-inline-start: 18px; color: var(--text); }
.policy li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px; padding: 4px 0; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.check.is-invalid span { color: #e08a8a; }
.pay-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.pay-form .form-note .ico { color: var(--gold); }

/* ---------------------------------------------------------------- modal --- */

.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,3,5,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative; width: min(1180px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  background: var(--ink-2); border: 1px solid var(--line);
  overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(24px) scale(.985);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(7,7,10,.8); border: 1px solid var(--line);
  display: grid; place-items: center; transition: border-color .2s, transform .3s var(--ease);
}
html[dir="rtl"] .modal-close { float: left; margin: 14px 0 -58px 14px; }
.modal-close:hover { border-color: var(--gold); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; stroke: var(--text); stroke-width: 1.4; fill: none; }

.m-layout { display: grid; grid-template-columns: 1.15fr 1fr; }
.m-gallery { position: sticky; top: 0; align-self: start; background: #000; min-width: 0; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.m-slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 4.2; max-height: calc(100vh - 50px); background: #0a0a0c; overflow: hidden; }
.m-bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(30px) brightness(.45) saturate(1.1); }
.m-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.m-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7,7,10,.7); border: 1px solid var(--line); transition: border-color .2s, opacity .2s;
}
.m-arrow:hover { border-color: var(--gold); }
.m-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.4; }
.m-prev { inset-inline-start: 14px; }
.m-next { inset-inline-end: 14px; }
.m-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .m-prev svg { transform: none; }
html[dir="rtl"] .m-next svg { transform: scaleX(-1); }
.m-arrow[disabled] { opacity: .25; pointer-events: none; }
.m-dots { position: absolute; bottom: 14px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.m-dots button { width: 22px; height: 2px; background: rgba(255,255,255,.3); transition: background .3s, width .3s; }
.m-dots button.is-active { background: var(--gold); width: 36px; }

.m-info { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.m-info .tag { position: static; margin-bottom: 16px; }
.m-info .card-title { font-size: clamp(34px, 3.4vw, 46px); }
.m-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.m-specs div { background: var(--ink-2); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.m-specs small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
html[lang="ar"] .m-specs small { letter-spacing: 0; font-size: 12px; }
.m-specs b { font-weight: 500; font-size: 15px; }
.m-prices { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); background: rgba(201,169,106,.04); }
.m-sub { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .m-sub { letter-spacing: 0; font-size: 14px; }
.m-form .req-form { gap: 12px; }

/* ------------------------------------------------------ floating whatsapp --- */

.wa-float { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); inset-inline-end: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn {
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
  position: relative;
}
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-pop {
  width: 270px; padding: 16px; background: rgba(13,13,17,.97); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.wa-float.is-open .wa-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa-pop-title { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.wa-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line-soft); margin-top: 8px; transition: border-color .2s, background .2s; }
.wa-opt:hover { border-color: var(--wa); background: rgba(37,211,102,.06); }
.wa-opt .ico { width: 22px; height: 22px; color: var(--wa); }
.wa-opt--call .ico { color: var(--gold); }
.wa-opt--call:hover { border-color: var(--gold); background: rgba(201,169,106,.06); }
.wa-opt span { display: flex; flex-direction: column; line-height: 1.3; }
.wa-opt b { font-weight: 500; font-size: 14px; }
.wa-opt small { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------- footer --- */

.footer { background: #000; border-top: 1px solid var(--line-soft); padding-block: 64px 90px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-logo {
  width: min(340px, 80vw); height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .footer-nav { letter-spacing: 0; font-size: 14px; }
.footer-nav a:hover { color: var(--gold-hi); }
.footer .fine { margin-top: 18px; }
.footer .fine + .fine { margin-top: 6px; }

/* ------------------------------------------------ reservation & admin --- */

.rv-body { min-height: 100vh; }
.rv-head { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px var(--gutter); }
.rv-head .brand { margin-inline-end: 0; }
.rv-main { max-width: 760px; margin: 0 auto; padding: 16px var(--gutter) 80px; }
.rv-card { background: rgba(13, 13, 17, .94); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.rv-loading { text-align: center; padding: 40px 0; }
.rv-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 50px); line-height: 1.1; margin-top: 12px; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.rv-meta b { color: var(--text); font-weight: 500; letter-spacing: .06em; }

.badge { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; border: 1px solid currentColor; }
html[lang="ar"] .badge { letter-spacing: 0; font-size: 12px; }
.badge--ok { color: var(--wa); }
.badge--wait { color: var(--gold); }
.badge--off { color: #d77; }

.rv-msg { margin-top: 22px; padding: 16px 18px; border-inline-start: 2px solid var(--gold); background: rgba(201,169,106,.06); font-size: 15px; }
.rv-msg--ok { border-color: var(--wa); background: rgba(37,211,102,.06); }
.rv-msg--warn { border-color: #d77; background: rgba(221,119,119,.06); }
.rv-msg strong { font-weight: 500; }

.rv-table { margin-top: 24px; border-top: 1px solid var(--line-soft); }
.rv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.rv-row span { color: var(--muted); flex: none; }
.rv-row b { font-weight: 400; text-align: end; overflow-wrap: anywhere; }
.rv-total span { color: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .rv-total span { letter-spacing: 0; font-size: 15px; }
.rv-total b { font-family: var(--serif); font-size: 28px; color: var(--gold-hi); }

.rv-cancel { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.rv-cancel h2 { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.rv-days { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .rv-days { letter-spacing: 0; font-size: 14px; }
.rv-refund { font-size: 16.5px; }
.rv-refund b { color: var(--gold-hi); font-weight: 500; }
.rv-confirm { font-size: 15px; color: #f2c0c0; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-back { display: block; text-align: center; margin-top: 24px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.rv-back:hover { color: var(--gold-hi); }

.btn-danger { border: 1px solid #c56; color: #f2b8b8; }
.btn-danger:hover { background: rgba(204,85,102,.14); }
.btn[disabled] { opacity: .7; cursor: progress; }

.spinner { display: inline-block; width: 16px; height: 16px; margin-inline-end: 10px; vertical-align: -3px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* admin */
.adm-body { background: var(--ink); }
.adm-head { justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
.adm-mode { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.adm-mode--test { background: #3a2f10; color: #f4c95d; }
.adm-mode--live { background: #103a1e; color: #6fe39a; }
.adm-out { min-height: 38px; padding: 0 16px; }
.adm-main { max-width: 1280px; margin: 0 auto; padding: 28px var(--gutter) 80px; }
.adm-login { max-width: 420px; margin: 40px auto; display: flex; flex-direction: column; gap: 16px; }
.adm-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.adm-bar .rv-title { margin: 0 auto 0 0; }
.adm-filter { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.adm-filter select { min-height: 40px; padding: 0 12px; background: var(--ink-2); border: 1px solid var(--line); color: var(--text); color-scheme: dark; }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.adm-card { background: var(--ink-2); border: 1px solid var(--line-soft); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.adm-card header { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .06em; }
.adm-status { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.adm-paid .adm-status { color: var(--wa); }
.adm-cancelled .adm-status, .adm-expired .adm-status, .adm-payment_failed .adm-status, .adm-pending .adm-status { color: var(--faint); }
.adm-refund_failed { border-color: #c56; }
.adm-refund_failed .adm-status { color: #f28b8b; }
.adm-card h2 { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.adm-card dl { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; margin: 0; font-size: 13.5px; }
.adm-card dt { color: var(--faint); }
.adm-card dd { margin: 0; overflow-wrap: anywhere; }
.adm-card a { color: var(--gold-hi); }
.adm-action { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.adm-action small { font-size: 12px; color: var(--faint); }
.adm-empty { color: var(--muted); }
.adm-setup { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-bottom: 22px; }
.adm-setup li { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--line-soft); background: var(--ink-2); font-size: 13px; color: var(--muted); }
.adm-setup b { font-weight: 600; color: var(--text); }
.adm-setup .is-ok b { color: var(--wa); }
.adm-setup .is-todo { border-color: rgba(244,201,93,.45); }
.adm-setup .is-todo b { color: #f4c95d; }

/* --------------------------------------------------------------- reveal --- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .card.reveal.is-in:hover { transform: translateY(-4px); } }

/* ----------------------------------------------------------- responsive --- */

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: 1fr; }
  .city { min-height: 0; }
  .city h3 { padding-top: 34px; }
  .nav > a:not(.btn) { letter-spacing: .12em; }
}

/* the menu turns into the full-screen phone menu a little earlier than the rest of the layout:
   with six links (and long Russian / German words) it no longer fits in one row */
@media (max-width: 1280px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(7,7,10,.98);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.menu-open .wa-float { opacity: 0; pointer-events: none; }
  .nav > a:not(.btn) { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; color: var(--text); }
  html[lang="ar"] .nav > a:not(.btn) { font-size: 32px; }
  .nav-cta { margin-top: 14px; min-height: 50px; padding: 0 30px; }
}

@media (max-width: 960px) {
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .m-layout { grid-template-columns: 1fr; }
  .m-gallery { position: relative; }
  .m-slide { aspect-ratio: 4 / 3.4; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .brand img { width: 38px; }
  .brand-name { font-size: 15px; letter-spacing: .22em; }
  .brand-sub { display: none; }
  .lang-btn { padding-inline: 10px; }

  /* phones: the photo gets the top of the screen to itself, the copy sits
     below it instead of on top of it */
  .hero { min-height: 0; justify-content: flex-start; padding: 0 0 36px; }
  .hero-media { position: relative; inset: auto; display: block; height: 62vh; height: 62svh; min-height: 380px; z-index: 0; overflow: hidden; }
  .hero-media img { object-position: 86% 62%; }
  .hero-shade, html[dir="rtl"] .hero-shade {
    inset: 0 0 auto 0; height: 62vh; height: 62svh; min-height: 380px; z-index: 1;
    background:
      linear-gradient(0deg, rgba(7,7,10,1) 0%, rgba(7,7,10,0) 30%),
      linear-gradient(180deg, rgba(7,7,10,.75) 0%, rgba(7,7,10,0) 20%);
  }
  .hero-content { position: relative; z-index: 2; margin: -64px 0 30px; }
  .hero .eyebrow { letter-spacing: .24em; font-size: 10px; }
  .hero .eyebrow::before { width: 24px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); margin-top: 14px; }
  .hero-sub { margin-top: 16px; font-size: 15px; }
  .hero-ctas { margin-top: 26px; gap: 12px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-badges { flex-direction: column; gap: 10px; font-size: 11px; }
  .scroll-cue { display: none; }

  .film { height: 300vh; }
  .film-line { bottom: 22vh; }

  .grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .card-title { font-size: 28px; }
  .info-list { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .req-form { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .steps li { padding: 22px 20px; gap: 16px; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-dialog { max-height: 94dvh; max-height: 94vh; border-inline: 0; border-bottom: 0; }
  .modal-close { margin: 10px 10px -54px 0; }
  html[dir="rtl"] .modal-close { margin: 10px 0 -54px 10px; }
  .m-specs { grid-template-columns: repeat(2, 1fr); }
  .m-arrow { display: none; }

  .wa-float { inset-inline-end: 16px; }
  .wa-btn { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .film { height: 200vh; }
}

/* ------------------------------------------------------------ AI chat --- */

.chat-fab {
  position: fixed; z-index: 95; bottom: max(20px, env(safe-area-inset-bottom)); inset-inline-end: 20px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold-grad); color: #16120a;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(201,169,106,.7);
  transition: transform .3s var(--ease);
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chat-fab .i-x { display: none; }
.chat-fab[aria-expanded="true"] .i-chat { display: none; }
.chat-fab[aria-expanded="true"] .i-x { display: block; }
/* the WhatsApp button sits just above the chat bubble */
body.has-chat .wa-float { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 74px); }
body.chat-open .wa-float { display: none; }

.chat-panel {
  position: fixed; z-index: 96; inset-inline-end: 20px; bottom: calc(max(20px, env(safe-area-inset-bottom)) + 74px);
  width: min(390px, calc(100vw - 40px)); height: min(600px, calc(100vh - 130px)); height: min(600px, calc(100dvh - 130px));
  display: flex; flex-direction: column;
  background: rgba(13, 13, 17, .98); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.85);
  font-family: var(--sans);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(201,169,106,.08), transparent); }
.chat-head img { width: 34px; height: auto; }
.chat-title { display: flex; flex-direction: column; line-height: 1.15; margin-inline-end: auto; }
.chat-title b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 17px; letter-spacing: .24em; color: var(--gold-hi); }
.chat-title small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.chat-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s; }
.chat-icon:hover { color: var(--text); background: rgba(255,255,255,.06); }
.chat-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-msg p { margin: 0; }
.chat-msg p + p, .chat-msg ul + p, .chat-msg p + ul { margin-top: 6px; }
.chat-msg ul { margin: 0; padding-inline-start: 18px; list-style: disc; }
.chat-msg li + li { margin-top: 2px; }
.chat-msg strong { font-weight: 600; }
.chat-msg--bot { align-self: flex-start; background: var(--ink-3); border: 1px solid var(--line-soft); border-end-start-radius: 4px; color: var(--text); }
.chat-msg--bot a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 2px; }
.chat-msg--me { align-self: flex-end; background: var(--gold-grad); color: #16120a; border-end-end-radius: 4px; }
.chat-msg--warn { border-color: rgba(244,201,93,.45); }
.chat-wa { display: inline-flex; margin-top: 8px; padding: 6px 12px; border-radius: 20px; background: var(--wa); color: #06210f !important; text-decoration: none !important; font-size: 13px; font-weight: 600; }
.chat-note { font-size: 11.5px; color: var(--faint); margin: -4px 0 4px; padding-inline-start: 4px; }

.chat-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: .35; animation: chatDot 1.2s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--line-soft); }
.chat-form textarea {
  flex: 1; min-height: 44px; max-height: 120px; resize: none;
  padding: 11px 14px; border-radius: 12px;
  background: var(--ink); border: 1px solid var(--line-soft); color: var(--text);
  font: 400 15px/1.4 var(--sans); color-scheme: dark;
}
.chat-form textarea:focus { outline: none; border-color: var(--gold); }
.chat-form textarea:disabled { opacity: .5; }
.chat-send { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #16120a; transition: opacity .2s; }
.chat-send:disabled { opacity: .4; cursor: default; }
.chat-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.chat-panel[dir="rtl"] .chat-send svg { transform: scaleX(-1); }
.chat-meta { min-height: 18px; padding: 0 16px 8px; text-align: end; font-size: 11px; color: var(--faint); }
.chat-count.is-over { color: #e08a8a; }

@media (max-width: 760px) {
  .chat-fab { width: 56px; height: 56px; inset-inline-end: 16px; }
  body.has-chat .wa-float { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 68px); }
  .chat-panel {
    inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0;
    padding-top: env(safe-area-inset-top); transform: translateY(24px);
  }
  .chat-form { padding-bottom: 6px; }
  .chat-form textarea { font-size: 16px; }           /* no zoom-in on iPhone */
  .chat-meta { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat-fab { display: none; }
}
