/* ============================================================
   GuideMe — marketing site stylesheet
   Pure CSS, no build step. Mobile-first. RTL-safe (logical props).
   ============================================================ */

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;

  --navy-950: #081120;
  --navy-900: #0b1526;
  --navy-800: #10203a;
  --navy-700: #1b3050;

  --ink:      #0f172a;
  --ink-soft: #475569;
  --ink-faint:#94a3b8;
  --line:     #e2e8f0;
  --bg:       #ffffff;
  --bg-soft:  #f8fafc;

  --gold:     #f59e0b;
  --gold-soft:#fde68a;
  --green:    #16a34a;
  --red:      #ef4444;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-xl:32px;

  --shadow-s: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-m: 0 10px 30px -10px rgba(15,23,42,.18);
  --shadow-l: 0 30px 60px -20px rgba(8,17,32,.35);

  --font-en: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Cairo", "Satoshi", system-ui, Tahoma, Arial, sans-serif;
  /* premium display face for headlines + the logo (Latin); Cairo fills Arabic glyphs */
  --font-display: "Clash Display", "Cairo", "Satoshi", system-ui, sans-serif;

  --container: 1140px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* anchored sections land below the fixed header */
[id] { scroll-margin-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Decorative blobs sit just outside several sections; keep them from
     creating a horizontal scroll (in RTL the overflow flips to the right
     and clipped the hero phone mockup on mobile). */
  overflow-x: hidden;
}
html { overflow-x: hidden; }
html[lang="ar"] body { font-family: var(--font-ar); letter-spacing: 0; }

/* Headlines (and the logo, below) use the display face — everything else stays Inter */
h1, h2, h3, .section-title, .hero h1 { font-family: var(--font-display); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 200;
  background: var(--teal-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* Language visibility blocks (used on legal pages) */
html[lang="en"] [data-lang-block="ar"] { display: none; }
html[lang="ar"] [data-lang-block="en"] { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(13,148,136,.5);
}
.btn-primary:hover { box-shadow: 0 12px 26px -6px rgba(13,148,136,.6); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-600);
}
.btn-ghost:hover { background: var(--teal-50); }

.btn-light {
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-s);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-m); }

/* ---------- Store badges (hand-built) ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0b1220;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 8px 16px;
  min-width: 170px;
  text-decoration: none !important;
  transition: transform .15s ease, border-color .15s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--teal-400); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store-badge .sb-small { font-size: .68rem; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.store-badge .sb-big { font-size: 1.05rem; font-weight: 700; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(11,21,38,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(8,17,32,.35);
}
.site-header.header-light.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-s);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none !important;
}
.brand span { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; }
.brand img { height: 40px; width: auto; }
.header-light .brand { color: var(--navy-900); }
.site-header.header-light.scrolled .brand { color: var(--navy-900); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--teal-400); border-color: var(--teal-400); }
.header-light .nav-links a { color: var(--ink-soft); }
.header-light .nav-links a:hover { color: var(--ink); }
.header-light .nav-links a[aria-current="page"] { color: var(--teal-700); border-color: var(--teal-600); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease;
}
.lang-btn:hover { background: rgba(255,255,255,.22); }
.header-light .lang-btn {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--line);
}
.header-light .lang-btn:hover { background: var(--teal-50); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.header-light .burger span { background: var(--navy-900); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    padding: 8px 20px 20px;
    box-shadow: 0 20px 40px rgba(8,17,32,.4);
    transform: translateY(-130%);
    transition: transform .28s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 4px; color: rgba(255,255,255,.9) !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a[aria-current="page"] { color: var(--teal-400) !important; }
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20,184,166,.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(20,184,166,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: #fff;
  overflow: hidden;
  padding: 150px 0 90px;
}
.hero::after {
  /* soft grain ring */
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  top: -180px;
  inset-inline-end: -120px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}
@media (max-width: 960px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,184,166,.14);
  border: 1px solid rgba(20,184,166,.35);
  color: var(--teal-400);
  font-weight: 700;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--teal-400), #7ef0e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.12rem;
  max-width: 52ch;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Phone mockups ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  min-height: 560px;
}
@media (max-width: 960px) { .hero-visual { min-height: 520px; } }

