/* HAYA.travel — official brand tokens (Brand Guidelines & Graphic Chart) */
:root {
  --haya-navy: #151145;     /* Deep Royal Navy — primary / trust */
  --haya-emerald: #0A8944;  /* Visionary Emerald — secondary / identity */
  --haya-gold: #D4AF37;     /* Radiant Gold — luxury accent */
  --haya-sand: #F7F4EB;     /* Sand Off-White — surface / canvas */

  --ink: #151145;
  --muted: #5d5a78;
  --line: rgba(21, 17, 69, 0.12);
  --gold-deep: #B08A1E;

  --font-latin: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "Noto Kufi Arabic", "Cairo", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--haya-sand);
  color: var(--ink);
  font-family: var(--font-arabic);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body { font-family: var(--font-latin); line-height: 1.6; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- background arches (echo the monogram arch) ---------- */
.bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.arch {
  position: absolute;
  left: 50%;
  bottom: -8vh;
  transform: translateX(-50%);
  border: 1.5px solid rgba(212, 175, 55, 0.22);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
}
.arch-1 { width: 70vmin;  height: 62vmin; }
.arch-2 { width: 105vmin; height: 92vmin; border-color: rgba(212, 175, 55, 0.14); }
.arch-3 { width: 140vmin; height: 122vmin; border-color: rgba(21, 17, 69, 0.06); }

/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 48px);
}
.topbar-mark { width: 44px; height: 44px; object-fit: contain; }

.lang-toggle {
  font: 600 14px/1 var(--font-latin);
  color: var(--haya-navy);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
html[lang="en"] .lang-toggle { font-family: var(--font-arabic); }
.lang-toggle:hover { background: #fff; border-color: var(--haya-gold); }
.lang-toggle:active { transform: scale(0.97); }
.lang-toggle:focus-visible { outline: 2px solid var(--haya-gold); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8px 16px 40px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.lockup {
  width: min(420px, 78vw);
  height: auto;
  margin-bottom: 28px;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--haya-navy);
  color: var(--haya-sand);
  font-size: 15px;
  font-weight: 600;
  animation: rise .9s .1s cubic-bezier(.2, .7, .2, 1) both;
}
.status .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--haya-gold);
  box-shadow: 0 0 0 0 rgba(212, 175, 55, .7);
  animation: pulse 1.8s ease-out infinite;
}

.headline {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--haya-navy);
  text-wrap: balance;
  animation: rise .9s .18s cubic-bezier(.2, .7, .2, 1) both;
}
html[lang="en"] .headline { letter-spacing: -0.01em; line-height: 1.2; }

.lead {
  margin: 0 auto 28px;
  max-width: 620px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  text-wrap: pretty;
  animation: rise .9s .26s cubic-bezier(.2, .7, .2, 1) both;
}

/* ---------- services ---------- */
.services {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  animation: rise .9s .34s cubic-bezier(.2, .7, .2, 1) both;
}
.services li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 15px; font-weight: 600;
  color: var(--haya-navy);
}
.services li.hl { border-color: var(--haya-gold); background: #fffaf0; }
.services svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--gold-deep); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- progress ---------- */
.progress {
  width: min(360px, 80vw);
  height: 6px;
  border-radius: 999px;
  background: rgba(21, 17, 69, 0.08);
  overflow: hidden;
  position: relative;
  animation: rise .9s .42s cubic-bezier(.2, .7, .2, 1) both;
}
.progress .bar {
  position: absolute; inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(212,175,55,0), var(--haya-gold) 40%, var(--haya-emerald));
  animation: sweep 2.4s ease-in-out infinite;
}
.progress-label {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- footer ---------- */
.footer {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px;
  padding: 18px 16px 22px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(247, 244, 235, 0.85);
}
.footer .sep { color: var(--haya-gold); }
.ar-word { font-family: var(--font-arabic); color: var(--gold-deep); font-weight: 600; }

/* ---------- motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, .65); }
  80%  { box-shadow: 0 0 0 9px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
@keyframes sweep {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(290%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .progress .bar { transform: none; width: 60%; }
}

@media (max-width: 480px) {
  .topbar { padding: 14px 16px; }
  .lockup { margin-bottom: 22px; }
  .services li { font-size: 14px; padding: 8px 13px; }
}
