/* laqi.app: native CSS, RTL, light theme. White dominant, Laqi purple as the single accent. */

@font-face { font-family: "Cairo"; font-weight: 400; font-display: swap; src: url("../fonts/cairo-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 500; font-display: swap; src: url("../fonts/cairo-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 600; font-display: swap; src: url("../fonts/cairo-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 700; font-display: swap; src: url("../fonts/cairo-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 800; font-display: swap; src: url("../fonts/cairo-arabic-800.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 400; font-display: swap; src: url("../fonts/cairo-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 500; font-display: swap; src: url("../fonts/cairo-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 600; font-display: swap; src: url("../fonts/cairo-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 700; font-display: swap; src: url("../fonts/cairo-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 800; font-display: swap; src: url("../fonts/cairo-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Design tokens
   Radius system: every control (buttons, tabs, chips, badges, pagination) is a
   full pill; inputs and media inside cards use --r-md; cards and panels use
   --r-lg; large feature media and bands use --r-xl.
   Letter-spacing stays 0 on Arabic text: tracking breaks cursive joins.
   ========================================================================== */
:root {
  /* brand */
  --primary: #8D2AFF;
  --primary-strong: #7A1FE8;
  --primary-ink: #6A16D1;
  --primary-50: #F8F4FF;
  --primary-100: #F0E7FF;
  --primary-200: #E2D0FF;
  --primary-ring: color-mix(in srgb, var(--primary) 45%, transparent);

  /* neutrals (cool, faintly purple-tinted) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FAF9FD;
  --ink: #171B3A;
  --ink-2: #4F5470;
  --ink-3: #6E7390;
  --ink-4: #A4A8BC;
  --line: #ECEAF3;
  --line-strong: #DDD9E8;

  /* type scale */
  --fs-display: clamp(2rem, 1.2rem + 2.4vw, 3.15rem);
  --fs-h1: clamp(1.65rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-h2: clamp(1.4rem, 1.05rem + 1.05vw, 1.9rem);
  --fs-h3: 1.0625rem;
  --fs-lead: 1.0625rem;
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .8125rem;

  /* spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section-y: clamp(56px, 3rem + 3vw, 96px);
  --gutter: 24px;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* elevation, tinted toward the brand instead of neutral black */
  --shadow-xs: 0 1px 2px rgba(38, 20, 84, .05);
  --shadow-sm: 0 2px 8px -2px rgba(38, 20, 84, .08);
  --shadow-md: 0 14px 34px -16px rgba(38, 20, 84, .20);
  --shadow-lg: 0 28px 64px -28px rgba(38, 20, 84, .30);
  --shadow-accent: 0 10px 24px -12px color-mix(in srgb, var(--primary) 70%, transparent);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .18s;
  --dur: .3s;
  --dur-slow: .6s;

  /* layout and layers */
  --container: 1200px;
  --header-h: 72px;
  --z-header: 50;
  --z-skip: 100;
  --z-map-overlay: 500;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.28; margin: 0; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--primary-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 2px; border-radius: var(--r-sm); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: var(--z-skip); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.h3 { font-size: var(--fs-h3); font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--primary-ink); margin-bottom: var(--s-2); letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 0 22px; border-radius: var(--r-full); border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast), box-shadow var(--dur) var(--ease-out);
}
.btn .ph, .btn .ph-fill { font-size: 1.05em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .ph-arrow-left { transform: translateX(-3px); }
.btn-pill { border-radius: var(--r-full); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-ink); background: var(--primary-50); }
.btn-light { background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow-md); }
.btn-light:hover { background: #fff; color: var(--primary-ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .ph { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
[data-top-sentinel] { height: 1px; margin-bottom: -1px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  transition: box-shadow var(--dur) var(--ease-out);
  view-transition-name: site-header;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-row { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 0; min-width: 0; }
.main-nav span { color: #8B90A3; font-size: .95rem; font-weight: 600; white-space: nowrap; cursor: default; }
.header-cta { justify-self: end; min-height: 42px; padding: 0 20px; font-size: .9rem; }
.nav-toggle, .site-menu { display: none; }
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-row {
    height: var(--header-h);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding-block: 0;
  }
  .brand { order: 1; flex: 1 1 auto; min-width: 0; }
  .main-nav { display: none; }
  .nav-toggle {
    order: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
    font-size: 1.25rem;
    cursor: pointer;
  }
  .header-cta { display: none; }
  .site-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    z-index: 2;
    inset-inline: 12px;
    top: calc(100% + 8px);
    margin: 0;
    padding: 8px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 50px -18px rgba(18, 24, 58, .4);
  }
  .site-menu[hidden] { display: none; }
  .site-menu a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
  }
  .site-menu a[aria-current="page"] { background: var(--primary); color: #fff; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
}

/* ---------- hero (video + glass search) ---------- */
.hero-video {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  margin-top: calc(-1 * var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #0d0b16;
}
.hero-bg-pano {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.hero-bg-pano.is-dragging { cursor: grabbing; }
.hero-quote {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: calc(var(--header-h) + 12px) var(--gutter) 140px;
  pointer-events: none;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}
.hero-quote-ar { font-size: clamp(2.15rem, 1.4rem + 2.6vw, 3.75rem); max-width: 16em; }
.hero-quote-en { font-size: clamp(1.2rem, .9rem + 1.1vw, 1.85rem); font-weight: 600; }
@media (max-width: 860px) {
  .hero-quote { display: none; }
}

/* Modern floating glass search in middle of hero */
.hero-search-center {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 var(--gutter) 16px;
  pointer-events: none;
}
.search {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(1080px, 100%);
  margin: 0;
  pointer-events: none;
}
.search-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 0;
  border-inline-end: 1px solid rgba(141, 42, 255, .18);
  padding-inline-end: 10px;
  margin-inline-end: 4px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.search-tabs label { position: relative; cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 20px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: .9375rem;
  color: #17122a;
  transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-tabs label:hover span { color: var(--primary-ink); }
.search-tabs input:checked + span {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(141, 42, 255, .4);
}
.search-tabs input:focus-visible + span { outline: 3px solid var(--primary-ring); }

.search-bar {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  width: 100%;
  margin: 0;
  pointer-events: auto;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-radius: var(--r-full);
  padding: 8px 10px;
  padding-inline-start: 18px;
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow:
    0 25px 65px -12px rgba(10, 8, 28, .35),
    0 4px 16px rgba(0, 0, 0, .1),
    inset 0 1px 2px rgba(255, 255, 255, .9);
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur), background-color var(--dur);
}
.search-bar:focus-within {
  background: rgba(255, 255, 255, .92);
  border-color: #fff;
  box-shadow:
    0 28px 75px -12px rgba(141, 42, 255, .38),
    inset 0 1px 2px rgba(255, 255, 255, .95);
}
.sfield {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px;
  min-width: 0;
  cursor: pointer;
  border-radius: var(--r-full);
  position: relative;
  transition: background-color var(--dur-fast);
}
.sfield:hover { background: rgba(255, 255, 255, .6); }
.sfield:focus-within,
.sfield:has([aria-expanded="true"]) { z-index: 6; }
.sfield + .sfield { border-inline-start: 1px solid rgba(141, 42, 255, .18); border-radius: 0; }
.sfield-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.15rem;
}
.sfield-body { display: flex; flex-direction: column; min-width: 0; flex: 1; position: relative; }
.sfield-label { font-size: .75rem; font-weight: 600; color: #4b4661; line-height: 1.3; }
.sfield:has(.sfield-input) { cursor: text; }
.sfield-input {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #110d24;
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
}
.sfield-input::placeholder { color: #6c6382; font-weight: 600; opacity: 1; }
.sfield-input:focus { outline: none; }
.sfield-input::-webkit-search-cancel-button { cursor: pointer; }
.sfield select.smenu-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.smenu { position: relative; min-width: 0; }
.smenu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #110d24;
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: start;
  cursor: pointer;
}
.smenu-btn.is-placeholder { color: #6c6382; font-weight: 600; }
.smenu-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smenu-btn .ph { flex: none; font-size: .8rem; color: var(--primary); transition: transform .2s var(--ease-out); }
.smenu-btn[aria-expanded="true"] .ph { transform: rotate(180deg); }
.smenu-btn:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 3px; border-radius: 8px; }
.smenu-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 18px);
  inset-inline-start: -8px;
  min-width: max(100%, 220px);
  max-height: 280px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 50px -18px rgba(18, 24, 58, .48), 0 8px 20px -12px rgba(18, 24, 58, .2);
}
.smenu-list.is-up { top: auto; bottom: calc(100% + 28px); }
.smenu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.smenu-option:hover,
.smenu-option.is-active { background: var(--primary-50); color: var(--primary-ink); }
.smenu-option[aria-selected="true"] { background: var(--primary-50); color: var(--primary); }
.smenu-option .ph { font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .smenu-list { animation: smenu-in .16s var(--ease-out); }
  @keyframes smenu-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .smenu-list.is-up { animation-name: smenu-in-up; }
  @keyframes smenu-in-up { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
.search-submit {
  min-height: 52px;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--r-full);
  box-shadow: 0 8px 24px rgba(141, 42, 255, .42);
}
.search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(141, 42, 255, .52);
}

.hero-lead {
  margin-top: 14px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 34em;
}

@media (max-width: 900px) {
  .hero-video { min-height: 760px; }
  .hero-quote {
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 24px;
  }
  .hero-quote-ar { font-size: clamp(1.7rem, 6vw, 2.15rem); }
  .hero-quote-en { font-size: clamp(1rem, 3.6vw, 1.15rem); }
  .search-bar { grid-template-columns: 1fr; border-radius: 24px; padding: 14px; }
  .search-bar .search-tabs {
    justify-content: center;
    border-inline-end: 0;
    margin-inline-end: 0;
    padding-inline-end: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(141, 42, 255, .15);
  }
  .sfield { padding: 10px 14px; border-radius: var(--r-md); }
  .sfield + .sfield { border-inline-start: 0; border-top: 1px solid rgba(141, 42, 255, .15); border-radius: 0; }
  .smenu-btn { justify-content: flex-start; }
  .smenu-list { inset-inline: 0; min-width: 100%; top: calc(100% + 12px); }
  .search-submit { margin-top: var(--s-2); width: 100%; }
}
@media (max-width: 860px) {
  .hero-search-center {
    top: var(--header-h);
    bottom: 0;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
@media (max-width: 560px) {
  .hero-video { min-height: 560px; }
  .hero-search-center { padding-inline: 14px; }
  .search-tabs { width: 100%; justify-content: center; }
  .search-tabs span { padding: 6px 14px; font-size: .84rem; }
  .search-bar { padding: 12px; border-radius: 22px; }
  .sfield { padding: 10px 8px; }
  .search-submit { min-height: 48px; }
}

/* ---------- paths under the hero ---------- */
.paths { padding: 80px 0 36px; background: #fff; }
.paths-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 16px 14px 18px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}
.paths-banner-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.paths-banner strong { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.paths-banner-copy span { font-size: .8125rem; font-weight: 500; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.paths-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  transition: color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.paths-banner:hover .paths-cta { color: var(--primary); }
.paths-cta .ph { transition: transform var(--dur) var(--ease-out); }
.paths-banner:hover .paths-cta .ph { transform: translateX(-3px); }

.paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 220px;
  padding: 22px 20px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to left, #fff 0%, #fff 54%, rgba(255, 255, 255, 0) 100%);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.path-card:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 3px; }
.path-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 12.5rem; }
.path-copy strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; color: var(--ink); }
.path-copy > span { font-size: .8125rem; font-weight: 500; line-height: 1.7; color: var(--ink-2); }
.path-copy em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-style: normal;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary-ink);
}
.path-copy em .ph { transition: transform var(--dur) var(--ease-out); }
.path-card:hover .path-copy em .ph { transform: translateX(-3px); }
.path-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  transition: transform .5s var(--ease-out);
}
.path-card:hover img { transform: scale(1.04); }
.path-card img[data-parallax] {
  top: -14%;
  height: 128%;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.path-card:hover img[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.04);
}

@media (max-width: 900px) {
  .paths-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 200px; }
  .path-copy { max-width: 16rem; }
}
@media (max-width: 560px) {
  .paths { padding: 48px 0 24px; }
  .paths-banner { flex-direction: column; align-items: flex-start; }
  .paths-cta { align-self: stretch; justify-content: center; }
}

/* ---------- latest listings rail ---------- */
.reel { padding: 64px 0 80px; background: #fff; }
.reel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.reel-head h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.reel-viewport { position: relative; overflow: hidden; }
.reel-viewport + .reel-viewport { margin-top: 8px; }
.reel-viewport::before,
.reel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.reel-viewport::before { right: 0; background: linear-gradient(to left, #fff 0%, #fff 46%, rgba(255, 255, 255, 0) 100%); }
.reel-viewport::after { left: 0; background: linear-gradient(to right, #fff 0%, #fff 46%, rgba(255, 255, 255, 0) 100%); }
.reel-track {
  display: flex;
  width: max-content;
  direction: rtl;
  animation: reel 72s linear infinite;
}
.reel-track-reverse { animation-name: reel-reverse; animation-duration: 78s; }
.reel-viewport:hover .reel-track { animation-play-state: paused; }
.reel-group { display: flex; direction: rtl; gap: 12px; list-style: none; margin: 0; padding: 8px 12px 16px 0; }
@keyframes reel { to { transform: translateX(50%); } }
@keyframes reel-reverse { from { transform: translateX(50%); } to { transform: translateX(0); } }

.reel-card {
  display: flex;
  flex-direction: column;
  width: 216px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(24, 18, 48, .06);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.reel-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 24px 44px rgba(38, 20, 84, .16);
}
.reel-card:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 3px; }
.reel-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  margin: 6px 6px 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.reel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.reel-card:hover .reel-media img { transform: scale(1.07); }
.reel-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: var(--ink-4); }
.reel-flag {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(24, 18, 48, .12);
}
.reel-count {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(17, 13, 36, .72);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.reel-count .ph { font-size: .95rem; }
.reel-go {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(24, 18, 48, .16);
  transition: background-color .3s var(--ease-out), color .3s, transform .3s var(--ease-out);
}
.reel-card:hover .reel-go { background: var(--primary); color: #fff; transform: translateX(-3px); }
.reel-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; min-height: 128px; }
.reel-body strong {
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.reel-body em {
  display: flex;
  align-items: center;
  gap: 4px;
  font-style: normal;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-2);
  min-width: 0;
}
.reel-body em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-body b { margin-top: 2px; font-size: .92rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.reel-specs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; color: var(--ink-2); font-size: .72rem; font-weight: 600; }
.reel-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary-ink);
}
.reel-more .ph { transition: transform .3s var(--ease-out); }
.reel-card:hover .reel-more .ph { transform: translateX(-3px); }

.brokers { padding-top: 28px; }
.reel-card-broker .reel-media { display: grid; place-items: center; background: var(--primary-50); }
.broker-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}
.reel-card-broker .broker-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.reel-card-broker:hover .broker-mark img { transform: none; }

@media (max-width: 560px) {
  .reel-viewport::before,
  .reel-viewport::after { width: 88px; }
  .reel-card { width: 188px; }
  .reel-head h2 { font-size: 1.15rem; }
}

/* ---------- partner banner ---------- */
.partner-banner { background: #12183A; color: #fff; padding: 22px 0; }
.partner-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.partner-banner p {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, .85rem + .6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
}
.partner-banner .store-badge { height: 42px; }
@media (max-width: 700px) {
  .partner-banner-row { flex-direction: column; align-items: flex-start; }
  .partner-banner .stores { width: 100%; }
}

/* ---------- steps ---------- */
.steps { padding: clamp(104px, 8vw, 148px) 0; background: var(--surface-2); border-block: 1px solid var(--line); }
.steps-head { max-width: 640px; margin-bottom: var(--s-6); }
.steps-head h2 { font-size: var(--fs-h2); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
.steps-grid li { display: flex; flex-direction: column; gap: 8px; }
.steps-grid a { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.steps-grid a:hover { color: var(--primary-ink); }
.steps-num { font-size: .8125rem; font-weight: 600; color: var(--primary); }
.steps-grid p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tight { padding: 28px 0; }
.section-muted { background: var(--surface-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: 28px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin-top: 2px; }
.section-head .eyebrow { margin-bottom: 2px; }
@media (max-width: 560px) { .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-1); margin-bottom: var(--s-5); } }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; white-space: nowrap; font-size: .95rem; transition: color var(--dur-fast); }
.link-more .ph { transition: transform var(--dur) var(--ease-out); }
.link-more:hover { color: var(--primary-ink); }
.link-more:hover .ph-arrow-left { transform: translateX(-3px); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-5); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
.card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.card:focus-within { border-color: var(--primary-200); }
.card-media { position: relative; aspect-ratio: 4 / 2.9; background: var(--surface-2); overflow: hidden; margin: 8px 8px 0; border-radius: var(--r-md); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: var(--ink-4); }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 12px; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 700; line-height: 1.8; background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.badge-rent { background: var(--primary); color: #fff; }
.badge-featured { inset-inline-start: auto; inset-inline-end: 12px; background: #fff; color: var(--primary-ink); }
.badge-static { position: static; box-shadow: none; border: 1px solid var(--line-strong); }
.badge-static.badge-rent { border-color: var(--primary); }
.badge-static.badge-featured { background: var(--primary-50); border-color: var(--primary-100); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-owner { display: flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--primary-ink); }
.card-title { font-size: 1.06rem; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { outline: 3px solid var(--primary-ring); outline-offset: 2px; }
.card-location { display: flex; align-items: center; gap: 4px; color: var(--ink-2); font-size: .85rem; min-width: 0; }
.card-location span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 10px 0 0; color: var(--ink-2); font-size: .83rem; }
.card-specs li { display: inline-flex; align-items: center; gap: 5px; }
.card-specs .ph { font-size: 1.05rem; color: var(--ink-3); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.card-specs + .card-foot, .card-location + .card-foot { margin-top: 12px; }
.card-price { font-size: 1.18rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); background: var(--surface-2); transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur) var(--ease-out); }
.card:hover .card-go { background: var(--primary); color: #fff; transform: translateX(-2px); }

.avatar { flex: none; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--primary-50); color: var(--primary-ink); font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { width: 28px; height: 28px; font-size: .8rem; }
.avatar-md { width: 44px; height: 44px; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.3rem; border-radius: var(--r-lg); }
.avatar-xl { width: 96px; height: 96px; font-size: 2.4rem; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.verified { color: var(--primary); display: inline-flex; vertical-align: middle; }
.verified-text { color: var(--primary-ink); font-weight: 700; }

/* ---------- why ---------- */
.why { padding: clamp(104px, 8vw, 148px) 0; background: #fff; }
.why-grid {
  --why-phone: 340px;
  display: grid;
  grid-template-columns: var(--why-phone) minmax(0, 1fr);
  align-items: center;
  direction: ltr;
}
.why-media { grid-column: 1; grid-row: 1; position: relative; z-index: 2; margin: 0; display: flex; justify-content: center; direction: rtl; }
.why-copy {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  direction: rtl;
  padding: 44px 48px 44px 40px;
  color: #fff;
}
.why-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(100% + var(--why-phone));
  border-radius: 28px;
  background: #12183A;
}
.phone { perspective: 1400px; padding: 12px 0 28px; transform: translate3d(0, var(--parallax-y, 0px), 0); }
.phone-device {
  position: relative;
  width: min(268px, 72vw);
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(145deg, #3a3a44 0%, #1a1a22 42%, #111116 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    0 28px 50px -18px rgba(8, 12, 32, .55);
  transform: rotateY(18deg) rotateX(7deg);
  transition: transform .5s var(--ease-out);
}
.phone-device::before {
  content: "";
  position: absolute;
  left: auto;
  right: -3px;
  top: 92px;
  width: 3px;
  height: 46px;
  border-radius: 0 3px 3px 0;
  background: #2a2a32;
}
.phone-device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 70%;
  height: 18px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(38, 20, 84, .28), transparent 70%);
  pointer-events: none;
}
.phone:hover .phone-device { transform: rotateY(8deg) rotateX(3deg); }
.phone-device img { width: 100%; height: auto; border-radius: 32px; }
.why-copy h2 { font-size: var(--fs-h2); color: #fff; }
.why-lead { margin-top: 14px; color: rgba(255, 255, 255, .82); font-size: 1.0625rem; font-weight: 500; line-height: 1.75; max-width: 34em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 28px 0 0; }
.stats li { display: flex; flex-direction: column; padding-inline: 14px; }
.stats li:first-child { padding-inline-start: 0; }
.stats li + li { border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.stats strong { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
  .why { overflow-x: clip; padding: 56px 0; }
  .why-grid { grid-template-columns: 1fr; direction: rtl; }
  .why-media { display: none; }
  .why-copy { grid-column: auto; grid-row: auto; padding: 28px 22px 32px; }
  .why-copy::before { left: 0; right: 0; width: auto; border-radius: 22px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stats li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stats strong { font-size: 1.55rem; }
}

/* ---------- CTA band (light, same theme as the page) ---------- */
.section-cta { padding-bottom: var(--s-5); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--s-7); align-items: center; padding: var(--s-5); padding-inline-start: var(--s-7); border-radius: var(--r-xl); background: var(--primary-50); border: 1px solid var(--primary-100); }
.cta-copy { max-width: 460px; }
.cta-copy h2 { font-size: var(--fs-h2); }
.cta-copy p { margin: var(--s-2) 0 var(--s-5); color: var(--ink-2); }
.cta-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--primary-100); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-4); }
  .cta-copy { padding: 0 var(--s-2) var(--s-3); }
  .cta-media { order: -1; aspect-ratio: 16 / 8; }
}

/* ---------- stores ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform var(--dur) var(--ease-out); }
.store-badge { display: block; height: 46px; width: auto; }
a.store:hover { transform: translateY(-2px); }
.store.is-soon { cursor: default; }
.stores-compact .store-badge { height: 36px; }

/* ---------- empty / status ---------- */
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-xl); background: var(--surface); }
.empty-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-size: 1.7rem; margin-bottom: 14px; }
.empty h3 { font-size: var(--fs-h3); }
.empty p { color: var(--ink-2); margin: 4px auto 16px; max-width: 32em; }
.status-page { padding: 80px 0; }
.status-box { text-align: center; max-width: 560px; }
.status-code { display: block; font-size: 5.5rem; font-weight: 800; line-height: 1; color: var(--primary-200); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.status-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-size: 2.2rem; margin-bottom: var(--s-4); }
.status-box h1 { font-size: 1.75rem; }
.status-box p { margin-top: 8px; }
.status-actions { display: flex; justify-content: center; gap: 10px; margin-top: var(--s-5); flex-wrap: wrap; }

/* ---------- listing page ---------- */
.page-head { padding: 8px 0 28px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--fs-h1); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--ink-3); margin: 18px 0 10px; }
.crumbs a { transition: color var(--dur-fast); }
.crumbs a:hover { color: var(--primary-ink); }
.crumbs .ph { font-size: .75rem; }
.listing-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.listing-layout .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 18px 18px; box-shadow: var(--shadow-xs); }
.filters summary { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 800; padding: 12px 0; cursor: pointer; color: var(--ink); }
.filters summary::-webkit-details-marker { display: none; }
.filters-count { background: var(--primary); color: #fff; font-size: .75rem; border-radius: var(--r-full); padding: 0 8px; }
.filters-form { display: grid; gap: var(--s-4); }
.filters-actions { display: grid; gap: 8px; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; margin: 0; border: 0; background: var(--surface-2); border-radius: var(--r-full); box-shadow: inset 0 0 0 1px var(--line); }
.segmented label, .segmented button { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span, .segmented button { display: block; padding: 5px 16px; border-radius: var(--r-full); font-weight: 700; font-size: .88rem; color: var(--ink-2); border: 0; background: none; transition: background-color var(--dur-fast), color var(--dur-fast); }
.segmented label:hover span, .segmented button:hover { color: var(--ink); }
.segmented input:checked + span, .segmented button.is-active { background: var(--primary); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--primary-ring); }
.segmented-block { display: flex; width: 100%; flex-wrap: wrap; }
.segmented-block legend { float: right; width: 100%; margin: 2px 6px 6px; }
.segmented-block label { flex: 1; text-align: center; }
.segmented-sm span, .segmented-sm button { padding: 3px 12px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-label { font-size: .8rem; font-weight: 700; color: var(--ink); padding: 0; }
.field select, .field input, .sort select { width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.field select:hover, .field input:hover, .sort select:hover { border-color: var(--ink-4); }
.field select, .sort select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: 14px 50%, 19px 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-left: 34px; }
.field select:focus, .field input:focus, .sort select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; }
.pills span { display: block; min-width: 44px; text-align: center; padding: 5px 10px; border-radius: var(--r-full); border: 1px solid var(--line-strong); font-weight: 700; font-size: .85rem; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast); }
.pills label:hover span { border-color: var(--primary-200); }
.pills input:checked + span { background: var(--primary-50); border-color: var(--primary); color: var(--primary-ink); }
.pills input:focus-visible + span { outline: 3px solid var(--primary-ring); }
.listing-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: var(--r-full); background: var(--primary-50); border: 1px solid var(--primary-100); color: var(--primary-ink); font-size: .85rem; font-weight: 700; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.active-filters a:hover { background: var(--primary-100); border-color: var(--primary-200); }
.sort select { min-height: 40px; min-width: 180px; border-radius: var(--r-full); }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
}

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.page-link { display: inline-flex; align-items: center; gap: 4px; min-width: 42px; height: 42px; justify-content: center; padding: 0 12px; border-radius: var(--r-full); border: 1px solid var(--line); background: #fff; font-weight: 700; font-variant-numeric: tabular-nums; transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast); }
a.page-link:hover { border-color: var(--primary); color: var(--primary-ink); background: var(--primary-50); }
.page-link.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-gap { align-self: center; color: var(--ink-3); }

/* ---------- property page ---------- */
.gallery { position: relative; display: grid; gap: 8px; border-radius: var(--r-xl); overflow: hidden; height: clamp(280px, 48vw, 520px); }
.gallery-1 { grid-template-columns: 1fr; }
.gallery-2 { grid-template-columns: 1.4fr 1fr; }
.gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-4 .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-3 .gallery-item:first-child, .gallery-4 .gallery-item:first-child, .gallery-5 .gallery-item:first-child { grid-row: span 2; }
.gallery-item { position: relative; padding: 0; border: 0; cursor: zoom-in; background: var(--surface-2); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(23, 27, 58, .5); color: #fff; font-weight: 800; font-size: 1.15rem; }
.gallery-all { position: absolute; bottom: 14px; inset-inline-end: 14px; }
.gallery-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 260px; border-radius: var(--r-xl); background: var(--surface-2); color: var(--ink-3); }
.gallery-empty .ph { font-size: 2.6rem; }
@media (max-width: 720px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 300px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; gap: 4px; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 88%; scroll-snap-align: center; }
  .gallery-more { display: none; }
}

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 16, 34, .95); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; animation: fade-in var(--dur) var(--ease-out); }
.lightbox::backdrop { background: rgba(14, 16, 34, .8); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 84dvh; object-fit: contain; border-radius: var(--r-md); }
.lightbox figcaption { font-size: .9rem; opacity: .8; font-variant-numeric: tabular-nums; }
.lightbox-nav, .lightbox-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.4rem; cursor: pointer; justify-self: center; transition: background-color var(--dur-fast), transform var(--dur) var(--ease-out); }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255, 255, 255, .24); }
.lightbox-nav:active, .lightbox-close:active { transform: scale(.94); }
.lightbox-close { position: absolute; top: 16px; inset-inline-end: 16px; }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 720px) { .lightbox[open] { grid-template-columns: 52px 1fr 52px; } .lightbox-nav { width: 40px; height: 40px; } }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 28px; padding-bottom: 20px; }
.detail-main > * + * { margin-top: 14px; }
.detail-main > h2 { margin-top: var(--s-6); margin-bottom: 14px; }
.detail-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.detail-badges .muted { display: inline-flex; align-items: center; gap: 4px; }
.detail-title { font-size: var(--fs-h1); }
.detail-location { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.detail-price { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem); font-weight: 800; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 0; }
.spec { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.spec dt { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-2); }
.spec dt .ph { font-size: 1.05rem; color: var(--primary); }
.spec dd { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--ink); }