.phone {
  width: 270px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1e293b, #0b1220);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-l), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #0b1220;
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone--front {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.phone--back {
  position: absolute;
  top: 56px;
  inset-inline-end: max(0px, calc(50% - 270px));
  transform: rotate(7deg) scale(.86);
  opacity: .96;
  z-index: 1;
  animation: float 7s ease-in-out infinite reverse;
}
@media (max-width: 560px) {
  .phone--back { display: none; }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

/* --- in-screen UI primitives --- */
.ui-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 4px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.ui-status .dots { display: flex; gap: 3px; }
.ui-status .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-soft); }

.ui-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: .92rem;
  color: var(--ink);
}
.ui-appbar .sub { font-size: .68rem; font-weight: 600; color: var(--green); display: block; line-height: 1.1; }

.ui-search {
  margin: 4px 14px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .75rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui-search svg { width: 13px; height: 13px; }

.ui-card {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 12px;
  margin: 0 14px 10px;
}
.ui-row { display: flex; align-items: center; gap: 10px; }
.ui-col { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.ui-avatar {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
}
.ui-avatar.av-2 { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.ui-avatar.av-3 { background: linear-gradient(135deg, #f472b6, #db2777); }
.ui-avatar.av-s { width: 30px; height: 30px; font-size: .75rem; }

.ui-name { font-weight: 800; font-size: .82rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-meta { font-size: .68rem; color: var(--ink-soft); }
.ui-stars { color: var(--gold); font-size: .7rem; letter-spacing: 1px; }
.ui-price { font-weight: 800; color: var(--teal-700); font-size: .85rem; white-space: nowrap; unicode-bidi: plaintext; }

.ui-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-weight: 700;
  font-size: .72rem;
  padding: 7px 14px;
  border-radius: 999px;
  text-align: center;
}
.ui-btn.full { display: block; margin-top: 10px; padding: 9px; font-size: .78rem; }
.ui-btn.outline { background: transparent; color: var(--teal-700); box-shadow: inset 0 0 0 1.5px var(--teal-600); }
.ui-btn.green { background: linear-gradient(135deg, #22c55e, #15803d); }

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.ui-chip.amber { background: #fef3c7; color: #b45309; }
.ui-chip.green { background: #dcfce7; color: #15803d; }

.ui-line { height: 7px; border-radius: 4px; background: var(--line); margin-top: 6px; }
.w30 { width: 30%; } .w45 { width: 45%; } .w60 { width: 60%; } .w80 { width: 80%; }

.ui-map {
  position: relative;
  margin: 0 14px 10px;
  border-radius: var(--radius-m);
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(13,148,136,.05) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(13,148,136,.05) 1px, transparent 1px) 0 0 / 22px 100%,
    linear-gradient(150deg, #e7f6f3, #d7efe9);
  min-height: 110px;
  flex: none;
}
.ui-map svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.ui-map.tall { min-height: 230px; flex: 1; margin-bottom: 0; border-radius: 0; }

.ui-bubble {
  max-width: 78%;
  font-size: .72rem;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 14px;
  margin: 0 14px 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-s);
  align-self: flex-start;
  border-start-start-radius: 4px;
}
.ui-bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  border-start-start-radius: 14px;
  border-start-end-radius: 4px;
}
.ui-input {
  margin: auto 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .72rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ui-input .send {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-600);
  flex: none;
}

.ui-bigstars { font-size: 1.5rem; letter-spacing: 6px; color: var(--gold); text-align: center; margin: 8px 0; }
.ui-check {
  width: 64px; height: 64px;
  margin: 18px auto 8px;
  border-radius: 50%;
  background: #dcfce7;
  display: grid;
  place-items: center;
}
.ui-check svg { width: 30px; height: 30px; }

.ui-center { text-align: center; padding-inline: 16px; }
.ui-amount { font-size: 1.3rem; font-weight: 800; color: var(--green); }

/* pulsing live dot */
.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-500);
  position: relative;
  flex: none;
}
.live-dot::after {
  display: none; /* removed pulsing ring — static dot reads less "AI hero" */
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--teal-500);
}
@keyframes pulse {
  0%   { transform: scale(.4); opacity: .9; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-block;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  font-weight: 700;
  font-size: .82rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; gap: 28px; } }
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--teal-400);
  font-variant-numeric: tabular-nums;
}
.stat-label { color: rgba(255,255,255,.75); font-weight: 600; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ---------- Feature grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--teal-100);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--teal-50);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------- Walkthrough ---------- */
.walkthrough {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
@media (max-width: 920px) {
  .walkthrough { grid-template-columns: 1fr; }
  .walk-stagewrap { order: -1; }
}

.walk-tabs { display: flex; flex-direction: column; gap: 8px; position: relative; }
/* the day's timeline thread behind the time chips */
.walk-tabs::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  inset-inline-start: 49px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-100), var(--line) 70%, transparent);
}
.walk-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: start;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  padding: 14px 18px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, border-color .2s ease;
  width: 100%;
  position: relative;
}
.walk-tab:hover { background: var(--bg-soft); }
.walk-tab[aria-selected="true"] {
  background: #fff;
  border-color: var(--teal-100);
  box-shadow: var(--shadow-m);
}
.walk-tab .wt-time {
  flex: none;
  min-width: 62px;
  text-align: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.walk-tab[aria-selected="true"] .wt-time {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(13,148,136,.55);
}
.walk-tab h3 { font-size: 1.02rem; margin: 2px 0 2px; color: var(--ink); }
.walk-tab p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

.walk-stagewrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.walk-stage { position: relative; }
.walk-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  border-radius: 35px;
  overflow: hidden;
  background: var(--bg-soft);
}
html[dir="rtl"] .walk-screen { transform: translateX(-18px); }
.walk-screen.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
/* RTL needs an equal-or-higher-specificity override, otherwise the rule above
   (html[dir=rtl] .walk-screen) wins and the active screen stays shifted -18px,
   pushing the content off-centre inside the phone. */
