/* =====================================================================
   AURUM_WEB_STYLES  ·  flyaurum.com
   Design system — mobile-first, RTL-native.
   Brand tokens are literal and must not be substituted.
   ===================================================================== */

/* ---------- Design tokens ------------------------------------------- */
:root {
  /* Brand palette (locked) */
  --aurum-gold:   #C9A227;
  --deep-gold:    #A8861D;
  --midnight-navy:#0B2447;
  --ink:          #10141A;
  --desert-sand:  #F1E8D2;
  --cloud-cream:  #FBF8F1;

  /* Derived / functional */
  --navy-90:  rgba(11, 36, 71, 0.90);
  --navy-60:  rgba(11, 36, 71, 0.60);
  --navy-45:  rgba(11, 36, 71, 0.45);
  --ink-70:   rgba(16, 20, 26, 0.70);
  --line:     rgba(11, 36, 71, 0.12);
  --line-gold:rgba(201, 162, 39, 0.35);

  /* Type families */
  --font-ar:      'Cairo', system-ui, sans-serif;
  --font-serif:   'Playfair Display', 'Cairo', serif;
  --font-sans:    'Montserrat', system-ui, sans-serif;
  --font-num:     'Montserrat', system-ui, sans-serif; /* Latin numerals always */

  /* Rhythm */
  --wrap: 1200px;
  --pad: clamp(1.15rem, 5vw, 2rem);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11,36,71,.06);
  --shadow-md: 0 12px 34px rgba(11,36,71,.12);
  --shadow-lg: 0 22px 60px rgba(11,36,71,.20);
  --t: .28s cubic-bezier(.4,.14,.3,1);
}

/* ---------- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  background: var(--cloud-cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* Latin numerals in Montserrat even inside Arabic text */
.num, time, .stat b { font-family: var(--font-num); font-feature-settings: "tnum" 1; letter-spacing: .01em; }

/* English mode switches base sans */
html[lang="en"] body { font-family: var(--font-sans); }

/* ---------- Layout helpers ------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section--sand { background: var(--desert-sand); }
.section--navy { background: var(--midnight-navy); color: var(--cloud-cream); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--deep-gold);
  margin-bottom: .9rem;
}
html[lang="ar"] .eyebrow { letter-spacing: .12em; }
.section--navy .eyebrow { color: var(--aurum-gold); }

/* Headings — gold reserved for large display only (contrast rule) */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
.display {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
}
html[lang="ar"] .display { font-family: var(--font-ar); font-weight: 800; }

.h-section {
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  color: var(--midnight-navy);
  margin-bottom: .75rem;
}
.section--navy .h-section { color: var(--cloud-cream); }
.h-section .gold { color: var(--deep-gold); }        /* large heading = gold allowed on light */
.section--navy .h-section .gold { color: var(--aurum-gold); }

.lead {
  font-size: 1.06rem;
  color: var(--ink-70);
  max-width: 60ch;
}
.section--navy .lead { color: rgba(251,248,241,.82); }
.center .lead { margin-inline: auto; }

/* ---------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  min-height: 52px; /* comfortable touch target */
  cursor: pointer;
  white-space: nowrap;
}
html[lang="ar"] .btn { font-family: var(--font-ar); font-weight: 700; }
.btn svg { width: 20px; height: 20px; }
.btn--gold {
  background: linear-gradient(135deg, var(--aurum-gold), var(--deep-gold));
  color: var(--ink);                 /* dark text on gold = safe contrast */
  box-shadow: 0 10px 26px rgba(201,162,39,.34);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201,162,39,.44); }
.btn--ghost {
  background: transparent;
  color: var(--cloud-cream);
  box-shadow: inset 0 0 0 1.5px rgba(251,248,241,.55);
}
.btn--ghost:hover { background: rgba(251,248,241,.10); transform: translateY(-2px); }
.btn--navy {
  background: var(--midnight-navy);
  color: var(--cloud-cream);
  box-shadow: var(--shadow-sm);
}
.btn--navy:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: var(--midnight-navy);
  box-shadow: inset 0 0 0 1.5px var(--line-gold);
}
.btn--outline:hover { background: rgba(201,162,39,.08); }

