/* =====================================================================
   أركان للسياحة والسفر — Arkan Travel & Tourism
   Design tokens
   Concept: "رحلتك... بشكل ثاني" — a flight route line stitches the whole
   page together (header → hero → sections → footer), standing in for
   the generic "hero + 3 cards" template.
   ===================================================================== */

:root {
  /* Color — pulled from the Arkan logo (royal blue + gold headset/plane mark) */
  --arkan-blue-deep:   #0E2E9A;
  --arkan-blue:        #1B45D7;
  --arkan-blue-light:  #4C86F7;
  --arkan-gold:        #F5AE13;
  --arkan-gold-light:  #FFD569;
  --ink:               #071233;
  --ink-soft:          #435073;
  --paper:             #FFFFFF;
  --paper-off:         #F5F7FD;
  --line:              #E3E8F5;

  /* Type */
  --font-display: 'Almarai', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'Almarai', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------------
   Opening loader — flight path draws in, plane travels it, lands on logo
   --------------------------------------------------------------------- */
#arkan-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#arkan-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-scene { text-align: center; width: 280px; }
.loader-scene svg { width: 100%; height: auto; }
#loader-route {
  stroke: var(--line);
  stroke-width: 2;
  fill: none;
}
#loader-route-progress {
  stroke: var(--arkan-blue);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-route 1.1s ease forwards;
}
#loader-plane {
  offset-path: path('M10,60 C 80,10 200,110 270,40');
  animation: fly-plane 1.1s ease forwards;
}
@keyframes draw-route { to { stroke-dashoffset: 0; } }
@keyframes fly-plane { from { offset-distance: 0%; opacity: 1;} to { offset-distance: 100%; opacity: 1; } }
.loader-logo {
  width: 132px; height: auto; margin: 6px auto 0; display: block;
  opacity: 0; transform: translateY(10px) scale(.92);
  animation: logo-arrive .55s cubic-bezier(.2,.8,.3,1) .95s forwards;
}
.loader-sub {
  margin-top: 10px; font-size: 13px; color: var(--ink-soft); opacity: 0;
  animation: fade-up .5s ease 1.35s forwards;
}
@keyframes logo-arrive { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px rgba(7,18,51,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.1; }
.brand-text span { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 700;
  color: var(--ink); position: relative; transition: color .25s ease, background .25s ease;
}
.main-nav a:hover { background: var(--paper-off); color: var(--arkan-blue); }
.main-nav .has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px;
  background: var(--paper); border-radius: var(--radius-m); box-shadow: 0 20px 50px rgba(7,18,51,.14);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s ease; border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: block; border-radius: var(--radius-s); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: linear-gradient(95deg, var(--arkan-blue), var(--arkan-blue-light)); color: #fff; box-shadow: 0 12px 24px rgba(27,69,215,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(27,69,215,.36); }
.btn-gold { background: linear-gradient(95deg, var(--arkan-gold), var(--arkan-gold-light)); color: var(--ink); box-shadow: 0 12px 24px rgba(245,174,19,.3); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--arkan-blue); color: var(--arkan-blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .2px;
  padding: 11px 20px; border-radius: 999px; white-space: nowrap; transition: background .2s ease, transform .2s ease;
}
.phone-pill svg { width: 15px; height: 15px; flex: none; }
.phone-pill:hover { background: var(--arkan-blue-deep); transform: translateY(-1px); }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); position: relative; }
.hamburger span, .hamburger::before, .hamburger::after {
  content: ''; position: absolute; right: 11px; left: 11px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger::before { top: 15px; }
.hamburger span { top: 21px; }
.hamburger::after { top: 27px; }
.hamburger.is-open::before { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open::after { transform: translateY(-6px) rotate(-45deg); }
.hamburger.is-open span { opacity: 0; }

.mobile-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(84vw, 340px); z-index: 600;
  background: var(--paper); box-shadow: 20px 0 50px rgba(7,18,51,.18);
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.9,.3,1);
  padding: 26px 22px; overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(7,18,51,.4); z-index: 590;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-drawer a { display: block; padding: 14px 4px; font-weight: 700; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------------
   Hero — split interactive
   --------------------------------------------------------------------- */
.hero {
  padding: calc(var(--header-h) + 46px) 0 60px;
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #EAF0FF 0%, rgba(234,240,255,0) 60%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18; margin: 0 0 18px;
}
.hero-copy .eyebrow-brand { color: var(--arkan-blue); font-weight: 800; font-size: 15px; margin-bottom: 10px; display: block; }
.hero-copy p.desc { font-size: 17px; line-height: 1.9; color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scene { position: relative; height: 460px; }
.dest-card {
  position: absolute; width: 190px; border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 24px 50px rgba(7,18,51,.16); background: var(--paper);
  transition: transform .35s ease;
}
.dest-card img { height: 130px; object-fit: cover; }
.dest-card .dc-label { padding: 10px 12px; font-weight: 800; font-size: 14px; }
.dest-card:hover { transform: translateY(-8px) rotate(0deg) !important; }
.dc-1 { top: 0;   right: 8%;  transform: rotate(-4deg); z-index: 3; }
.dc-2 { top: 120px; right: 42%; transform: rotate(3deg); z-index: 2; width: 170px; }
.dc-3 { top: 250px; right: 4%; transform: rotate(2deg); z-index: 1; width: 160px; }
.hero-route {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
}
.hero-route path { stroke: var(--line); stroke-width: 2; fill: none; stroke-dasharray: 6 8; }

/* ---------------------------------------------------------------------
   Travel planner floating card
   --------------------------------------------------------------------- */
.planner-wrap { margin-top: -70px; position: relative; z-index: 40; }
.planner-card {
  background: var(--paper); border-radius: var(--radius-l);
  box-shadow: 0 30px 70px rgba(7,18,51,.14); border: 1px solid var(--line);
  padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
}
.planner-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; white-space: nowrap; }
.planner-title span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.planner-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; }
.planner-form input, .planner-form select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 13px 14px; font-family: inherit; font-size: 14px; background: var(--paper-off);
}
.planner-form input:focus, .planner-form select:focus { outline: none; border-color: var(--arkan-blue); background: #fff; }
@media (max-width: 980px) {
  .planner-card { grid-template-columns: 1fr; }
  .planner-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .planner-form { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Section shell
   --------------------------------------------------------------------- */
.section { padding: 90px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-off { background: var(--paper-off); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; }
.section-head p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin: 0; }
.section-dark .section-head p { color: #B7C1E8; }
.section-foot { margin-top: 34px; display: flex; justify-content: center; }

/* ---------------------------------------------------------------------
   Offers — bento/magazine grid
   --------------------------------------------------------------------- */
.offers-bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 18px;
}
.offer-card {
  position: relative; border-radius: var(--radius-m); overflow: hidden; color: #fff;
  grid-column: span 2; grid-row: span 2; box-shadow: 0 16px 34px rgba(7,18,51,.14);
}
.offer-card.is-wide { grid-column: span 4; }
.offer-card.is-tall { grid-row: span 3; }
.offer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.offer-card:hover img { transform: scale(1.06); }
.offer-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,18,51,0) 30%, rgba(7,18,51,.86) 100%);
}
.offer-card .featured-pill {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 3;
  background: var(--arkan-gold); color: var(--ink); font-weight: 800; font-size: 12px;
  padding: 6px 12px; border-radius: 999px;
}
.offer-info { position: absolute; bottom: 0; inset-inline: 0; padding: 18px; z-index: 2; }
.offer-info .o-dest { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin: 0 0 4px; }
.offer-info .o-meta { font-size: 13px; color: #DCE3FA; margin: 0 0 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.offer-info .o-price { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--arkan-gold-light); }
.offer-info .o-actions { margin-top: 12px; display: flex; gap: 8px; }
.offer-info .o-actions .btn { padding: 9px 16px; font-size: 13px; }
@media (max-width: 900px) {
  .offers-bento { grid-template-columns: repeat(2, 1fr); }
  .offer-card { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* ---------------------------------------------------------------------
   Offer card v2 — blob-photo travel card (home / offers page / landing)
   --------------------------------------------------------------------- */
.offer-carousel-wrap { position: relative; }
.offer-carousel {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 14px;
}
.offer-carousel::-webkit-scrollbar { height: 6px; }
.offer-carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.offer-card-v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .offer-card-v2-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .offer-card-v2-grid { grid-template-columns: 1fr; } }

.offer-card-v2 {
  flex: 0 0 320px; scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; box-shadow: 0 16px 34px rgba(7,18,51,.08);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.offer-card-v2:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(7,18,51,.14); }
.offer-card-v2-grid .offer-card-v2 { flex: initial; width: 100%; }

.ov2-panel {
  position: relative; height: 230px; padding: 18px; overflow: hidden;
  background: linear-gradient(160deg, var(--arkan-blue-deep), var(--arkan-blue) 55%, var(--arkan-blue-light));
}
.ov2-top-row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 3; }
.ov2-brand { display: flex; align-items: center; gap: 6px; max-width: 60%; }
.ov2-brand img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.ov2-brand span { color: #fff; font-size: 10.5px; font-weight: 700; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov2-mini-icons { display: flex; gap: 6px; }
.ov2-mini-icons span { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; color: #fff; }
.ov2-mini-icons svg { width: 12px; height: 12px; }
.ov2-title {
  position: relative; z-index: 3; color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 22px; margin-top: 10px; max-width: 60%;
}
.ov2-photo { position: absolute; inset: 0; z-index: 1; }
.ov2-photo img {
  position: absolute; width: 68%; height: 84%; object-fit: cover;
  inset-inline-end: 8px; top: 10px;
  border-radius: 58% 42% 61% 39% / 46% 54% 46% 54%;
  box-shadow: -18px 18px 36px rgba(0,0,0,.22);
}
.ov2-badges { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ov2-badge-days {
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--arkan-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; line-height: 1.05; box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.ov2-badge-days small { font-size: 9px; font-weight: 700; }
.ov2-badge-price {
  width: 62px; height: 62px; border-radius: 50%; background: var(--arkan-gold); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; box-shadow: 0 6px 16px rgba(0,0,0,.24);
}
.ov2-badge-price small { font-size: 8.5px; font-weight: 700; }
.ov2-plane { position: absolute; bottom: 12px; inset-inline-end: 14px; z-index: 3; color: rgba(255,255,255,.85); }
.ov2-body { padding: 16px; }
.ov2-meta-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.ov2-stars { color: var(--arkan-gold); font-size: 13px; letter-spacing: 1px; }
.ov2-hotel { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.ov2-call-row { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.ov2-call-row strong { color: var(--arkan-blue); }
.ov2-caption { font-size: 14px; font-weight: 700; margin: 0 0 14px; line-height: 1.6; color: var(--ink); }
.ov2-actions { display: flex; gap: 8px; }
.ov2-actions .btn { flex: 1; padding: 11px 10px; font-size: 13px; justify-content: center; }

.offer-carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.offer-carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0; }
.offer-carousel-dots button.is-active { background: var(--arkan-blue); width: 20px; border-radius: 5px; }

/* ---------------------------------------------------------------------
   Flights — airport board / boarding pass
   --------------------------------------------------------------------- */
.board { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.board-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr .8fr .8fr auto; align-items: center; gap: 16px;
  padding: 20px 22px; border-bottom: 1px dashed var(--line); position: relative;
}
.board-row:last-child { border-bottom: none; }
.board-row::before, .board-row::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper-off); top: 50%; transform: translateY(-50%); border: 1px solid var(--line);
}
.board-row::before { right: -9px; } .board-row::after { left: -9px; }
.board-cell .bc-label { font-size: 11px; color: var(--ink-soft); margin-bottom: 4px; letter-spacing: .5px; }
.board-cell .bc-value { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.board-price { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--arkan-blue); }
@media (max-width: 880px) {
  .board-row { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------------
   Mecca offers — calm section
   --------------------------------------------------------------------- */
.mecca-hero { background: linear-gradient(180deg, #FFF9EC 0%, #fff 100%); }
.mecca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mecca-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; }
.mecca-card h3 { font-family: var(--font-display); margin: 0 0 10px; }

/* ---------------------------------------------------------------------
   Services — interactive tiles
   --------------------------------------------------------------------- */
.service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-tile {
  padding: 30px 26px; border-radius: var(--radius-m); background: var(--paper);
  border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s ease, border-color .3s ease;
}
.service-tile:hover { transform: translateY(-6px); border-color: transparent; }
.service-tile::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--arkan-blue), var(--arkan-blue-light));
  opacity: 0; transition: opacity .3s ease; z-index: 0;
}
.service-tile:hover::before { opacity: 1; }
.service-tile > * { position: relative; z-index: 1; }
.service-tile .st-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--paper-off); display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px; transition: transform .3s ease, background .3s ease;
}
.service-tile:hover .st-icon { transform: rotate(-8deg) scale(1.05); background: rgba(255,255,255,.18); }
.service-tile h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; transition: color .3s ease; }
.service-tile p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0; transition: color .3s ease, opacity .3s ease; }
.service-tile:hover h3, .service-tile:hover p { color: #fff; }
@media (max-width: 900px) { .service-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .service-tiles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Destinations — horizontal scroll strip
   --------------------------------------------------------------------- */
.dest-scroller { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x proximity; }
.dest-scroller::-webkit-scrollbar { height: 6px; }
.dest-scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.dest-strip-card {
  flex: 0 0 220px; height: 320px; border-radius: var(--radius-l); overflow: hidden; position: relative;
  scroll-snap-align: start; box-shadow: 0 14px 30px rgba(7,18,51,.1);
}
.dest-strip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-strip-card:hover img { transform: scale(1.12); }
.dest-strip-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,18,51,0) 40%, rgba(7,18,51,.82) 100%); }
.dest-strip-card .dsc-name { position: absolute; bottom: 18px; inset-inline: 18px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; }

