/* ==========================================================================
   Qawafel Alkhair — Design System
   Premium Saudi / Islamic-inspired identity · Deep Teal · Gold · Cool White
   (Look & feel aligned with the Qawafel travel-platform reference design)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --clr-emerald-950: #0a2a30; /* deep teal-navy */
  --clr-emerald-900: #0c333b;
  --clr-emerald-800: #0f424c;
  --clr-emerald-700: #12535f; /* primary teal */
  --clr-emerald-600: #17697a;
  --clr-emerald-500: #21838f;
  --clr-emerald-300: #6fb0ba;
  --clr-emerald-100: #d7e8ea;
  --clr-emerald-50:  #edf4f5;

  --clr-navy:     #0b2529;   /* footer / dark banner */
  --clr-navy-2:   #0e3036;

  --clr-gold-700: #8a6a1f;
  --clr-gold-600: #9a7a26;
  --clr-gold-500: #c09a3e;
  --clr-gold-400: #d4b36a;
  --clr-gold-200: #ecd9a8;
  --clr-gold-100: #f6edd7;

  --clr-ivory:     #f7f9fa;
  --clr-ivory-2:   #eef2f3;
  --clr-ink:       #1a2529;
  --clr-ink-soft:  #43525a;
  --clr-muted:     #5f6e74;
  --clr-line:      #e1e7e8;
  --clr-white:     #ffffff;

  --clr-wa: #128c4a;

  --font-sans: "Plus Jakarta Sans", "IBM Plex Sans Arabic", "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar:  "IBM Plex Sans Arabic", "Noto Sans Devanagari", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --fs-hero:  clamp(2.35rem, 5.4vw, 4.05rem);
  --fs-h2:    clamp(1.85rem, 3.4vw, 2.7rem);
  --fs-h3:    clamp(1.15rem, 1.6vw, 1.32rem);
  --fs-lead:  clamp(1.02rem, 1.2vw, 1.12rem);
  --fs-body:  1rem;

  --radius-sm:  .55rem;
  --radius-md:  .8rem;
  --radius-lg:  1.15rem;
  --radius-xl:  1.4rem;

  --shadow-sm: 0 1px 2px rgba(20, 33, 26, .05), 0 4px 14px rgba(20, 33, 26, .06);
  --shadow-md: 0 6px 24px rgba(20, 33, 26, .10);
  --shadow-lg: 0 18px 50px rgba(20, 33, 26, .16);

  --container: 1200px;
  --header-h: 84px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--clr-ink);
  background: var(--clr-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.75;
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
a { color: var(--clr-emerald-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

::selection { background: var(--clr-emerald-700); color: var(--clr-gold-100); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--clr-emerald-900);
  color: var(--clr-gold-200);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: inset-block-start .2s ease;
}
.skip-link:focus { inset-block-start: 0; text-decoration: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--clr-gold-700);
}
.eyebrow svg { width: 1.05rem; height: 1.05rem; }
.eyebrow-light { color: var(--clr-gold-200); }
.eyebrow-gold { color: var(--clr-gold-400); }

.gold { color: var(--clr-gold-600); font-style: normal; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head {
  max-width: 660px;
  margin: 0 auto clamp(2.6rem, 5vw, 4rem);
  text-align: center;
}
.section-head h2 { margin-bottom: .5rem; }
.section-lead { color: var(--clr-muted); font-size: var(--fs-lead); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; border-radius: calc(var(--radius-md) + 2px); }
.btn-block { width: 100%; }

.btn-primary { background: var(--clr-emerald-700); color: var(--clr-white); }
.btn-primary:hover { background: var(--clr-emerald-600); box-shadow: 0 10px 24px rgba(10, 58, 43, .28); }

.btn-gold {
  background: linear-gradient(135deg, var(--clr-gold-500), var(--clr-gold-600));
  color: var(--clr-emerald-950);
  box-shadow: 0 6px 18px rgba(154, 122, 38, .28);
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(154, 122, 38, .36); filter: brightness(1.05); }

.btn-outline { background: transparent; border-color: var(--clr-emerald-700); color: var(--clr-emerald-700); }
.btn-outline:hover { background: var(--clr-emerald-50); box-shadow: var(--shadow-sm); }

.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--clr-white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .8); }

