/* ==========================================================================
   مسألة وقت — Home page (index.php) · scoped under .page-home
   01 Hero            05 Latest offers      09 Travel styles (bento)
   02 Trip planner    06 Visa price board   10 Stats band
   03 Services        07 Destinations       11 Promo cards
   04 Why us          08 Story block        12 Motion / reduced motion
   Tokens only (see main.css). Logical properties for RTL.
   ========================================================================== */

.page-home {
  --planner-overlap: clamp(2.75rem, 1.6rem + 3.2vw, 4.75rem);
  --map-mask: url("../../img/misc/map.png");
}

/* Brand word-mark for the tabby instalments partner (Latin, one-off colours). */
.page-home .tabby-mark {
  display: inline-block;
  padding: .02em .5em .14em;
  border-radius: 7px;
  background: #3EEDBF;
  color: #0B0B0B;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: .86em;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  vertical-align: .06em;
}

/* 01 — HERO ================================================================ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem) calc(var(--planner-overlap) + clamp(2.5rem, 1.5rem + 3vw, 4rem));
  background: var(--sand-100);
}
.page-home .hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-home .hero__map {
  position: absolute;
  inset: 4% -6% 10% -6%;
  background: var(--teal-700);
  -webkit-mask: var(--map-mask) center 40% / min(1500px, 170%) auto no-repeat;
  mask: var(--map-mask) center 40% / min(1500px, 170%) auto no-repeat;
  opacity: .075;
}
.page-home .hero__glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.page-home .hero__glow--teal {
  width: min(900px, 120vw); aspect-ratio: 1;
  top: -32%; inset-inline-end: -18%;
  background: radial-gradient(closest-side, rgba(38, 176, 178, .22), rgba(38, 176, 178, .08) 55%, transparent);
}
.page-home .hero__glow--gold {
  width: min(760px, 110vw); aspect-ratio: 1;
  bottom: -46%; inset-inline-start: -14%;
  background: radial-gradient(closest-side, rgba(224, 169, 76, .22), rgba(224, 169, 76, .07) 55%, transparent);
}

.page-home .hero__inner { position: relative; display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); }
@media (min-width: 1000px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
    min-height: max(560px, calc(88vh - 132px - var(--planner-overlap)));
  }
}

/* Text column */
.page-home .hero__content { position: relative; z-index: 2; max-width: 620px; }
.page-home .hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.4rem;
  padding: .35rem 1.1rem .35rem .4rem;
  padding-inline: .4rem 1.1rem;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
  color: var(--teal-800);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.5;
}
.page-home .hero__eyebrow-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-500); color: var(--ink);
}
.page-home .hero__eyebrow-icon .icon { width: 16px; height: 16px; transform: rotate(-90deg); }

.page-home .hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 1.3rem + 4.9vw, 4.8rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}
.page-home .hero__hl {
  position: relative;
  display: inline-block;
  padding-bottom: .06em;
  /* gold highlight — darker end keeps ≥3:1 contrast for large text on sand */
  color: var(--gold-700);
  background: linear-gradient(100deg, color-mix(in srgb, var(--gold-600) 55%, var(--gold-700)) 0%, color-mix(in srgb, var(--gold-600) 70%, var(--gold-700)) 50%, color-mix(in srgb, var(--gold-600) 45%, var(--gold-700)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-home .hero__swoosh {
  position: absolute;
  inset-inline-start: -3%;
  bottom: -.16em;
  width: 106%;
  height: .38em;
  overflow: visible;
  fill: none;
  stroke: var(--gold-500);
  stroke-linecap: round;
  pointer-events: none;
}
.page-home .hero__swoosh-a { stroke-width: 7; vector-effect: non-scaling-stroke; }
.page-home .hero__swoosh-b { stroke-width: 3.5; vector-effect: non-scaling-stroke; stroke: var(--teal-400); }
@media (min-width: 900px) { .page-home .hero__swoosh-a { stroke-width: 9; } .page-home .hero__swoosh-b { stroke-width: 4.5; } }

.page-home .hero__lead {
  max-width: 34em;
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.9;
  color: var(--muted);
}
.page-home .hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.page-home .hero__wa { background: rgba(255, 255, 255, .55); }
.page-home .hero__wa .icon { color: var(--wa-green-dark); transition: color var(--dur-2); }
.page-home .hero__wa:hover .icon { color: #fff; }
@media (max-width: 519.98px) {
  .page-home .hero__actions .btn { flex: 1 1 100%; }
}

.page-home .hero__trust {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem; padding-top: 1.6rem;
  border-top: 1px dashed var(--line-strong);
  max-width: 520px;
}
.page-home .hero__trust-item { position: relative; display: flex; flex-direction: column; gap: .15rem; padding-inline: 0 1rem; }
.page-home .hero__trust-item + .hero__trust-item { padding-inline-start: clamp(.9rem, 2vw, 1.5rem); }
.page-home .hero__trust-item + .hero__trust-item::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line-strong);
}
.page-home .hero__trust-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--teal-700);
}
.page-home .hero__trust-value .num { display: inline-block; }
.page-home .hero__trust-label { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); line-height: 1.5; }

/* Visual column: 3 arch photos + dial + flight route + glass cards */
.page-home .hero__visual { position: relative; width: 100%; max-width: 620px; margin-inline: auto; }
@media (min-width: 1000px) { .page-home .hero__visual { margin-inline: auto 0; } }
.page-home .hero__stage { position: relative; aspect-ratio: 600 / 540; }

.page-home .hero__dial {
  position: absolute; z-index: -1;
  top: -4%; inset-inline-start: 10%;
  width: 82%; height: auto;
  overflow: visible;
  fill: none;
}
.page-home .hero__dial-ring { stroke: var(--gold-300); stroke-width: .6; opacity: .8; }
.page-home .hero__dial-ticks { stroke: var(--gold-400); stroke-width: 4; stroke-dasharray: .09 .91; opacity: .45; }
.page-home .hero__dots {
  position: absolute; z-index: -1;
  bottom: 4%; inset-inline-start: 2%;
  width: 26%; height: 22%;
  background-image: radial-gradient(var(--teal-400) 1.8px, transparent 1.8px);
  background-size: 15px 15px;
  opacity: .4;
}

