/* Yalla Boat — Landing site styles */
:root {
  /* Core palette */
  --yb-navy: #0A1F3D;
  --yb-navy-deep: #06142A;
  --yb-navy-hi: #13315C;
  --yb-teal: #00C4B4;
  --yb-teal-deep: #00867A;
  --yb-teal-hi: #5BE5DA;
  --yb-gold: #D4A017;
  --yb-gold-hi: #F5C84A;
  --yb-green: #006C35;
  --yb-green-hi: #1C9258;
  --yb-sand-0: #FBF8F2;
  --yb-sand-1: #F2EDE2;
  --yb-sand-2: #E6DFD0;
  --yb-ink: #0B1220;
  --yb-graphite: #1A2233;
  --yb-slate: #3B4658;
  --yb-mute: #7B8699;
  --yb-line-dark: rgba(255,255,255,0.10);
  --yb-line-light: rgba(10,31,61,0.10);

  --yb-grad-hero: linear-gradient(135deg,#06142A 0%,#0A1F3D 45%,#0E3A5F 100%);
  --yb-grad-swell: radial-gradient(120% 80% at 20% 20%, rgba(0,196,180,.35) 0%, rgba(0,196,180,0) 60%),
                   radial-gradient(120% 80% at 80% 90%, rgba(212,160,23,.22) 0%, rgba(212,160,23,0) 60%),
                   linear-gradient(160deg,#06142A,#0A1F3D);
  --yb-grad-sunset: linear-gradient(180deg, #06142A 0%, #0A1F3D 30%, #13315C 55%, #B07F0D 90%, #F5C84A 100%);

  --r-chip: 12px;
  --r-card: 16px;
  --r-hero: 22px;
  --r-sheet: 26px;

  --ease-water: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 220ms;
  --t-lg: 480ms;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Hero treatment (tweakable) */
  --hero-bg: var(--yb-grad-hero);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--yb-sand-0);
  color: var(--yb-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body { font-family: var(--font-ar); }
html[dir="rtl"] [data-en] { display: none; }
html[dir="ltr"] [data-ar] { display: none; }

/* Type scale */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--yb-teal-deep);
}
.dark .eyebrow, [data-section="dark"] .eyebrow { color: var(--yb-teal-hi); }
html[lang="ar"] .eyebrow { font-family: var(--font-ar); letter-spacing: 0.6px; font-weight: 600; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  font-family: var(--font-ar); letter-spacing: 0; line-height: 1.2;
}
p { line-height: 1.55; margin: 0; }
html[lang="ar"] p { line-height: 1.7; }

a { color: inherit; text-decoration: none; }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }

/* ───────── Header ───────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(6,20,42,0.0);
  transition: background var(--t) var(--ease-water), backdrop-filter var(--t) var(--ease-water);
}
.site-header.scrolled {
  background: rgba(6,20,42,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--yb-line-dark);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; color: var(--yb-sand-0); }
.brand-lockup .mark { width: 36px; height: 36px; }
.brand-lockup .word {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.4px;
}
html[lang="ar"] .brand-lockup .word { font-family: var(--font-ar); font-size: 22px; }
.brand-lockup .word .dot { color: var(--yb-teal); margin: 0 2px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(251,248,242,0.78);
  transition: color var(--t) var(--ease-water);
}
.nav-links a:hover { color: var(--yb-sand-0); }

.nav-cta {
  display: flex; align-items: center; gap: 10px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--r-chip);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t) var(--ease-water), background var(--t) var(--ease-water), color var(--t) var(--ease-water), border-color var(--t) var(--ease-water);
  white-space: nowrap;
}
html[lang="ar"] .btn { font-family: var(--font-ar); font-weight: 700; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--yb-teal); outline-offset: 2px; }

.btn-primary { background: var(--yb-teal); color: var(--yb-navy); }
.btn-primary:hover { background: var(--yb-teal-hi); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--yb-sand-0);
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); }

.btn-outline-light {
  background: transparent; color: var(--yb-navy);
  border-color: rgba(10,31,61,0.18);
}
.btn-outline-light:hover { background: rgba(10,31,61,0.04); }

.lang-toggle {
  display: inline-flex; height: 36px; padding: 3px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.lang-toggle button {
  appearance: none; background: transparent; border: 0;
  height: 30px; padding: 0 14px; border-radius: 999px;
  color: rgba(251,248,242,0.6); cursor: pointer; letter-spacing: 1.5px;
  font: inherit;
}
.lang-toggle button.is-active {
  background: var(--yb-sand-0); color: var(--yb-navy);
}
.lang-toggle button:focus-visible { outline: 2px solid var(--yb-teal); outline-offset: 2px; }

/* ───────── Hero ───────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg);
  color: var(--yb-sand-0);
  padding: 140px 0 120px;
  min-height: 760px;
}
.hero .wrap { position: relative; z-index: 4; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center;
}
html[dir="rtl"] .hero-grid { direction: rtl; }

.hero-eyebrow { color: var(--yb-teal-hi); }
.hero h1 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-top: 22px;
  max-width: 14ch;
  text-wrap: balance;
}
/* English words run longer than Arabic — give EN a touch smaller size and more
   room so the headline doesn't blow out / overflow on mobile. */
html[dir="ltr"] .hero h1 { font-size: clamp(36px, 5.2vw, 76px); max-width: 16ch; }
html[lang="ar"] .hero h1 { line-height: 1.1; letter-spacing: 0; }
.hero h1 .spark { color: var(--yb-teal); display: block; }
.hero .lede {
  margin-top: 24px;
  font-size: 19px; max-width: 48ch;
  color: rgba(251,248,242,0.72);
}
.hero .ctas {
  margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap;
}
.hero .ctas .btn { height: 54px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.hero .ctas .btn-primary { box-shadow: 0 18px 40px -12px rgba(0,196,180,0.55); }

.hero .reassure {
  margin-top: 28px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(251,248,242,0.5); letter-spacing: 1.4px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
html[lang="ar"] .hero .reassure { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.hero .reassure span::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--yb-teal); margin-right: 10px; transform: translateY(-2px);
}
html[dir="rtl"] .hero .reassure span::before { margin-right: 0; margin-left: 10px; }

/* Hero visual: live boat card cluster */
.hero-visual {
  position: relative;
  height: 540px;
}
.live-card {
  position: absolute;
  background: rgba(11,18,32,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-hero);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 18px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
}
.live-card .photo {
  height: 110px; border-radius: 14px; position: relative; overflow: hidden;
  margin-bottom: 14px;
}
.live-card .photo::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, #0E2447 0 12px, rgba(0,196,180,0.22) 12px 14px);
}
.live-card .photo .ph-label {
  position: absolute; bottom: 8px; left: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px;
  color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.35);
  padding: 4px 8px; border-radius: 6px; text-transform: uppercase;
  backdrop-filter: blur(2px);
}
.live-card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.live-card h4 {
  font-family: var(--font-display); font-size: 17px; color: var(--yb-sand-0);
  font-weight: 700; letter-spacing: -0.01em;
}
html[lang="ar"] .live-card h4 { font-family: var(--font-ar); }
.live-card .meta {
  font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px;
}
.live-card .price {
  font-family: var(--font-display); font-weight: 800; color: var(--yb-sand-0);
  font-size: 16px;
}
.live-card .price .unit { font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500; margin-left: 4px; }
.live-card .seats {
  margin-top: 12px; font-family: var(--font-mono); font-size: 11px;
  color: var(--yb-teal-hi); letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
html[lang="ar"] .live-card .seats { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }
.dotpulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--yb-teal);
  box-shadow: 0 0 14px var(--yb-teal);
  animation: pulse 2s infinite var(--ease-water);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.live-card.card-1 { top: 20px; left: 0; width: 280px; transform: rotate(-3deg); }