.btn-wa { background: var(--clr-wa); color: var(--clr-white); }
.btn-wa:hover { background: #0e7a3e; box-shadow: 0 10px 24px rgba(18, 140, 74, .3); }
.btn-wa-gold {
  background: linear-gradient(135deg, var(--clr-gold-500), var(--clr-gold-600));
  color: var(--clr-emerald-950);
  box-shadow: 0 10px 26px rgba(154, 122, 38, .35);
}
.btn-wa-gold:hover { filter: brightness(1.06); color: var(--clr-emerald-950); box-shadow: 0 14px 32px rgba(154, 122, 38, .45); }
.btn-icon { width: 3.1rem; padding: 0; }

[dir="rtl"] svg:has(use[href="#i-arrow"]) { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  --hdr-color: var(--clr-ink);
  --hdr-muted: var(--clr-muted);
  color: var(--hdr-color);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 249, 250, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-line), 0 8px 28px rgba(11, 37, 41, .07);
  --hdr-color: var(--clr-ink);
  --hdr-muted: var(--clr-muted);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { flex-shrink: 0; width: 44px; height: 44px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; color: inherit; }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--clr-gold-700); }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: .35rem; }
.main-nav a {
  display: inline-block;
  padding: .5rem .7rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--hdr-muted);
  border-radius: var(--radius-sm);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--clr-emerald-700); background: var(--clr-emerald-50); text-decoration: none; }
.main-nav a[aria-current="true"] {
  position: relative;
  color: var(--clr-emerald-700);
}
.main-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  inset-inline: .7rem;
  bottom: .12rem;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-gold-500);
}

.header-actions { display: flex; align-items: center; gap: .85rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--hdr-color);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.lang-toggle svg { width: 1.05rem; height: 1.05rem; color: var(--clr-gold-600); }
.lang-toggle:hover { background: var(--clr-emerald-50); }

.header-phone {
  display: none;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--clr-ink-soft);
}
.header-phone svg { width: 1.05rem; height: 1.05rem; color: var(--clr-emerald-600); }
.header-phone:hover { color: var(--clr-emerald-700); text-decoration: none; }

.btn-wa-pill {
  padding: .62rem 1.15rem;
  border-radius: 999px;
  background: var(--clr-emerald-700);
  color: var(--clr-white);
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(18, 83, 95, .24);
}
.btn-wa-pill svg { width: 1.05rem; height: 1.05rem; }
.btn-wa-pill:hover { background: var(--clr-emerald-600); color: var(--clr-white); }

.header-cta { padding: .72rem 1.3rem; font-size: .92rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--hdr-color);
  cursor: pointer;
  transition: background-color .2s ease;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle:hover { background: var(--clr-emerald-50); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 120;
  width: min(86vw, 380px);
  padding: 1.25rem 1.5rem 2rem;
  background: var(--clr-ivory);
  box-shadow: -18px 0 50px rgba(20, 33, 26, .18);
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
[dir="rtl"] .mobile-nav { inset-inline-start: 0; inset-inline-end: auto; transform: translateX(-105%); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.mobile-nav-title { font-weight: 800; font-size: 1.05rem; color: var(--clr-ink); }
.mobile-nav .nav-toggle { color: var(--clr-ink); border-color: var(--clr-line); }
.mobile-nav-list { flex: 1; }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--clr-line);
  color: var(--clr-ink);
  font-weight: 600;
  font-size: 1.02rem;
}
.mobile-nav-actions { display: grid; gap: .7rem; margin-top: 1.6rem; }