/* ---------------------------------------------------------------------
   Why Arkan — orbit nodes
   --------------------------------------------------------------------- */
.orbit-wrap { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1/1; }
.orbit-ring { position: absolute; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.orbit-ring.r1 { width: 62%; height: 62%; }
.orbit-ring.r2 { width: 100%; height: 100%; }
.orbit-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 128px; height: 128px; border-radius: 50%;
  background: linear-gradient(135deg, var(--arkan-blue), var(--arkan-blue-light));
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 15px; padding: 10px;
  box-shadow: 0 0 0 10px rgba(76,134,247,.12);
}
.orbit-node {
  position: absolute; width: 140px; padding: 14px 16px; border-radius: var(--radius-m);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-size: 13px; font-weight: 700; text-align: center; backdrop-filter: blur(6px);
}
@media (max-width: 720px) {
  .orbit-wrap { max-width: 320px; }
  .orbit-node { width: 100px; font-size: 11px; padding: 10px; }
  .orbit-hub { width: 90px; height: 90px; font-size: 12px; }
}

/* ---------------------------------------------------------------------
   Marquee
   --------------------------------------------------------------------- */
.marquee { background: var(--arkan-blue); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 18px; opacity: .9; }
.marquee-track span.sep { color: var(--arkan-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: right; background: none; border: none; padding: 22px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink);
}
.faq-q .plus { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .3s ease, border-color .3s ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--arkan-blue); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .plus::before { width: 10px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 10px; transition: opacity .2s ease; }
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; margin: 0; color: var(--ink-soft); line-height: 1.8; }