.page-home .hero__arch {
  position: absolute;
  margin: 0;
  container-type: inline-size;
}
.page-home .hero__arch img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 4.3;
  object-fit: cover;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  border-radius: 50cqi 50cqi var(--r-lg) var(--r-lg);
  box-shadow: 0 0 0 5px var(--sand-50), var(--shadow-lg);
}
.page-home .hero__arch--a { z-index: 2; top: 3%; inset-inline-start: 30%; width: 40%; }
.page-home .hero__arch--a img { aspect-ratio: 3 / 4.45; box-shadow: 0 0 0 7px #fff, 0 30px 60px -20px rgba(12, 52, 56, .45); }
.page-home .hero__arch--b { z-index: 1; top: 25%; inset-inline-start: 0; width: 31%; }
.page-home .hero__arch--c { z-index: 1; top: 13%; inset-inline-end: 0; width: 31%; }

.page-home .hero__route {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
}
.page-home .hero__route-halo { stroke: rgba(255, 255, 255, .75); stroke-width: 6; stroke-linecap: round; }
.page-home .hero__route-line { stroke: var(--gold-600); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 9; }
.page-home .hero__route-origin { fill: #fff; stroke: var(--gold-600); stroke-width: 2.5; }
.page-home .hero__route-dest { fill: var(--gold-500); stroke: #fff; stroke-width: 2; }
.page-home .hero__plane {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: .9;
  paint-order: stroke;
  /* static resting point on the route (end of its 2nd segment), used with reduced motion / no motion-path support */
  transform: translate(96px, 128px) rotate(-41deg);
  filter: drop-shadow(0 4px 6px rgba(12, 52, 56, .3));
}

.page-home .hero__card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 1rem .6rem .6rem;
  padding-inline: .6rem 1.05rem;
  border-radius: var(--r-md);
  max-width: 62%;
}
.page-home .hero__card--visa { top: 3%; inset-inline-start: -2%; }
.page-home .hero__card--tabby { bottom: 5%; inset-inline-end: 4%; }
.page-home .hero__card-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--gold-100); color: var(--gold-700);
}
.page-home .hero__card-icon .icon { width: 22px; height: 22px; }
.page-home .hero__card-icon--teal { background: var(--ink); color: var(--gold-400); }
.page-home .hero__card-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.page-home .hero__card-label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.page-home .hero__card-value { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 800; color: var(--ink); white-space: nowrap; }
.page-home .hero__card-value small { font-family: var(--font-body); font-size: .6em; font-weight: 700; color: var(--gold-700); }
.page-home .hero__card-title { font-size: var(--fs-sm); font-weight: 800; color: var(--ink); white-space: nowrap; }