/* ---------- Header --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t), box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(251,248,241,.96); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 800; font-size: 1.28rem;
  color: var(--deep-gold); letter-spacing: .02em;
}
.brand__sub {
  font-family: var(--font-sans);
  font-size: .56rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--midnight-navy); margin-top: 3px;
}

.nav__links { display: none; align-items: center; gap: .3rem; }
.nav__links a {
  font-size: .95rem; font-weight: 600;
  padding: .5rem .8rem; border-radius: 8px;
  color: var(--midnight-navy);
  transition: color var(--t), background var(--t);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--deep-gold); }
.nav__links a[aria-current="page"] { background: rgba(201,162,39,.10); }

.nav__actions { display: flex; align-items: center; gap: .55rem; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-sans); font-weight: 700; font-size: .82rem;
  padding: .5rem .7rem; border-radius: 999px;
  color: var(--midnight-navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow var(--t), color var(--t);
}
.lang-toggle:hover { box-shadow: inset 0 0 0 1.5px var(--line-gold); color: var(--deep-gold); }

.nav__cta { display: none; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.burger span { height: 2px; width: 20px; margin-inline: auto; background: var(--midnight-navy); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 49;
  background: var(--cloud-cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-120%);
  transition: transform var(--t);
  padding: .6rem var(--pad) 1.4rem;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block; padding: .95rem .4rem;
  font-weight: 600; font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  color: var(--midnight-navy);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* ---------- Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92svh, 760px);
  display: grid; align-items: center;
  color: var(--cloud-cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  --hero-img: none; /* swapped inline in HTML — replace with local WebP for launch */
  background:
    linear-gradient(180deg, var(--navy-60) 0%, var(--navy-45) 40%, var(--navy-90) 100%),
    var(--hero-img) center / cover no-repeat,
    var(--midnight-navy);
}
.hero__bg::after { /* subtle golden dawn glow */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 78% 12%, rgba(201,162,39,.28), transparent 55%);
  mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 12vw, 6rem); max-width: 40rem; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--aurum-gold);
  padding: .4rem .8rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-gold);
  margin-bottom: 1.4rem;
}
html[lang="ar"] .hero__kicker { letter-spacing: .08em; }
.hero h1 {
  font-size: clamp(2.3rem, 8.5vw, 4rem);
  color: var(--aurum-gold);           /* large display heading — gold on navy is safe */
  margin-bottom: 1.1rem;
}
.hero p {
  font-size: clamp(1.02rem, 3.6vw, 1.22rem);
  color: rgba(251,248,241,.88);
  max-width: 34ch; margin-bottom: 1.9rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem;
  margin-top: 2.4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(251,248,241,.16);
}
.hero__trust li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: rgba(251,248,241,.85); }
.hero__trust svg { width: 18px; height: 18px; color: var(--aurum-gold); flex: none; }

/* ---------- Cards grid (services / why) ------------------------------ */
.grid { display: grid; gap: 1.1rem; }
.grid--4 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }

.card {
  background: var(--cloud-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
}
.section--sand .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(201,162,39,.16), rgba(168,134,29,.10));
  color: var(--deep-gold);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; color: var(--midnight-navy); margin-bottom: .5rem; }
.card p { color: var(--ink-70); font-size: .98rem; }
.card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem; font-weight: 700; font-size: .92rem;
  color: var(--deep-gold);
}
.card__link svg { width: 16px; height: 16px; transition: transform var(--t); }
.card:hover .card__link svg { transform: translateX(-4px); }
html[lang="en"] .card:hover .card__link svg { transform: translateX(4px); }

/* Numbered "why" cards */
.why { position: relative; }
.why .num-badge {
  font-family: var(--font-num);
  font-size: 2.2rem; font-weight: 800;
  color: var(--line-gold);
  line-height: 1; margin-bottom: .6rem;
}

/* ---------- Destinations -------------------------------------------- */
.dest {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  color: var(--cloud-cream);
  background: var(--midnight-navy); /* fallback if photo fails */
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.dest:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest__img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.dest:hover .dest__img { transform: scale(1.06); }
.dest::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,36,71,0) 30%, rgba(11,36,71,.35) 55%, rgba(11,36,71,.88) 100%);
}
.dest__body { position: relative; z-index: 2; padding: 1.4rem; width: 100%; }
.dest__body h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.dest__body p { font-size: .9rem; color: rgba(251,248,241,.82); margin-bottom: .9rem; }
.dest__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-sans); font-weight: 700; font-size: .86rem;
  color: var(--midnight-navy);
  background: var(--aurum-gold);
  padding: .55rem 1rem; border-radius: 999px;
  transition: transform var(--t), background var(--t);
}
html[lang="ar"] .dest__cta { font-family: var(--font-ar); }
.dest__cta:hover { background: var(--cloud-cream); transform: translateY(-2px); }
.dest__cta svg { width: 16px; height: 16px; }

/* ---------- Closing contact strip ----------------------------------- */
.cta-strip { position: relative; overflow: hidden; }
.cta-strip__glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(90% 120% at 82% 0%, rgba(201,162,39,.30), transparent 58%);
}
.cta-strip .wrap { position: relative; z-index: 1; }
.cta-card {
  display: grid; gap: 1.4rem; text-align: center;
  padding: clamp(2.2rem, 7vw, 3.6rem);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(201,162,39,.30);
}
.cta-card h2 { font-size: clamp(1.7rem, 6vw, 2.5rem); color: var(--aurum-gold); }
html[lang="ar"] .cta-card h2 { font-family: var(--font-ar); }
.cta-card p { color: rgba(251,248,241,.85); max-width: 52ch; margin-inline: auto; }
.cta-card .btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Footer --------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(251,248,241,.78); padding-block: 3rem 1.6rem; }
.footer__top { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(251,248,241,.12); }
.footer__brand .brand__name { color: var(--aurum-gold); }
.footer__brand .brand__sub { color: rgba(251,248,241,.6); }
.footer__brand p { margin-top: .9rem; font-size: .92rem; max-width: 34ch; }
.footer__col h4 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--aurum-gold); margin-bottom: .9rem; }
html[lang="ar"] .footer__col h4 { font-family: var(--font-ar); letter-spacing: .06em; }
.footer__col a { display: block; padding: .32rem 0; font-size: .95rem; color: rgba(251,248,241,.78); transition: color var(--t); }
.footer__col a:hover { color: var(--aurum-gold); }
.socials { display: flex; gap: .6rem; margin-top: .4rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(251,248,241,.2);
  color: var(--cloud-cream);
  transition: background var(--t), color var(--t), transform var(--t);
}
.socials a:hover { background: var(--aurum-gold); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between;
  padding-top: 1.4rem; font-size: .84rem; color: rgba(251,248,241,.6);
}
.footer__bottom .biz { font-family: var(--font-num); }
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--aurum-gold); }