body.nav-open { overflow: hidden; }
.scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(11, 37, 41, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 960px);
  padding-block: clamp(8rem, 16vh, 11rem) clamp(3.5rem, 7vw, 5.5rem);
  color: var(--clr-ink);
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1); /* pull under sticky header */
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .72) 0%,
    rgba(248, 251, 252, .5) 34%,
    rgba(250, 252, 253, .84) 72%,
    rgba(253, 254, 254, .97) 100%);
}
.hero-content {
  position: relative;
  max-width: 1020px;
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow { justify-content: center; margin-bottom: 1.1rem; }

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  color: var(--clr-emerald-900);
  margin-bottom: .85rem;
}
.hero-title .gold { color: var(--clr-gold-600); }

.hero-tagline {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: var(--clr-ink-soft);
  max-width: 62ch;
  margin: 0 auto 2.6rem;
}

/* --- Booking widget (reference style) --- */
.hero-widget {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-inline: auto;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(11, 37, 41, .18), 0 4px 16px rgba(11, 37, 41, .08);
  overflow: hidden;
  text-align: start;
}

.widget-tabs {
  display: flex;
  gap: .35rem;
  padding: .7rem .7rem 0;
  border-bottom: 1px solid var(--clr-line);
  background: var(--clr-ivory-2);
}
.widget-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.2rem;
  border: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  color: var(--clr-muted);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.widget-tab svg { width: 1.15rem; height: 1.15rem; }
.widget-tab:hover { color: var(--clr-emerald-700); background: rgba(255, 255, 255, .6); }
.widget-tab.is-active {
  background: var(--clr-emerald-700);
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(18, 83, 95, .28);
}

.widget-form {
  display: grid;
  grid-template-columns: 1.15fr auto 1.15fr 1fr 1fr auto;
  align-items: end;
  gap: .8rem;
  padding: 1.2rem 1.3rem;
}
.widget-field { display: grid; gap: .4rem; min-width: 0; }
.widget-field label { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--clr-muted); }
.widget-input {
  position: relative;
  display: flex;
  align-items: center;
}
.widget-input > svg {
  position: absolute;
  inset-inline-start: .8rem;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--clr-emerald-600);
  pointer-events: none;
}
.widget-input input,
.widget-input select {
  width: 100%;
  padding: .72rem 1rem .72rem 2.4rem;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  background: var(--clr-ivory);
  font-family: inherit;
  font-size: .95rem;
  color: var(--clr-ink);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  appearance: none;
  -webkit-appearance: none;
}
.widget-input select {
  padding-inline-end: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6e74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 1rem;
}
[dir="rtl"] .widget-input select { background-position: left .8rem center; }
.widget-input input:focus,
.widget-input select:focus {
  outline: none;
  border-color: var(--clr-emerald-600);
  background-color: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(23, 105, 122, .14);
}
.widget-input input::placeholder { color: #9aa6aa; }

.widget-swap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-line);
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-emerald-700);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .25s ease;
}
.widget-swap svg { width: 1.1rem; height: 1.1rem; }
.widget-swap:hover { background: var(--clr-emerald-700); color: var(--clr-white); transform: rotate(180deg); }

.widget-submit {
  height: 46px;
  padding-inline: 1.4rem;
  font-size: .95rem;
  white-space: nowrap;
}

.widget-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  padding: 1rem 1.3rem;
  border-top: 1px solid var(--clr-line);
  background: var(--clr-ivory);
}
.widget-badges li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem .5rem;
}
.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--clr-emerald-50);
  color: var(--clr-emerald-700);
}
.badge-icon svg { width: 19px; height: 19px; }
.widget-badges strong { display: block; font-size: .86rem; color: var(--clr-ink); line-height: 1.25; }
.widget-badges small { font-size: .74rem; color: var(--clr-muted); line-height: 1.3; }

.hero-scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  color: var(--clr-muted);
}
[dir="rtl"] .hero-scroll { transform: translateX(50%); }
.hero-scroll svg { width: 30px; height: 30px; animation: float 2.4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5.5vw, 5rem);
  align-items: center;
}
.split-body h2 { margin-bottom: 1.1rem; }
.split-body > p { color: var(--clr-muted); }

.split-media { position: relative; }
.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  background: var(--clr-emerald-100);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.media-frame:hover img { transform: scale(1.045); }