/* ---------------------------------------------------------------------
   Blog
   --------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(7,18,51,.1); }
.blog-card-img-wrap { position: relative; }
.blog-card-img-wrap img, .blog-card > img { height: 190px; width: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.06); }
.blog-card-badge, .blog-card-price {
  position: absolute; top: 12px; z-index: 2; font-weight: 800; font-size: 12px; padding: 6px 12px;
  border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.blog-card-badge { inset-inline-start: 12px; background: var(--arkan-gold); color: var(--ink); }
.blog-card-price { inset-inline-end: 12px; background: var(--ink); color: #fff; font-family: var(--font-display); }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-cat { color: var(--arkan-blue); font-weight: 800; font-size: 12px; margin-bottom: 8px; display: block; }
.article-fixed-heading {
  font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.5;
  color: var(--ink); margin: 6px 0 14px;
}
@media (max-width: 640px) { .article-fixed-heading { font-size: 18px; } }
.blog-card h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 8px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; flex: 1; }
.blog-card .btn { width: 100%; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* Offer cards reuse .blog-card visuals; only sizing differs inside a carousel */
.offer-carousel .blog-card { flex: 0 0 300px; scroll-snap-align: start; }
.simple-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }

/* ---------------------------------------------------------------------
   Booking sidebar ("احجز رحلتك") — used on offer listing pages
   --------------------------------------------------------------------- */