.live-card.card-2 { top: 140px; right: 0; width: 290px; transform: rotate(2deg); }
.live-card.card-3 { bottom: 30px; left: 60px; width: 300px; transform: rotate(-1deg); }
html[dir="rtl"] .live-card.card-1 { left: auto; right: 0; transform: rotate(3deg); }
html[dir="rtl"] .live-card.card-2 { right: auto; left: 0; transform: rotate(-2deg); }
html[dir="rtl"] .live-card.card-3 { left: auto; right: 60px; transform: rotate(1deg); }

/* Hero sun + wave decor */
.hero-sun {
  position: absolute; right: -120px; top: 80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,200,74,0.65) 0%, rgba(212,160,23,0.25) 40%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
html[dir="rtl"] .hero-sun { right: auto; left: -120px; }
.hero-waves {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 180px; pointer-events: none;
}

.live-now {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.85); letter-spacing: 1.4px;
  margin-bottom: 36px;
}
html[lang="ar"] .live-now { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.live-now .num { color: var(--yb-teal-hi); font-weight: 600; }

/* ───────── Section: How it works ───────── */
.section-light { background: var(--yb-sand-0); color: var(--yb-ink); }
.section-cream { background: var(--yb-sand-1); color: var(--yb-ink); }
.section-dark {
  background: var(--yb-navy);
  color: var(--yb-sand-0);
  position: relative; overflow: hidden;
}
.section-dark .eyebrow { color: var(--yb-teal-hi); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 48px; align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.0; letter-spacing: -0.025em;
  max-width: 16ch; text-wrap: balance;
}
html[lang="ar"] .section-head h2 { line-height: 1.2; }
.section-head h2 + p, .section-head .head-side p {
  font-size: 16px; color: var(--yb-slate); max-width: 44ch;
}
.section-dark .section-head h2 + p, .section-dark .head-side p { color: rgba(251,248,242,0.65); }

/* How it works steps */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  background: #fff;
  border: 1px solid var(--yb-line-light);
  border-radius: var(--r-hero);
  padding: 32px;
  position: relative;
  transition: transform var(--t) var(--ease-water), box-shadow var(--t) var(--ease-water);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -28px rgba(10,31,61,0.18);
}
.step .num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--yb-teal-deep); letter-spacing: 2px;
}
.step .ico {
  margin-top: 16px;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #00C4B4 0%, #00867A 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--yb-navy);
}
.step h3 {
  font-size: 24px; margin-top: 22px; color: var(--yb-navy);
  line-height: 1.15;
}
.step p {
  font-size: 15px; color: var(--yb-slate); margin-top: 10px;
}

