/* Crypto Navigator: главная сайта (landing.html). Поверх app.css: токены, кнопки, бейджи.
   Только логические свойства: в арабском страница зеркалится сама. Карты и цифры — слева направо. */

body.landing { padding-bottom: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
section[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--bull); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
/* Telegram выключен или бот не подключён — всё про бота прячем */
body[data-tg="0"] .tg-only, body[data-bot=""] .tg-only { display: none !important; }

/* ---------- верхняя строка ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, rgba(7, 9, 14, .94), rgba(7, 9, 14, .82));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand-l { display: inline-flex; align-items: center; gap: 10px; color: var(--text); border-radius: 10px; flex: none; }
.brand-l img { width: 40px; height: 33px; }
.brand-l b { font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: .01em; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color 160ms, background 160ms; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-act { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav-act .btn { white-space: nowrap; }
.nav-login { padding: 8px 12px; border-radius: 10px; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav-login:hover { background: rgba(255, 255, 255, .05); }

.lang-sel { position: relative; display: inline-flex; align-items: center; }
.lang-sel svg { position: absolute; inset-inline-start: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.lang-sel select {
  width: auto; height: 38px; padding-block: 0; padding-inline: 32px 10px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--panel-2); border-color: var(--line-2); cursor: pointer;
}

/* ---------- первый экран ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: 40px 0 48px; }
.hero h1 { font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.hero .lead { margin: 20px 0 30px; max-width: 40ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: #c3cad6; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn.lg { min-height: 56px; padding-inline: 28px; font-size: 17px; border-radius: 16px; }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .28); }
.live { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 34px; }
.live div { min-width: 0; }
.live b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.live span { color: var(--muted); font-size: 14px; }
.live:empty { display: none; }

/* панель карты — главный образ страницы: живые данные, а не картинка */
.mapbox {
  position: relative; border-radius: var(--r-xl); padding: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(168, 232, 48, .05);
}
.mapbox-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mapbox-h .seg { flex: none; }
.mapbox-h .seg button { flex: none; padding-inline: 14px; }
.map-meta { color: var(--muted); font-size: 13px; text-align: end; }
.map {
  position: relative; direction: ltr; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; background: var(--ink);
}
.map .tile {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  overflow: hidden; border-radius: 5px; color: #fff; text-align: center; line-height: 1.05; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(7, 9, 14, .9); text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  transition: filter 140ms var(--ease-out);
}
.map a.tile:hover { filter: brightness(1.18); z-index: 1; }
.map .tile b { font-weight: 800; letter-spacing: .01em; }
.map .tile span { font-weight: 600; opacity: .92; font-variant-numeric: tabular-nums; }
.map.loading { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map.sample { aspect-ratio: 800 / 520; }       /* запасная картинка — без обрезки */
.mapbox.sample .scale { display: none; }
.map-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.map-f b { color: var(--text); font-weight: 700; }
.map-f .sum { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.scale { display: flex; align-items: center; gap: 8px; direction: ltr; font-variant-numeric: tabular-nums; }
.scale i { width: 96px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #a3161c, #262d38 50%, #45800f); }
.map-note { margin: 8px 2px 0; font-size: 12.5px; color: var(--dim); }
.map-note:empty { display: none; }

/* бегущая строка: настоящие последние события */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(15, 20, 28, .6); }
.ticker .track { display: flex; gap: 42px; padding: 14px 0; width: max-content; animation: marquee 60s linear infinite; }
.ticker span { white-space: nowrap; color: #c3cad6; font-weight: 600; }
.ticker span i { font-style: normal; color: var(--bull); margin-inline-end: 8px; }
.ticker:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker .track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------- общие разделы ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0 0; }
.sec h2 { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; max-width: 20ch; text-wrap: balance; }
.sec .sub { margin: 14px 0 0; max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 18px; font-weight: 700; color: var(--bull); border-radius: 8px; }
.more svg { width: 18px; height: 18px; }
[dir="rtl"] .more svg { transform: scaleX(-1); }
.links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.links .more { margin-top: 14px; }
.note { margin: 14px 0 0; color: var(--dim); font-size: 13.5px; line-height: 1.5; max-width: 70ch; }

/* карта рынка: две колонки фактов */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.duo article { padding: 24px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); }
.duo h3 { font-family: var(--f-display); font-size: 22px; margin-bottom: 14px; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #c3cad6; line-height: 1.45; }
.ticks .lic { width: 20px; height: 20px; margin-top: 1px; }

/* свои иконки лендинга (дуотон «Нави»): скруглённая линия + салатовая подложка-тон (.t) и сплошные детали (.f) */
.lic { flex: none; color: var(--bull); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lic .t { fill: currentColor; stroke: none; opacity: .2; }
.lic .f { fill: currentColor; stroke: none; }
.lic-tile { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px;
  background: linear-gradient(150deg, rgba(168, 232, 48, .16), rgba(168, 232, 48, .03) 70%);
  border: 1px solid rgba(168, 232, 48, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.lic-tile .lic { width: 25px; height: 25px; }

/* сигналы: категории группами */
.cats { columns: 3 280px; column-gap: 16px; margin-top: 30px; }
.cat-g { break-inside: avoid; display: inline-block; width: 100%; margin-bottom: 16px; padding: 18px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); }
.cat-g h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 17px; margin-bottom: 12px; }
.cat-g h3 .lic { width: 22px; height: 22px; }
.cat-g ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-g li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.cat-g li.free { border-color: rgba(168, 232, 48, .35); }
.cat-g li .badge { height: 18px; padding: 0 6px; font-size: 10.5px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; color: var(--muted); font-size: 14px; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 44px; }
.tools > div { padding: 20px 0 22px; border-top: 1px solid var(--line-2); }
.tools h3 { font-family: var(--f-display); font-size: 18px; margin-bottom: 8px; }
.tools p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* новости: лента с силой и направлением */
.news { margin-top: 30px; border-top: 1px solid var(--line-2); }
.nw { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.nw-meta { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.imp { display: inline-flex; gap: 3px; direction: ltr; }
.imp i { width: 14px; height: 6px; border-radius: 2px; background: var(--line-2); }
.nw.bull .imp i.on { background: var(--bull); }
.nw.bear .imp i.on { background: #ff5a5f; }
.nw.mixed .imp i.on { background: var(--gold); }
.dirn { font-weight: 700; }
.nw.bull .dirn { color: var(--bull); }
.nw.bear .dirn { color: #ff7a7e; }
.nw.mixed .dirn { color: var(--gold); }
.nw h3 { font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.nw h3 a { color: var(--text); }
.nw h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nw p { margin: 6px 0 0; color: #c3cad6; line-height: 1.5; }
.nw-assets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nw-assets span { padding: 2px 8px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; direction: ltr; }
.news .skel { height: 92px; margin: 16px 0; }
.empty-l { display: flex; align-items: center; gap: 16px; padding: 22px 0; color: var(--muted); }
.empty-l img { width: 72px; height: auto; flex: none; }

/* инсайдеры: текст + таблица */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.tbl-wrap { border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); padding: 8px 18px 6px; overflow-x: auto; }
.ins { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ins caption { padding: 12px 0 8px; text-align: start; color: var(--muted); font-size: 13px; font-weight: 600; }
.ins th { padding: 8px 6px; text-align: end; color: var(--dim); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ins td { padding: 12px 6px; border-top: 1px solid var(--line); text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ins th:first-child, .ins td:first-child { text-align: start; padding-inline-start: 0; white-space: normal; }
.ins td:first-child b { display: block; font-size: 15px; }
.ins td:first-child span { display: block; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.ins .sell { color: #ff7a7e; font-weight: 700; }
.ins .buy { color: var(--bull); font-weight: 700; }
.ins .zero { color: var(--dim); font-weight: 500; }
.ins .skel-row td { height: 52px; }
.ins .skel-row td::after { content: ""; display: block; height: 14px; border-radius: 6px; background: var(--panel-2); }

/* AI-агент и пульт: две плитки разного веса */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: 0; }
.tile-b { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--panel); }
.tile-b.agent { background: radial-gradient(90% 70% at 100% 0%, rgba(168, 232, 48, .13), transparent 62%), var(--panel); border-color: rgba(168, 232, 48, .22); }
[dir="rtl"] .tile-b.agent { background: radial-gradient(90% 70% at 0% 0%, rgba(168, 232, 48, .13), transparent 62%), var(--panel); }
.tile-b h2 { font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; max-width: 16ch; }
.tile-b > p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 46ch; }
.agent-body { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 16px; align-items: end; margin-top: 22px; }
.asks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.asks li { padding: 12px 14px; border-radius: 16px; border-start-start-radius: 4px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.4; }
.agent-body img { width: 170px; height: auto; }
.tile-b .note { margin-top: 16px; }
.desk { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 54px; gap: 8px; margin-top: 24px; }
.desk div { display: flex; align-items: flex-end; padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px dashed rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; color: #c3cad6; }
.desk .w-map { grid-column: span 2; grid-row: span 2; border-style: solid; border-color: rgba(168, 232, 48, .35); background: linear-gradient(135deg, rgba(69, 128, 15, .35), rgba(163, 22, 28, .25)), var(--ink-2); }
.desk .w-feed { grid-row: span 3; }
.desk .w-chart { grid-column: span 2; }
.limits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* тарифы: сравнение Free и Pro */
.plans { margin-top: 32px; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; }
.plans table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plans th, .plans td { padding: 16px 20px; text-align: start; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.45; }
.plans thead th { border-top: 0; padding-top: 24px; padding-bottom: 22px; vertical-align: bottom; }
.plans tbody th { font-weight: 600; color: var(--text); width: 30%; }
.plans td { color: #c3cad6; }
.plans .pro-col { background: rgba(168, 232, 48, .05); }
.plans thead .pro-col .p-name { color: var(--bull); }
.p-name { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.p-price { margin-top: 6px; font-family: var(--f-display); font-size: 34px; line-height: 1.05; }
.p-price small { font-family: var(--f-body); font-size: 15px; color: var(--muted); font-weight: 600; }
.p-alt { margin-top: 6px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.p-btn { margin-top: 16px; }
.plans tfoot td { border-top: 1px solid var(--line); }
.pay { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pay p { margin: 0; }
.mark { color: var(--dim); font-size: 12.5px; }

/* Telegram и партнёры */
.tg-box { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line); }
.tg-box img { width: 200px; height: auto; }
.tg-box h2 { font-size: clamp(26px, 2.8vw, 34px); }
.partner { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(168, 232, 48, .09), rgba(15, 20, 28, .9) 55%); border: 1px solid rgba(168, 232, 48, .25); }
[dir="rtl"] .partner { background: linear-gradient(225deg, rgba(168, 232, 48, .09), rgba(15, 20, 28, .9) 55%); }
.partner img { width: 240px; height: auto; justify-self: center; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.pgrid div { padding: 14px 16px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line); }
.pgrid b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--bull); }
.pgrid span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* вопросы */
.faq { max-width: 860px; }
.faq-l { margin-top: 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--bull); font-family: var(--f-display); font-size: 20px; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 70ch; color: var(--muted); line-height: 1.6; }

/* финал и подвал */
.final { padding: clamp(72px, 9vw, 120px) 0 72px; text-align: center; }
.final img { width: 190px; height: auto; margin: 0 auto 12px; }
.final h2 { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; }
.final p { margin: 12px 0 26px; color: var(--muted); font-size: 17px; }
.final .cta { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + var(--safe-b)); color: var(--dim); font-size: 13.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { display: inline-block; padding-block: 6px; color: var(--muted); border-radius: 6px; }
.foot a:hover { color: var(--text); }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .tools { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 24px; gap: 30px; }
  .split, .bento, .duo { grid-template-columns: minmax(0, 1fr); }
  .tg-box { grid-template-columns: minmax(0, 1fr); text-align: start; padding: 24px; }
  .tg-box img { display: none; }
  .partner { grid-template-columns: minmax(0, 1fr); }
  .partner img { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .nav .wrap { height: 60px; gap: 10px; }
  .brand-l b { display: none; }
  .nav-act .btn.bull { display: none; }        /* на телефоне главная кнопка — в первом экране */
  .hero .lead { margin: 16px 0 24px; }
  .cta .btn.lg { flex: 1 1 auto; }
  .live { margin-top: 26px; gap: 12px 24px; }
  .live b { font-size: 24px; }
  .mapbox { padding: 10px; border-radius: var(--r-l); margin-inline: -4px; }
  .map { aspect-ratio: 1 / 1; }
  .mapbox-h .seg button { padding-inline: 10px; }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .nw { grid-template-columns: minmax(0, 1fr); }
  .nw-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .agent-body { grid-template-columns: minmax(0, 1fr); }
  .agent-body img { display: none; }
  .plans th, .plans td { padding: 14px 12px; font-size: 14px; }
  .plans tbody th { width: 34%; }
  .p-price { font-size: 26px; }
  .p-btn { width: 100%; padding-inline: 8px; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .tbl-wrap { padding-inline: 12px; }
  .ins td:first-child span { max-width: 16ch; }
}
/* тарифы на телефоне: название строки — над двумя колонками Free и Pro */
@media (max-width: 640px) {
  .plans table, .plans thead, .plans tbody { display: block; }
  .plans tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans .p-corner { display: none; }
  .plans thead th { padding: 18px 14px 16px; }
  .plans tbody th { grid-column: 1 / -1; width: auto; padding: 14px 14px 2px; font-size: 14px; }
  .plans tbody td { border-top: 0; padding: 4px 14px 14px; font-size: 14px; }
  .plans tbody td.pro-col { background: rgba(168, 232, 48, .05); }
  .p-price small { white-space: nowrap; }
  .p-btn { width: 100%; min-height: 44px; padding-inline: 6px; font-size: 14px; white-space: normal; line-height: 1.2; text-align: center; }
  .cats { columns: auto; display: grid; gap: 12px; }
  .cat-g { margin-bottom: 0; }
  .ins th:nth-child(4), .ins td:nth-child(4) { display: none; }   /* на узком экране — компания, продали, купили */
  .cats.folded { max-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
    mask-image: linear-gradient(180deg, #000 78%, transparent); }
  .sec .cats-more { display: inline-flex; margin-top: 4px; }
}
.cats-more { display: none; }
.cats-more[hidden] { display: none !important; }
@media (max-width: 380px) {
  .lang-sel select { padding-inline: 30px 6px; }
  .nav-login { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker .track { animation: none; }
  .map.loading { animation: none; }
}

/* ---------- арабский: свой шрифт и межстрочный интервал ---------- */
[dir="rtl"] .hero h1, [dir="rtl"] .sec h2, [dir="rtl"] .tile-b h2, [dir="rtl"] .final h2 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .brand-l b { font-family: "Russo One", "Onest", sans-serif; }   /* название бренда — латиницей, как в логотипе */