@media (max-width: 639.98px) {
  .page-home .hero__card { gap: .5rem; padding-block: .45rem; padding-inline: .45rem .8rem; border-radius: 14px; max-width: 70%; }
  .page-home .hero__card-icon { width: 34px; height: 34px; border-radius: 11px; }
  .page-home .hero__card-icon .icon { width: 18px; height: 18px; }
  .page-home .hero__card-value { font-size: var(--fs-lg); }
  .page-home .hero__card-label { font-size: var(--fs-2xs); }
  .page-home .hero__card-title { font-size: var(--fs-xs); }
  .page-home .hero__card--visa { inset-inline-start: 0; top: 0; }
  .page-home .hero__card--tabby { inset-inline-end: 0; bottom: 2%; }
  .page-home .hero__arch img { box-shadow: 0 0 0 3px var(--sand-50), var(--shadow-md); }
  .page-home .hero__arch--a img { box-shadow: 0 0 0 5px #fff, var(--shadow-lg); }
}

/* 02 — TRIP PLANNER ======================================================== */
.page-home .planner-wrap {
  position: relative; z-index: 5;
  margin-top: calc(-1 * var(--planner-overlap));
  background: linear-gradient(to bottom, transparent var(--planner-overlap), var(--white) var(--planner-overlap));
}
.page-home .planner {
  position: relative;
  padding: clamp(1.1rem, .8rem + 1.2vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 2px 6px rgba(12, 52, 56, .04), 0 30px 70px -24px rgba(12, 52, 56, .3);
}
.page-home .planner::before {
  content: ""; position: absolute; inset-inline: 2.5rem; top: -1px; height: 3px; border-radius: 3px;
  background: linear-gradient(to left, var(--teal-500), var(--gold-500));
}
.page-home .planner__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem;
  margin-bottom: 1.1rem;
}
.page-home .planner__title {
  display: flex; align-items: center; gap: .65rem;
  margin: 0; font-size: var(--fs-lg); color: var(--ink);
}
.page-home .planner__title-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-700);
}
.page-home .planner__title-icon .icon { width: 20px; height: 20px; }
.page-home .planner__note {
  display: flex; align-items: center; gap: .45em; margin: 0;
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.6;
}
.page-home .planner__note .icon { color: var(--wa-green-dark); }
.page-home .planner__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .75rem; }
.page-home .planner__field { grid-column: 1 / -1; gap: .35rem; }
.page-home .planner__field--half { grid-column: auto; }
.page-home .planner__field .field__label { font-size: var(--fs-xs); color: var(--muted); padding-inline-start: .2rem; }
.page-home .planner__control { position: relative; display: block; }
.page-home .planner__icon {
  position: absolute; z-index: 1; top: 50%; inset-inline-start: .95rem;
  display: grid; place-items: center; width: 22px; height: 22px; margin-top: -11px;
  color: var(--teal-600); pointer-events: none;
}
.page-home .planner__icon .icon { width: 20px; height: 20px; }
.page-home .planner .input,
.page-home .planner .select {
  min-height: 56px; height: 56px;
  padding-block: 0;
  padding-inline-start: 2.85rem;
  background-color: var(--sand-50);
  border-color: var(--line);
  font-weight: 700;
}
.page-home .planner .input:focus, .page-home .planner .select:focus { background-color: #fff; border-color: var(--teal-500); }
.page-home .planner input[type="number"].input { direction: rtl; text-align: start; }
.page-home .planner input[type="month"].input { position: relative; direction: rtl; text-align: start; cursor: pointer; }
/* the whole field opens the native picker; our own calendar icon replaces the browser's */
.page-home .planner input[type="month"]::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0;
  opacity: 0; cursor: pointer;
}
.page-home .planner input[type="month"]::-webkit-datetime-edit { color: var(--ink); }
.page-home .planner input[type="month"].is-empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
.page-home .planner__placeholder {
  display: none;
  position: absolute; top: 50%; inset-inline-start: 2.9rem; transform: translateY(-50%);
  color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.5;
  pointer-events: none;
}
.page-home .planner input.is-empty:not(:focus) + .planner__placeholder { display: block; }
.page-home .planner__submit { grid-column: 1 / -1; min-height: 56px; }
.page-home .planner__status { margin-top: 1rem; }
@media (min-width: 640px) {
  .page-home .planner__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-home .planner__field { grid-column: span 2; }
  .page-home .planner__field--half { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .page-home .planner__grid { grid-template-columns: 1.2fr 1.2fr .8fr 1fr auto; align-items: end; gap: .85rem; }
  .page-home .planner__field, .page-home .planner__field--half { grid-column: auto; }
  .page-home .planner__submit { grid-column: auto; padding-inline: 1.9rem; }
}

/* 03 — SERVICES ============================================================ */
.page-home .home-services { padding-top: clamp(3.5rem, 2.2rem + 4.5vw, 6rem); }
.page-home .home-service { background: linear-gradient(180deg, #fff 55%, var(--sand-50)); }
.page-home .home-service .service-card__icon { width: 88px; height: 88px; }
.page-home .home-service .service-card__icon img { width: 54px; height: 54px; }
.page-home .home-service:hover .service-card__icon img { filter: brightness(1.12); }
/* Phones: compact horizontal service cards (icon beside the text) */
@media (max-width: 639.98px) {
  .page-home .home-service {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: start;
    padding: 1.25rem 1.15rem;
  }
  .page-home .home-service .service-card__icon { grid-row: span 3; width: 68px; height: 68px; margin: 0; border-radius: 22px 22px 22px 8px; }
  .page-home .home-service .service-card__icon img { width: 42px; height: 42px; }
  .page-home .home-service .service-card__title { margin: .15rem 0 .25rem; font-size: var(--fs-lg); }
  .page-home .home-service .service-card__text { margin-bottom: .6rem; font-size: var(--fs-sm); line-height: 1.75; }
  .page-home .home-service .service-card__num { top: .8rem; inset-inline-end: 1rem; font-size: 1.6rem; }
  .page-home .home-service .link-arrow { font-size: var(--fs-sm); }
}

.page-home .services-extra {
  display: grid; gap: 1rem; align-items: center;
  margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  padding: 1rem;
  background: var(--sand-100);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
}
.page-home .services-extra__label {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  padding-inline: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); color: var(--ink);
}
.page-home .services-extra__plus {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-500); color: var(--ink);
}
.page-home .services-extra__plus .icon { width: 16px; height: 16px; }
.page-home .services-extra__list { display: grid; gap: .75rem; }
.page-home .services-extra__item {
  display: flex; align-items: center; gap: .9rem;
  height: 100%;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: inherit; text-decoration: none;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.page-home .services-extra__item:hover { color: inherit; border-color: var(--teal-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.page-home .services-extra__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 15px;
  background: var(--gold-50); color: var(--gold-600); box-shadow: inset 0 0 0 1px var(--gold-100);
}
.page-home .services-extra__icon .icon { width: 24px; height: 24px; }
.page-home .services-extra__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.55; }
.page-home .services-extra__text strong { font-family: var(--font-display); color: var(--ink); font-size: var(--fs-base); }
.page-home .services-extra__text span { font-size: var(--fs-sm); color: var(--muted); }
.page-home .services-extra__go {
  display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; margin-inline-start: auto; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700);
  transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.page-home .services-extra__go .icon { width: 18px; height: 18px; }
.page-home .services-extra__item:hover .services-extra__go { background: var(--teal-700); color: #fff; transform: translateX(-3px); }
@media (min-width: 760px) { .page-home .services-extra__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .page-home .services-extra { grid-template-columns: auto minmax(0, 1fr); padding: .75rem .75rem .75rem 1.5rem; padding-inline: 1.25rem .75rem; border-radius: var(--r-pill); }
  .page-home .services-extra__item { border-radius: var(--r-pill); padding-block: .6rem; }
  .page-home .services-extra__icon { border-radius: 50%; }
}

/* 04 — WHY US ============================================================== */
.page-home .home-why { background: var(--sand-100); }
.page-home .home-why::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px 420px at 12% 30%, rgba(38, 176, 178, .1), transparent 70%);
}
.page-home .home-why { isolation: isolate; }
.page-home .home-why .section-head { margin-bottom: 2rem; }
.page-home .why-list { display: grid; gap: .25rem; }
.page-home .why-item {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.15rem; align-items: start;
  padding: 1.25rem 1.1rem;
  border-radius: var(--r-lg);
  transition: background-color var(--dur-2), box-shadow var(--dur-2);
}
.page-home .why-item + .why-item::before {
  content: ""; position: absolute; top: -.125rem; inset-inline: 1.1rem; height: 1px;
  background: repeating-linear-gradient(to left, var(--line-strong) 0 6px, transparent 6px 12px);
}
.page-home .why-item:hover { background: #fff; box-shadow: var(--shadow-sm); }
.page-home .why-item:hover::before, .page-home .why-item:hover + .why-item::before { opacity: 0; }
.page-home .why-item__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
  background: var(--ink); color: var(--gold-400);
  box-shadow: 0 12px 24px -12px rgba(12, 52, 56, .6);
  transition: transform var(--dur-3) var(--ease-out);
}
.page-home .why-item__icon .icon { width: 27px; height: 27px; }
.page-home .why-item:hover .why-item__icon { transform: rotate(-6deg) scale(1.04); }
.page-home .why-item__title { margin: .2rem 0 .35rem; font-size: var(--fs-xl); }
.page-home .why-item__text { margin: 0; color: var(--muted); line-height: 1.85; }
.page-home .why-item__num {
  position: absolute; top: 1rem; inset-inline-end: 1.1rem;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--gold-400);
  opacity: .8;
}
.page-home .home-why__cta { margin-top: 1.75rem; margin-inline-start: 1.1rem; }