/* ───────── Trip categories ───────── */
.cats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.cat {
  border-radius: var(--r-hero);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  isolation: isolate;
}
.cat .img {
  position: absolute; inset: 0;
  background-color: #0E2447;
}
.cat .img::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, #0E2447 0 12px, rgba(0,196,180,0.20) 12px 14px);
}
.cat[data-tone="sunset"] .img { background-color: #2A1A0B; }
.cat[data-tone="sunset"] .img::before { background: repeating-linear-gradient(135deg, #2A1A0B 0 12px, rgba(245,200,74,0.28) 12px 14px); }
.cat[data-tone="fishing"] .img { background-color: #0A2A28; }
.cat[data-tone="fishing"] .img::before { background: repeating-linear-gradient(135deg, #0A2A28 0 12px, rgba(0,196,180,0.30) 12px 14px); }
.cat[data-tone="family"] .img { background-color: #0E2447; }
.cat[data-tone="snorkel"] .img { background-color: #0E5760; }
.cat[data-tone="snorkel"] .img::before { background: repeating-linear-gradient(135deg, #0E5760 0 12px, rgba(91,229,218,0.30) 12px 14px); }
.cat[data-tone="private"] .img { background-color: #06142A; }
.cat[data-tone="private"] .img::before { background: repeating-linear-gradient(135deg, #06142A 0 12px, rgba(212,160,23,0.30) 12px 14px); }

.cat .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,20,42,0.85) 100%);
}
.cat .img-label {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px;
  color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.35);
  padding: 4px 8px; border-radius: 6px; text-transform: uppercase;
  backdrop-filter: blur(2px);
}
html[dir="rtl"] .cat .img-label { left: auto; right: 16px; }

.cat .body {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  color: var(--yb-sand-0);
  z-index: 2;
}
.cat .body .title {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.01em; line-height: 1.1;
}
html[lang="ar"] .cat .body .title { font-family: var(--font-ar); }
.cat .body .from {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--yb-teal-hi); letter-spacing: 1px;
}
html[lang="ar"] .cat .body .from { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }

.cat:hover .body { transform: translateY(-2px); }
.cat .body { transition: transform var(--t) var(--ease-water); }

/* ───────── Trust strip ───────── */
.trust {
  background: var(--yb-navy);
  border-radius: var(--r-sheet);
  padding: 40px 36px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  color: var(--yb-sand-0);
  position: relative; overflow: hidden;
}
.trust .item {
  display: flex; flex-direction: column; gap: 10px;
}
.trust .ico-sm {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(0,196,180,0.12); color: var(--yb-teal-hi);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,196,180,0.18);
}
.trust h4 {
  font-size: 17px; font-weight: 700; color: var(--yb-sand-0);
  letter-spacing: -0.01em;
}
.trust p { font-size: 13px; color: rgba(251,248,242,0.7); line-height: 1.5; }

/* ───────── Live trips ───────── */
.live-trips {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.trip-card {
  background: #fff;
  border-radius: var(--r-hero);
  border: 1px solid var(--yb-line-light);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t) var(--ease-water), box-shadow var(--t) var(--ease-water);
}
.trip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -28px rgba(10,31,61,0.18);
}
.trip-card .when {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--yb-teal-deep); letter-spacing: 1.4px;
}
html[lang="ar"] .trip-card .when { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.trip-card .photo {
  height: 140px; border-radius: 14px;
  position: relative; overflow: hidden;
}
.trip-card .photo::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, #0E2447 0 12px, rgba(0,196,180,0.22) 12px 14px);
}
.trip-card .photo .ph-label {
  position: absolute; bottom: 8px; left: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px;
  color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.35);
  padding: 4px 8px; border-radius: 6px; text-transform: uppercase;
  backdrop-filter: blur(2px);
}
.trip-card h3 {
  font-size: 20px; color: var(--yb-navy); letter-spacing: -0.01em;
}
.trip-card .row {
  display: flex; justify-content: space-between; align-items: center;
}
.trip-card .captain {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--yb-slate);
}
.trip-card .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yb-teal-deep), var(--yb-navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--yb-sand-0); font-family: var(--font-display);
  font-weight: 700; font-size: 12px;
}
.trip-card .price {
  font-family: var(--font-display); font-weight: 800; color: var(--yb-navy);
  font-size: 20px; letter-spacing: -0.01em;
}
.trip-card .price .unit { font-size: 11px; color: var(--yb-mute); font-weight: 500; margin-left: 4px; }
html[dir="rtl"] .trip-card .price .unit { margin-left: 0; margin-right: 4px; }
.trip-card .seats {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--yb-slate);
  letter-spacing: 1px;
}
html[lang="ar"] .trip-card .seats { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.seat-bar {
  display: flex; gap: 3px;
}
.seat-bar .pip {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--yb-teal);
}
.seat-bar .pip.empty { background: rgba(10,31,61,0.10); }
.trip-card .book {
  margin-top: 6px;
  align-self: flex-start;
}

