/* Advertising extends the existing website's typography and brand palette. */
.advertise-page { padding-top: 80px; }
.advertise-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.advertise-intro { background: var(--red-dk); color: var(--warm-wh); padding: 72px 0; }
.advertise-intro h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.2; max-width: 21ch; text-wrap: balance; }
.advertise-intro p { margin: 24px 0 28px; max-width: 62ch; color: var(--warm-wh); font-size: 1.125rem; }
.advertise-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 64px 88px; align-items: start; }
.advertise-plan h2, .advertise-request h2 { font-size: 1.6rem; line-height: 1.35; margin-bottom: 16px; text-wrap: balance; }
.advertise-plan h3 { margin-block: 32px 12px; font-size: 1.2rem; }
.advertise-plan p { margin-bottom: 16px; }
.advertise-plan ul { padding-inline-start: 24px; margin-block: 24px; }
.advertise-plan ul { list-style: disc; }
.advertise-page .btn-gold { background: var(--gold-pale); color: var(--dark); border-radius: 14px; font-weight: 750; }
.advertise-page .btn-gold:hover { background: #600707; }
.advertise-page .btn-outline { border: 1px solid var(--red-dk); color: var(--red-dk); border-radius: 14px; }
.advertise-page .btn-outline:hover { background: var(--bg); }
.advertise-page .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.advertise-plan li { margin-block: 12px; }
.advertise-plan a { color: var(--red-dk); text-decoration: underline; text-underline-offset: 4px; }
.advertise-request { background: var(--warm-wh); border: 1px solid #D5CECE; border-radius: 16px; padding: 28px; scroll-margin-top: 100px; }
.advertise-request label { display: block; font-weight: 650; margin-block: 20px 6px; }
.advertise-request input, .advertise-request select, .advertise-request textarea { display: block; width: 100%; min-width: 0; padding: 12px; background: #fff; color: var(--dark); border: 1px solid #827777; border-radius: 8px; font: inherit; caret-color: var(--red); }
.advertise-request textarea { resize: vertical; }
.advertise-request :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.advertise-request button { cursor: pointer; font: inherit; }
.advertise-rate { margin-top: 24px; font-weight: 750; color: var(--red-dk); }
.advertise-note { font-size: .875rem; margin-block: 20px; }
#ad-draft { margin-top: 28px; border-top: 1px solid #D5CECE; padding-top: 24px; }
#ad-draft p { margin-bottom: 16px; }
#ad-draft .btn { margin-top: 16px; }
#ad-copy-status { margin-top: 12px; }
@media (max-width: 800px) {
  .advertise-wrap { width: min(600px, calc(100% - 32px)); }
  .advertise-intro { padding: 48px 0; }
  .advertise-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; }
  .advertise-request { padding: 20px; }
}

/* App palette. Legacy gold/warm variable names remain for shared templates;
   decorative accents now resolve to logo red and neutral surfaces. */
/* ─── Custom Properties ─────────────────────────── */
:root {
  --red:        #8D0B0B;
  --red-dk:     #600707;
  --red-lt:     #A52424;
  --gold:       #8D0B0B;
  --gold-lt:    #FFB4AE;
  --gold-pale:  #FCE9E8;
  --bg:         #FFFFFF;
  --warm-wh:    #FFFFFF;
  --dark:       #211A1A;
  --dark-card:  #262223;
  --warm-gr:    #514747;
  --warm-gr-lt: #D5CECE;
  --border:     #D5CECE;

  --app-font: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --head: var(--app-font);
  --body: var(--app-font);

  --r-sm:  8px;
  --r-md: 16px;
  --r-lg: 16px;
  --r-xl: 20px;

  --sh-sm: 0 2px 8px rgba(33,26,26,.07);
  --sh-md: 0 8px 24px rgba(33,26,26,.10);
  --sh-lg: 0 24px 64px rgba(33,26,26,.14);
  --sh-gd: 0 8px 32px rgba(141,11,11,.22);
  --sh-rd: 0 8px 32px rgba(141,11,11,.22);

  --ease: cubic-bezier(.23,1,.32,1);
  --ease-drawer: cubic-bezier(.32,.72,0,1);
  --max: 1200px;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn.woff2') format('woff2'),
       url('/assets/fonts/Vazirmatn.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html { scroll-padding-top: 100px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.skip-link {
  position: absolute; top: -100%; left: 24px;
  padding: 12px 24px; background: var(--red); color: #fff;
  border-radius: var(--r-sm); font-weight: 600; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ─── Container ─────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ─── Scroll Reveal ─────────────────────────────── */
/* Content is visible by default. site.js adds .rev-arm only to blocks that are
   still below the fold (and never under Reduce Motion), then .in as they arrive. */
.rev { opacity: 1; transform: none; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px; border-radius: 14px;
  font: 700 .9375rem var(--body); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s; white-space: normal; text-align: center;
}
.btn-red {
  background: var(--red); color: #FFFFFF;
}
.btn-red:hover {
  background: var(--red-dk);
}
.btn-red:active { transform: none; }

.btn-ghost-w {
  background: transparent; color: var(--red); border: 1px solid var(--border);
}
.btn-ghost-w:hover {
  color: var(--red-dk); border-color: var(--red); background: #F7F4F4;
}

.btn-ghost {
  background: transparent; color: var(--dark);
  border: 2px solid rgba(33,26,26,.18);
}
.btn-ghost:hover {
  border-color: var(--red); color: var(--red);
}

/* ─── Section labels ─────────────────────────────── */
.label-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 100px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.label-red  { background: rgba(141,11,11,.08); border: 1px solid rgba(141,11,11,.15); color: var(--red); }
.label-gold { background: rgba(141,11,11,.12); border: 1px solid rgba(141,11,11,.25); color: var(--gold-lt); }
.label-grad { background: linear-gradient(90deg,var(--red),var(--gold)); color: #fff; }

/* ─── Section header ─────────────────────────────── */
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .label-pill { margin-bottom: 16px; }
.sec-title {
  font-family: var(--head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 14px;
}
.sec-desc {
  font-size: 1.0625rem; color: var(--warm-gr); max-width: 62ch; margin: 0 auto; line-height: 1.8;
}
.sec-note {
  font-size: .875rem; color: var(--warm-gr); max-width: 62ch; margin: 12px auto 0; line-height: 1.7;
}
.sec-title-w { color: #fff; }
.sec-desc-w  { color: rgba(255,255,255,.72); }

/* ════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; padding: 13px 0;
  background: #FFFFFF; border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 1.5rem; font-weight: 700;
  color: var(--dark); margin-right: auto;
}
.nav-logo span { color: var(--red); }
.brand-name { display: inline-block; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 8px; object-fit: contain;
  background: #FFFFFF; flex-shrink: 0;
}
.nav-links ul { display: flex; align-items: center; gap: 16px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; white-space: nowrap;
  font-size: .9375rem; font-weight: 500;
  color: var(--dark);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--red); }
.nav-links .nav-advertise {
  padding-inline: 14px; border-radius: var(--r-sm);
  background: rgba(141,11,11,.08); color: var(--red); font-weight: 750;
}
.nav-links .nav-advertise:hover { background: rgba(141,11,11,.14); }
.nav :is(a, button):focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.nav-cta { font-size: .875rem; padding: 10px 22px; }

/* hamburger */
.ham { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; flex-shrink: 0; }
.ham span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform 160ms var(--ease), opacity 160ms var(--ease); }

/* mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity 180ms var(--ease);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  transform: translateX(100%); visibility: hidden;
  width: min(320px, 90vw); background: var(--dark);
  z-index: 200; padding: 80px 32px 40px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 240ms var(--ease-drawer), visibility 0s 240ms;
}
.drawer.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.drawer-x {
  position: absolute; top: 24px; right: 24px;
  color: #F5F0F0; font-size: 1.4rem; padding: 8px; min-width: 48px; min-height: 48px; line-height: 1;
}
.drawer a {
  font-size: 1.1875rem; font-weight: 600;
  color: rgba(255,255,255,.75); padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .18s;
}
.drawer a:hover { color: var(--gold-lt); }

@media (max-width: 1000px) {
  html { scroll-padding-top: 140px; }
  .nav { padding: 10px 0 6px; }
  .nav-inner { flex-wrap: wrap; gap: 6px 12px; padding-inline: 16px; }
  .nav-links { order: 1; flex-basis: 100%; border-top: 1px solid var(--border); padding-top: 6px; }
  .nav-links ul { gap: 4px; justify-content: space-between; }
  .nav-links a { font-size: .8125rem; padding-inline: 4px; }
  .nav-links .nav-advertise { padding-inline: 10px; }
  .nav-cta { display: none; }
  .ham { display: flex; }
  .advertise-page { padding-top: 122px; }
}

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.hero {
  position: relative; display: flex; align-items: center;
  background: #FFFFFF; overflow: hidden; padding: 144px 24px 72px;
}

/* Persian geometric lattice overlay */
.hero::before {
  content: none;
}

/* ambient glows */
.glow {
  display: none;
}
.glow-1 {
  width: 680px; height: 680px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(141,11,11,.38), transparent 68%);
  animation: sway 7s ease-in-out infinite alternate;
}
.glow-2 {
  width: 440px; height: 440px; bottom: -60px; left: 28%;
  background: radial-gradient(circle, rgba(141,11,11,.28), transparent 68%);
  animation: sway 9s 1.5s ease-in-out infinite alternate-reverse;
}
.glow-3 {
  width: 300px; height: 300px; top: 30%; left: -60px;
  background: radial-gradient(circle, rgba(141,11,11,.18), transparent 68%);
  animation: sway 11s 3s ease-in-out infinite alternate;
}
@keyframes sway {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.12) translate(18px,-18px); }
}

.hero-grid {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; position: relative;
}

/* text side */
.hero-brand {
  width: 104px; height: 104px; object-fit: contain; margin-bottom: 24px; background: #FFFFFF;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(141,11,11,.14); border: 1px solid rgba(141,11,11,.28);
  border-radius: 100px; color: var(--gold-lt);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  margin-bottom: 24px;
  animation: fade-up .55s .05s ease both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(.75)} }

.hero-title {
  font-family: var(--head); font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  font-weight: 900; line-height: 1.15; color: var(--dark); margin-bottom: 24px; text-wrap: balance;
}
.hero-title em {
  font-style: normal; color: var(--red);
}

.hero-sub {
  font-size: 1.125rem; color: var(--warm-gr); line-height: 1.8; margin-bottom: 32px; max-width: 60ch;
}

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

.hero-farsi {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
  direction: rtl; text-align: start; color: var(--warm-gr); font-size: .9rem;
}
.hero-farsi span {
  color: var(--red); font-weight: 700;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Phone mockup */
.hero-phone-wrap {
  display: flex; justify-content: center; align-items: center;
  padding: 48px 28px; background: transparent;
}
@keyframes fade-lt {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: none; }
}

.phone {
  width: 294px; height: 636px; background: #151314; border-radius: 46px; padding: 12px;
  box-shadow: 0 24px 48px rgba(21,19,20,.24);
}
@keyframes float {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-13px)}
}
.phone-scr {
  width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: #1A1410; display: flex; flex-direction: column;
}
.app-shot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Status bar */
.p-status {
  height: 42px; background: var(--dark);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 8px 20px; flex-shrink: 0;
}
.p-time { font-size: .65rem; font-weight: 700; color: #fff; }
.p-icons { font-size: .5rem; color: rgba(255,255,255,.75); letter-spacing: .04em; }

/* App header gradient */
.p-head {
  padding: 10px 16px 12px;
  background: linear-gradient(135deg, var(--red) 0%, #600707 100%);
  flex-shrink: 0;
}
.p-head-name { font-family: var(--head); font-size: .95rem; font-weight: 700; color: #fff; }
.p-head-city { font-size: .52rem; color: rgba(255,255,255,.68); margin-top: 1px; }

/* Body content */
.p-body { flex: 1; padding: 11px 12px; overflow: hidden; }
.p-search {
  background: rgba(255,255,255,.07); border-radius: 18px;
  padding: 7px 11px; font-size: .5rem; color: rgba(255,255,255,.35);
  margin-bottom: 11px; display: flex; align-items: center; gap: 5px;
}
.p-cats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-bottom: 13px;
}
.p-cat {
  background: rgba(255,255,255,.05); border-radius: 9px;
  padding: 8px 2px; display: flex; flex-direction: column;
  align-items: center; gap: 2px;
}
.p-cat-i { font-size: .85rem; }
.p-cat-l { font-size: .38rem; color: rgba(255,255,255,.5); }
.p-section { font-size: .48rem; font-weight: 700; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.p-card {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.05); border-radius: 9px;
  padding: 7px 8px; margin-bottom: 5px;
}
.p-card-ico {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg,var(--red),var(--gold));
  display: flex; align-items: center; justify-content: center; font-size: .65rem;
}
.p-card-n { font-size: .47rem; font-weight: 600; color: rgba(255,255,255,.82); }
.p-card-m { font-size: .38rem; color: rgba(255,255,255,.38); margin-top: 1px; }
.p-deal {
  background: linear-gradient(90deg,var(--red),var(--gold));
  border-radius: 8px; padding: 5px 8px;
  font-size: .42rem; color: #fff; font-weight: 700;
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
}

/* Bottom nav */
.p-tabs {
  height: 50px; background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-around; flex-shrink: 0;
}
.p-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.p-tab-i { font-size: .72rem; }
.p-tab-l { font-size: .33rem; color: rgba(255,255,255,.38); }
.p-tab.act .p-tab-l { color: var(--gold-lt); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-title { font-size: clamp(2.25rem,7vw,3rem); }
  .hero-brand { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-farsi { text-align: center; direction: ltr; }
  .phone { width: 220px; height: 476px; border-radius: 38px; }
}

/* ════════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--warm-wh);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max); margin: 0 auto; padding: 24px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.stat {
  display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 8px; position: relative; flex-wrap: wrap;
}
.stat:not(:last-child)::after {
  content: none;
}
.stat-n {
  font: 800 1.5rem/1.3 var(--head); color: var(--red); font-variant-numeric: tabular-nums;
}
.stat-l { font-size: .875rem; color: var(--warm-gr); font-weight: 500; }
@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr; gap: 4px; }
  .stat::after { display: none; }
}

/* ════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════ */
.features { padding: 96px 24px; }
.feat-grid {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 56px;
}
.feat-card {
  display: grid; grid-template-columns: 48px minmax(0,1fr); column-gap: 20px;
  align-content: start; background: transparent; border: 0; border-top: 1px solid var(--border);
  border-radius: 0; padding: 32px 0; position: relative;
}
.feat-card::after {
  content: none;
}
.feat-card:hover {
  transform: none; box-shadow: none; border-color: var(--border);
}
.feat-card:hover::after { opacity: 1; }
.feat-ico {
  grid-column: 1; grid-row: 1 / 4; width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin: 0;
}
.ico-red  { background: rgba(141,11,11,.1);   color: var(--red); }
.ico-gold {
  background: #FCE9E8; color: var(--red);
}
.ico-warm { background: rgba(81,71,71,.12); color: var(--warm-gr); }
.feat-name {
  grid-column: 2; font: 800 1.2rem/1.5 var(--head); margin-bottom: 8px; color: var(--dark);
}
.feat-desc {
  grid-column: 2; font-size: .9375rem; color: var(--warm-gr); line-height: 1.8;
}

.feat-card-wide {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 24px; background: #F7F4F4;
  border: 0; border-radius: 16px; padding: 32px; margin-top: 24px;
}
.feat-card-wide:hover { border-color: rgba(141,11,11,.38); }
.feat-card-wide .feat-ico { flex-shrink: 0; margin-bottom: 0; }
.feat-wide-body { flex: 1; }
.feat-wide-topics {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.feat-topic {
  padding: 6px 12px; border-radius: 10px; font-size: .8125rem; font-weight: 600;
  background: #FFFFFF; border: 1px solid var(--border); color: var(--warm-gr);
}

@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card-wide { flex-direction: column; gap: 16px; }
}

/* ════════════════════════════════════════════════════
   BILINGUAL BANNER
════════════════════════════════════════════════════ */
.bilingual {
  background: #F7F4F4; border-block: 1px solid var(--border); padding: 40px 24px;
}
.bilingual-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.bilingual-left { display: flex; align-items: center; gap: 16px; }
.bilingual-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); flex-shrink: 0;
  background: rgba(141,11,11,.14); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.bilingual-text strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.bilingual-text span  { font-size: .875rem; color: var(--warm-gr); }
.bilingual-fa {
  font: 700 1.4rem var(--head); color: var(--red); direction: rtl;
}

/* ════════════════════════════════════════════════════
   MAP SHOWCASE
════════════════════════════════════════════════════ */
.showcase {
  padding: 96px 24px; background: #151314; position: relative; overflow: hidden;
}
.showcase::before {
  content: none;
}
.showcase-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.showcase-title {
  font-family: var(--head); font-size: clamp(1.75rem,3vw,2.5rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin: 16px 0 18px;
}
.showcase-desc { font-size: 1.0625rem; color: rgba(255,255,255,.72); line-height: 1.72; margin-bottom: 36px; }
.s-points { display: flex; flex-direction: column; gap: 18px; }
.s-point { display: flex; align-items: flex-start; gap: 14px; }
.s-point-ico {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; background: #342F30;
  color: #FFB4AE; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.s-point-txt { font-size: .9375rem; color: rgba(255,255,255,.65); line-height: 1.55; }
.s-point-txt strong { color: #fff; font-weight: 600; }

/* Map phone */
.map-phone-wrap { display: flex; justify-content: center; }
.map-phone {
  width: 270px; height: 586px; background: #0C0C0C; border-radius: 44px; padding: 11px;
  box-shadow: 0 24px 48px rgba(0,0,0,.28);
}
.map-scr {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: #1B2230; position: relative; display: flex; flex-direction: column;
}
.map-area {
  flex: 1; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg,transparent,transparent 22px,rgba(255,255,255,.03) 22px,rgba(255,255,255,.03) 23px),
    repeating-linear-gradient(90deg,transparent,transparent 22px,rgba(255,255,255,.03) 22px,rgba(255,255,255,.03) 23px);
  background-color: #1E2535;
}
.map-rd {
  position: absolute; background: rgba(255,255,255,.07);
  border-radius: 4px;
}
.map-rd-h { height: 7px; width: 100%; top: 48%; }
.map-rd-v { width: 7px; height: 100%; left: 42%; }
.map-rd-d { height: 5px; width: 60%; top: 30%; left: 20%; transform: rotate(30deg); }
.map-pin {
  position: absolute; width: 26px; height: 26px;
  background: var(--red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(141,11,11,.6);
}
.map-pin::after {
  content: ''; position: absolute; width: 10px; height: 10px;
  background: #fff; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.pin-a { top: 38%; left: 34%; }
.pin-b {
  background: var(--gold); width: 20px; height: 20px;
  top: 22%; left: 54%;
  box-shadow: 0 4px 12px rgba(141,11,11,.55);
  animation: pin-bob 2.5s ease-in-out infinite;
}
.pin-b::after { width: 8px; height: 8px; }
@keyframes pin-bob {
  0%,100%{transform:rotate(-45deg) translateY(0)} 50%{transform:rotate(-45deg) translateY(-6px)}
}
.map-sheet {
  background: var(--dark); border-radius: 18px 18px 0 0;
  padding: 14px; flex-shrink: 0;
}
.map-handle { width: 30px; height: 3px; background: rgba(255,255,255,.18); border-radius: 2px; margin: 0 auto 11px; }
.map-sheet-title { font-size: .5rem; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.map-row {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.05); border-radius: 7px;
  padding: 6px 7px; margin-bottom: 4px;
}
.map-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.map-row-n { font-size: .44rem; font-weight: 600; color: rgba(255,255,255,.8); }
.map-row-m { font-size: .38rem; color: rgba(255,255,255,.35); }

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 44px; }
  .map-phone-wrap { order: -1; }
}

/* ════════════════════════════════════════════════════
   DEALS
════════════════════════════════════════════════════ */
.deals { padding: 96px 24px; background: var(--bg); }
.deals-title em { font-style: italic; color: var(--red); }
.deals-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.deal-card {
  background: var(--warm-wh); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.deal-card:hover {
  transform: none; box-shadow: none; border-color: var(--red);
}
.deal-top {
  padding: 28px 24px; background: var(--red); position: relative;
}
.deal-top::after {
  content: none;
}
.deal-amt {
  font-family: var(--head); font-size: 2.75rem; font-weight: 700;
  color: #fff; line-height: 1; position: relative; z-index: 1;
}
.deal-amt small { font-size: 1.1rem; }
.deal-body { padding: 18px 22px 22px; }
.deal-biz { font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 6px; }
.deal-desc { font-size: .875rem; color: var(--warm-gr); line-height: 1.55; }
.deal-city {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .73rem; font-weight: 700; color: var(--red);
  padding: 3px 10px; background: rgba(141,11,11,.08);
  border-radius: 100px; margin-top: 12px;
}

@media (max-width: 900px) { .deals-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deals-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════
   CITIES
════════════════════════════════════════════════════ */
.cities {
  padding: 96px 24px; background: #F7F4F4; position: relative;
}
.cities::before {
  content: none;
}
.cities-wrap { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.cities-groups { display: grid; gap: 52px; }
.continent-group { display: grid; gap: 24px; }
.continent-heading {
  display: flex; align-items: center; gap: 18px;
}
.continent-name {
  margin: 0; color: var(--red); font-family: var(--head);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 800;
}
.continent-rule {
  height: 1px; flex: 1; background: var(--border);
}
.country-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px;
}
.country-group { min-width: 0; }
.country-heading {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.country-code {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(141,11,11,.14);
  border: 1px solid rgba(141,11,11,.26);
  color: var(--red); font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; direction: ltr;
}
.country-name {
  font-size: 1rem; font-weight: 800; color: var(--dark);
}
.country-cities {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px;
}
.city-card {
  display: flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 16px; background: #FFFFFF; border: 1px solid var(--border);
  border-radius: 14px; color: var(--dark); font-size: .875rem; font-weight: 600;
  transition: border-color .18s, color .18s;
}
.city-card:hover {
  border-color: var(--red); color: var(--red); background: #FFFFFF;
}
.city-card::before {
  content: ''; width: 6px; height: 6px; margin-inline-end: 10px;
  border-radius: 50%; background: var(--gold); flex-shrink: 0;
}
.city-name { font-weight: 600; color: var(--dark); font-size: .9rem; }
.cities-note {
  text-align: center; color: var(--warm-gr); font-size: .875rem; margin-top: 32px;
}
@media (max-width: 1000px) {
  .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cities { padding: 72px 20px; }
  .cities-groups { gap: 42px; }
  .continent-heading { gap: 12px; }
  .continent-name { font-size: 1.3rem; }
  .country-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ════════════════════════════════════════════════════
   DOWNLOAD
════════════════════════════════════════════════════ */
.download { padding: 96px 24px; background: var(--warm-wh); text-align: center; }
.dl-wrap { max-width: 680px; margin: 0 auto; }
.dl-stores {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; background: var(--dark); color: #fff;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.06);
  font-size: .9rem; font-weight: 500;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.dl-btn:hover { background: #342F30; }
.dl-btn .d-icon { display: flex; align-items: center; line-height: 1; }
.dl-btn .d-txt { text-align: left; }
.dl-btn .d-sm { display: block; font-size: .62rem; opacity: .55; }
.dl-btn .d-lg { display: block; font-size: .95rem; font-weight: 700; }
.dl-note { margin-top: 20px; font-size: .8rem; color: var(--warm-gr); }

/* ─── Hero store badges ──────────────────────────── */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px;
  padding: 12px 18px; background: #151314; border: 1px solid #151314;
  border-radius: 14px; color: #FFFFFF; transition: background .18s;
}
.store-badge:hover {
  background: #342F30; border-color: #342F30;
}
.store-badge svg { flex-shrink: 0; }
.store-txt { text-align: left; }
.store-sm { display: block; font-size: .6rem; opacity: .6; font-weight: 400; }
.store-lg { display: block; font-size: .875rem; font-weight: 700; }

/* ════════════════════════════════════════════════════
   LIST BUSINESS CTA
════════════════════════════════════════════════════ */
.list-biz {
  padding: 72px 24px; background: var(--red); text-align: center;
}
.list-biz h2 {
  font-family: var(--head); font-size: clamp(1.5rem,3vw,2.25rem);
  font-weight: 700; color: #fff; margin-bottom: 14px;
}
.list-biz p { color: rgba(255,255,255,.6); font-size: 1.0625rem; margin-bottom: 32px; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
footer {
  background: #151314; color: #D5CECE; padding: 64px 24px 36px;
}
.foot-inner { max-width: var(--max); margin: 0 auto; }
.foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.foot-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 1.5rem; font-weight: 700;
  color: #fff; margin-bottom: 12px;
}
.foot-logo span {
  color: #FFB4AE;
}
.foot-logo .brand-mark {
  width: 40px; height: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.foot-tagline { font-size: .875rem; line-height: 1.7; max-width: 240px; margin-bottom: 16px; }
.foot-farsi {
  font-size: .875rem; direction: rtl; color: #D5CECE;
}
.foot-col-title {
  font-size: .875rem; font-weight: 700; color: #F5F0F0; margin-bottom: 16px;
}
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a {
  font-size: .875rem; color: #D5CECE; transition: color .18s;
}
.foot-links a:hover { color: var(--gold-lt); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.foot-copy {
  font-size: .8125rem; color: #D5CECE;
}
.foot-legal { display: flex; gap: 22px; }
.foot-legal a {
  font-size: .875rem; color: #D5CECE; transition: color .18s;
}
.foot-legal a:hover { color: rgba(255,255,255,.65); }

@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
/* ─── Language toggle button ────────────────────── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 15px; border-radius: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  background: transparent; cursor: pointer;
  border: 1.5px solid rgba(33,26,26,.18);
  color: var(--dark); font-family: var(--body);
  transition: border-color .2s var(--ease), color .2s var(--ease);
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav .lang-toggle { min-height: 44px; }
.drawer .lang-toggle {
  border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.75);
  width: 100%; justify-content: center; margin-top: 12px;
}
.drawer .lang-toggle:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* ─── RTL overrides ─────────────────────────────── */
[dir="rtl"] {
  font-family: 'Vazirmatn', system-ui, sans-serif;
}
[dir="rtl"] .hero-title,
[dir="rtl"] .sec-title,
[dir="rtl"] .showcase-title,
[dir="rtl"] .feat-name,
[dir="rtl"] .nav-logo,
[dir="rtl"] .foot-logo {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  font-weight: 700;
}
/* Logo margin: push nav links to the left in RTL */
[dir="rtl"] .nav-logo { margin-right: 0; margin-left: auto; }
/* Hero Farsi decoration is redundant when the whole page is FA */
[dir="rtl"] .hero-farsi { display: none; }
/* bilingual-fa decoration is also redundant in FA mode */
[dir="rtl"] .bilingual-fa { display: none; }
/* foot-farsi is redundant when tagline is already in FA */
[dir="rtl"] .foot-farsi { display: none; }
/* Showcase/map grid: text on right, phone on left in RTL — natural */
/* Store badge icon stays left of text in RTL flex — looks fine */
/* Deal city pin icon alignment */
[dir="rtl"] .deal-city { flex-direction: row-reverse; }
/* Bilingual banner: reverse inner row */
[dir="rtl"] .bilingual-inner { flex-direction: row-reverse; }
/* Feat card wide: icon on right side in RTL */
[dir="rtl"] .feat-card-wide { flex-direction: row-reverse; }
[dir="rtl"] .city-card { flex-direction: row-reverse; }
/* Drawer links align right */
[dir="rtl"] .drawer a { text-align: right; }

/* ─── Cities hub link ───────────────────────────── */
.cities-hub-link {
  color: var(--red); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--red); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.cities-hub-link:hover { color: var(--red-dk); border-color: var(--red-dk); }

/* ─── City cards as links ───────────────────────── */
a.city-card { text-decoration: none; }
a.city-card:hover .city-name { color: var(--red); }
.city-name { transition: color .2s; }

/* ─── City + cities-hub pages ───────────────────── */
.hero-compact {
  min-height: auto; padding: 152px 24px 64px; border-bottom: 1px solid var(--border);
}
.hero-compact .hero-grid { grid-template-columns: 1fr; max-width: 820px; }
.hero-compact .hero-title { margin-bottom: 18px; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--warm-gr); font-size: .875rem; margin-bottom: 28px;
}
.crumbs a { color: var(--warm-gr); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--red); font-weight: 600; }
.crumb-sep { color: var(--warm-gr); }

.city-kicker { margin-bottom: 16px; }

.city-guide { padding: 92px 24px; background: var(--warm-wh); }
.guide-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
}
.guide-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px;
  font-size: .9375rem; font-weight: 600; color: var(--dark);
  display: flex; align-items: center; gap: 10px;
}
.guide-item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

.faq { padding: 92px 24px; }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #FFFFFF; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 24px 0;
}
.faq-q {
  font-family: var(--head); font-size: 1.0625rem; font-weight: 700;
  line-height: 1.45; margin-bottom: 10px;
}
.faq-a { color: var(--warm-gr); line-height: 1.75; font-size: .9688rem; }

.city-more {
  padding: 72px 24px; background: #F7F4F4;
}
.city-more-wrap { max-width: var(--max); margin: 0 auto; text-align: center; }
.city-more-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 34px 0 30px;
}
.city-more-grid .city-card { min-width: 150px; }

@media (max-width: 860px) { .guide-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: 1fr; }
  .hero-compact { padding: 164px 20px 60px; }
  .faq-item { padding: 22px 22px; }
}
@media (max-width: 1000px) {
  .hero { padding-top: 164px; }
}

/* Stat tiles whose value is a word ("Free") rather than a counted number */
.stat-n-txt {
  font: 800 1.5rem/1.3 var(--head); color: var(--red);
}

/* ─── Footer social links ───────────────────────── */
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: color .18s, background .18s, border-color .18s;
}
.foot-social a:hover {
  color: var(--gold-lt);
  background: rgba(141,11,11,.12);
  border-color: rgba(141,11,11,.32);
}

/* Shared app roles, accessible browser controls and region-specific ink. */
::selection { background: #FCE9E8; color: #600707; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
input, textarea, select { accent-color: var(--red); caret-color: var(--red); }
html { scrollbar-color: #827777 #F7F4F4; }
.drawer :focus-visible, footer :focus-visible, .showcase :focus-visible, .advertise-intro .btn:focus-visible, .list-biz .btn:focus-visible { outline-color: #FFB4AE; }
h1, h2, h3 { text-wrap: balance; }
[dir="rtl"] { letter-spacing: normal; }
[dir="rtl"] .hero-title { font-weight: 900; line-height: 1.4; }
.cities .sec-title-w, .city-more .sec-title-w { color: var(--dark); }
.cities .sec-desc-w, .city-more .sec-desc-w { color: var(--warm-gr); }
.city-more .btn-ghost-w { color: var(--red); border-color: var(--red); }
.store-sm, .dl-btn .d-sm { opacity: .85; }
.list-biz p { color: #FFFFFF; }
.list-biz .btn { background: #FFFFFF; color: var(--red); border: 1px solid #FFFFFF; }
.list-biz .btn:hover { background: #FCE9E8; }
.advertise-page .btn-gold { background: var(--red); color: #FFFFFF; }
.advertise-page .btn-gold:hover { background: var(--red-dk); }
.advertise-intro { background: var(--red); }
.advertise-intro .btn-gold { background: #FFFFFF; color: var(--red); }
.advertise-intro .btn-gold:hover { background: #FCE9E8; }
.advertise-request { background: #F7F4F4; }
.advertise-request input, .advertise-request select, .advertise-request textarea { border-radius: 14px; min-height: 48px; }
.foot-social a { width: 48px; height: 48px; color: #D5CECE; }
.foot-social a:hover { color: #FFFFFF; background: #342F30; border-color: #615657; }
.foot-logo .brand-mark { box-shadow: none; }
/* Content is visible without animation or JavaScript. */

@media (max-width: 1000px) { .hero-grid { gap: 40px; } }
@media (max-width: 900px) {
  .hero { padding-top: 152px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone-wrap { width: min(100%, 440px); margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero { padding-inline: 20px; padding-bottom: 48px; }
  .hero-title { font-size: 2.75rem; }
  .hero-sub { font-size: 1rem; }
  .hero-brand { width: 88px; height: 88px; margin-inline: auto; }
  .hero-phone-wrap { padding: 32px 16px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card-wide { padding: 24px; }
  .stats-inner { grid-template-columns: 1fr; gap: 4px; padding: 20px; }
  .stat { justify-content: start; padding-inline: 16px; }
  .features, .deals, .cities, .download, .faq { padding: 56px 20px; }
}

/* Motion is progressive enhancement: every destination stays usable at rest. */
.btn, .store-badge, .dl-btn, .city-card, .lang-toggle, .ham, .drawer-x {
  transition: transform 160ms var(--ease), background .18s ease, color .18s ease, border-color .18s ease;
}
[data-input="pointer"] :is(.btn, .store-badge, .dl-btn, .city-card, .lang-toggle, .ham, .drawer-x):active { transform: scale(.97); }
[data-input="keyboard"] { scroll-behavior: auto; }
[data-input="keyboard"] *, [data-input="keyboard"] *::before, [data-input="keyboard"] *::after { transition: none !important; animation: none !important; }
.nav-links a:not(.nav-advertise) { position: relative; }
.nav-links a:not(.nav-advertise)::after {
  content: ''; position: absolute; inset-inline: 4px; bottom: 3px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: center;
  transition: transform 160ms var(--ease);
}
.city-arrow { width: 16px; height: 16px; flex-shrink: 0; margin-inline-start: auto; opacity: .6; transition: transform 160ms var(--ease), opacity 160ms ease; }
[dir="rtl"] .city-arrow { rotate: 180deg; }
.city-card::before { margin-inline-end: 0; }
.city-search { max-width: 560px; margin: 0 auto 40px; }
.city-search label { display: block; font-size: .9375rem; font-weight: 700; margin-bottom: 10px; }
.city-search-field { display: flex; align-items: center; gap: 12px; padding-inline: 16px 8px; border: 1px solid #827777; border-radius: 14px; background: #FFFFFF; }
.city-search-field:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.city-search-field > svg { width: 20px; height: 20px; color: var(--warm-gr); flex-shrink: 0; }
.city-search input { width: 100%; min-width: 0; min-height: 56px; border: 0; outline: 0; background: transparent; color: var(--dark); font: inherit; }
.city-search input::placeholder { color: var(--warm-gr); opacity: 1; }
.city-search input::-webkit-search-cancel-button { display: none; }
.city-search-clear { width: 44px; min-width: 44px; height: 44px; color: var(--red); border-radius: 10px; display: grid; place-items: center; }
.city-search-clear[hidden], .cities [hidden] { display: none !important; }
.city-search-clear svg { width: 20px; height: 20px; }
.city-search-status { margin-top: 12px; color: var(--warm-gr); font-size: .875rem; min-height: 1.5em; }
.city-search-clear:hover { background: #F7F4F4; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-input="pointer"] .nav-links a:hover::after { transform: scaleX(1); }
  [data-input="pointer"] a.city-card:hover .city-arrow { transform: translateX(3px); opacity: 1; }
  [dir="rtl"][data-input="pointer"] a.city-card:hover .city-arrow { transform: translateX(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer { transform: none; opacity: 0; transition: opacity 160ms ease, visibility 0s 160ms; }
  .drawer.open { opacity: 1; transition-delay: 0s; }
  [data-input="pointer"] :is(.btn, .store-badge, .dl-btn, .city-card, .lang-toggle, .ham, .drawer-x):active { transform: none; }
}

/* ════════════════════════════════════════════════════
   MOTION LAYER
   Content is visible at rest: hero motion is CSS-only (no flash before
   scripts load) and scroll motion is armed by site.js only for blocks that
   are still below the fold. Everything has a Reduce Motion path below.
════════════════════════════════════════════════════ */
:root { --dir: 1; }
[dir="rtl"] { --dir: -1; }

@keyframes swipe-up { from { transform: translateY(112%); } }
@keyframes rise     { from { opacity: 0; transform: translateY(24px); } }
@keyframes draw-in  { from { transform: scaleX(0); } }
@keyframes phone-in { from { opacity: .35; transform: translateY(44px) scale(.96) rotate(1.5deg); } }

/* Hero: the headline swipes up line by line, the brand word gets underlined,
   then the supporting copy, store badges and phone settle in behind it. */
.hero-title .ln {
  display: block; overflow: hidden;
  padding: .1em .06em .18em; margin: -.1em -.06em -.18em;
}
.hero-title .ln > span { display: inline-block; animation: swipe-up 900ms var(--ease) both; }
.hero-title .ln:nth-child(1) > span { animation-delay: 140ms; }
.hero-title .ln:nth-child(2) > span { animation-delay: 240ms; }
.hero-title .ln:nth-child(3) > span { animation-delay: 340ms; }
.hero-title em { display: inline-block; position: relative; }
.hero-title em::after {
  content: ''; position: absolute; inset-inline: .02em; bottom: .02em; height: .075em;
  border-radius: 99px; background: var(--red); transform-origin: left;
  animation: draw-in 800ms var(--ease) 1050ms both;
}
[dir="rtl"] .hero-title em::after { transform-origin: right; bottom: .14em; }
.hero-brand   { animation: rise 700ms var(--ease) both; }
.hero-sub     { animation: rise 800ms var(--ease) 460ms both; }
.hero-actions { animation: rise 800ms var(--ease) 560ms both; }
.hero-farsi   { animation: rise 800ms var(--ease) 660ms both; }
.hero-phone-wrap .phone { animation: phone-in 1000ms var(--ease) 120ms both; }
.hero-compact .crumbs { animation: rise 600ms var(--ease) both; }
.hero-compact .hero-title { animation: rise 800ms var(--ease) 100ms both; }

/* Scroll reveal: rise + fade. Delay (--rd) is assigned per arrival batch. */
.rev-arm { opacity: 0; transform: translateY(32px); }
.rev-arm.from-start { transform: translateX(calc(var(--dir) * -40px)); }
.rev-arm.from-end   { transform: translateX(calc(var(--dir) * 40px)); }
.rev-arm.rise-lg    { transform: translateY(64px) scale(.95); }
.rev-arm.pop        { transform: scale(.88); }
.rev-arm.in {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease) var(--rd, 0ms), transform 850ms var(--ease) var(--rd, 0ms);
}

/* Headline words swipe up out of a mask. */
.w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: .1em .06em .22em; margin: -.1em -.06em -.22em;
}
.w-i { display: inline-block; }
.split-arm .w-i { transform: translateY(118%); }
.split-arm.in .w-i {
  transform: none;
  transition: transform 850ms var(--ease) calc(var(--rd, 0ms) + var(--i, 0) * 65ms);
}

/* Rules draw themselves across the page. */
.rule-arm { transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .rule-arm { transform-origin: right; }
.rule-arm.in { transform: none; transition: transform 1100ms var(--ease) var(--rd, 0ms); }

/* Feature icons settle as their row arrives. */
.feat-card.rev-arm .feat-ico { scale: .6; }
.feat-card.rev-arm.in .feat-ico { scale: 1; transition: scale 800ms var(--ease) calc(var(--rd, 0ms) + 140ms); }

/* Scroll progress, nav state and scroll-spy */
.nav { transition: box-shadow 240ms var(--ease); }
.nav.is-scrolled { box-shadow: 0 8px 28px rgba(33,26,26,.08); }
.nav-progress {
  position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: var(--red);
  transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none;
}
[dir="rtl"] .nav-progress { transform-origin: right; }
.nav-links a.is-active:not(.nav-advertise) { color: var(--red); }
.nav-links a.is-active:not(.nav-advertise)::after { transform: scaleX(1); }

/* City ticker: the real supported cities, drifting under the stats. */
.city-ticker {
  border-top: 1px solid var(--border); overflow: hidden; padding: 16px 0; min-height: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.city-ticker[hidden] { display: none; }
.ticker-track { display: flex; width: max-content; animation: ticker var(--dur, 120s) linear infinite; }
.tk {
  display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; white-space: nowrap;
  font-size: .9375rem; font-weight: 700; color: var(--dark);
}
.tk::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
@keyframes ticker     { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
.city-ticker:hover .ticker-track, .city-ticker.is-paused .ticker-track { animation-play-state: paused; }

/* Back to top */
.to-top {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(33,26,26,.22);
  opacity: 0; visibility: hidden; translate: 0 14px;
  transition: opacity 220ms var(--ease), translate 260ms var(--ease), background .18s ease, visibility 0s 260ms;
}
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.to-top:hover { background: var(--red-dk); }
.to-top svg { width: 20px; height: 20px; }

/* Hover and pointer richness: fine pointers only. */
.store-badge, .dl-btn, .nav-cta {
  transition: transform 160ms var(--ease), translate 220ms var(--ease), background .18s ease,
              color .18s ease, border-color .18s ease, box-shadow 220ms var(--ease);
}
.s-point-ico { transition: background .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .feat-card .feat-ico { transition: background .2s ease, color .2s ease, transform 280ms var(--ease); }
  .feat-card:hover .feat-ico { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.08); }
  .feat-card:not(.feat-card-wide)::after {
    content: ''; position: absolute; inset-inline: 0; top: -1px; height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left; transition: transform 460ms var(--ease);
  }
  [dir="rtl"] .feat-card:not(.feat-card-wide)::after { transform-origin: right; }
  .feat-card:not(.feat-card-wide):hover::after { transform: scaleX(1); }
  .feat-topic { transition: background .18s ease, color .18s ease, border-color .18s ease, transform 200ms var(--ease); }
  .feat-topic:hover { background: #FCE9E8; color: var(--red-dk); border-color: var(--red); transform: translateY(-2px); }

  .deal-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--red); }
  .deal-card .deal-amt { transition: transform 320ms var(--ease); }
  .deal-card:hover .deal-amt { transform: translateY(-3px); }
  .s-point:hover .s-point-ico { background: var(--red); color: #fff; }

  a.city-card { transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color .18s, color .18s; }
  a.city-card:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }

  .store-badge:hover, .dl-btn:hover { box-shadow: 0 12px 28px rgba(21,19,20,.24); }
  .btn-red:hover { box-shadow: 0 10px 22px rgba(141,11,11,.28); }
  .foot-links a { transition: color .18s, translate 200ms var(--ease); }
  .foot-links a:hover { translate: calc(var(--dir) * 4px) 0; }
}

/* Drawer links arrive one after another. */
@media (prefers-reduced-motion: no-preference) {
  .drawer a { opacity: 0; translate: calc(var(--dir) * 18px) 0; transition: color .18s, opacity 260ms var(--ease), translate 320ms var(--ease); }
  .drawer.open a { opacity: 1; translate: 0 0; }
  .drawer.open a:nth-of-type(1) { transition-delay: 70ms; }
  .drawer.open a:nth-of-type(2) { transition-delay: 110ms; }
  .drawer.open a:nth-of-type(3) { transition-delay: 150ms; }
  .drawer.open a:nth-of-type(4) { transition-delay: 190ms; }
  .drawer.open a:nth-of-type(5) { transition-delay: 230ms; }
  .drawer.open a:nth-of-type(6) { transition-delay: 270ms; }
  .drawer.open a:nth-of-type(7) { transition-delay: 310ms; }
  .drawer.open a:nth-of-type(8) { transition-delay: 350ms; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .ln > span, .hero-brand, .hero-sub, .hero-actions, .hero-farsi, .hero-phone-wrap .phone,
  .hero-compact .crumbs, .hero-compact .hero-title, .hero-title em::after { animation: none !important; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .city-ticker { padding-inline: 24px; -webkit-mask-image: none; mask-image: none; }
  .to-top { transition: opacity 120ms ease, visibility 0s 120ms; translate: none; }
}