.locked { position: relative; margin-top: var(--s-6) !important; }
.locked-teaser { color: var(--ink-2); padding: 0 4px 70px; -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 85%); mask-image: linear-gradient(to bottom, #000 10%, transparent 85%); user-select: none; }
.locked-teaser + .locked-card { margin-top: -64px; }
.locked-card { position: relative; display: flex; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: var(--primary-50); border: 1px solid var(--primary-100); }
.locked-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.4rem; }
.locked-list { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 6px; color: var(--ink-2); }
.locked-list li { display: flex; align-items: center; gap: 8px; }
.locked-list .ph { color: var(--primary); font-size: 1.1rem; }
.locked-card .small { margin-top: 10px; }
@media (max-width: 520px) { .locked-card { flex-direction: column; } .locked-card .btn { width: 100%; white-space: normal; } }

.map { width: 100%; background: var(--surface-2); border-radius: var(--r-lg); overflow: hidden; z-index: 0; }
.map-static { height: 280px; border: 1px solid var(--line); }
.detail-main .link-more { margin-top: 10px; }

.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.owner-card { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: 14px; }
.owner-kicker { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.owner-link { display: flex; align-items: center; gap: 12px; }
.owner-text { display: flex; flex-direction: column; min-width: 0; }
.owner-text strong { font-size: 1.05rem; color: var(--ink); transition: color var(--dur-fast); }
.owner-link:hover strong { color: var(--primary-ink); }
.owner-meta { margin-top: -4px; }
.owner-agent { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--ink-2); transition: color var(--dur-fast); }
.owner-agent:hover { color: var(--primary-ink); }
.owner-note { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.owner-note a { color: var(--primary-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.facts > div { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; }
.facts > div + div { border-inline-start: 1px solid var(--line); }
.facts strong { font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .detail-aside { position: static; }
}

/* ---------- profiles ---------- */
.profile-head { padding: 40px 0 30px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.profile-row { display: flex; align-items: center; gap: 22px; }
.profile-text h1 { font-size: var(--fs-h1); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-text .eyebrow { margin-bottom: 4px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 10px 0 0; color: var(--ink-2); font-size: .92rem; }
.profile-meta li { display: inline-flex; align-items: center; gap: 6px; }
.profile-company { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary-ink); }
.profile-company img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
.profile-company:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .profile-row { flex-direction: column; align-items: flex-start; } }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.team-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.team-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.team-text { display: flex; flex-direction: column; min-width: 0; }
.team-text strong { color: var(--ink); }
.team-caret { margin-inline-start: auto; color: var(--ink-3); transition: transform var(--dur) var(--ease-out), color var(--dur-fast); }
.team-card:hover .team-caret { color: var(--primary); transform: translateX(-3px); }

/* ---------- map page ---------- */
.page-map .site-footer { display: none; }
.map-page { position: relative; display: flex; flex-direction: column; height: calc(100dvh - var(--header-h)); }
.map-toolbar { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); background: #fff; }
.map-toolbar h1 { display: inline-flex; align-items: center; gap: 6px; }
.map-toolbar [data-map-count] { margin-inline-start: auto; }
.map-full { flex: 1; border-radius: 0; }
.map-empty { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: var(--z-map-overlay); text-align: center; background: #fff; padding: 20px 28px; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.map-empty .ph { font-size: 2rem; color: var(--primary); }
.price-pin { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-full); padding: 1px 10px; font: 800 12px/1.6 "Cairo", sans-serif; white-space: nowrap; box-shadow: var(--shadow-md); transform: translate(-50%, -100%); position: absolute; left: 0; top: 0; transition: background-color var(--dur-fast), color var(--dur-fast); }
.price-pin.rent { border-color: var(--primary); }
.price-pin:hover { background: var(--ink); color: #fff; z-index: 1000; }
.price-pin.rent:hover { background: var(--primary); }
.pin-icon { background: none; border: 0; }
.leaflet-popup-content-wrapper { border-radius: var(--r-lg); padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 240px !important; font-family: "Cairo", sans-serif; }
.pop { display: block; direction: rtl; text-align: right; }
.pop img { width: 100%; height: 130px; object-fit: cover; }
.pop div { padding: 10px 12px; }
.pop strong { display: block; color: var(--ink); font-size: 1rem; }
.pop span { display: block; font-size: .85rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaflet-container a.leaflet-popup-close-button { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.map-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); border: 4px solid #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 25%, transparent), var(--shadow-md); }

/* ---------- download ---------- */
.download { padding: var(--section-y) 0; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.download h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.download .hero-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }
.download .stores { margin-top: 26px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.feature-list p { color: var(--ink-2); margin-top: 2px; }
.feature-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary-50); border: 1px solid var(--primary-100); color: var(--primary); font-size: 1.3rem; }
@media (max-width: 860px) { .download-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; border-top: 0; background: transparent; }
.footer-app {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 28px 0 22px;
}
.footer-app-copy { position: relative; z-index: 1; max-width: 40rem; }
.footer-app-copy h2 { font-size: clamp(1.25rem, 1rem + .6vw, 1.55rem); color: var(--ink); }
.footer-app-copy p { margin-top: 4px; max-width: 34em; color: var(--ink-2); font-size: .88rem; font-weight: 500; line-height: 1.6; }
.footer-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.footer-app .store-badge { height: 40px; }
.footer-qr {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.footer-qr img { width: 100%; height: 100%; }
.footer-skyline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  opacity: .9;
  pointer-events: none;
  user-select: none;
}
.footer-bar {
  position: relative;
  z-index: 1;
  color: #fff;
  background-color: #12183A;
  background-image: repeating-linear-gradient(-28deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 11px);
  padding: 14px 0 10px;
}
.footer-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; }
.footer-nav a {
  padding: 4px 12px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
}
.footer-nav a:first-child { padding-inline-start: 0; }
.footer-nav a + a { border-inline-start: 1px solid rgba(255, 255, 255, .35); }
.footer-nav a:hover { color: #fff; opacity: .75; }
.footer-mark { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: 0; }
.footer-bar .store { background: transparent; }
.footer-bar-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .62);
}
@media (max-width: 860px) {
  .footer-bar-row { align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-nav a { padding: 6px 8px; font-size: .78rem; }
  .footer-mark { font-size: .78rem; }
  .store-badge { height: 40px; }
  .stores-compact .store-badge { height: 34px; }
  .footer-bar .stores { width: 100%; }
  .footer-bar-row { align-items: flex-start; }
}

/* ---------- motion layer (opt-in, never for users who ask for less motion) ---------- */
.is-loading { background: linear-gradient(100deg, var(--surface-2) 30%, var(--primary-50) 50%, var(--surface-2) 70%) 0 0 / 200% 100%; }
.is-loading img { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

  .is-loading { animation: shimmer 1.3s linear infinite; }
  @keyframes shimmer { to { background-position: -200% 0; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .phone-device, .phone:hover .phone-device { transform: none; }
  .reel-track { animation: none; }
  .stage-media { display: none; }
  .scene-rig { transform: none !important; }
}