.page-home .why-collage {
  position: relative; isolation: isolate;
  width: 100%; max-width: 560px; margin-inline: auto;
  aspect-ratio: 1 / 1.02;
}
.page-home .why-collage__dots {
  position: absolute; z-index: -1; top: -2%; inset-inline-end: 2%;
  width: 34%; height: 28%;
  background-image: radial-gradient(var(--gold-400) 2px, transparent 2px); background-size: 16px 16px; opacity: .55;
}
.page-home .why-collage::after {
  content: ""; position: absolute; z-index: -2; inset: 10% 4% 6% 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 169, 76, .18), transparent);
}
.page-home .why-collage__main { position: absolute; top: 0; inset-inline-start: 0; width: 66%; }
.page-home .why-collage__main > img { aspect-ratio: 3 / 4.15; box-shadow: var(--shadow-lg); }
.page-home .why-collage__sub {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 50%;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 9px var(--sand-100), var(--shadow-lg);
}
.page-home .why-collage__sub img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s var(--ease-out); }
.page-home .why-collage:hover .why-collage__sub img { transform: scale(1.06); }
.page-home .why-collage__badge {
  position: absolute; z-index: 2; top: 16%; inset-inline-end: 0;
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.2rem .8rem .8rem;
  padding-inline: .8rem 1.25rem;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  animation: float-y 6s var(--ease-in-out) infinite;
}
.page-home .why-collage__badge-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px;
  background: var(--gold-500); color: var(--ink);
}
.page-home .why-collage__badge-icon .icon { width: 24px; height: 24px; }
.page-home .why-collage__badge-body { display: flex; flex-direction: column; line-height: 1.3; }
.page-home .why-collage__badge strong { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; color: var(--ink); }
.page-home .why-collage__badge-label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.page-home .why-collage__chip {
  position: absolute; z-index: 2; bottom: 9%; inset-inline-start: 6%;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem;
  background: var(--ink); color: #fff; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; line-height: 1.4;
  box-shadow: var(--shadow-md);
}
.page-home .why-collage__chip .icon { color: var(--gold-400); width: 1.1em; height: 1.1em; transform: rotate(-45deg); }
.page-home .why-collage__chip .num { font-family: var(--font-display); color: var(--gold-300); }
@media (max-width: 519.98px) {
  .page-home .why-collage__badge { padding-block: .55rem; padding-inline: .55rem .9rem; gap: .55rem; top: 12%; }
  .page-home .why-collage__badge-icon { width: 38px; height: 38px; border-radius: 12px; }
  .page-home .why-collage__badge strong { font-size: var(--fs-xl); }
  .page-home .why-collage__chip { font-size: var(--fs-xs); bottom: 6%; inset-inline-start: 2%; }
}