/* ───────── Captain CTA ───────── */
.captain-cta {
  position: relative; overflow: hidden;
  background: var(--yb-grad-swell);
  border-radius: var(--r-sheet);
  padding: 64px 56px;
  color: var(--yb-sand-0);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.captain-cta h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.0; letter-spacing: -0.025em;
  text-wrap: balance;
}
html[lang="ar"] .captain-cta h2 { line-height: 1.2; }
.captain-cta h2 .spark { color: var(--yb-gold-hi); display: block; }
.captain-cta .lede {
  margin-top: 18px; font-size: 17px; color: rgba(251,248,242,0.72);
  max-width: 46ch;
}
.captain-cta .points {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.captain-cta .points li {
  display: flex; gap: 12px; font-size: 15px; color: rgba(251,248,242,0.85);
  line-height: 1.5;
}
.captain-cta .points .check {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: rgba(212,160,23,0.18); color: var(--yb-gold-hi);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.captain-cta .cta-row {
  margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap;
}

.captain-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.captain-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-card);
  padding: 22px;
  backdrop-filter: blur(20px);
}
.captain-stat .v {
  font-family: var(--font-display); font-weight: 800; font-size: 36px;
  color: var(--yb-sand-0); letter-spacing: -0.02em;
}
html[lang="ar"] .captain-stat .v { letter-spacing: 0; }
.captain-stat .v.teal { color: var(--yb-teal-hi); }
.captain-stat .v.gold { color: var(--yb-gold-hi); }
.captain-stat .l {
  font-size: 13px; color: rgba(251,248,242,0.7);
  margin-top: 6px; line-height: 1.4;
}

