/* ==========================================================================
   Voyaji.online — نظام التصميم
   لوحة الألوان مشتقة من الشعار: تركواز البحر + ذهب الرمل
   ========================================================================== */
:root {
  /* تدرّج الشعار: من الرغوة الفاتحة (أعلى اليسار) إلى التركوازي العميق (أسفل اليمين) */
  --grad-brand: linear-gradient(120deg, #2FAFB7 0%, #23979E 40%, #197A81 75%, #135F65 100%);
  --grad-brand-dark: linear-gradient(120deg, #1C7F86 0%, #135A60 45%, #0A3C41 100%);
  --grad-gold: linear-gradient(135deg, #FBE7AE 0%, #EFCB6B 55%, #D9AE4B 100%);
  --grad-teal: linear-gradient(135deg, #4CC5CA 0%, #2AA5AD 50%, #17696E 100%);
  --grad-chip: linear-gradient(135deg, #E9FBF9 0%, #BFF0EE 55%, #8FE1E2 100%);
  --grad-tint: linear-gradient(135deg, #EAFBF9 0%, #F6FEFD 55%, #FFFFFF 100%);
  --waves: url("../img/waves.svg?v=4b3edea8");
  --waves-soft: url("../img/waves-soft.svg?v=4b3edea8");
  --foam: #E8F8F6;
  --foam-2: #D6F1EF;
  --lagoon: #7BD9DB;
  --teal: #2FAFBA;
  --teal-600: #20868A;
  --deep: #1A7276;
  --ink: #0E4F55;
  --night: #0A3C41;
  --gold: #F2CF80;
  --gold-600: #D9AE4B;
  --gold-700: #A9812A;
  --text: #12383C;
  --muted: #587C81;
  --line: #D3E9EB;
  --white: #ffffff;
  --danger: #C2410C;
  --success: #15803D;

  --font-display: 'El Messiri', 'Readex Pro', system-ui, sans-serif;
  --font-body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-wordmark: 'Bodoni Moda', 'Times New Roman', serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(14, 79, 85, .10), 0 1px 3px rgba(14, 79, 85, .06);
  --shadow-lg: 0 24px 60px rgba(14, 79, 85, .18), 0 2px 6px rgba(14, 79, 85, .08);
  --tabs-h: 64px;
}

/* ---------- الأساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--teal-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.mono, .code, .price { font-family: var(--font-mono); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; inset-inline-start: 1rem; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }

.container { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--foam { background: var(--grad-tint); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 56ch; margin-top: .4rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; color: var(--gold-700); letter-spacing: .01em; margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-600); border-radius: 2px; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.3;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad-teal); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 18px -8px rgba(26,114,118,.75); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-gold { background: var(--grad-gold); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 18px -8px rgba(169,129,42,.7); }
.btn-gold:hover { filter: brightness(1.04); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--foam); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: .95rem 1.75rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .9rem; font-size: .88rem; border-radius: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--teal-600); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(-3px); }

/* ---------- الرأس ---------- */
.topbar::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #E9FBF9 0%, #8FE1E2 30%, #36B7BF 60%, #1C868C 100%); }
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 1rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 8px rgba(14,79,85,.18); }
.brand__word { font-family: var(--font-wordmark); font-size: 1.7rem; color: var(--ink); direction: ltr; line-height: 1; letter-spacing: -.01em; }
.brand__word small { display: block; font-family: var(--font-body); font-size: .58rem; letter-spacing: .28em; color: var(--gold-700); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: .1rem; margin-inline-start: .5rem; }
.nav a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .75rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav a svg { width: 17px; height: 17px; color: var(--teal-600); }
.nav a:hover { background: var(--foam); color: var(--ink); }
.nav__mobile-only { display: none !important; }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav a[aria-current="page"] svg { color: var(--gold); }
.topbar__actions { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- البطل (Hero) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--waves) left top / 100% 100% no-repeat, var(--grad-brand);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(7rem, 12vw, 9.5rem);
  isolation: isolate;
}
.hero--compact { padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(6.5rem, 10vw, 8rem); }
.hero--plain { padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(2.5rem, 5vw, 4rem); }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__inner { position: relative; max-width: 840px; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: .75rem; text-wrap: balance; text-shadow: 0 2px 18px rgba(10,60,65,.35); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(10,60,65,.35); max-width: 640px; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.25rem; font-size: .9rem; color: rgba(255,255,255,.88); }
.hero__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--gold); }

/* الطائرة والمسار */
.flight-trail { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 12; opacity: .9; }
.plane { fill: var(--gold); }
@supports (offset-path: path("M0 0")) {
  .plane {
    offset-path: path("M470 340 C 420 250, 330 160, 150 100");
    offset-rotate: auto;
    offset-distance: 100%;
    animation: fly 6s cubic-bezier(.45, 0, .2, 1) 1 both;
  }
  .flight-trail--draw { opacity: 0; animation: fadein 2.5s ease 1.5s 1 forwards; }
}
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes fadein { to { opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  .plane, .flight-trail--draw { animation: none !important; }
  .flight-trail--draw { opacity: .9; }
  html { scroll-behavior: auto; }
}

/* ---------- بطاقة البحث (شكل تذكرة) ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(5rem, 9vw, 7rem)); }
.search-shell { filter: drop-shadow(0 22px 34px rgba(10, 60, 65, .28)) drop-shadow(0 2px 4px rgba(10,60,65,.1)); }
.search-card {
  background: #fff; border-radius: var(--radius-lg);
  -webkit-mask: radial-gradient(circle at 0 var(--tabs-h), transparent 12px, #000 12.6px),
                radial-gradient(circle at 100% var(--tabs-h), transparent 12px, #000 12.6px);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle at 0 var(--tabs-h), transparent 12px, #000 12.6px),
        radial-gradient(circle at 100% var(--tabs-h), transparent 12px, #000 12.6px);
  mask-composite: intersect;
}
.search-card--single { --tabs-h: 0px; -webkit-mask: none; mask: none; }
.tabs {
  display: flex; gap: .25rem; height: var(--tabs-h); padding: .55rem 1.25rem 0;
  overflow-x: auto; scrollbar-width: none; border-bottom: 2px dashed var(--line);
  margin-inline: 12px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem;
  border: 0; background: transparent; border-radius: 12px 12px 0 0; cursor: pointer;
  color: var(--muted); font-weight: 500; font-size: .95rem; white-space: nowrap; flex: none;
  transition: color .15s, background-color .15s;
}
.tab svg { width: 20px; height: 20px; }
.tab:hover { color: var(--ink); background: var(--foam); }
.tab.is-active { color: var(--ink); background: linear-gradient(180deg, #fff, var(--foam)); box-shadow: inset 0 -3px 0 var(--teal); }
.tab.is-active svg { color: var(--teal-600); }
.panel { display: none; padding: 1.25rem 1.5rem 1.5rem; }
.panel.is-active { display: block; }
.search-card--single .panel { padding-top: 1.5rem; }
.panel__title { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); color: var(--ink); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.panel__title svg { width: 22px; height: 22px; color: var(--teal-600); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .38rem .95rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--muted); background: #fff; transition: all .15s; }
.chip input:checked + span { background: var(--grad-brand-dark); color: #fff; border-color: transparent; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .75rem; }
.field {
  grid-column: span 3; display: flex; flex-direction: column; gap: .15rem; min-width: 0;
  background: var(--foam); border: 1px solid transparent; border-radius: 12px; padding: .5rem .85rem .45rem;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field:focus-within { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(47,175,186,.15); }
.field > span { font-size: .72rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { border: 0; background: transparent; padding: 0; width: 100%; min-height: 28px; color: var(--ink); font-size: 1rem; outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #8FAAAE; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23587C81' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9' transform='scale(.66)'/%3E%3C/svg%3E") no-repeat left center; cursor: pointer; }
.field textarea { resize: vertical; min-height: 64px; }
.field--2 { grid-column: span 2; }
.field--4 { grid-column: span 4; }
.field--6 { grid-column: span 6; }
.field--12 { grid-column: span 12; }
.field-swap { grid-column: span 1; display: flex; align-items: center; justify-content: center; }
.swap-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--teal-600); }
.swap-btn:hover { background: var(--foam); }
.swap-btn svg { width: 18px; height: 18px; }

.search-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.search-actions .hint { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.search-actions .hint svg { width: 16px; height: 16px; color: var(--teal-600); }
.btn-search { min-width: 200px; padding: .9rem 2rem; font-size: 1.05rem; }
.btn-search svg { width: 20px; height: 20px; }

.contact-step { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 2px dashed var(--line); }
.contact-step[hidden] { display: none; }
.contact-step__title { font-weight: 600; color: var(--ink); margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.contact-step__title .step-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .8rem; font-weight: 700; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.form-msg { display: none; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 12px; font-size: .95rem; }
.form-msg.is-visible { display: flex; gap: .75rem; align-items: flex-start; }
.form-msg svg { width: 22px; height: 22px; flex: none; }
.form-msg--success { background: #E7F7EC; color: var(--success); }
.form-msg--error { background: #FDECE4; color: var(--danger); }
.form-msg a { color: inherit; font-weight: 600; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* ---------- الخدمات ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.service-card {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.1rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lagoon); }
.service-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-chip); color: var(--deep); display: grid; place-items: center; }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* ---------- بطاقات الوجهات (بطاقات بريدية) ---------- */
.postcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.postcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .15rem;
  aspect-ratio: 4 / 5; padding: 1.1rem 1.15rem; border-radius: 16px; overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none;
  background: var(--waves) right top / 150% 100% no-repeat, linear-gradient(165deg, var(--c1, var(--teal)) 0%, var(--c2, var(--ink)) 100%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.postcard__landmark { position: absolute; inset: auto 0 0 0; width: 100%; height: 72%; z-index: -1; fill: rgba(255,255,255,.28); }
.postcard__wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 45%; z-index: -1; fill: rgba(0,0,0,.14); }
.postcard__code { position: absolute; top: .9rem; left: 1rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; color: rgba(255,255,255,.85); direction: ltr; }
.postcard__tag { position: absolute; top: .85rem; right: 1rem; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.postcard h3 { color: #fff; font-size: 1.4rem; line-height: 1.2; }
.postcard__country { font-size: .85rem; opacity: .85; }
.postcard__price { margin-top: .5rem; font-size: .85rem; display: flex; align-items: baseline; gap: .35rem; }
.postcard__price strong { font-family: var(--font-mono); font-size: 1.05rem; color: var(--gold); direction: ltr; unicode-bidi: isolate; }

/* ---------- صفوف الرحلات (تذاكر) ---------- */
.tickets { display: grid; gap: .9rem; }
.ticket {
  text-decoration: none; color: inherit;
  display: grid; grid-template-columns: 1fr auto; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.ticket:hover { box-shadow: var(--shadow); border-color: var(--lagoon); }
.ticket__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding: 1.1rem 1.35rem; }
.ticket__port { display: flex; flex-direction: column; min-width: 90px; }
.ticket__port .code { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.1; direction: ltr; }
.ticket__port .city { font-size: .88rem; color: var(--muted); }
.ticket__route { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .8rem; color: var(--muted); }
.ticket__line { position: relative; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--lagoon) 0 6px, transparent 6px 12px); }
.ticket__line::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320868A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E") center / 16px no-repeat; border-radius: 50%; border: 1px solid var(--line); transform: translate(-50%, -50%) scaleX(-1); }
.ticket__airline { font-size: .85rem; color: var(--text); display: flex; gap: .75rem; flex-wrap: wrap; }
.ticket__airline b { font-weight: 600; color: var(--ink); }
.ticket__stub {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .35rem;
  padding: 1rem 1.35rem; background: var(--foam); border-inline-start: 2px dashed var(--line); min-width: 190px; position: relative;
}
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; inset-inline-start: -8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.ticket__stub::before { top: -8px; } .ticket__stub::after { bottom: -8px; }
.ticket__from { font-size: .75rem; color: var(--muted); }
.ticket__price { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600; color: var(--ink); direction: ltr; unicode-bidi: isolate; line-height: 1.1; }
.ticket__price small { font-size: .75rem; color: var(--gold-700); }

/* ---------- بطاقات العروض العامة ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__banner { position: relative; height: 150px; background: var(--waves) right top / 160% 100% no-repeat, linear-gradient(160deg, var(--c1, var(--teal)), var(--c2, var(--deep))); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: flex-start; justify-content: space-between; isolation: isolate; overflow: hidden; }
.card__banner svg.bg { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; z-index: -1; fill: rgba(255,255,255,.18); }
.card__banner .badge { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); font-size: .75rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; }
.card__banner .stars { color: var(--gold); letter-spacing: .1em; font-size: .9rem; }
.card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__body h3 { font-size: 1.2rem; }
.card__meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.card__meta svg { width: 15px; height: 15px; color: var(--teal-600); }
.card__desc { font-size: .92rem; color: var(--text); }
.card__list { list-style: none; padding: 0; margin: .25rem 0 0; font-size: .88rem; display: grid; gap: .3rem; }
.card__list li { display: flex; gap: .45rem; align-items: flex-start; }
.card__list svg { width: 16px; height: 16px; color: var(--teal-600); flex: none; margin-top: .3rem; }
.card__foot { margin-top: auto; padding-top: .9rem; display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem; border-top: 1px solid var(--line); }
.card__price { display: flex; flex-direction: column; }
.card__price small { font-size: .72rem; color: var(--muted); }
.card__price strong { font-family: var(--font-mono); font-size: 1.2rem; color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.card__price strong i { font-style: normal; font-size: .75rem; color: var(--gold-700); }
.card--featured { border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(242,207,128,.35); }
.ribbon { position: absolute; top: .9rem; left: -2.2rem; transform: rotate(-35deg); background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 700; padding: .25rem 2.6rem; }

/* ---------- الطرق (عبّارات/سيارات) ---------- */
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.route { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.route__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--foam); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.route__icon svg { width: 22px; height: 22px; }
.route__body { flex: 1; min-width: 0; }
.route__body h3 { font-size: 1.05rem; }
.route__body p { font-size: .85rem; color: var(--muted); }
.route__price { text-align: left; flex: none; }
.route__price small { display: block; font-size: .72rem; color: var(--muted); }
.route__price strong { font-family: var(--font-mono); color: var(--ink); direction: ltr; unicode-bidi: isolate; }

/* ---------- لماذا Voyaji ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.trust__item { padding: 1.5rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.trust__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--waves) right top / 170% 100% no-repeat, var(--grad-brand-dark); color: var(--gold); display: grid; place-items: center; margin-bottom: 1rem; }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.trust__item p { font-size: .9rem; color: var(--muted); }

/* ---------- الخطوات ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 1.5rem 1.25rem 1.5rem; border-radius: 16px; background: linear-gradient(135deg, #EAFBF9, #F4FDFC); border: 1px solid #DDF3F1; }
.step__num { font-family: var(--font-mono); font-size: .8rem; color: var(--gold-700); font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- الشريط الذهبي / الدعوة ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--waves-soft) left top / cover no-repeat, var(--grad-brand-dark); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; isolation: isolate; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-start; }
.cta-band .waves-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

/* ---------- الأسئلة الشائعة ---------- */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.25rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--teal-600); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.1rem; color: var(--muted); font-size: .95rem; }

/* ---------- قوائم عامة ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; color: var(--teal-600); flex: none; margin-top: .35rem; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.info-panel { background: var(--foam); border-radius: 18px; padding: 1.5rem; }
.info-panel h3 { margin-bottom: .75rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; color: var(--ink); }
.pill svg { width: 15px; height: 15px; color: var(--teal-600); }

/* ---------- الشريك ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.activity { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.4rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.activity:hover, .activity.is-selected { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.activity.is-selected { background: var(--foam); }
.activity__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--foam); color: var(--teal-600); display: grid; place-items: center; }
.activity__icon svg { width: 26px; height: 26px; }
.activity strong { color: var(--ink); }
.activity small { color: var(--muted); font-size: .8rem; }

/* ---------- صفحة نصية ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-inline-start: 1.25rem; }
.prose .updated { color: var(--muted); font-size: .85rem; }

/* ---------- الملحوظة الصغيرة ---------- */
.note { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.note svg { width: 16px; height: 16px; flex: none; margin-top: .3rem; color: var(--gold-700); }

/* ---------- التذييل ---------- */
.footer { background: var(--waves-soft) left top / 120% 100% no-repeat, linear-gradient(120deg, #14666C 0%, #0E4F55 45%, #082F33 100%); color: rgba(255,255,255,.82); margin-top: clamp(2rem, 6vw, 4rem); position: relative; overflow: hidden; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__brand img { width: 140px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.footer__brand p { margin-top: 1rem; font-size: .92rem; max-width: 32ch; }
.pay { display: flex; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; align-items: center; }
.pay span.label { font-size: .78rem; color: rgba(255,255,255,.6); width: 100%; }
.pay__badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: .82rem; font-weight: 600; color: #fff; }
.pay__badge svg { width: 16px; height: 16px; color: var(--gold); }
.footer__contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: .35rem; }
.footer__bottom { position: relative; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem; font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,.62); }

/* ---------- الظهور عند التمرير ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- زر واتساب العائم ---------- */
.wa-float { position: fixed; bottom: 1.25rem; inset-inline-start: 1.25rem; z-index: 55; display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, #4AE07F, #1FB955); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- الاستجابة ---------- */
@media (max-width: 1180px) {
  .nav a span.txt { display: none; }
  .nav a { padding: .5rem .55rem; }
  .nav a svg { width: 20px; height: 20px; }
}
@media (max-width: 1100px) {
  .hero { background-size: 160% 100%, auto; background-position: right top, 0 0; }
}
@media (max-width: 1024px) {
  .postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .field { grid-column: span 6; }
  .field--2 { grid-column: span 3; }
  .field--4, .field--6 { grid-column: span 6; }
  .field-swap { grid-column: span 12; }
  .field-swap .swap-btn { transform: rotate(90deg); }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 74px; inset-inline: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem 1rem; gap: .2rem; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem .9rem; border-radius: 10px; font-size: 1rem; }
  .nav a span.txt { display: inline; }
  .nav .nav__mobile-only { display: inline-flex !important; border-top: 1px solid var(--line); border-radius: 0; margin-top: .4rem; padding-top: .9rem; }
  .nav .nav__mobile-only + .nav__mobile-only { border-top: 0; margin-top: 0; padding-top: .7rem; }
  .nav-toggle { display: inline-flex; }
  .topbar__actions .btn-ghost { display: none; }
  .steps { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-inline-start: 0; border-top: 2px dashed var(--line); flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; }
  .ticket__stub::before, .ticket__stub::after { top: -8px; bottom: auto; inset-inline-start: auto; }
  .ticket__stub::before { left: -8px; } .ticket__stub::after { right: -8px; }
  .ticket__main { grid-template-columns: auto 1fr auto; gap: .75rem; padding: 1rem; }
}
@media (max-width: 600px) {
  .hero { background-size: 150% 100%, auto; background-position: right top, 0 0; }
  .cta-band { background-size: 160% 100%, auto; background-position: right top, 0 0; }
  .topbar__inner { height: 66px; }
  .brand__word { font-size: 1.45rem; }
  .postcards { gap: .75rem; }
  .cards, .cards--4, .trust, .steps--4, .activity-grid { grid-template-columns: 1fr; }
  .field, .field--2 { grid-column: span 12; }
  .panel { padding: 1rem 1rem 1.25rem; }
  .tabs { padding-inline: .5rem; }
  .btn-search { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .ticket__main { grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
  .ticket__port:first-child { grid-column: 1; grid-row: 1; }
  .ticket__port:last-child { grid-column: 2; grid-row: 1; align-items: flex-end; text-align: left; }
  .ticket__route { grid-column: 1 / -1; grid-row: 2; flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
  .ticket__line { display: none; }
  .postcard__price .txt { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: .8rem; }
}