/* 05 — LATEST OFFERS ======================================================= */
.page-home .home-offers__carousel .carousel__head { margin-bottom: clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem); }
.page-home .home-offers__carousel .section-head { margin-bottom: 0; }
.page-home .home-offers__carousel .carousel__nav { flex-shrink: 0; }
@media (max-width: 639.98px) { .page-home .home-offers__carousel .carousel__nav { display: none; } }
.page-home .home-offer { height: 100%; }
.page-home .home-offer .offer-card__body { gap: .55rem; padding: 1rem .55rem .35rem; }
.page-home .home-offer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; }
.page-home .home-offer__meta .chip { font-size: var(--fs-xs); font-weight: 700; }
.page-home .home-offer__cat { font-size: var(--fs-2xs); }
.page-home .home-offer__cat--visas { background: var(--gold-100); color: var(--gold-800); }
.page-home .home-offer__cat--services { background: var(--sand-200); color: var(--ink); }
.page-home .home-offer__flag {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: var(--fs-xs); font-weight: 700; color: var(--gold-700); line-height: 1.5;
}
.page-home .home-offer__flag .icon { width: 1.05em; height: 1.05em; color: var(--gold-500); }
.page-home .home-offer .offer-card__title {
  font-size: var(--fs-lg);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.page-home .home-offer__includes {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.page-home .home-offer__includes strong { color: var(--teal-700); font-weight: 700; }
.page-home .home-offer__foot {
  display: grid; gap: .8rem;
  margin-top: auto; padding-top: .9rem;
  border-top: 1px dashed var(--line-strong);
}
.page-home .home-offer__foot > .badge { justify-self: start; }
.page-home .home-offer__foot .price__value { font-size: var(--fs-xl); }
.page-home .home-offer__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.page-home .home-offer__actions .btn { padding-inline: .9rem; }
.page-home .home-offer__view .icon { color: var(--teal-600); }
.page-home .home-offer__view:hover .icon { color: #fff; }
.page-home .home-offers__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem;
  margin-top: clamp(2rem, 1.6rem + 1.5vw, 3rem);
}
.page-home .home-offers__hint { display: inline-flex; align-items: center; gap: .45em; margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.page-home .home-offers__hint .icon { color: var(--teal-600); }

/* 06 — VISA PRICE BOARD ==================================================== */
.page-home .home-visas { isolation: isolate; }
.page-home .home-visas__map {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #fff;
  -webkit-mask: var(--map-mask) center 38% / min(1400px, 160%) auto no-repeat;
  mask: var(--map-mask) center 38% / min(1400px, 160%) auto no-repeat;
  opacity: .06;
}
.page-home .home-visas__fp { top: 5%; inset-inline-start: 3%; width: clamp(240px, 30vw, 460px); opacity: .5; }
.page-home .home-visas .section-head__lead { color: rgba(255, 255, 255, .78); }

.page-home .visa-board { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .page-home .visa-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .page-home .visa-board { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; } }

.page-home .visa-pass {
  --tear: 76px;             /* distance of the perforation from the bottom edge */
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.25rem 1.35rem 1.1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  -webkit-mask:
    radial-gradient(circle 11px at 0 calc(100% - var(--tear)), transparent 97%, #000 100%) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% calc(100% - var(--tear)), transparent 97%, #000 100%) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 11px at 0 calc(100% - var(--tear)), transparent 97%, #000 100%) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% calc(100% - var(--tear)), transparent 97%, #000 100%) 100% 0 / 51% 100% no-repeat;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), border-color var(--dur-2);
}
.page-home .visa-pass:not(.visa-pass--cta):hover {
  transform: translateY(-4px);
  border-color: rgba(232, 181, 99, .45);
  background-color: rgba(255, 255, 255, .04);
}
.page-home .visa-pass__top { display: flex; align-items: center; gap: .6rem; }
.page-home .visa-pass__code {
  display: inline-grid; place-items: center; min-width: 3.1rem; height: 2.5rem; padding-inline: .6rem;
  border-radius: 12px;
  background: rgba(232, 181, 99, .14);
  box-shadow: inset 0 0 0 1px rgba(232, 181, 99, .45);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: .08em;
  color: var(--gold-300);
}
.page-home .visa-pass__trail {
  position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-width: 2rem; height: 1.25rem;
  color: rgba(255, 255, 255, .55);
}
.page-home .visa-pass__trail::before {
  content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(to left, rgba(255, 255, 255, .25) 0 4px, transparent 4px 9px);
}
.page-home .visa-pass__trail .icon { position: relative; width: 16px; height: 16px; padding: 1px; transform: rotate(-90deg); background: transparent; }
.page-home .visa-pass__note {
  flex-shrink: 0;
  padding: .12rem .65rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-2xs); font-weight: 700; line-height: 1.7;
}
.page-home .visa-pass__name {
  margin: 1rem 0 1.2rem;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: #fff;
  flex-grow: 1;
}
.page-home .visa-pass__tear {
  display: block; height: 0; margin-inline: -1.35rem;
  border-top: 2px dashed rgba(255, 255, 255, .16);
  margin-bottom: auto;
}
.page-home .visa-pass__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  height: calc(var(--tear) - 1.1rem);
}
.page-home .visa-pass__label { font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, .6); }
.page-home .visa-pass__price {
  font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; line-height: 1.1; color: #fff; white-space: nowrap;
}
.page-home .visa-pass__price small { font-family: var(--font-body); font-size: .56em; font-weight: 700; color: var(--gold-300); margin-inline-start: .1em; }

.page-home .visa-pass--cta {
  -webkit-mask: none; mask: none;
  justify-content: center; align-items: flex-start;
  background: linear-gradient(145deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  border-color: transparent;
  color: var(--ink);
  --c-focus: var(--ink);
}
.page-home .visa-pass__cta-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(12, 52, 56, .12); color: var(--ink);
}
.page-home .visa-pass__cta-icon .icon { width: 24px; height: 24px; }
.page-home .visa-pass--cta .visa-pass__name { margin: .85rem 0 .25rem; color: var(--ink); flex-grow: 0; }
.page-home .visa-pass__cta-text { margin: 0 0 1rem; font-size: var(--fs-sm); line-height: 1.7; color: rgba(12, 52, 56, .85); }

.page-home .home-visas__foot {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  text-align: center;
}
.page-home .home-visas__note {
  display: inline-flex; align-items: flex-start; gap: .5em; margin: 0;
  font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); line-height: 1.7;
}
.page-home .home-visas__note .icon { color: var(--gold-400); margin-top: .2em; }
@media (min-width: 900px) {
  .page-home .home-visas__foot {
    flex-direction: row; justify-content: space-between; text-align: start;
    padding: 1rem 1rem 1rem 1.5rem; padding-inline: 1.5rem 1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-pill);
  }
  .page-home .home-visas__note { align-items: center; }
  .page-home .home-visas__note .icon { margin-top: 0; }
}