/* ───────── App download ───────── */
.app-band {
  background: var(--yb-navy-deep);
  position: relative; overflow: hidden;
}
.app-band-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.app-band h2 {
  color: var(--yb-sand-0);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0; letter-spacing: -0.025em;
}
html[lang="ar"] .app-band h2 { line-height: 1.2; }
.app-band h2 .spark { color: var(--yb-teal); display: block; }
.app-band p { color: rgba(251,248,242,0.7); margin-top: 18px; font-size: 17px; max-width: 44ch; }
.store-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 14px;
  cursor: pointer; transition: transform var(--t) var(--ease-water);
}
.store-btn:hover { transform: translateY(-1px); }
.store-btn .ico { font-size: 24px; }
.store-btn .lab .a {
  display: block; font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,0.65); letter-spacing: 1px; text-transform: uppercase;
}
.store-btn .lab .b {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin-top: 2px;
}
html[lang="ar"] .store-btn .lab .b { font-family: var(--font-ar); }

/* Phone mockup */
.phone {
  position: relative; margin: 0 auto;
  width: 320px; height: 640px; border-radius: 48px;
  background: #0b0f1a;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6), inset 0 0 0 6px #06142A;
  padding: 14px;
  overflow: hidden;
}
.phone .notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; border-radius: 14px; background: #000;
  z-index: 4;
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px;
  background: var(--yb-grad-hero);
  overflow: hidden;
  padding: 56px 18px 22px;
  color: var(--yb-sand-0);
}
.phone .screen .topbar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}
.phone .greeting {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  letter-spacing: -0.015em;
}
html[lang="ar"] .phone .greeting { font-family: var(--font-ar); letter-spacing: 0; }
.phone .search-pill {
  margin-top: 14px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; padding: 0 14px; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.phone .filters {
  display: flex; gap: 6px; margin-top: 12px;
}
.phone .filters .chip {
  flex: 0 0 auto;
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,0.7); letter-spacing: 0.8px;
  display: flex; align-items: center;
}
html[lang="ar"] .phone .filters .chip { font-family: var(--font-ar); letter-spacing: 0; font-size: 11px; }
.phone .filters .chip.active {
  background: var(--yb-teal); color: var(--yb-navy); border-color: transparent;
  font-weight: 700;
}
.phone .mini-card {
  margin-top: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
}
.phone .mini-card .ph {
  height: 90px; border-radius: 8px; margin-bottom: 10px;
  background: repeating-linear-gradient(135deg, #2A1A0B 0 8px, rgba(245,200,74,0.30) 8px 9px);
}
.phone .mini-card .ph.teal {
  background: repeating-linear-gradient(135deg, #0E5760 0 8px, rgba(91,229,218,0.30) 8px 9px);
}
.phone .mini-card .when {
  font-family: var(--font-mono); font-size: 9px; color: var(--yb-teal-hi);
  letter-spacing: 1px;
}
html[lang="ar"] .phone .mini-card .when { font-family: var(--font-ar); letter-spacing: 0; font-size: 11px; }
.phone .mini-card .name {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 4px;
}
html[lang="ar"] .phone .mini-card .name { font-family: var(--font-ar); }
.phone .mini-card .row {
  display: flex; justify-content: space-between; align-items: center; margin-top: 8px;
}
.phone .mini-card .row .seats {
  font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.65); letter-spacing: 1px;
}
html[lang="ar"] .phone .mini-card .row .seats { font-family: var(--font-ar); letter-spacing: 0; font-size: 11px; }
.phone .mini-card .row .price {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: var(--yb-sand-0);
}

/* ───────── FAQ ───────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-top: 1px solid var(--yb-line-light);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--yb-line-light); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--yb-navy); letter-spacing: -0.01em;
}
html[lang="ar"] .faq-item .q { font-family: var(--font-ar); letter-spacing: 0; font-size: 20px; }
.faq-item .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--yb-sand-1); color: var(--yb-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: transform var(--t) var(--ease-water), background var(--t) var(--ease-water);
  flex: 0 0 28px;
}
.faq-item[open] .plus { transform: rotate(45deg); background: var(--yb-teal); }
.faq-item .a {
  padding: 0 24% 28px 0; color: var(--yb-slate); font-size: 15px;
  line-height: 1.6;
}
html[dir="rtl"] .faq-item .a { padding: 0 0 28px 24%; }
html[lang="ar"] .faq-item .a { font-size: 16px; line-height: 1.75; }

/* ───────── Footer ───────── */
.footer {
  background: var(--yb-navy-deep);
  color: rgba(251,248,242,0.6);
  padding: 80px 0 36px;
}
.footer .top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer .group h5 {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--yb-sand-0); letter-spacing: 0;
  margin-bottom: 16px;
}
html[lang="ar"] .footer .group h5 { font-family: var(--font-ar); font-size: 15px; }
.footer .group a {
  display: block; padding: 6px 0; font-size: 14px;
  color: rgba(251,248,242,0.6); transition: color var(--t) var(--ease-water);
}
.footer .group a:hover { color: var(--yb-sand-0); }
.footer .brand-block .tagline {
  margin-top: 18px; font-size: 14px; line-height: 1.6; max-width: 32ch;
  color: rgba(251,248,242,0.55);
}
.footer .brand-block .social {
  display: flex; gap: 10px; margin-top: 22px;
}
.footer .brand-block .social a {
  width: 38px; height: 38px; padding: 0;
  border-radius: 10px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
}
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(251,248,242,0.4); letter-spacing: 1.4px;
}
html[lang="ar"] .footer .bottom { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }
.footer .bottom .legal { display: flex; gap: 22px; }