/* ---------- Services ---------- */
.services { background: var(--clr-ivory-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.7rem 1.55rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-gold-400);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--clr-emerald-50);
  color: var(--clr-emerald-700);
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--clr-emerald-700); color: var(--clr-gold-200); transform: translateY(-2px); }

.service-card h3 { font-size: var(--fs-h3); margin-bottom: .55rem; }
.service-card p { font-size: .92rem; color: var(--clr-muted); }

.service-points { margin: .95rem 0 1.25rem; display: grid; gap: .48rem; width: 100%; }
.service-points li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--clr-ink-soft);
}
.service-points svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: .24rem;
  color: var(--clr-emerald-600);
}
.service-btn { margin-top: auto; }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; border-radius: calc(var(--radius-sm) + 2px); }
.service-btn svg { width: 1rem; height: 1rem; }

.service-card-featured {
  background: linear-gradient(160deg, var(--clr-emerald-800), var(--clr-emerald-950));
  border-color: transparent;
}
.service-card-featured h3, .service-card-featured p { color: var(--clr-white); }
.service-card-featured p { color: rgba(255, 255, 255, .72); }
.service-card-featured .service-icon { background: rgba(255, 255, 255, .1); color: var(--clr-gold-400); }
.service-card-featured:hover { border-color: var(--clr-gold-500); }
.service-card-featured .service-points li { color: rgba(255, 255, 255, .85); }
.service-card-featured .service-points svg { color: var(--clr-gold-400); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.1rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  color: var(--clr-emerald-700);
  cursor: pointer;
  transition: color .2s ease, gap .2s ease;
}
.card-link svg { width: 1.05rem; height: 1.05rem; transition: transform .2s ease; }
.card-link:hover { gap: .7rem; text-decoration: none; }
.card-link-center { align-self: center; }
.card-link-light { color: var(--clr-gold-200); }
.card-link-light:hover { color: var(--clr-white); }
.service-card-featured .card-link { color: var(--clr-gold-400); }
.service-card-featured .card-link:hover { color: var(--clr-gold-200); }

/* ---------- Highlight (dark) ---------- */
.highlight {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(32, 110, 80, .35) 0%, transparent 55%),
    linear-gradient(160deg, var(--clr-emerald-900), var(--clr-emerald-950));
  color: var(--clr-white);
}
.split-dark .split-body > p { color: rgba(255, 255, 255, .78); }
.split-dark h2 { color: var(--clr-white); }

.media-frame-dark { box-shadow: none; border: 1px solid rgba(212, 179, 106, .35); }
.media-ring {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(212, 179, 106, .28);
  border-radius: calc(var(--radius-xl) + 12px);
  pointer-events: none;
}
.split-media > .media-ring { z-index: 1; }