/* 07 — DESTINATIONS ======================================================== */
.page-home .home-tours__filters { display: flex; justify-content: center; margin-bottom: clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem); }
.page-home .home-tours__filters .pills--segmented { justify-content: center; }
@media (max-width: 519.98px) {
  .page-home .home-tours__filters .pills--segmented { border-radius: var(--r-lg); }
  .page-home .home-tours__filters .pill { padding-inline: .85em; }
}
.page-home .home-tours__foot { display: flex; justify-content: center; margin-top: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.page-home .home-tours .tour-card__foot .price__value { font-size: var(--fs-xl); }

/* 08 — STORY ("بداية رحلتك") ============================================== */
@media (min-width: 900px) {
  .page-home .home-story__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
}
.page-home .home-story__media { position: relative; padding-bottom: 14%; padding-inline-end: 12%; }
.page-home .story-frame {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
}
.page-home .story-frame > img { width: 100%; aspect-ratio: 1 / .98; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.page-home .story-frame:hover > img { transform: scale(1.04); }
.page-home .story-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 37, 42, .55), rgba(7, 37, 42, 0) 55%);
}
.page-home .story-frame__play {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: #fff; text-decoration: none;
}
.page-home .story-frame__play:hover { color: #fff; }
.page-home .story-frame__play:hover .play-btn { transform: scale(1.07); }
.page-home .story-frame__play-label {
  padding: .35rem 1rem; border-radius: var(--r-pill);
  background: rgba(12, 52, 56, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 700; font-size: var(--fs-sm);
}
.page-home .story-frame__play:focus-visible { outline-offset: -8px; border-radius: var(--r-2xl); }
.page-home .story-sub {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 46%;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 0 0 9px #fff, var(--shadow-lg);
}
.page-home .story-sub img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; object-position: 60% 62%; }
.page-home .story-stamp {
  position: absolute; top: 7%; inset-inline-start: -1.25rem; z-index: 2;
  display: grid; place-items: center; align-content: center; gap: .15rem;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--gold-500); color: var(--ink);
  box-shadow: 0 0 0 7px #fff, var(--shadow-gold);
  text-align: center;
  animation: float-y 7s var(--ease-in-out) infinite;
}
.page-home .story-stamp__icon .icon { width: 30px; height: 30px; }
.page-home .story-stamp__text { font-family: var(--font-display); font-weight: 800; font-size: .82rem; line-height: 1.35; padding-inline: .9rem; }
@media (max-width: 639.98px) {
  .page-home .story-stamp { width: 88px; height: 88px; inset-inline-start: -.25rem; top: 4%; box-shadow: 0 0 0 5px #fff, var(--shadow-gold); }
  .page-home .story-stamp__icon .icon { width: 22px; height: 22px; }
  .page-home .story-stamp__text { font-size: .7rem; padding-inline: .6rem; }
  .page-home .story-sub { box-shadow: 0 0 0 6px #fff, var(--shadow-md); }
  .page-home .story-frame .play-btn { --size: 68px !important; }
}
.page-home .home-story__title { font-size: var(--fs-3xl); margin-bottom: 1rem; }
.page-home .home-story__content .lead { color: var(--text); margin-bottom: 1rem; }
.page-home .home-story__text { color: var(--muted); line-height: 1.9; }
.page-home .story-points { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 1.75rem 0 2rem; }
.page-home .story-points li { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--ink); font-family: var(--font-display); font-size: var(--fs-sm); }
.page-home .home-story__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.page-home .home-story__video {
  display: inline-flex; align-items: center; gap: .8rem;
  font-weight: 800; color: var(--ink); text-decoration: none;
}
.page-home .home-story__video-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--teal-700);
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm);
  transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.page-home .home-story__video-icon .icon { width: 20px; height: 20px; margin-left: 3px; }
.page-home .home-story__video:hover { color: var(--teal-700); }
.page-home .home-story__video:hover .home-story__video-icon { background: var(--teal-700); color: #fff; transform: scale(1.06); }

/* 09 — TRAVEL STYLES (bento) =============================================== */
.page-home .bento { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .page-home .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); }
  .page-home .bento__tile--feature { grid-column: 1 / -1; min-height: 420px; }
}
@media (min-width: 1000px) {
  .page-home .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(270px, 1fr)); }
  .page-home .bento__tile--feature { grid-column: span 2; grid-row: span 2; min-height: 0; }
}
.page-home .bento__tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.page-home .bento__tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.page-home .bento__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.page-home .bento__tile:hover .bento__img { transform: scale(1.07); }
.page-home .bento__tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 37, 42, .95) 0%, rgba(7, 37, 42, .78) 38%, rgba(7, 37, 42, .25) 68%, rgba(7, 37, 42, 0) 88%);
}
.page-home .bento__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1.35rem 1.4rem 1.4rem; }
.page-home .bento__tag { margin-bottom: .45rem; }
.page-home .bento__title { margin: 0; font-size: var(--fs-xl); color: #fff; line-height: 1.4; }
.page-home .bento__link { color: inherit; text-decoration: none; }
.page-home .bento__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-xl); }
.page-home .bento__link:hover { color: #fff; }
.page-home .bento__link:focus-visible { outline: none; }
.page-home .bento__link:focus-visible::after { outline: 3px solid var(--gold-400); outline-offset: -4px; }
.page-home .bento__subtitle { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .86); line-height: 1.7; }
.page-home .bento__line { margin: 0; font-size: var(--fs-xs); color: var(--gold-200); line-height: 1.7; }
.page-home .bento__go {
  display: inline-flex; align-items: center; gap: .4em; margin-top: .55rem;
  font-size: var(--fs-sm); font-weight: 800; color: var(--gold-300);
  transition: gap var(--dur-2) var(--ease-out), color var(--dur-2);
}
.page-home .bento__tile:hover .bento__go { color: var(--gold-200); gap: .7em; }

.page-home .bento__tile--feature .bento__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); gap: .45rem; }
.page-home .bento__tile--feature::after {
  background:
    linear-gradient(to top, rgba(7, 37, 42, .94) 0%, rgba(7, 37, 42, .6) 40%, rgba(7, 37, 42, .08) 72%),
    radial-gradient(600px 300px at 90% 100%, rgba(224, 169, 76, .25), transparent 70%);
}
.page-home .bento__kicker {
  margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--gold-300);
}
.page-home .bento__tile--feature .bento__title { font-size: var(--fs-3xl); line-height: 1.3; max-width: 16ch; }
.page-home .bento__items { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1.4rem; }
.page-home .bento__items li {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: var(--fs-sm); font-weight: 700; color: #fff; line-height: 1.6;
}
.page-home .bento__items li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.page-home .bento__cta { position: relative; z-index: 3; }