.offer-page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.booking-sidebar {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  overflow: hidden; box-shadow: 0 16px 34px rgba(7,18,51,.08);
}
.booking-sidebar-head {
  background: linear-gradient(95deg, var(--arkan-blue-deep), var(--arkan-blue));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; padding: 18px 22px;
}
.booking-sidebar-form { padding: 20px 22px; display: grid; gap: 14px; }
.booking-sidebar-form .field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.booking-sidebar-form .field label span { color: #D0342C; }
.booking-sidebar-form input, .booking-sidebar-form select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 14px; font-family: inherit; font-size: 14px; background: var(--paper-off);
}
.booking-sidebar-form input:focus, .booking-sidebar-form select:focus { outline: none; border-color: var(--arkan-blue); background: #fff; }
.alert-success { background: #EAF7EE; color: #1FAE5C; padding: 16px; border-radius: var(--radius-s); font-weight: 700; font-size: 14px; }
.alert-error { background: #FDEAEA; color: #D0342C; padding: 16px; border-radius: var(--radius-s); font-weight: 700; font-size: 14px; }
@media (max-width: 980px) {
  .offer-page-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; margin-bottom: 8px; }
}

/* ---------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info-list { display: grid; gap: 16px; margin-top: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-m); background: var(--paper-off); }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 14px; font-family: inherit; font-size: 14px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.map-frame { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); margin-top: 20px; }
.map-frame iframe { width: 100%; height: 260px; border: 0; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, var(--arkan-blue-deep) 0%, var(--ink) 100%); color: #fff; position: relative; overflow: hidden; }
.footer-route { position: absolute; top: 0; inset-inline: 0; height: 60px; opacity: .5; }
.footer-top { padding: 70px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: #B7C1E8; font-size: 14px; line-height: 1.8; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-display); font-size: 15px; margin: 0 0 16px; }
.footer-col a { display: block; color: #C9D2F0; font-size: 14px; padding: 6px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--arkan-gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #9FACD6; flex-wrap: wrap; gap: 10px; }
.footer-bottom a.credit { color: var(--arkan-gold-light); font-weight: 700; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   WhatsApp floating capsule
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 400;
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  background: linear-gradient(95deg, #1FAE5C, #33D178); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 16px 34px rgba(31,174,92,.36); transition: transform .25s ease;
}
.wa-float:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------------
   Generic page hero (offers/services/etc.)
   --------------------------------------------------------------------- */
.page-hero { padding: calc(var(--header-h) + 50px) 0 50px; background: var(--paper-off); }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; }
.page-hero p { color: var(--ink-soft); font-size: 16px; max-width: 60ch; margin: 0; }

/* ---------------------------------------------------------------------
   Framed destination/offer hero — classic photo-frame instead of a
   full-bleed background image, with a small ambient plane loop that
   echoes the site's flight-route motif (see loader animation above).
   --------------------------------------------------------------------- */
.page-hero-framed { padding: calc(var(--header-h) + 60px) 0 70px; overflow: hidden; }
.hero-framed-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.hero-framed-text h1 { max-width: 18ch; }
.hero-framed-text p { max-width: 48ch; line-height: 1.85; }
.hero-frame-wrap { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.hero-frame {
  position: relative; background: var(--paper); padding: 14px;
  border-radius: var(--radius-l); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(7,18,51,.16);
}
.hero-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
.hero-frame-corner { position: absolute; width: 30px; height: 30px; pointer-events: none; }
.hero-frame-corner.tl { top: -8px; inset-inline-start: -8px; border-top: 2px solid var(--arkan-gold); border-inline-start: 2px solid var(--arkan-gold); }
.hero-frame-corner.br { bottom: -8px; inset-inline-end: -8px; border-bottom: 2px solid var(--arkan-gold); border-inline-end: 2px solid var(--arkan-gold); }
.hero-frame-route {
  position: absolute; width: 96px; height: 62px; top: -16px; inset-inline-end: -18px; z-index: 2; pointer-events: none;
}
.hero-frame-route path { fill: none; stroke: var(--arkan-blue-light); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .5; }
.hero-frame-plane {
  position: absolute; top: -16px; inset-inline-end: -18px; width: 13px; height: 13px; z-index: 3;
  offset-path: path('M 12,31 C 12,12 84,12 84,31 C 84,50 12,50 12,31 Z');
  offset-rotate: auto; animation: frame-plane-loop 8s linear infinite;
}
.hero-frame-plane svg { display: block; width: 100%; height: 100%; }
@keyframes frame-plane-loop { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-frame-plane { animation: none; }
}
@media (max-width: 980px) {
  .hero-framed-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-framed-text h1, .hero-framed-text p { max-width: none; margin-inline: auto; }
  .hero-frame-wrap { margin-top: 30px; max-width: 260px; }
}

/* Responsive base */
@media (max-width: 980px) {
  .main-nav, .header-cta .btn-ghost { display: none; }
  .hamburger { display: block; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-scene { height: 320px; margin-top: 20px; }
  .offers-bento { grid-template-columns: 1fr 1fr; }
}