.benefit-list { margin: 1.8rem 0 2.2rem; display: grid; gap: 1.1rem; }
.benefit-list li { display: flex; align-items: flex-start; gap: .9rem; }
.benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin-top: .1rem;
  border-radius: 50%;
  background: rgba(212, 179, 106, .16);
  color: var(--clr-gold-400);
}
.benefit-check svg { width: 17px; height: 17px; }
.benefit-list strong { display: block; color: var(--clr-white); font-size: 1.02rem; }
.benefit-list small { color: rgba(255, 255, 255, .65); }

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
  align-items: stretch;
}
.package-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.package-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.package-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.package-card:hover .package-media img { transform: scale(1.06); }
.package-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 32, 25, .35));
}
.package-chip {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: 1;
  padding: .34rem .85rem;
  border-radius: .5rem;
  background: rgba(250, 247, 240, .92);
  color: var(--clr-emerald-900);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.package-chip-gold { background: var(--clr-gold-500); color: var(--clr-emerald-950); }

.package-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem 1.6rem 1.7rem;
}
.package-icon {
  position: absolute;
  inset-block-start: -24px;
  inset-inline-start: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--clr-gold-100);
  color: var(--clr-gold-700);
  box-shadow: var(--shadow-sm);
}
.package-icon svg { width: 24px; height: 24px; }
.package-body h3 { font-size: 1.3rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.package-body > p { color: var(--clr-muted); font-size: .94rem; }

.package-features { margin: 1.1rem 0 1.5rem; display: grid; gap: .55rem; }
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-ink-soft);
}
.package-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: .2rem;
  border-radius: 50%;
  background: var(--clr-emerald-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6b4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.package-actions { margin-top: auto; display: grid; gap: .6rem; }

.package-card-dark {
  background: linear-gradient(165deg, var(--clr-emerald-900), var(--clr-emerald-950));
  border-color: rgba(212, 179, 106, .3);
}
.package-card-dark .package-body h3 { color: var(--clr-white); }
.package-card-dark .package-body > p { color: rgba(255, 255, 255, .72); }
.package-card-dark .package-features li { color: rgba(255, 255, 255, .85); }
.package-card-dark .package-features li::before { background-color: rgba(212, 179, 106, .18); }
.package-card-dark .package-icon { background: rgba(212, 179, 106, .16); color: var(--clr-gold-400); }

/* ---------- Timeline ---------- */
.steps { background: var(--clr-ivory-2); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-block-start: 1.55rem;
  inset-inline: calc(10% - 1px) calc(10% - 1px);
  height: 0;
  border-top: 2px dashed var(--clr-emerald-300);
}
.timeline::after {
  content: "";
  position: absolute;
  inset-block-start: 1.33rem;
  inset-inline-end: 8%;
  width: 0;
  height: 0;
  border-block-start: 7px solid transparent;
  border-block-end: 7px solid transparent;
  border-inline-start: 9px solid var(--clr-emerald-500);
}
[dir="rtl"] .timeline::after {
  inset-inline-end: auto;
  inset-inline-start: 8%;
  border-inline-start: 0;
  border-inline-end: 9px solid var(--clr-emerald-500);
}

.timeline-step { position: relative; padding-block-start: 4.3rem; }
.timeline-num {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-emerald-700);
  box-shadow: 0 6px 16px rgba(18, 83, 95, .28);
  font-size: .95rem;
  font-weight: 800;
  color: var(--clr-white);
  z-index: 1;
}
.timeline-step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.timeline-step p { font-size: .9rem; color: var(--clr-muted); margin: 0; }

/* ---------- Experience band ---------- */
.experience {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62svh;
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  color: var(--clr-white);
}
.experience-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.experience-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 32, 25, .82), rgba(7, 32, 25, .72) 45%, rgba(7, 32, 25, .86));
}
.experience-content { position: relative; max-width: 760px; margin-inline: auto; text-align: center; }
.experience-content h2 { color: var(--clr-white); margin-bottom: 1.1rem; }
.experience-content p { color: rgba(255, 255, 255, .85); font-size: var(--fs-lead); margin: 0; }

/* ---------- Platform / dashboard ---------- */
.platform .split { align-items: start; }
.platform-points { margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.platform-points li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; color: var(--clr-ink-soft); }
.platform-points svg { width: 1.2rem; height: 1.2rem; color: var(--clr-gold-600); flex-shrink: 0; margin-top: .15rem; }

.dashboard {
  border-radius: var(--radius-lg);
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.1rem;
  background: var(--clr-ivory-2);
  border-bottom: 1px solid var(--clr-line);
}
.dashboard-dots { display: flex; gap: .35rem; }
.dashboard-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--clr-emerald-100); }
.dashboard-dots i:first-child { background: var(--clr-gold-400); }
.dashboard-badge {
  margin-inline-start: auto;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-gold-700);
  background: var(--clr-gold-100);
  padding: .3rem .7rem;
  border-radius: .5rem;
}
.dashboard-grid { display: grid; grid-template-columns: 235px 1fr; }

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem .8rem;
  background: var(--clr-ivory);
  border-inline-end: 1px solid var(--clr-line);
}
.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-ink-soft);
  transition: background-color .18s ease, color .18s ease;
}
.dashboard-nav a:hover { background: var(--clr-emerald-50); color: var(--clr-emerald-700); text-decoration: none; }
.dashboard-nav a.dash-active { background: var(--clr-emerald-700); color: var(--clr-white); }
.dashboard-nav svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }

.dashboard-main { padding: 1.1rem; display: grid; gap: .8rem; align-content: start; background: var(--clr-ivory-2); }

.dash-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-md);
  padding: .95rem 1.05rem;
}
.dash-label { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: .3rem; }
.dash-title { font-size: 1rem; font-weight: 800; color: var(--clr-ink); margin: 0; }
.dash-status { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; font-size: .78rem; font-weight: 700; color: var(--clr-emerald-600); }
.dash-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clr-gold-500);
  box-shadow: 0 0 0 4px rgba(192, 154, 62, .2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(192, 154, 62, .18); } 50% { box-shadow: 0 0 0 6px rgba(192, 154, 62, .08); } }

.dash-row { display: flex; align-items: center; gap: .7rem; padding-block: .35rem; }
.dash-row + .dash-row { border-top: 1px dashed var(--clr-line); }
.dash-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: .5rem;
  background: var(--clr-emerald-50);
  color: var(--clr-emerald-700);
}
.dash-row-icon svg { width: 17px; height: 17px; }
.dash-row strong { display: block; font-size: .84rem; color: var(--clr-ink); }
.dash-row small { font-size: .76rem; color: var(--clr-muted); }

.dash-steps { display: grid; gap: .45rem; }
.dash-steps li { display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; color: var(--clr-ink-soft); }
.dash-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 800;
  background: var(--clr-emerald-100);
  color: var(--clr-emerald-700);
}
.dash-steps li.done .dash-step-dot { background: var(--clr-emerald-700); color: var(--clr-white); }
.dash-steps li.done .dash-step-dot svg { width: 12px; height: 12px; }
.dash-steps li.now .dash-step-dot { background: var(--clr-gold-500); color: var(--clr-emerald-950); }
.dash-steps li.now { color: var(--clr-ink); }

.dash-card-gold {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: linear-gradient(140deg, var(--clr-emerald-800), var(--clr-emerald-950));
  border-color: transparent;
}
.dash-kaaba { display: inline-flex; color: var(--clr-gold-400); }
.dash-kaaba svg { width: 26px; height: 26px; }
.dash-card-gold p { margin: 0; color: rgba(255, 255, 255, .9); font-weight: 700; font-size: .9rem; }

/* ---------- B2B (dark) ---------- */
.b2b {
  background:
    radial-gradient(90% 80% at 12% 15%, rgba(32, 110, 80, .4) 0%, transparent 55%),
    linear-gradient(160deg, var(--clr-emerald-900), var(--clr-emerald-950));
  color: var(--clr-white);
}
.b2b h2 { color: var(--clr-white); }
.b2b .split-body > p { color: rgba(255, 255, 255, .78); }

.b2b-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1.2rem;
  margin: 1.9rem 0 2.1rem;
}
.b2b-features li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .2rem;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}
.b2b-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: .6rem;
  background: rgba(255, 255, 255, .08);
  color: var(--clr-gold-400);
}
.b2b-feature-icon svg { width: 19px; height: 19px; }
.b2b-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.b2b .btn-outline { border-color: rgba(255, 255, 255, .5); color: var(--clr-white); }
.b2b .btn-outline:hover { background: rgba(255, 255, 255, .1); }

.media-frame-tall { aspect-ratio: 3 / 4; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.why-card {
  padding: 1.9rem 1.5rem;
  text-align: center;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--clr-emerald-300); }
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--clr-emerald-50);
  color: var(--clr-emerald-700);
  transition: background-color .22s ease, color .22s ease;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card:hover .why-icon { background: var(--clr-emerald-700); color: var(--clr-gold-200); }
.why-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.why-card p { font-size: .92rem; color: var(--clr-muted); margin: 0; }

/* ---------- Segments ---------- */
.segments { background: var(--clr-ivory); }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.segment-card {
  padding: 1.9rem 1.5rem;
  text-align: center;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.segment-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--clr-gold-400); }