/* 10 — STATS BAND ========================================================== */
.page-home .home-stats { background: var(--sand-100); }
.page-home .stats-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: center;
  padding: clamp(2rem, 1.2rem + 3.5vw, 4rem);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(38, 176, 178, .35), transparent 62%),
    radial-gradient(520px 320px at 0% 100%, rgba(224, 169, 76, .2), transparent 62%),
    linear-gradient(150deg, #0F4449 0%, var(--teal-900) 55%, var(--teal-950) 100%);
  box-shadow: var(--shadow-lg);
}
.page-home .stats-band__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #fff;
  -webkit-mask: var(--map-mask) center / 130% auto no-repeat;
  mask: var(--map-mask) center / 130% auto no-repeat;
  opacity: .06;
}
.page-home .stats-band__fp { top: 30%; inset-inline-end: 2%; width: clamp(220px, 24vw, 340px); opacity: .35; }
.page-home .stats-band__intro { position: relative; z-index: 1; display: grid; gap: .9rem 3rem; }
.page-home .stats-band__heading .eyebrow { margin-bottom: .6rem; }
.page-home .stats-band__title { margin: 0; font-size: var(--fs-3xl); color: #fff; }
.page-home .stats-band__text { margin: 0; color: rgba(255, 255, 255, .8); max-width: 44ch; }
.page-home .stats-band__stats { position: relative; z-index: 1; padding-top: clamp(1rem, .6rem + 1.5vw, 1.75rem); border-top: 1px solid rgba(255, 255, 255, .12); }
.page-home .stats-band .stat { padding: 1.1rem .5rem .4rem; }
.page-home .stats-band .stat__value { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
@media (min-width: 900px) {
  .page-home .stats-band__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .page-home .stats-band__text { justify-self: end; padding-bottom: .4rem; }
}

/* 11 — PROMO CARDS ========================================================= */
.page-home .home-promos { padding-top: clamp(3rem, 2rem + 3.5vw, 5rem); }
.page-home .promo-grid { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .page-home .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-home .promo {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(320px, 26vw, 380px);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
}
.page-home .promo__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); max-width: 520px; }
.page-home .promo__chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .35rem .95rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: var(--fs-sm); font-weight: 700; line-height: 1.6;
}
.page-home .promo__chip .icon { color: var(--gold-300); }
.page-home .promo__title { margin: .2rem 0 0; font-size: var(--fs-2xl); line-height: 1.4; }
.page-home .promo__text { margin: 0 0 .8rem; line-height: 1.8; }

.page-home .promo--tabby { background: var(--ink); color: rgba(255, 255, 255, .86); }
.page-home .promo--tabby .promo__title { color: #fff; }
.page-home .promo__media { position: absolute; inset: 0; z-index: -2; }
.page-home .promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.page-home .promo--tabby:hover .promo__media img { transform: scale(1.05); }
.page-home .promo--tabby::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 37, 42, .94) 5%, rgba(7, 37, 42, .6) 50%, rgba(7, 37, 42, .15) 100%),
    linear-gradient(to left, rgba(7, 37, 42, .35), transparent 60%);
}

.page-home .promo--club {
  align-items: center;
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(255, 255, 255, .45), transparent 65%),
    linear-gradient(140deg, var(--gold-200) 0%, var(--gold-400) 55%, var(--gold-500) 100%);
  color: var(--teal-900);
  --c-focus: var(--ink);
}
.page-home .promo--club .promo__title { color: var(--ink); }
.page-home .promo--club .promo__text { color: rgba(12, 52, 56, .86); }
.page-home .promo__chip--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-home .promo__chip--ink .icon { color: var(--gold-400); }
/* Club card = a discount coupon: content + perforated stub with the 20% */
.page-home .promo--club { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; overflow: visible; }
.page-home .promo--club .promo__content { max-width: none; align-self: center; }
.page-home .promo__stub {
  position: relative;
  order: -1;
  display: flex; align-items: center; justify-content: center; gap: .35rem .9rem;
  padding: 1.4rem 1.5rem 1.2rem;
  border-bottom: 2px dashed rgba(12, 52, 56, .28);
  color: var(--ink);
}
.page-home .promo__stub::before, .page-home .promo__stub::after {
  content: ""; position: absolute; bottom: -14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--white);
}
.page-home .promo__stub::before { inset-inline-start: -13px; }
.page-home .promo__stub::after { inset-inline-end: -13px; }
.page-home .promo__stub-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .45); color: var(--gold-800);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.page-home .promo__stub-icon .icon { width: 26px; height: 26px; }
.page-home .promo__stub-value {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(3.2rem, 2.4rem + 3vw, 5rem);
  color: var(--ink);
}
.page-home .promo__stub-value small { font-size: .5em; font-weight: 800; margin-inline-start: .05em; }
.page-home .promo__stub-label { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 800; color: var(--teal-900); }
@media (min-width: 560px) {
  .page-home .promo--club { grid-template-columns: minmax(0, 1fr) auto; }
  .page-home .promo__stub {
    order: 2;
    flex-direction: column; justify-content: center;
    min-width: clamp(150px, 14vw, 200px);
    padding: 2rem 1.5rem;
    border-bottom: 0;
    border-inline-start: 2px dashed rgba(12, 52, 56, .28);
  }
  .page-home .promo__stub::before, .page-home .promo__stub::after { inset-inline-start: -14px; inset-inline-end: auto; bottom: auto; }
  .page-home .promo__stub::before { top: -14px; }
  .page-home .promo__stub::after { bottom: -14px; }
}