/* ───────── Section wave decorator ───────── */
.wave-divider {
  display: block; width: 100%; height: 80px;
}

/* ───────── Reveal animation ───────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t-lg) var(--ease-water), transform var(--t-lg) var(--ease-water);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { height: 420px; }
  .live-card.card-1 { left: 0; }
  .live-card.card-3 { left: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; align-items: start; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cats .cat:last-child { grid-column: span 2; aspect-ratio: 16/8; }
  .live-trips { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .captain-cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .app-band-inner { grid-template-columns: 1fr; text-align: center; }
  .app-band-inner .phone { margin-top: 24px; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding: 96px 0 80px; min-height: 0; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .trust { grid-template-columns: 1fr; padding: 28px 22px; }
  .cats { grid-template-columns: 1fr; }
  .cats .cat:last-child { grid-column: auto; aspect-ratio: 3/4; }
  .footer .top { grid-template-columns: 1fr; }
}

/* ───── Live trips rail ───── */
.live-rail { margin-top: 56px; }
.live-rail-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.live-rail-head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px); color: var(--yb-navy); margin: 0;
}
.live-rail-all {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--yb-teal-deep); text-decoration: none; white-space: nowrap;
}
.live-rail-all:hover { color: var(--yb-teal); }

.live-trips {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.ltrip {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--yb-line-light);
  border-radius: var(--r-card); padding: 18px 18px 16px;
  text-decoration: none; color: var(--yb-ink);
  box-shadow: 0 1px 2px rgba(10,31,61,.04);
  transition: transform var(--t) var(--ease-water), box-shadow var(--t) var(--ease-water), border-color var(--t);
}
.ltrip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10,31,61,.10);
  border-color: rgba(0,196,180,.35);
}
.ltrip-top { display: flex; align-items: center; gap: 8px; }
.ltrip-cat {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .02em; text-transform: uppercase;
  color: var(--yb-teal-deep); background: rgba(0,196,180,.10);
  padding: 4px 10px; border-radius: var(--r-chip);
}
.ltrip-women {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  color: #fff; background: var(--yb-green);
  padding: 4px 10px; border-radius: var(--r-chip);
}
.ltrip-title {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  line-height: 1.25; color: var(--yb-navy);
}
.ltrip-meta { font-family: var(--font-body); font-size: 14px; color: var(--yb-slate); }
.ltrip-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: auto; padding-top: 6px;
  border-top: 1px solid var(--yb-line-light);
}
.ltrip-price {
  font-family: var(--font-mono); font-weight: 600; font-size: 16px;
  color: var(--yb-navy); direction: ltr;
}
.ltrip-seats { font-family: var(--font-body); font-size: 13px; color: var(--yb-gold); font-weight: 600; }
html[dir="rtl"] .ltrip-foot { flex-direction: row-reverse; }

@media (max-width: 920px) { .live-trips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .live-trips { grid-template-columns: 1fr; } }