.segment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--clr-gold-100);
  color: var(--clr-gold-700);
  transition: background-color .22s ease, color .22s ease;
}
.segment-icon svg { width: 26px; height: 26px; }
.segment-card:hover .segment-icon { background: var(--clr-gold-500); color: var(--clr-emerald-950); }
.segment-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.segment-card p { font-size: .9rem; color: var(--clr-muted); margin: 0; }

/* ---------- Destinations ---------- */
.destinations { background: var(--clr-ivory-2); }
.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem;
}
.dest-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.dest-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
.dest-card:hover .dest-media img { transform: scale(1.06); }
.dest-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 32, 25, .78));
}
.dest-info { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 1.5rem 1.6rem; color: var(--clr-white); }
.dest-info h3 { font-size: 1.6rem; color: var(--clr-white); margin-bottom: .15rem; }
.dest-info p { margin: 0; font-size: .92rem; color: var(--clr-gold-200); font-weight: 600; }
.dest-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Support / contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}
.contact-card {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1.3rem 1.35rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--clr-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--clr-gold-400); text-decoration: none; }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--clr-emerald-50);
  color: var(--clr-emerald-700);
}
.contact-icon svg { width: 23px; height: 23px; }
.contact-card small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: .15rem; }
.contact-card strong { font-size: 1rem; font-weight: 700; }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.support-copy h3 { font-size: 1.45rem; }
.support-copy > p { color: var(--clr-muted); }
.support-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.4rem; }
.support-note { font-size: .88rem; }
.support-note a { font-weight: 700; }

/* ---------- Lead form ---------- */
.lead-form-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--clr-ink-soft); }
.form-field label .req { color: var(--clr-gold-600); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .78rem .95rem;
  font-family: inherit;
  font-size: 1rem; /* 16px prevents iOS zoom-on-focus */
  color: var(--clr-ink);
  background: var(--clr-ivory);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--clr-emerald-600);
  background: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(26, 107, 78, .14);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa49e; }
.form-submit { margin-top: 1.3rem; }
.form-note { font-size: .78rem; color: var(--clr-muted); margin: .8rem 0 0; text-align: center; }

.form-success { text-align: center; padding: 2.2rem 1rem; }
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--clr-emerald-50);
  color: var(--clr-emerald-700);
}
.form-success-icon svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.form-success p { color: var(--clr-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--clr-ivory-2); }
.faq-list { display: grid; gap: .85rem; }
.faq-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open { border-color: var(--clr-gold-400); box-shadow: var(--shadow-sm); }
.faq-q { margin: 0; }
.faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.3rem;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-ink);
  text-align: start;
  cursor: pointer;
}
.faq-q button:hover { color: var(--clr-emerald-700); }
.faq-q svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--clr-gold-600);
  transition: transform .28s ease;
}
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 1.3rem 1.2rem; margin: 0; font-size: .95rem; color: var(--clr-muted); overflow: hidden; min-height: 0; }
.faq-a a { font-weight: 700; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42svh;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
  color: var(--clr-white);
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(33, 131, 143, .35) 0%, transparent 55%),
    linear-gradient(120deg, var(--clr-emerald-800), var(--clr-navy));
}
.final-content { position: relative; text-align: center; max-width: 760px; }
.final-content h2 { color: var(--clr-white); margin-bottom: 1rem; }
.final-content p { color: rgba(255, 255, 255, .85); font-size: var(--fs-lead); margin-bottom: 2.1rem; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.final-actions .btn-ghost-light { border-color: rgba(255, 255, 255, .55); }
.final-actions .btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--clr-navy);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(3.4rem, 6vw, 5rem) 2rem;
}
.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.4rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .72);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.footer-social a:hover {
  background: var(--clr-gold-500);
  border-color: var(--clr-gold-500);
  color: var(--clr-emerald-950);
  text-decoration: none;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand { color: var(--clr-white); margin-bottom: 1.1rem; }
.brand-footer .brand-sub { color: var(--clr-gold-400); }
.footer-blurb { font-size: .92rem; max-width: 34ch; color: rgba(255, 255, 255, .62); }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-gold-200);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: .92rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--clr-gold-200); }
.footer-legal-title { margin-top: 1.6rem; }