/* 12 — MOTION ============================================================== */
@keyframes home-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes home-arch-in { from { opacity: 0; transform: translate3d(0, 34px, 0) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes home-pop { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes home-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes home-dash { to { stroke-dashoffset: -20; } }
@keyframes home-fly {
  0%   { offset-distance: 0%; opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes home-spin { to { transform: rotate(360deg); } }

.page-home .hero__swoosh path { stroke-dasharray: 1; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero__content > * { animation: home-rise .9s var(--ease-out) both; }
  .page-home .hero__content > :nth-child(2) { animation-delay: .08s; }
  .page-home .hero__content > :nth-child(3) { animation-delay: .18s; }
  .page-home .hero__content > :nth-child(4) { animation-delay: .28s; }
  .page-home .hero__content > :nth-child(5) { animation-delay: .38s; }
  .page-home .hero__swoosh-a { animation: home-draw 1s .55s var(--ease-out) both; }
  .page-home .hero__swoosh-b { animation: home-draw .9s .85s var(--ease-out) both; }

  .page-home .hero__arch { animation: home-arch-in 1.1s var(--ease-out) both; }
  .page-home .hero__arch--a { animation-delay: .15s; }
  .page-home .hero__arch--b { animation-delay: .32s; }
  .page-home .hero__arch--c { animation-delay: .45s; }
  .page-home .hero__card { animation: home-pop .8s var(--ease-out) both, float-y 7s 1.2s var(--ease-in-out) infinite; }
  .page-home .hero__card--visa { animation-delay: .8s, 1.6s; }
  .page-home .hero__card--tabby { animation-delay: 1s, 2.4s; }
  .page-home .hero__dial { animation: home-spin 140s linear infinite; }

  .page-home .hero__route-line { animation: home-dash 1.4s linear infinite; }
}
/* The plane flies along the route (CSS motion path) only when motion is welcome and supported. */
@supports (offset-path: path("M0 0")) {
  @media (prefers-reduced-motion: no-preference) {
    .page-home .hero__plane {
      transform: none;
      offset-path: var(--route);
      offset-rotate: auto;
      animation: home-fly 13s .6s var(--ease-in-out) infinite both;
    }
  }
}
/* Reduced motion: everything static, the plane rests on the route. */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero__plane, .page-home .hero__route-line, .page-home .hero__dial,
  .page-home .hero__card, .page-home .why-collage__badge, .page-home .story-stamp { animation: none !important; }
}

/* 13 — PHONE REFINEMENTS =================================================== */
@media (max-width: 519.98px) {
  .page-home .why-item { padding: 1.1rem .35rem; gap: .9rem; }
  .page-home .why-item + .why-item::before { inset-inline: .35rem; }
  .page-home .why-item__num { display: none; }
  .page-home .why-item__icon { width: 50px; height: 50px; border-radius: 16px; }
  .page-home .why-item__icon .icon { width: 24px; height: 24px; }
  .page-home .home-why__cta { margin-inline-start: .35rem; }
  .page-home .services-extra__go { display: none; }
  .page-home .services-extra { padding: .75rem; }
}

/* Visa board: compact rows (code · name/note · price) on phones */
@media (max-width: 559.98px) {
  .page-home .visa-board { gap: .65rem; }
  .page-home .visa-pass:not(.visa-pass--cta) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "code name price" "code note price";
    align-items: center; column-gap: .9rem; row-gap: .1rem;
    padding: .85rem 1rem;
    border-radius: 18px;
    -webkit-mask: none; mask: none;
  }
  .page-home .visa-pass:not(.visa-pass--cta) .visa-pass__top { display: contents; }
  .page-home .visa-pass__code { grid-area: code; min-width: 2.9rem; height: 2.9rem; font-size: .95rem; }
  .page-home .visa-pass__trail, .page-home .visa-pass__tear, .page-home .visa-pass__label { display: none; }
  .page-home .visa-pass__note { grid-area: note; justify-self: start; align-self: start; }
  .page-home .visa-pass:not(.visa-pass--cta) .visa-pass__name { grid-area: name; align-self: end; margin: 0; font-size: var(--fs-base); line-height: 1.5; }
  .page-home .visa-pass__top:not(:has(.visa-pass__note)) ~ .visa-pass__name { grid-row: 1 / span 2; align-self: center; }
  .page-home .visa-pass__bottom { grid-area: price; height: auto; padding-inline-start: .9rem; border-inline-start: 2px dashed rgba(255, 255, 255, .16); align-self: stretch; }
  .page-home .visa-pass__price { font-size: var(--fs-xl); }
}

/* Destinations: swipeable row on phones instead of six tall cards */
@media (max-width: 639.98px) {
  .page-home .home-tours__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: .9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: .5rem var(--gutter) 1.25rem;
    scroll-padding-inline: var(--gutter);
  }
  .page-home .home-tours__grid::-webkit-scrollbar { display: none; }
  .page-home .home-tours__grid > * { scroll-snap-align: start; }
  html.js .page-home .home-tours__grid > [data-reveal] { opacity: 1; transform: none; }
  .page-home .home-tours__filters .pill { min-height: 38px; padding-inline: .8em; }
  .page-home .home-tours__filters .pill__count, .page-home .home-tours__filters .pill .icon { display: none; }
  .page-home .home-tours__filters .pills--segmented { flex-wrap: nowrap; border-radius: var(--r-pill); }
  .page-home .home-tours__foot { margin-top: 1rem; }
}

/* Travel styles: two-up small tiles on phones */
@media (max-width: 639.98px) {
  .page-home .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .page-home .bento__tile--feature { grid-column: 1 / -1; min-height: 440px; }
  .page-home .bento__tile:not(.bento__tile--feature) { min-height: 230px; border-radius: var(--r-lg); }
  .page-home .bento__tile:not(.bento__tile--feature) .bento__body { padding: .9rem .9rem 1rem; gap: .2rem; }
  .page-home .bento__tile:not(.bento__tile--feature) .bento__title { font-size: var(--fs-base); }
  .page-home .bento__tile:not(.bento__tile--feature) .bento__subtitle { font-size: var(--fs-xs); line-height: 1.6; }
  .page-home .bento__tile:not(.bento__tile--feature) .bento__go { font-size: var(--fs-xs); margin-top: .35rem; }
  .page-home .bento__tile:not(.bento__tile--feature) .bento__tag { font-size: .6875rem; margin-bottom: .25rem; }
  .page-home .bento__link::after { border-radius: var(--r-lg); }
}


@media (max-width: 399.98px) {
  .page-home .hero__trust-label { font-size: var(--fs-xs); }
  .page-home .hero__trust-item { padding-inline-end: .5rem; }
  .page-home .hero__trust-item + .hero__trust-item { padding-inline-start: .75rem; }
}