html[dir="rtl"] .walk-screen.active { transform: translateX(0); }
.walk-dots { display: flex; gap: 8px; }
.walk-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.walk-dot[aria-selected="true"] { background: var(--teal-600); transform: scale(1.25); }

/* track screen moving dot (approx route) */
.track-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal-600);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(13,148,136,.5);
  animation: trackmove 7s ease-in-out infinite;
  top: 20%;
  inset-inline-start: 12%;
}
@keyframes trackmove {
  0%   { top: 68%; inset-inline-start: 12%; }
  30%  { top: 48%; inset-inline-start: 38%; }
  60%  { top: 52%; inset-inline-start: 62%; }
  100% { top: 18%; inset-inline-start: 82%; }
}

/* ---------- Live tracking section ---------- */
.tracking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 920px) { .tracking-grid { grid-template-columns: 1fr; } }

.map-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  background:
    linear-gradient(0deg, rgba(13,148,136,.06) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(13,148,136,.06) 1px, transparent 1px) 0 0 / 34px 100%,
    linear-gradient(150deg, #eef9f6, #dcf1ea);
  aspect-ratio: 16 / 10;
}
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-bg { stroke: rgba(13,148,136,.18); }
.route-draw {
  stroke: var(--teal-600);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawroute 5s ease-in-out infinite;
}
@keyframes drawroute {
  0%   { stroke-dashoffset: 1000; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.map-eta {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
.tracking-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.tracking-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.tracking-points li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.tracking-points li strong { color: var(--ink); }

/* ---------- Community ---------- */
.community-grid {
  columns: 3 260px;
  column-gap: 20px;
}
.post-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.post-art {
  position: relative;
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post-art.tall { height: 220px; }
.post-art.short { height: 140px; }
.post-art svg { width: 100%; height: 100%; }
.post-art .art-label {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.post-body { padding: 14px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.post-head .ui-name { font-size: .85rem; }
.post-head .ui-meta { font-size: .7rem; }
.follow-chip {
  margin-inline-start: auto;
  font-size: .7rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.post-caption { font-size: .85rem; color: var(--ink-soft); margin: 0 0 10px; }
.like-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.like-chip svg { width: 16px; height: 16px; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-card .stars { color: var(--gold); letter-spacing: 3px; }
.quote-card blockquote { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.65; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-who .ui-meta { font-size: .78rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, var(--teal-600), var(--teal-800));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-l);
}
@media (max-width: 760px) { .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; } }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.85); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}
.faq-q .faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--teal-100); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a > div { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
  margin-top: 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: var(--teal-400); text-decoration: none; }
.footer-brand p { margin: 14px 0 18px; max-width: 34ch; font-size: .92rem; }
.footer-lang { display: flex; gap: 8px; }
.footer-lang button {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  font-family: inherit;
}
.footer-lang button:hover, .footer-lang button.active { background: var(--teal-700); border-color: var(--teal-600); color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-badges .store-badge { min-width: 0; padding: 7px 14px; }

/* ---------- Page hero (light pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(20,184,166,.2), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: #fff;
  padding: 140px 0 70px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }

/* ---------- Guides page: wallet & ranks ---------- */
.guides-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  text-align: start;
}
@media (max-width: 920px) { .guides-hero-grid { grid-template-columns: 1fr; } }

.wallet-hero {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  border-radius: var(--radius-m);
  color: #fff;
  padding: 18px 16px;
  margin: 4px 14px 10px;
}
.wallet-hero .wh-label { font-size: .68rem; opacity: .85; font-weight: 600; }
.wallet-hero .wh-amount { font-size: 1.6rem; font-weight: 800; margin: 2px 0 12px; }
.wallet-hero .ui-btn { background: #fff; color: var(--teal-800); }

.medallion {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  position: relative;
  box-shadow: var(--shadow-m);
}
.medallion::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.55);
}
.medallion svg { width: 36px; height: 36px; }
.medallion.bronze   { background: radial-gradient(circle at 30% 30%, #e8a268, #9a5b2d); }
.medallion.silver   { background: radial-gradient(circle at 30% 30%, #e3e9f0, #8a97a8); }
.medallion.gold     { background: radial-gradient(circle at 30% 30%, #fde68a, #d97706); }
.medallion.platinum { background: radial-gradient(circle at 30% 30%, #d8e7ff, #5b7ba6); }
.medallion.med-s { width: 56px; height: 56px; margin: 0; }
.medallion.med-s svg { width: 22px; height: 22px; }
.medallion.med-s::after { inset: 5px; }

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
@media (max-width: 920px) { .ranks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ranks-grid { grid-template-columns: 1fr; } }
.rank-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 20px;
}
.rank-card h3 { margin-top: 16px; font-size: 1.05rem; }
.rank-card p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- About / values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.prose { max-width: 720px; margin-inline: auto; font-size: 1.05rem; color: var(--ink-soft); }
.prose h2 { color: var(--ink); margin-top: 1.6em; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-card .feature-icon { margin: 0; flex: none; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-s);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
}
.form-note { font-size: .85rem; color: var(--ink-faint); margin-top: 12px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin-inline: auto; padding: 60px 20px 20px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-inline-start: 22px; }
.legal .updated { color: var(--ink-faint); font-size: .9rem; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(700px 420px at 50% -10%, rgba(20,184,166,.18), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: #fff;
  padding: 40px 20px;
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notfound p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.nf-code {
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--teal-400), #7ef0e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.nf-compass { width: 110px; height: 110px; margin: 0 auto 24px; animation: spinwobble 6s ease-in-out infinite; }
@keyframes spinwobble {
  0%, 100% { transform: rotate(-12deg); }
  50%      { transform: rotate(14deg); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

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

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

/* ============================================================
   V2 — visual glow-up: blobs, demo phone, marquee, destinations,
   guide cards, tilt, scroll progress
   ============================================================ */



/* ---------- Aurora blobs ---------- */
.blob {
  display: none; /* removed: floating gradient blobs read as generic/AI-template */
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.blob-teal  { background: radial-gradient(circle, rgba(20,184,166,.55), transparent 70%); }
.blob-blue  { background: radial-gradient(circle, rgba(56,189,248,.4), transparent 70%); }
.blob-amber { background: radial-gradient(circle, rgba(245,158,11,.32), transparent 70%); }
.blob.b-drift  { animation: blobdrift 14s ease-in-out infinite alternate; }
.blob.b-drift2 { animation: blobdrift 18s ease-in-out infinite alternate-reverse; }
@keyframes blobdrift {
  from { translate: 0 0; scale: 1; }
  to   { translate: 50px 36px; scale: 1.18; }
}
.hero > .container, .hero-grid { position: relative; z-index: 1; }

/* glow on hero phones */
.phone--front {
  box-shadow: var(--shadow-l), 0 0 90px -18px rgba(20,184,166,.55), inset 0 0 0 2px rgba(255,255,255,.06);
  transition: transform .18s ease-out;
  will-change: transform;
}

/* ---------- Hero live badge ---------- */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero-chips .hero-kicker { margin-bottom: 0; }
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.4);
  color: #86efac;
  font-weight: 700;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 999px;
}
.live-chip .live-dot { background: #22c55e; }
.live-chip .live-dot::after { border-color: #22c55e; }

/* ---------- Hero self-playing demo ---------- */
.demo-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-radius: 35px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
html[dir="rtl"] .demo-screen { transform: translateX(-16px); }
.demo-screen.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
/* RTL active needs higher specificity than `html[dir="rtl"] .demo-screen`,
   otherwise the active screen stays shifted -16px and doesn't fill the frame. */
html[dir="rtl"] .demo-screen.active { transform: translateX(0); }

.type-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--teal-600);
  margin-inline-start: 2px;
  vertical-align: text-bottom;
  animation: caretblink 1s steps(1) infinite;
}
@keyframes caretblink { 50% { opacity: 0; } }
.type-text { color: var(--ink); font-weight: 600; }

.ui-line.shimmer {
  background: linear-gradient(90deg, var(--line) 25%, #f1f5f9 50%, var(--line) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.demo-pop { animation: demopop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes demopop {
  from { scale: .4; opacity: 0; }
  to   { scale: 1; opacity: 1; }
}
.demo-pulse { animation: demopulse 1.6s ease-in-out infinite; }
@keyframes demopulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,148,136,.45); }
  50%      { box-shadow: 0 0 0 9px rgba(13,148,136,0); }
}

.demo-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.demo-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: background .25s ease, transform .25s ease;
}
.demo-dots i.on { background: var(--teal-400); transform: scale(1.3); }

/* ---------- Cities marquee ---------- */
.marquee {
  background: var(--navy-950);
  border-block: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { inset-inline-start: 0; background: linear-gradient(to right, var(--navy-950), transparent); }
.marquee::after  { inset-inline-end: 0; background: linear-gradient(to left, var(--navy-950), transparent); }
html[dir="rtl"] .marquee::before { background: linear-gradient(to left, var(--navy-950), transparent); }
html[dir="rtl"] .marquee::after  { background: linear-gradient(to right, var(--navy-950), transparent); }
.mq-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: mqscroll 30s linear infinite;
}
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mqscroll { to { transform: translateX(-50%); } }
html[dir="rtl"] .mq-track { animation-name: mqscroll-rtl; }
@keyframes mqscroll-rtl { to { transform: translateX(50%); } }
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-inline: 18px;
  color: rgba(255,255,255,.65);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.mq-item::after {
  content: "·";
  color: var(--teal-500);
  font-size: 1.4rem;
}

/* ---------- Destination posters ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .dest-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .dest-card { flex: 0 0 268px; scroll-snap-align: start; }
}
.dest-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-m);
  cursor: pointer;
  isolation: isolate;
}
.dest-card svg.dest-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.dest-card:hover svg.dest-art, .dest-card:focus-within svg.dest-art { transform: scale(1.07); }
/* real photo layer over the SVG art; removed via onerror if it fails to load */
.dest-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.dest-card:hover .dest-photo, .dest-card:focus-within .dest-photo { transform: scale(1.07); }
.hero-visual .demo-dots {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,17,32,.78) 0%, transparent 55%);
  z-index: 1;
}
.dest-info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 18px;
  z-index: 2;
  color: #fff;
}
.dest-info h3 { font-size: 1.3rem; margin: 0 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 700;
}
.dest-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(13,148,136,.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  text-align: center;
  padding: 16px;
}
.dest-card:hover .dest-veil, .dest-card:focus-within .dest-veil { opacity: 1; }

/* ---------- Meet-your-guides cards ---------- */
.team-carousel { position: relative; }
.team-viewport { overflow: hidden; }
.team-grid {
  display: flex;
  direction: ltr; /* LTR mechanics in both langs → arrows never invert; card text stays RTL */
  gap: 20px;
  transition: transform .45s cubic-bezier(.2, .8, .3, 1);
  will-change: transform;
}
.team-grid > .guide-card { flex: 0 0 calc((100% - 60px) / 4); } /* 4 per view (3 × 20px gaps) */
@media (max-width: 1060px) { .team-grid > .guide-card { flex-basis: calc((100% - 20px) / 2); } } /* 2 */
@media (max-width: 560px)  { .team-grid > .guide-card { flex-basis: 100%; } }                    /* 1 */

/* prev/next arrows */
.team-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  direction: ltr; /* ‹ › are bidi-mirrored chars — keep LTR so they don't flip in RTL */
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-m);
  transition: transform .15s ease, opacity .2s ease, background .2s ease;
}
.team-arrow:hover { background: var(--teal-50); transform: translateY(-50%) scale(1.07); }
/* chevron glyphs (pure CSS so side + direction always agree, incl. RTL) */
/* universal outward chevrons — same in LTR and RTL, can't invert */
.team-prev::before { content: "\2039"; } /* ‹ */
.team-next::before { content: "\203A"; } /* › */
.team-prev { left: -8px; right: auto; }
.team-next { right: -8px; left: auto; }
.team-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.team-carousel.no-scroll .team-arrow { display: none; }
/* compact 2-up cards on phones (works in EN + AR) */
@media (max-width: 560px) {
  .team-grid { gap: 12px; }
  .gc-cover { height: 58px; }
  .gc-avatar { width: 56px; height: 56px; margin: -28px auto 8px; font-size: 1.2rem; border-width: 3px; }
  .guide-card h3 { font-size: .95rem; }
  .gc-city { font-size: .75rem; margin-bottom: 6px; }
  .gc-stars { font-size: .72rem; letter-spacing: 1px; flex-wrap: wrap; row-gap: 2px; }
  .gc-stars span { font-size: .72rem; }
  .gc-langs { gap: 4px; margin: 8px 0 10px; }
  .gc-langs span { font-size: .6rem; padding: 2px 7px; }
  .gc-price { padding: 10px 8px 12px; flex-wrap: wrap; gap: 6px; justify-content: center; }
  .gc-price .ui-price { font-size: .9rem; }
  .gc-rankchip { font-size: .64rem; padding: 3px 8px; }
  .gc-available { font-size: .6rem; padding: 3px 8px; top: 8px; inset-inline-end: 8px; gap: 4px; }
  .guide-card .gc-body { padding: 0 8px; }
  .guide-card:hover { transform: none; }
}

.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -18px rgba(13,148,136,.35);
}
.gc-cover {
  height: 84px;
  background:
    radial-gradient(120px 60px at 80% 0%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(135deg, var(--teal-500), var(--teal-800));
  position: relative;
}
.gc-cover.c2 { background: radial-gradient(120px 60px at 80% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, #818cf8, #4338ca); }
.gc-cover.c3 { background: radial-gradient(120px 60px at 80% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, #fb923c, #b45309); }
.gc-cover.c4 { background: radial-gradient(120px 60px at 80% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, #f472b6, #be185d); }
.gc-available {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.92);
  color: #15803d;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.gc-available .live-dot { width: 8px; height: 8px; background: #22c55e; }
.gc-available .live-dot::after { border-color: #22c55e; }
.gc-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: -38px auto 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  border: 4px solid #fff;
  /* hairline ring keeps the white border visible on the white card body, plus a soft drop shadow */
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .10), 0 6px 16px -4px rgba(15, 23, 42, .28);
  position: relative;
}
.gc-avatar.a2 { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.gc-avatar.a3 { background: linear-gradient(135deg, #fb923c, #c2410c); }
.gc-avatar.a4 { background: linear-gradient(135deg, #f472b6, #db2777); }
.guide-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.gc-city { color: var(--ink-soft); font-size: .88rem; margin: 0 0 8px; }
.gc-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: .85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
/* keep "4.9 · 132" reading left-to-right inside RTL layouts */
.gc-stars span { color: var(--ink-soft); font-size: .8rem; letter-spacing: 0; unicode-bidi: plaintext; }
.gc-langs { display: flex; justify-content: center; gap: 6px; margin: 10px 0 12px; flex-wrap: wrap; }
.gc-langs span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 3px 10px;
}
.gc-price {
  border-top: 1px solid var(--line);
  padding: 12px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gc-price .ui-price { font-size: 1rem; }
.gc-rankchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
}
.guide-card .gc-body { padding: 0 16px; }

.team-cta {
  margin-top: 36px;
  text-align: center;
}

/* section glow background helper */
.section.glow-bg { position: relative; overflow: hidden; }
.section.glow-bg > .container { position: relative; z-index: 1; }

/* reduced-motion: blobs/marquee/demo stay static */
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; transform: none; }
  .blob { animation: none; }
  .demo-pulse, .demo-pop { animation: none; }
}

/* ============================================================
   V3 — real logo, download banner, social links, about apps
   ============================================================ */

/* ---------- Download banner (the #download target) ---------- */
.dl-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background:
    radial-gradient(620px 320px at 88% -20%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(420px 260px at -10% 120%, rgba(20,184,166,.18), transparent 60%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: center;
}
.dl-banner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 10px; }
.dl-banner .dl-sub { color: rgba(255,255,255,.78); margin: 0 0 26px; max-width: 48ch; font-size: 1.05rem; }
.dl-note { margin: 18px 0 0; font-size: .85rem; color: rgba(255,255,255,.55); }
.dl-art { display: flex; justify-content: center; }
.dl-art img {
  width: min(170px, 38vw);
  filter: drop-shadow(0 18px 40px rgba(13,148,136,.45));
  animation: float 6s ease-in-out infinite;
}
@media (max-width: 760px) {
  .dl-banner { grid-template-columns: 1fr; padding: 40px 24px; text-align: center; }
  .dl-banner .store-badges { justify-content: center; }
  .dl-banner .dl-sub { margin-inline: auto; }
  .dl-art { order: -1; }
  .dl-art img { width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .dl-art img { animation: none; } }

/* ---------- Social links ---------- */
.social-row { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social-btn:hover { background: var(--teal-700); border-color: var(--teal-500); transform: translateY(-2px); text-decoration: none; }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; }
/* light variant for use on white sections (about page) */
.social-btn.light {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--teal-700) !important;
}
.social-btn.light:hover { background: var(--teal-700); border-color: var(--teal-600); color: #fff !important; }

/* ---------- About page: the two apps ---------- */
.app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) { .app-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.app-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--teal-100); }
.app-card .app-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--teal-50);
}
.app-card .app-icon img { width: 36px; height: auto; }
.app-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.app-card .app-tag { color: var(--teal-700); font-weight: 700; font-size: .82rem; margin: 0 0 12px; }
.app-card ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--ink-soft); font-size: .94rem; }
.app-card ul li { display: flex; gap: 9px; align-items: flex-start; }
.app-card ul li::before { content: "✓"; color: var(--teal-600); font-weight: 800; flex: none; }
.app-card .app-cta { margin-top: auto; }

/* ---------- About page: find us ---------- */
.findus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 860px) { .findus-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.findus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.findus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.findus-card .social-btn { margin-inline: auto; margin-bottom: 14px; width: 50px; height: 50px; border-radius: 15px; }
.findus-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.findus-card p { color: var(--ink-soft); font-size: .88rem; margin: 0 0 12px; }
.findus-card a.findus-link { font-weight: 700; color: var(--teal-700); word-break: break-all; }

/* ============================================================
   V4 — section navigation rail (desktop) + pill stays on mobile
   ============================================================ */

/* ---------- Mini side rail: a "journey" line you can click to jump ---------- */
.section-rail {
  position: fixed;
  top: 50%;
  inset-inline-end: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding: 8px 0;
  /* slides in from the edge once you scroll past the hero */
  transform: translateY(-50%) translateX(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.section-rail.show { transform: translateY(-50%) translateX(0); opacity: 1; pointer-events: auto; }
@media (max-width: 560px) {
  .section-rail { inset-inline-end: 10px; gap: 13px; }
}

/* the vertical thread the dots sit on, plus the teal fill that tracks progress */
.rail-track {
  position: absolute;
  top: 12px;
  bottom: 12px;
  inset-inline-end: 4.5px;
  width: 2px;
  border-radius: 2px;
  background: rgba(148,163,184,.28);
  overflow: hidden;
}
.rail-fill {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 0;
  background: linear-gradient(to bottom, var(--teal-400), var(--teal-600));
  box-shadow: 0 0 8px rgba(20,184,166,.6);
  transition: height .25s ease;
}

.rail-item {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}
.rail-dot {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid rgba(148,163,184,.7);
  background: rgba(148,163,184,.5);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.rail-item:hover .rail-dot,
.rail-item:focus-visible .rail-dot {
  border-color: var(--teal-500);
  transform: translateY(-50%) scale(1.35);
}
/* the label slides + fades out of the dot on hover / when active */
.rail-label {
  position: absolute;
  top: 50%;
  inset-inline-end: 22px;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  font-size: .76rem;
  font-weight: 700;
  color: #fff;
  background: rgba(11,21,38,.94);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(8,17,32,.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}
html[dir="rtl"] .rail-label { transform: translateY(-50%) translateX(-8px); }
.rail-item:hover .rail-label,
.rail-item:focus-visible .rail-label,
.rail-item.active .rail-label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* active dot: filled, grown, glowing — with a pulsing ring */
.rail-item.active .rail-dot {
  border-color: var(--teal-500);
  background: var(--teal-500);
  transform: translateY(-50%) scale(1.25);
  box-shadow: 0 0 0 4px rgba(20,184,166,.2), 0 0 12px rgba(20,184,166,.7);
}
.rail-item.active .rail-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid var(--teal-500);
  opacity: .65;
  animation: railPulse 1.9s ease-out infinite;
}
@keyframes railPulse {
  0%   { transform: scale(.7); opacity: .65; }
  100% { transform: scale(2.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rail-item.active .rail-dot::after { animation: none; }
  .section-rail { transition: opacity .2s ease; }
}

/* ---------- Hero brand watermark ---------- */
/* Oversized, very faint logo mark sitting behind the hero content for depth. */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -120px;
  inset-inline-start: -90px;
  width: 460px;
  height: 460px;
  background: url("logo-mark.png") no-repeat center / contain;
  opacity: .1;
  pointer-events: none;
}
@media (max-width: 960px) {
  .hero::before { width: 300px; height: 300px; bottom: -70px; inset-inline-start: -64px; opacity: .08; }
}

/* ---------- App-promo mini sheet ---------- */
.app-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.app-sheet[hidden] { display: none; }
.app-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 30, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}
.app-sheet.show .app-sheet-backdrop { opacity: 1; }
.app-sheet-card {
  position: relative;
  width: min(380px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 32px 28px 26px;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(8, 15, 30, .55);
  transform: translateY(16px) scale(.96);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.9,.3,1), opacity .28s ease;
}
.app-sheet.show .app-sheet-card { transform: translateY(0) scale(1); opacity: 1; }
.app-sheet-logo { margin: 0 auto 14px; height: 60px; width: auto; }
.app-sheet-title { font-size: 1.32rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.app-sheet-sub { color: var(--ink-soft); font-size: .98rem; margin: 0 0 22px; }
.app-sheet-actions { display: flex; flex-direction: column; gap: 10px; }
.app-sheet-actions .btn { width: 100%; justify-content: center; }
.app-sheet-x {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  color: var(--ink-faint);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.app-sheet-x:hover { background: #f1f5f9; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .app-sheet-backdrop, .app-sheet-card { transition: none; }
}

/* ---------- Sticky mobile "get the app" bar ---------- */
/* Hidden by default; only ever shown on phones (JS adds .show after the hero). */
.app-bar {
  position: fixed;
  inset-inline: 10px;
  inset-block-end: 10px;
  z-index: 1150;
  display: none; /* desktop: never */
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(160deg, #10203a, #0b1526);
  box-shadow: 0 18px 40px -14px rgba(8,17,32,.6), 0 0 0 1px rgba(255,255,255,.07) inset;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .34s cubic-bezier(.2,.9,.3,1), opacity .34s ease;
}
.app-bar[hidden] { display: none; }
@media (max-width: 720px) {
  .app-bar { display: flex; }
  .app-bar.show { transform: translateY(0); opacity: 1; }
  /* lift the concierge button above the bar while it's visible */
  body.gm-appbar-on .gmc-fab { inset-block-end: 84px; }
}
.app-bar-logo { width: 34px; height: 42px; flex: none; }
.app-bar-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.app-bar-text strong { color: #fff; font-size: .94rem; font-weight: 800; }
.app-bar-text span { color: rgba(255,255,255,.62); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar-cta {
  margin-inline-start: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  color: #062a26;
  background: linear-gradient(135deg, var(--teal-400), #7ef0e2);
  box-shadow: 0 8px 18px -6px rgba(20,184,166,.6);
  transition: transform .15s ease, box-shadow .2s ease;
}
.app-bar-cta:hover { transform: translateY(-1px); }
.app-bar-x {
  flex: none;
  width: 28px; height: 28px;
  border: none;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.app-bar-x:hover { background: rgba(255,255,255,.16); color: #fff; }
@media (prefers-reduced-motion: reduce) { .app-bar { transition: none; } }

/* ---------- Download QR (desktop only — phones just tap the badges) ---------- */
.dl-qr {
  display: none; /* shown ≥721px */
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
@media (min-width: 721px) { .dl-qr { display: flex; } }
.dl-qr-card {
  flex: none;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  line-height: 0;
  box-shadow: 0 8px 22px -8px rgba(8,17,32,.45);
}
.dl-qr-card img { width: 104px; height: 104px; display: block; image-rendering: pixelated; }
.dl-qr-label {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  max-width: 16ch;
  line-height: 1.4;
}

/* ---------- Smart download (device-aware store emphasis) ---------- */
/* onelink already routes by device; this just puts the visitor's store first
   and rings it, dimming the other slightly. Applies to every .store-badges. */
html.gm-android .store-badges .store-badge:nth-child(1) { order: 2; opacity: .66; }
html.gm-android .store-badges .store-badge:nth-child(2) { order: 1; }
html.gm-ios     .store-badges .store-badge:nth-child(2) { opacity: .66; }
html.gm-ios     .store-badges .store-badge:nth-child(1),
html.gm-android .store-badges .store-badge:nth-child(2) {
  box-shadow: 0 0 0 2px var(--teal-400), 0 12px 26px -10px rgba(20,184,166,.55);
}

/* ---------- Live guide spotlight: real photo inside the avatar ---------- */
.gc-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