/* ---------- Inner page hero (compact) ------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--midnight-navy); color: var(--cloud-cream);
  padding-block: clamp(2.8rem, 9vw, 4.6rem);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 85% 0%, rgba(201,162,39,.24), transparent 58%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 6.5vw, 3rem); color: var(--aurum-gold); margin-bottom: .8rem; max-width: 22ch; }
.page-hero p { color: rgba(251,248,241,.85); max-width: 56ch; font-size: 1.05rem; }

/* ---------- Story: meaning split + pillars -------------------------- */
.split { display: grid; gap: 1.6rem; align-items: center; }
.split .au-symbol {
  display: grid; place-items: center;
  aspect-ratio: 1; border-radius: 22px;
  background: linear-gradient(160deg, var(--midnight-navy), #12305c);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.split .au-symbol::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 60% at 30% 20%, rgba(201,162,39,.3), transparent 60%); }
.split .au-symbol b {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(4rem, 22vw, 8rem); color: var(--aurum-gold); line-height: 1; position: relative;
}
.split .au-symbol small { position: relative; font-family: var(--font-sans); letter-spacing:.3em; color: rgba(251,248,241,.7); font-size:.8rem; margin-top:.4rem; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip {
  font-family: var(--font-sans); font-weight: 700; font-size: .9rem;
  padding: .5rem 1rem; border-radius: 999px;
  color: var(--midnight-navy); background: rgba(201,162,39,.14);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}
html[lang="ar"] .chip { font-family: var(--font-ar); }
.section--navy .chip { color: var(--cloud-cream); background: rgba(201,162,39,.18); }

/* ---------- Services detailed rows ---------------------------------- */
.srv-row { display: grid; gap: 1.2rem; align-items: center; padding-block: clamp(1.6rem,5vw,2.4rem); border-bottom: 1px solid var(--line); }
.srv-row:last-child { border-bottom: 0; }
.srv-row .card__icon { width: 64px; height: 64px; }
.srv-row .card__icon svg { width: 32px; height: 32px; }
.srv-row h3 { font-size: 1.5rem; color: var(--midnight-navy); margin-bottom: .5rem; }
.srv-row p { color: var(--ink-70); }

/* ---------- Contact cards ------------------------------------------- */
.contact-card { text-align: center; }
.contact-card .card__icon { margin-inline: auto; }
.contact-card a.line { display: block; color: var(--midnight-navy); font-weight: 600; word-break: break-word; }
.contact-card a.line:hover { color: var(--deep-gold); }
.contact-card .muted { color: var(--ink-70); font-size: .9rem; }

/* ---------- Policy prose -------------------------------------------- */
.notice {
  display: flex; gap: .6rem; align-items: center;
  background: rgba(201,162,39,.12); border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm); padding: .8rem 1.1rem; margin-bottom: 1.8rem;
  font-size: .92rem; color: var(--deep-gold); font-weight: 600;
}
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.3rem; color: var(--midnight-navy); margin: 1.8rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-70); }
.prose ul { padding-inline-start: 1.2rem; list-style: disc; }
.prose li { margin-bottom: .4rem; }
.prose .ph { color: var(--deep-gold); font-family: var(--font-num); }

/* ---------- Reveal on scroll ---------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dest__img, .card, .btn { transition: none; }
}

/* skip link */
.skip { position: absolute; inset-inline-start: -999px; top: 0; z-index: 100; background: var(--midnight-navy); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0; }
.skip:focus { inset-inline-start: 0; }

:focus-visible { outline: 3px solid var(--aurum-gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Responsive ---------------------------------------------- */
@media (min-width: 620px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 940px) {
  body { font-size: 18px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { max-width: 44rem; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
  .cta-card { padding: 4rem; }
  .split { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .split--rev { grid-template-columns: 1.2fr .8fr; }
  .srv-row { grid-template-columns: 88px 1fr auto; gap: 1.8rem; }
}
@media (min-width: 620px) {
  .split .au-symbol { max-width: 340px; }
}
@media (min-width: 940px) {
  .mobile-menu { display: none; }
}