.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; color: var(--clr-gold-400); flex-shrink: 0; margin-top: .2rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-top: 1.7rem;
  font-size: .84rem;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom p { margin: 0; }
.footer-bottom-note { font-style: italic; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 80;
  display: none;
  gap: .7rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 240, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--clr-line);
}
.mobile-cta .btn { flex: 1; }

/* ---------- Modal ---------- */
.lead-dialog {
  width: min(92vw, 640px);
  max-height: 88svh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--clr-ivory);
  color: var(--clr-ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lead-dialog::backdrop {
  background: rgba(7, 32, 25, .68);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lead-dialog[open] { animation: dialog-in .28s cubic-bezier(.3, .9, .3, 1); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.lead-dialog-inner { position: relative; padding: clamp(1.6rem, 4vw, 2.3rem); overflow-y: auto; max-height: 88svh; }
.dialog-close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-line);
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-ink-soft);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.dialog-close:hover { background: var(--clr-emerald-700); color: var(--clr-white); transform: rotate(90deg); }
.dialog-close svg { width: 18px; height: 18px; }
.lead-dialog-inner h2 { font-size: 1.55rem; margin-top: .2rem; }
.modal-lead { color: var(--clr-muted); margin-bottom: 1.5rem; }
.lead-dialog .form-submit { margin-top: 1.6rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  inset-block-end: 1.4rem;
  inset-inline-end: 1.4rem;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: min(92vw, 380px);
  padding: .95rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--clr-emerald-900);
  color: var(--clr-white);
  box-shadow: var(--shadow-lg);
  font-size: .92rem;
  font-weight: 600;
}
.toast[hidden] { display: none; }
.toast.show { animation: toast-in .3s cubic-bezier(.3, .9, .3, 1); }
.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--clr-gold-500);
  color: var(--clr-emerald-950);
}
.toast-icon svg { width: 14px; height: 14px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet / small laptop */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .btn-wa-pill { display: none; }
  .widget-form { grid-template-columns: 1fr 1fr; }
  .widget-swap { display: none; }
  .widget-submit { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; gap: 1.4rem; }
  .timeline::before {
    inset-block: 1.2rem 1.2rem;
    inset-inline-start: 25px;
    inset-inline-end: auto;
    width: 0;
    height: auto;
    border-top: 0;
    border-inline-start: 2px dashed var(--clr-emerald-300);
  }
  [dir="rtl"] .timeline::before {
    inset-inline-end: 25px;
    inset-inline-start: auto;
    border-inline-start: 0;
    border-inline-end: 2px dashed var(--clr-emerald-300);
  }
  .timeline::after { display: none; }
  .timeline-step { padding-block-start: 0; padding-inline-start: 4.6rem; }
  .timeline-num { width: 48px; height: 48px; inset-block-start: 0; }
}

@media (min-width: 1200px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 920px) {
  .split, .support-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media + .split-body { order: 0; }
  .platform .split-media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-nav { flex-direction: row; overflow-x: auto; border-inline-end: 0; border-block-end: 1px solid var(--clr-line); }
  .dashboard-nav a { white-space: nowrap; }
  .dest-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .hero { min-height: min(94svh, 860px); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .segments-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .b2b-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .lang-label .lang-en, .lang-label .lang-ar { display: none; }
  .lang-toggle { padding: .45rem; }
  .lang-toggle svg { width: 1.2rem; height: 1.2rem; }
  .hero-tagline { margin-bottom: 1.8rem; }
  .widget-tabs { padding: .5rem .5rem 0; gap: .2rem; }
  .widget-tab { flex: 1; justify-content: center; padding: .62rem .5rem; font-size: .86rem; }
  .widget-form { grid-template-columns: 1fr; padding: 1rem; gap: .7rem; }
  .widget-badges { grid-template-columns: 1fr 1fr; padding: .9rem 1rem; }
  .widget-badges li { padding: .3rem 0; }
  .widget-badges small { font-size: .72rem; }
  .toast { inset-inline: 1rem; inset-block-end: calc(5.6rem + env(safe-area-inset-bottom, 0px)); }
}
