/* ============================================================
   AeroSpy Theme — main.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   ПЕРЕМЕННЫЕ — СВЕТЛАЯ ТЕМА (дефолт)
   ============================================================ */
:root,
[data-theme="light"] {
  --bg:        #f7f8fc;
  --surface:   #ffffff;
  --surface2:  #f0f2f8;
  --border:    #e8ecf4;
  --border-h:  #c5cee0;
  --accent:    var(--accent-custom, #1a6ef5);
  --accent-l:  #eef3fe;
  --accent-h:  #1559d4;
  --tg:        #2AABEE;
  --tg-l:      #e8f6fd;
  --tg-text:   #0d8ecf;
  --text:      #0d1117;
  --muted:     #6b7794;
  --muted2:    #9aa3ba;
  --green:     #0ea868;
  --green-l:   #eafaf3;
  --red:       #e53935;
  --sh:        0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
  --sh-h:      0 2px 8px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.08);
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --toggle-bg: #e8ecf4;
  --grid-c:    rgba(0,0,0,.042);
  --glow:      transparent;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Courier New', monospace;
}

/* ============================================================
   ПЕРЕМЕННЫЕ — ТЁМНАЯ ТЕМА
   ============================================================ */
[data-theme="dark"] {
  --bg:        #080b12;
  --surface:   #0f1420;
  --surface2:  #181c24;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(0,194,255,0.25);
  --accent:    var(--accent-dark-custom, #00c2ff);
  --accent-l:  rgba(0,194,255,0.1);
  --accent-h:  #00a8e0;
  --tg:        #2AABEE;
  --tg-l:      rgba(42,171,238,0.1);
  --tg-text:   #5bc8f5;
  --text:      #e8edf5;
  --muted:     #8b95ad;
  --muted2:    #6b7794;
  --green:     #10b981;
  --green-l:   rgba(16,185,129,0.1);
  --sh:        0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.2);
  --sh-h:      0 2px 8px rgba(0,0,0,.4), 0 8px 32px rgba(0,0,0,.3);
  --toggle-bg: #1e2330;
  --grid-c:    rgba(0,194,255,0.055);
  --glow:      radial-gradient(circle at 50% 0%, rgba(0,194,255,0.06) 0%, transparent 60%);
}

/* ============================================================
   ПЕРЕХОД МЕЖДУ ТЕМАМИ
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
img, svg, .theme-toggle { transition: none; }

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Сетка (тёмная) */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-c) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none; z-index: 0;
}

/* Свечение (тёмная) */
body::after {
  content: '';
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: var(--glow);
  pointer-events: none; z-index: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--text); }

/* ============================================================
   ПОЛОСКА СВЕРХУ
   ============================================================ */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--accent), #6ea8fe, var(--tg));
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ — внутри header-inner (не fixed)
   ============================================================ */
.theme-toggle {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--toggle-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh);
  padding: 0;
  position: relative;
  z-index: auto;
}
.theme-toggle:hover { transform: scale(1.08); }
.theme-toggle:active { transform: scale(.95); }
.theme-toggle svg { width: 18px; height: 18px; color: var(--muted); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; color: var(--accent); }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: sticky; top: 3px; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 0;
}

.site-branding { flex: 0 0 auto; }
.site-logo-text {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text);
}
.logo-icon { font-size: 22px; }
.logo-name { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.logo-name em { font-style: normal; color: var(--accent); }
.site-tagline { font-size: 11px; color: var(--muted); margin: 2px 0 0 30px; }

.main-navigation { flex: 1; }
#primary-menu {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
#primary-menu li a {
  display: block; padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: none;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a { color: var(--accent); background: var(--accent-l); }

.btn-tg-header {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tg-l); border: 1.5px solid rgba(42,171,238,.25);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--tg-text);
  white-space: nowrap; text-decoration: none;
}
.btn-tg-header:hover { background: rgba(42,171,238,.18); text-decoration: none; }
.btn-tg-header svg { width: 16px; height: 16px; fill: var(--tg); flex-shrink: 0; }

.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* ============================================================
   КОНТЕЙНЕР
   ============================================================ */
.container {
  max-width: 1160px; margin: 0 auto;
  padding: 0 20px; position: relative; z-index: 1;
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 11px 20px; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent-h); text-decoration: none; color: #fff; }
.btn-primary:active { transform: scale(.98); }
.btn-primary svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
.btn-primary.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: var(--radius-sm);
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.btn-outline:hover { background: var(--accent-l); text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  padding: 80px 0 64px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-l); border: 1px solid rgba(26,110,245,.15);
  border-radius: 20px; padding: 5px 14px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px;
}
[data-theme="dark"] .hero-badge { border-color: rgba(0,194,255,.2); }
.badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(32px, 6vw, 56px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 18px; color: var(--muted); line-height: 1.7;
  max-width: 560px; margin: 0 auto 32px;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-trust {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-size: 12px; color: var(--muted); font-weight: 500;
}

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.features-section,
.how-section,
.plans-section,
.destinations-section,
.blog-section,
.cta-section { padding: 64px 0; }

.features-section { background: var(--surface2); }
.plans-section     { background: var(--surface2); }

.section-title {
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  letter-spacing: -.02em; text-align: center; margin-bottom: 40px;
}
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.section-header .section-title { margin-bottom: 0; }
.section-link { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ============================================================
   ФИЧИ
   ============================================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--sh); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--sh-h); border-color: var(--border-h); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--muted); margin: 0; }

/* ============================================================
   КАК РАБОТАЕТ
   ============================================================ */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; text-align: center;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-l); color: var(--accent);
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--muted); margin: 0; }

/* ============================================================
   ТАРИФЫ
   ============================================================ */
.plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; align-items: stretch;
}
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--sh); display: flex; flex-direction: column;
  position: relative;
}
.plan-card.plan-featured {
  border-color: var(--accent);
  background: var(--surface);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px;
  white-space: nowrap;
}
.plan-name  { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.plan-price { font-size: 36px; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.plan-price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan-features li { font-size: 14px; padding: 6px 0; border-top: 1px solid var(--border); color: var(--text); }
.plan-features li.muted { color: var(--muted2); }
.plan-card .btn-primary,
.plan-card .btn-outline { width: 100%; justify-content: center; }

/* ============================================================
   НАПРАВЛЕНИЯ
   ============================================================ */
.destinations-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.destination-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--sh); text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.destination-card:hover { transform: translateY(-2px); box-shadow: var(--sh-h); border-color: var(--border-h); text-decoration: none; }
.dest-emoji { font-size: 24px; flex-shrink: 0; }
.dest-info  { flex: 1; }
.dest-route { display: block; font-size: 14px; font-weight: 600; }
.dest-iata  { display: block; font-size: 11px; color: var(--muted); font-family: monospace; margin-top: 2px; }
.dest-arrow { color: var(--muted); }

/* ============================================================
   БЛОГ
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-h); }
.blog-card-img img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-meta  { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 16px; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p  { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   CTA БЛОК
   ============================================================ */
.cta-section { text-align: center; }
.cta-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 32px;
  box-shadow: var(--sh); max-width: 600px; margin: 0 auto;
}
.cta-box h2 { font-size: 28px; margin-bottom: 12px; }
.cta-box p  { color: var(--muted); margin-bottom: 24px; }

/* ============================================================
   КОНТЕНТ СТРАНИЦ
   ============================================================ */
.site-main { padding-top: 3px; }

.content-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 40px; padding: 48px 0;
}
.entry-content { padding: 48px 0; }
.entry-title { font-size: clamp(24px, 4vw, 36px); margin-bottom: 16px; }
.entry-thumbnail { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.entry-thumbnail img { width: 100%; }
.entry-content h2 { font-size: 22px; margin: 32px 0 12px; }
.entry-content h3 { font-size: 18px; margin: 24px 0 10px; }
.entry-content p  { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 16px 0 16px 20px; }
.entry-content li { margin-bottom: 6px; }
.post-meta { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.post-meta a { color: var(--muted); }

/* Хлебные крошки */
.breadcrumbs { margin: 24px 0 0; }
.breadcrumbs ol { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumbs li { font-size: 12px; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Post cards */
.posts-grid { display: grid; gap: 24px; }
.post-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh); }
.post-thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-body  { padding: 20px 24px; }
.post-title { font-size: 18px; margin-bottom: 8px; }
.post-title a { color: var(--text); text-decoration: none; }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 14px; color: var(--muted); }
.btn-read-more { font-size: 13px; font-weight: 600; color: var(--accent); }

/* CTA внутри статьи */
.post-cta-box {
  background: var(--accent-l); border: 1px solid rgba(26,110,245,.2);
  border-radius: var(--radius); padding: 24px; margin: 32px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-cta-box p { margin: 0; font-weight: 600; }

/* Сайдбар */
.content-sidebar { padding-top: 48px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }

/* Архив */
.archive-header { padding: 48px 0 0; }
.archive-header h1 { font-size: 32px; margin-bottom: 8px; }
.archive-desc { color: var(--muted); margin-bottom: 32px; }

/* Навигация по постам */
.nav-links { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.nav-links a, .nav-links span {
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text);
}
.nav-links .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.nav-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 48px 0 0; margin-top: 64px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-logo { margin-bottom: 10px; }
.footer-desc { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.btn-tg-footer {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tg-l); border: 1.5px solid rgba(42,171,238,.25);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--tg-text); text-decoration: none;
}
.btn-tg-footer svg { width: 16px; height: 16px; fill: var(--tg); }
.btn-tg-footer:hover { text-decoration: none; background: rgba(42,171,238,.18); }

.footer-nav ul  { list-style: none; margin: 0; padding: 0; }
.footer-nav li  { margin-bottom: 8px; }
.footer-nav a   { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

.footer-widget-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: var(--muted2); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding-right: 56px; /* место под toggle */ }
  .main-navigation { order: 3; width: 100%; display: none; }
  .main-navigation.open { display: block; }
  #primary-menu { flex-direction: column; padding: 8px 0; }
  .menu-toggle { display: flex; }
  .btn-tg-header { display: none; }
  .hero-section { padding: 48px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-cta-box { flex-direction: column; }
  .section-header { flex-direction: column; gap: 12px; text-align: center; }
  /* Toggle — абсолютно позиционирован, не ломает flex-строку с логотипом */
  .theme-toggle { position: absolute; top: 14px; right: 12px; transform: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 28px; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .destinations-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO — ДВУХКОЛОНОЧНЫЙ LAYOUT
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-main-row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hero-content {
  flex: 1;
  text-align: left;
  padding-top: 12px;
}

/* Убираем центрирование у старых правил для hero-content */
.hero-content .hero-badge,
.hero-content .hero-actions,
.hero-content .hero-trust { justify-content: flex-start; }

.hero-right-col {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

/* ============================================================
   PASSPORT STAMP
   ============================================================ */
.passport-stamp-wrap {
  position: absolute;
  top: 24px;
  right: -20px;
  width: 200px;
  height: 200px;
  color: var(--accent);
  opacity: .08;
  pointer-events: none;
  z-index: 0;
  transform: rotate(18deg);
  transition: opacity .3s;
}
[data-theme="dark"] .passport-stamp-wrap { opacity: .12; }
.passport-stamp-svg { width: 100%; height: 100%; }

/* ============================================================
   ROUTE CARD (анимация маршрута)
   ============================================================ */
.route-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px 10px;
  box-shadow: var(--sh);
  position: relative;
  z-index: 1;
}

.route-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.route-card-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: flex;
  align-items: center;
}

.route-card-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  font-family: monospace;
  background: var(--accent-l);
  border-radius: 6px;
  padding: 2px 8px;
}

.route-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  color: var(--text);
}

/* ============================================================
   WEATHER CARD
   ============================================================ */
.weather-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--sh);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .weather-card {
  background: linear-gradient(135deg, #0f1420 0%, #141929 100%);
  border-color: rgba(0,194,255,.12);
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.weather-dest-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-flag { font-size: 22px; line-height: 1; }

.weather-city {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.weather-iata {
  font-size: 10px;
  color: var(--muted);
  font-family: monospace;
  margin-top: 1px;
}

.weather-main-temp {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-temp {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -.03em;
}

.weather-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.weather-icon svg {
  width: 22px;
  height: 22px;
  color: #f59e0b;
  stroke: #f59e0b;
}

.weather-desc {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}

.weather-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.weather-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.weather-stat svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--muted);
}

.btn-attractions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: var(--accent-l);
  border: 1.5px solid var(--border-h);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-attractions:hover {
  background: rgba(0,194,255,.15);
  border-color: var(--accent);
  text-decoration: none;
}
[data-theme="light"] .btn-attractions:hover { background: var(--accent-l); }
.btn-attractions svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ============================================================
   HERO АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .hero-right-col { flex: 0 0 280px; }
}

@media (max-width: 768px) {
  .hero-main-row {
    flex-direction: column;
    gap: 32px;
  }
  .hero-content { text-align: center; }
  .hero-content .hero-badge,
  .hero-content .hero-actions,
  .hero-content .hero-trust { justify-content: center; }
  .hero-right-col { flex: 0 0 auto; width: 100%; }
  .passport-stamp-wrap { width: 130px; height: 130px; right: -10px; top: 10px; }
}

/* ============================================================
   ROUTE PAGE — hero с IATA кодами
   ============================================================ */
.route-page { position: relative; }

.route-hero { display: none; } /* заменён rv2-hero */

/* ── ROUTE HERO v2 (аналог city cv2-hero) ─────────────────── */
.rv2-hero { padding-top: 28px; }

.rv2-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr 260px;
  gap: 14px;
  align-items: stretch;
}

/* Title block */
.rv2-title-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .rv2-title-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(0,194,255,.07) 0%, transparent 60%);
  pointer-events: none;
}
.rv2-route-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.rv2-iata-origin {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  border-radius: 4px;
  padding: 3px 8px;
}
.rv2-iata-dest {
  background: var(--surface2);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  border-radius: 4px;
  padding: 3px 8px;
  border: 1px solid var(--border);
}
.rv2-arrow { font-size: 18px; color: var(--accent); font-weight: 300; }
.rv2-cities {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  flex-wrap: wrap;
}
.rv2-cities-sep { color: var(--muted); font-weight: 300; }
.rv2-price-hero {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--green);
  line-height: 1.1;
  margin: 6px 0 2px;
}
.rv2-price-hero span { font-size: 0.6em; font-weight: 700; color: var(--green); }
.rv2-price-hero.rv2-price-na { font-size: 18px; color: var(--muted); }
.rv2-price-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.rv2-cta-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}
.rv2-btn-aviasales {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.rv2-btn-aviasales:hover { background: var(--accent-h); transform: translateY(-1px); color: #fff; }
.rv2-btn-track {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 16px; border-radius: 10px;
  border: 1px solid rgba(0,194,255,.35);
  background: rgba(0,194,255,.08);
  color: var(--accent);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.rv2-btn-track:hover { background: rgba(0,194,255,.16); border-color: rgba(0,194,255,.6); }
.rv2-direct-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  margin-top: 8px;
}

/* Map block */
.rv2-map-block {
  background: #070d1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
[data-theme="light"] .rv2-map-block { background: #dce8f5; }
/* Фильтр на SVG, а не на canvas — чтобы letterbox-зоны не инвертировались */
[data-theme="light"] .rv2-map-canvas svg { filter: invert(1) hue-rotate(183deg) brightness(1.05) saturate(0.65); }
.rv2-map-canvas { flex: 1; min-height: 0; overflow: hidden; position: relative; }
.rv2-btn-reverse {
  display: block;
  margin-top: 8px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  transition: color .18s, border-color .18s, background .18s;
  letter-spacing: .02em;
}
.rv2-btn-reverse:hover { color: var(--accent); border-color: rgba(0,194,255,.35); background: rgba(0,194,255,.06); }
/* старый footer оставляем скрытым на случай если где-то есть */
.rv2-map-footer {
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 7px 12px 9px;
  border-top: 1px solid rgba(0,194,255,.08);
  flex-shrink: 0;
}
.rv2-reverse-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(0,194,255,.65);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(0,194,255,.2);
  border-radius: 4px;
  transition: color .18s, border-color .18s, background .18s;
}
.rv2-reverse-btn:hover {
  color: #00c2ff;
  border-color: rgba(0,194,255,.5);
  background: rgba(0,194,255,.06);
}

/* Responsive */
@media (max-width: 1100px) {
  .rv2-hero-grid {
    grid-template-columns: 1fr 240px;
    grid-template-rows: auto auto;
  }
  .rv2-map-block { grid-column: 1 / -1; grid-row: 2; min-height: 220px; }
  .cv2-stats-col { flex-direction: column; }
}
@media (max-width: 768px) {
  .rv2-hero-grid { grid-template-columns: 1fr; }
  .rv2-map-block { min-height: 200px; grid-column: 1; grid-row: auto; }
  .cv2-stats-col { flex-direction: row !important; }
  .cv2-stat-card { flex: 1; }
  .cv2-stat-val  { font-size: 18px; }
}
@media (max-width: 480px) {
  .cv2-stats-col { flex-wrap: nowrap; gap: 6px; }
  .cv2-stat-card { padding: 8px 10px; }
  .cv2-stat-val  { font-size: 15px; }
  .rv2-price-hero { font-size: 28px; }
}

/* Штамп: по центру вверху, выше arc-области, полупрозрачный */
.route-stamp-wrap {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  width: 160px;
  height: 160px;
  color: var(--accent);
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .route-stamp-wrap { opacity: .14; }
.route-stamp-svg { width: 100%; height: 100%; }

/* IATA row */
.route-iata-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.route-city {
  flex: 0 0 auto;
  min-width: 0;
}
.route-city--dest { text-align: right; }

.iata-code {
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.city-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}

.airport-sub {
  font-size: 11px;
  color: var(--muted);
  font-family: monospace;
  margin-top: 2px;
}

/* Arc SVG */
.route-arc-wrap { flex: 1; position: relative; }
.route-arc-svg { width: 100%; height: auto; overflow: visible; display: block; }

/* Мета-пилюли под дугой */
.route-meta-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.route-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.route-meta-pills svg {
  width: 13px;
  height: 13px;
  fill: var(--muted);
  flex-shrink: 0;
}

/* ============================================================
   СЕКЦИЯ ЦЕН
   ============================================================ */
.route-price-section {
  padding: 32px 0;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Цена */
.price-block {}
.price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.price-value {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 10px;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.price-badge.good { background: var(--green-l); color: var(--green); }
.price-badge.bad  { background: rgba(229,57,53,.1); color: var(--red); }
.price-badge      { background: var(--surface); color: var(--muted); }
.price-meta { font-size: 12px; color: var(--muted); }

/* Индекс цены */
.price-index-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--sh);
}
.widget-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.index-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.index-value span { font-size: 16px; color: var(--muted); font-weight: 500; }
.index-desc { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

.index-bar-wrap { margin-bottom: 4px; }
.index-bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red) 0%, #f59e0b 40%, var(--green) 80%);
  margin-bottom: 6px;
}
.index-bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: transparent;
}
.index-bar-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  background: var(--surface);
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-l);
}
.index-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
}

/* Виджет время/виза */
.timevisa-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--sh);
}
[data-theme="dark"] .timevisa-widget {
  background: linear-gradient(135deg, #0f1420 0%, #121a2b 100%);
  border-color: rgba(0,194,255,.12);
}
.tv-city-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.tv-city { font-size: 13px; font-weight: 700; color: var(--text); }
.tv-tz   { font-size: 11px; color: var(--muted); font-family: monospace; }
.tv-time {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  font-family: monospace;
}
.tv-time-sub { font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.tv-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.tv-visa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.tv-visa--free     { background: var(--green-l); color: var(--green); }
.tv-visa--arrival  { background: rgba(245,158,11,.1); color: #f59e0b; }
.tv-visa--required { background: rgba(229,57,53,.1); color: var(--red); }
.tv-passport { font-size: 11px; color: var(--muted); }

/* Инфо-пилюли */
.info-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.info-pill svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--accent); }

/* Визуально скрытый, но доступный для поисковиков и скринридеров */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* SEO-абзац под прайс-секцией */
.route-seo-intro {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--card-bg, rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.route-seo-intro p { margin: 0; }
.route-seo-intro strong { color: var(--text); }

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.route-stats-section { padding: 32px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--sh);
}
.stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-value.down   { color: var(--green); }
.stat-value.up     { color: var(--red); }
.stat-value.accent { color: var(--accent); }
.stat-sub { font-size: 11px; color: var(--muted); }
.sparkline { width: 100%; height: 28px; display: block; margin-top: 10px; }

/* ============================================================
   LIVE TICKER
   ============================================================ */
.live-ticker {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: sticky;
  bottom: 0;
  z-index: 50;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: ticker-scroll 40s linear infinite;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  padding-left: 100%;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: blink 2s infinite;
  flex-shrink: 0;
}
.ticker-sep { color: var(--border-h); opacity: .5; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   ROUTE PAGE АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .price-main-row { grid-template-columns: 1fr 1fr; }
  .timevisa-widget { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .iata-code { font-size: clamp(36px, 12vw, 64px); }
  .route-iata-row { gap: 6px; }
  .route-meta-pills { gap: 10px; }
  .price-main-row { grid-template-columns: 1fr; }
  .route-stamp-wrap { width: 110px; height: 110px; opacity: .06; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .live-ticker { position: static; }
  .info-pills { gap: 8px; }
  .info-pill { font-size: 11px; padding: 5px 10px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .route-arc-svg { min-height: 60px; }
  .price-value { font-size: 32px; }
  .tv-time { font-size: 28px; }
}

/* ============================================================
   HUB / CITY — сетка маршрутов
   ============================================================ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

/* Карточка-ссылка (расширяет базовый .route-card для HUB/CITY) */
a.route-card--link {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.route-card--link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--sh-h);
  color: var(--text);
}

.route-card__title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.route-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.route-card__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 600px) {
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .routes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v2.4 — ROUTE PAGE TWO-COLUMN LAYOUT
   ============================================================ */
.route-two-col-section {
  padding: 32px 0 80px;
  position: relative;
}

/* Glow-эффекты за блоками (только тёмная тема) */
[data-theme="dark"] .route-two-col-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,194,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}
[data-theme="dark"] .route-two-col-section::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,194,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.route-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.route-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.route-sidebar {
  position: sticky;
  top: 74px; /* header height ~70px + gap */
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--sh);
}

/* TG-виджет */
.sw-tg-icon { font-size: 30px; margin-bottom: 10px; }
.sw-tg-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.sw-tg-sub { font-size: 12px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.sw-tg-btn {
  width: 100%;
  justify-content: center;
  background: var(--tg) !important;
  font-size: 13px;
}
.sw-tg-btn:hover { background: #1d9bd1 !important; }
.sw-tg-btn svg { fill: #fff; }

/* Price Probability */
.sw-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.prob-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.prob-pct-up { color: var(--red); font-weight: 700; font-size: 13px; }
.prob-pct-dn { color: var(--green); font-weight: 700; font-size: 13px; }
.prob-track {
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}
.prob-fill-up { height: 100%; background: var(--red); border-radius: 2px; }
.prob-fill-dn { height: 100%; background: var(--green); border-radius: 2px; }
.prob-rec {
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.prob-rec.rec-buy  { background: var(--green-l); color: var(--green); }
.prob-rec.rec-wait { background: rgba(245,158,11,.1); color: #d4880a; }

/* Route Stats 4 */
.stats4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.s4-item { text-align: center; }
.s4-val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.1;
}
.s4-val.accent { color: var(--accent); }
.s4-lbl {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.3;
}

/* Spy Activity */
.spy-feed { margin-top: 10px; }
.spy-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.spy-item:last-child { border-bottom: none; padding-bottom: 0; }
.spy-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  animation: blink 2s infinite;
}
.spy-info { flex: 1; color: var(--muted); line-height: 1.45; }
.spy-name { font-weight: 700; color: var(--text); }
.spy-time {
  font-size: 10px;
  color: var(--muted2);
  white-space: nowrap;
  margin-top: 1px;
}

/* ============================================================
   STATS BENTO (замена stats-grid в двухколоночном layout)
   ============================================================ */
.stats-bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.stats-bento .stat-card { padding: 18px; }

/* ============================================================
   FLIGHT SCHEDULE PLACEHOLDER
   ============================================================ */
.flight-schedule-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh);
}
.fsb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.fsb-title { font-size: 14px; font-weight: 700; color: var(--text); }
.fsb-live-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--green-l);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .05em;
}
.flight-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
}
.flight-row:hover { background: var(--surface2); text-decoration: none; color: var(--text); }
.flight-row:last-of-type { border-bottom: none; }
.fr-airline {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  font-family: monospace;
  width: 28px;
  flex-shrink: 0;
}
.fr-times {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.fr-time {
  font-size: 15px;
  font-weight: 800;
  font-family: monospace;
  color: var(--text);
  letter-spacing: -.02em;
}
.fr-arrow { font-size: 11px; color: var(--muted2); }
.fr-dur { font-size: 10px; color: var(--muted2); margin-left: 4px; }
.fr-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.fr-cta {
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-l);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.fsb-footer { padding: 12px 20px; }
.btn-all-flights {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 10px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s;
}
.btn-all-flights:hover { background: var(--accent-l); text-decoration: none; }

/* ============================================================
   30d PRICE CHART
   ============================================================ */
.price-chart-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 16px;
  box-shadow: var(--sh);
}
[data-theme="dark"] .price-chart-block { border-color: rgba(0,194,255,.12); }
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}
.chart-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.chart-sub { font-size: 11px; color: var(--muted); }
.chart-trend-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.chart-trend-badge.down { background: var(--green-l); color: var(--green); }
.chart-trend-badge.up   { background: rgba(229,57,53,.1); color: var(--red); }
.chart-trend-badge.flat { background: var(--surface2); color: var(--muted); }
.price-chart-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ============================================================
   AEROSPY INSIGHT
   ============================================================ */
.insight-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--sh);
  position: relative;
}
[data-theme="dark"] .insight-block { border-color: rgba(0,194,255,.15); }
.insight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.insight-brand { display: flex; align-items: center; gap: 10px; }
.insight-brand-name { font-size: 14px; font-weight: 700; color: var(--text); }
.insight-brand-sub { font-size: 11px; color: var(--muted); }
.insight-live {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: .04em;
}
.insight-live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}
.insight-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
}
.insight-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.insight-metric-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.insight-metric-track {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.insight-metric-fill { height: 100%; border-radius: 3px; background: var(--accent); }
.insight-metric-val { font-size: 13px; font-weight: 700; color: var(--accent); }
.insight-rec-val { font-size: 15px; font-weight: 800; color: var(--green); }
.insight-rec-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   WEATHER BLOCK FULL ("Дубай сейчас")
   ============================================================ */
.dest-now-section {}
.dest-now-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.weather-card--full {
  padding: 22px 24px;
  box-shadow: var(--sh);
}
.wf-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.wf-city-name  { font-size: 16px; font-weight: 700; color: var(--text); }
.wf-city-date  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.wf-country-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-family: monospace;
  padding: 2px 8px;
  background: var(--surface2);
  border-radius: 4px;
}
.wf-temp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.wf-temp-big {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
}
.wf-icon-big { font-size: 38px; line-height: 1; }
.wf-temp-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }
.wf-stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.wf-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.wf-stat-em { font-size: 13px; }
.wf-forecast {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.wf-fc-day { text-align: center; flex: 1; }
.wf-fc-dn  { font-size: 10px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.wf-fc-ic  { font-size: 16px; margin-bottom: 3px; }
.wf-fc-tmp { font-size: 12px; font-weight: 700; color: var(--text); }

/* ============================================================
   HEATMAP CALENDAR
   ============================================================ */
.heatmap-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--sh);
}
.heatmap-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.heatmap-sub   { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.heatmap-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.heatmap-wd {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  padding: 4px 2px;
}
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.hc-day {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
  transition: transform .1s;
}
.hc-day:hover { transform: scale(1.08); }
.hc-day.hc-empty { background: transparent; }
.hc-day.hc-nodata { background: var(--surface2); color: var(--muted2); }
.hc-day.hc-cheap {
  background: rgba(16,185,129,.2);
  color: #0a9e6c;
  border: 1px solid rgba(16,185,129,.25);
}
.hc-day.hc-mid {
  background: rgba(245,158,11,.18);
  color: #b87a0a;
  border: 1px solid rgba(245,158,11,.22);
}
.hc-day.hc-expensive {
  background: rgba(229,57,53,.18);
  color: var(--red);
  border: 1px solid rgba(229,57,53,.2);
}
.hc-day.hc-today {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
[data-theme="dark"] .hc-day.hc-cheap     { background: rgba(16,185,129,.15);  color: var(--green); }
[data-theme="dark"] .hc-day.hc-mid       { background: rgba(245,158,11,.12);  color: #f59e0b; }
[data-theme="dark"] .hc-day.hc-expensive { background: rgba(229,57,53,.12);  color: var(--red); }
[data-theme="dark"] .hc-day.hc-nodata    { background: rgba(255,255,255,.04); color: var(--muted2); }
.heatmap-legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hl-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.hl-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.hl-dot.cheap { background: rgba(16,185,129,.35); }
.hl-dot.mid   { background: rgba(245,158,11,.35); }
.hl-dot.exp   { background: rgba(229,57,53,.35); }

/* ============================================================
   INTELLIGENCE REPORT
   ============================================================ */
.intel-report {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--sh);
}
[data-theme="dark"] .intel-report { border-color: rgba(0,194,255,.12); }
.intel-report-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.intel-report-ic    { font-size: 13px; }
.intel-report-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
}
.intel-report-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-l);
  color: var(--accent);
  border: 1px solid var(--border-h);
}
.intel-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.intel-item:last-child { border-bottom: none; padding-bottom: 0; }
.intel-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted2);
  font-family: monospace;
  flex-shrink: 0;
  padding-top: 1px;
  min-width: 18px;
}
.intel-item-ic   { font-size: 14px; flex-shrink: 0; padding-top: 1px; }
.intel-item-text {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}
.intel-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
  flex-shrink: 0;
}
.intel-badge.tip      { background: var(--accent-l); color: var(--accent); }
.intel-badge.new      { background: var(--green-l); color: var(--green); }
.intel-badge.forecast { background: rgba(245,158,11,.1); color: #c87e0a; }
.intel-badge.hot      { background: rgba(229,57,53,.1); color: var(--red); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--sh);
}
.faq-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  gap: 12px;
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .25s, color .25s;
}
.faq-question.faq-open svg { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.faq-answer.faq-open { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   CITY PAGE — v2.4
   ============================================================ */
.aero-city-hero {
  padding: 40px 0 28px;
  position: relative;
}
.city-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-l);
  border: 1px solid rgba(26,110,245,.15);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
[data-theme="dark"] .city-hero-badge { border-color: rgba(0,194,255,.2); }
.city-hero-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.city-hero-sub   { font-size: 15px; color: var(--muted); max-width: 520px; }
.city-stats-row  {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}
.city-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--sh);
}
.city-stat-val { font-size: 16px; font-weight: 800; color: var(--accent); }
.city-stat-lbl { font-size: 11px; color: var(--muted); }

.city-routes-section { padding: 32px 0; }
.city-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.city-section-h2 { font-size: 20px; font-weight: 700; }
.city-section-count { font-size: 13px; color: var(--muted); }

/* Spy Activity в city page */
.city-spy-section  { padding: 0 0 64px; }
.city-spy-grid     { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.city-spy-main     {}
.city-spy-sidebar  {}
.city-spy-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--sh);
}
[data-theme="dark"] .city-spy-block { border-color: rgba(0,194,255,.12); }
.city-spy-feed { display: flex; flex-direction: column; }
.city-spy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.city-spy-item:last-child { border-bottom: none; }
.city-spy-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2s infinite;
}
.city-spy-info { flex: 1; color: var(--muted); }
.city-spy-route { font-weight: 700; color: var(--text); }
.city-spy-price { color: var(--accent); font-weight: 700; }
.city-spy-when  { font-size: 10px; color: var(--muted2); white-space: nowrap; }

/* City TG CTA */
.city-tg-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--sh);
  text-align: center;
}
[data-theme="dark"] .city-tg-cta { border-color: rgba(0,194,255,.12); }
.city-tg-icon { font-size: 28px; margin-bottom: 10px; }
.city-tg-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.city-tg-sub { font-size: 12px; color: var(--muted); margin-bottom: 16px; line-height: 1.55; }
.city-tg-btn { width: 100%; justify-content: center; background: var(--tg) !important; }
.city-tg-btn:hover { background: #1d9bd1 !important; }

/* ============================================================
   v2.4 АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .route-two-col { grid-template-columns: 1fr; }
  .route-sidebar { position: static; }
  .city-spy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .insight-metrics { grid-template-columns: 1fr; }
  .stats-bento { grid-template-columns: repeat(2, 1fr); }
  .wf-forecast { gap: 2px; }
  .city-stats-row { flex-direction: column; gap: 10px; }
}

@media (max-width: 600px) {
  .stats4-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .s4-val { font-size: 15px; }
  .wf-temp-big { font-size: 40px; }
  .hc-day { font-size: 10px; border-radius: 4px; }
  .route-two-col-section { padding: 24px 0 48px; }
}

@media (max-width: 480px) {
  .stats-bento { grid-template-columns: 1fr; }
  .wf-stats-row { gap: 12px; }
  .stats4-grid { grid-template-columns: 1fr 1fr; }
  .intel-item-text { font-size: 12px; }
}

/* ============================================================
   CITY PAGE — дополнительные стили v2.4
   ============================================================ */

/* Хлебные крошки (inline-вариант) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: var(--muted2); }

/* Бейджи в герое */
.iata-tag {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  border-radius: 4px;
  padding: 2px 7px;
}
.spy-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}

/* Двухколоночный лейаут city */
.city-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 32px 0 24px;
}
.city-main-col {}
.city-sidebar {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Заголовок раздела */
.city-routes-section .section-title { margin-bottom: 20px; }

/* Сетка карточек маршрутов */
.city-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.city-route-card {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.city-route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-color: var(--accent);
  text-decoration: none;
  color: inherit;
}
[data-theme="dark"] .city-route-card:hover { border-color: rgba(0,194,255,.4); }
.crc-inner { padding: 16px; }
.crc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.crc-iata {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent);
}
.crc-spy-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2.4s infinite;
}
.crc-city {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.crc-price {
  font-size: 12px;
  color: var(--muted);
}
.crc-price strong { color: var(--accent); font-weight: 700; }
.crc-price--na { font-style: italic; }

.city-no-routes {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}

/* Spy Feed — заголовок + badge */
.city-spy-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.city-spy-header .section-title { margin-bottom: 0; font-size: 20px; }
.spy-live-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 20px;
  padding: 2px 9px;
  animation: blink 2s infinite;
}
.city-spy-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Spy feed — строки (переопределяем старые city-spy-item) */
.city-spy-block .city-spy-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.city-spy-block .city-spy-item:last-child { border-bottom: none; }
.spy-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2s infinite;
}
.spy-agent { font-weight: 700; color: var(--text); }
.spy-action { color: var(--muted); }
.spy-direction { color: var(--accent); font-weight: 600; }
.spy-ago { color: var(--muted2); font-size: 10px; margin-left: auto; white-space: nowrap; }

/* О сервисе */
.city-about-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--sh);
  margin-top: 32px;
}
[data-theme="dark"] .city-about-block { border-color: rgba(0,194,255,.1); }
.city-about-block h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.city-about-block p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.city-about-block .btn-primary { margin-top: 6px; }

/* Сайдбар: заголовок виджета */
.sw-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Топ-5 список */
.city-top5-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.city-top5-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  transition: background .15s;
}
.city-top5-item a:hover { background: var(--accent-l); color: inherit; }
.t5-city { color: var(--text); }
.t5-price { color: var(--accent); font-weight: 700; font-size: 12px; }

/* Факты */
.city-facts-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.city-facts-list strong { color: var(--text); }

/* sw-tg-text — алиас для sw-tg-sub */
.sw-tg-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

/* Адаптив city */
@media (max-width: 1024px) {
  .city-two-col {
    grid-template-columns: 1fr;
  }
  .city-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .city-sidebar .sidebar-widget { flex: 1 1 260px; }
}

@media (max-width: 640px) {
  .city-routes-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .city-two-col { padding: 20px 0 40px; gap: 28px; }
  .city-sidebar { flex-direction: column; }
}

/* ============================================================
   CITY PAGE v2.5 — Bento Grid & Spy UI
   ============================================================ */

/* Bento hero */
.city-hero-bento { padding: 30px 0 40px; }

.breadcrumb-minimal {
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
}
.breadcrumb-minimal a { color: inherit; text-decoration: none; transition: color .2s; }
.breadcrumb-minimal a:hover { color: var(--accent); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}
.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
}
.bento-main h1 { font-size: 36px; font-weight: 800; margin: 12px 0; line-height: 1.1; letter-spacing: -0.02em; }
.bento-header { display: flex; align-items: center; gap: 12px; }

/* IATA tag переопределён для bento (темнее, контрастнее) */
.bento-header .iata-tag {
  background: var(--text); color: var(--surface);
  padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: 14px;
}

/* Live pulse */
.live-pulse {
  font-size: 11px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; gap: 6px;
}
.live-pulse::before {
  content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%;
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0%   { transform: scale(.95); box-shadow: 0 0 0 0 rgba(229,57,53,.7); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 10px rgba(229,57,53,0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}

.subtext { color: var(--muted); font-size: 16px; margin-bottom: 24px; max-width: 90%; }

/* Bento cells — weather / stat / time */
.bw-label, .bs-label, .bt-label {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px;
}
.bw-temp, .bs-val, .bt-val { font-size: 32px; font-weight: 800; color: var(--text); line-height: 1; }
.bw-meta { margin-top: 10px; display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.bs-trend { font-size: 12px; margin-top: 10px; padding: 4px 8px; border-radius: 6px; display: inline-block; }
.bs-trend.up { background: var(--green-l); color: var(--green); }
.bt-city { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Content wrapper под bento */
.content-wrapper { padding: 0 0 24px; }

/* Section head */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-head h2 { font-size: 24px; font-weight: 800; margin: 0; }

/* Intel badge */
.intel-badge {
  background: var(--red); color: #fff; font-size: 10px; font-weight: 800;
  padding: 4px 8px; border-radius: 4px; text-transform: uppercase;
}

/* Intel briefing grid */
.intel-briefing { margin-bottom: 40px; }
.intel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intel-card {
  background: var(--surface2); padding: 20px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.ic-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.ic-desc { font-size: 14px; color: var(--muted); }
.ic-desc strong { color: var(--text); }

/* Routes grid v2 */
.routes-section { margin-bottom: 40px; }
.city-routes-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.route-card-v2 {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
  text-decoration: none; color: inherit;
  display: flex; align-items: center; gap: 16px; transition: all .2s;
}
.route-card-v2:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh); color: inherit; }
.rc-iata {
  background: var(--surface2); width: 48px; height: 48px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: var(--accent); flex-shrink: 0;
}
.rc-info { flex: 1; min-width: 0; }
.rc-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-price { font-size: 13px; color: var(--green); font-weight: 600; }
.rc-arrow { opacity: .2; font-size: 20px; transition: opacity .2s; flex-shrink: 0; }
.route-card-v2:hover .rc-arrow { opacity: 1; color: var(--accent); }

/* Spy terminal log */
.spy-activity-log {
  background: #0d1117; color: #3fb950;
  border-radius: 12px; overflow: hidden;
  font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px;
  border: 1px solid #30363d;
}
.log-header {
  background: #161b22; padding: 10px 16px;
  border-bottom: 1px solid #30363d; color: #8b949e; font-size: 11px; font-weight: 700;
}
.log-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.log-line { display: flex; gap: 10px; opacity: .9; flex-wrap: wrap; }
.l-time { color: #8b949e; }
.l-user { color: #d29922; }
.l-action { color: #f85149; }
.l-target { color: #58a6ff; }

/* Sidebar */
.spy-widget-tg {
  background: linear-gradient(135deg, var(--tg) 0%, #1c93d1 100%);
  padding: 24px; border-radius: var(--radius); color: #fff; margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(42,171,238,.3);
}
.spy-widget-tg h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.spy-widget-tg p { font-size: 13px; opacity: .9; margin-bottom: 12px; line-height: 1.4; }
/* QR внутри TG-виджета */
.spy-tg-qr-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.spy-tg-qr-row img {
  flex-shrink: 0;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.spy-tg-qr-row span { font-size: 11px; opacity: .85; line-height: 1.4; }
.btn-tg-full {
  display: block; width: 100%; background: #fff; color: var(--tg);
  text-align: center; padding: 11px; border-radius: 10px;
  text-decoration: none; font-weight: 800; font-size: 14px; transition: transform .2s;
}
.btn-tg-full:hover { transform: scale(1.02); }

.eeat-info-block {
  background: var(--surface); border: 1px solid var(--border);
  padding: 20px; border-radius: var(--radius);
}
.eeat-info-block h4 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.eeat-info-block p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Btn-spy */
.btn-spy {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 12px 24px; border-radius: 10px;
  text-decoration: none; font-weight: 700; transition: all .2s;
}
.btn-spy:hover { background: var(--accent-h); transform: translateY(-2px); color: #fff; }

/* Адаптив bento */
@media (max-width: 992px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-main { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-main { grid-column: span 1; grid-row: span 1; }
  .bento-main h1 { font-size: 26px; }
  .intel-grid { grid-template-columns: 1fr; }
  .city-routes-grid-v2 { grid-template-columns: 1fr; }
}

/* ============================================================
   CITY PAGE v3.0 — Tabs, Airports, FAQ, Sidebar Widgets
   ============================================================ */

/* Timezone label in bento-time */
.bt-tz { font-size: 11px; color: var(--muted2); margin-top: 2px; }

/* ─── ROUTE TABS ────────────────────────────────────────────── */
.route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.rtab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.rtab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.rtab.rtab-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.rtab-count {
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}
.rtab:not(.rtab-active) .rtab-count {
  background: var(--surface2);
  color: var(--muted);
}

/* Tab panels */
.route-tab-panel { display: none; }
.route-tab-panel.tab-panel-active { display: block; }

/* Sea / RU / INTL card accents */
.route-card-sea .rc-iata { background: #eafaf3; color: #0ea868; }
.route-card-ru .rc-iata  { background: #eef3fe; color: #1a6ef5; }
.route-card-intl .rc-iata{ background: #fef3e2; color: #d29922; }

/* ─── AIRPORTS SECTION ──────────────────────────────────────── */
.airports-section {
  margin-bottom: 40px;
  margin-top: 40px;
}
.airports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.airport-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .2s;
}
.airport-card:hover { border-color: var(--border-h); }
.ap-iata {
  background: var(--surface2);
  border-radius: 8px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.ap-info { flex: 1; min-width: 0; }
.ap-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ap-type {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.ap-type.intl { background: var(--accent-l); color: var(--accent); }
.ap-type.dom  { background: var(--surface2); color: var(--muted); }
.ap-terminals { font-size: 12px; color: var(--muted); }

/* ─── FAQ SECTION ───────────────────────────────────────────── */
.city-faq {
  margin-top: 40px;
  margin-bottom: 40px;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 20px;
}
.faq-answer.faq-open {
  max-height: 400px;
  padding: 0 20px 16px;
}
.faq-answer p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── SIDEBAR STATS WIDGET ──────────────────────────────────── */
.sidebar-stats-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.ssw-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.ssw-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.ssw-row:last-child { border-bottom: none; }
.ssw-label { color: var(--muted); }
.ssw-val { font-weight: 700; color: var(--text); }
.ssw-val.ssw-green { color: var(--green); }

/* ─── METHODOLOGY WIDGET ────────────────────────────────────── */
.methodology-widget {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}
.mw-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.mw-body { display: flex; flex-direction: column; gap: 12px; }
.mw-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mw-step {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.mw-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 3px;
}

/* ─── АДАПТИВ v3.0 ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .airports-grid { grid-template-columns: 1fr; }
  .route-tabs { gap: 6px; }
  .rtab { padding: 6px 12px; font-size: 12px; }
}
@media (max-width: 640px) {
  .airports-grid { grid-template-columns: 1fr; }
  .faq-q { font-size: 14px; padding: 14px 16px; }
  .faq-answer { padding: 0 16px; }
  .faq-answer.faq-open { padding: 0 16px 14px; }
}

/* ============================================================
   CITY PAGE v2.0 — Tactical Update
   Hero: Tactical Map + Spy Feed Ticker + Quick Track Button
   ============================================================ */

/* ─── HERO GRID ─────────────────────────────────────────────── */
.cv2-hero { padding-top: 28px; }

.cv2-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr 260px;
  gap: 14px;
  align-items: stretch;
  min-height: 360px;
}

/* ─── TITLE BLOCK ───────────────────────────────────────────── */
.cv2-title-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .cv2-title-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(0,194,255,.04) 0%, transparent 70%);
  pointer-events: none;
}
.cv2-title-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cv2-title-block h1 {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  margin: 12px 0 8px;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.cv2-title-sub { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 20px; flex: 1; }
.cv2-system-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 5px;
}
.cv2-system-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ─── TACTICAL MAP BLOCK ────────────────────────────────────── */
.cv2-map-block {
  background: #070d1a;
  border: 1px solid rgba(0,194,255,.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh), 0 0 30px rgba(0,194,255,.05);
  position: relative;
  display: flex;
  flex-direction: column;
}
[data-theme="light"] .cv2-map-block {
  background: #dce8f5;
  border-color: rgba(0,80,160,.15);
}
[data-theme="light"] .cv2-map-canvas { filter: invert(1) hue-rotate(183deg) brightness(1.05) saturate(0.65); }
[data-theme="light"] .cv2-map-header { color: rgba(0,80,160,.7); border-bottom-color: rgba(0,80,160,.12); }
[data-theme="light"] .cv2-map-header-right { color: rgba(0,80,160,.4); }
.cv2-map-header {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(0,194,255,.12);
  font-size: 11px;
  font-weight: 600;
  color: rgba(0,194,255,.7);
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  flex-wrap: wrap;
}
.cv2-map-header-right { color: rgba(0,194,255,.4); font-size: 11px; }

/* ─── MAP VARIANT SWITCHER ──────────────────────────────────── */
.cv2-map-switcher {
  display: flex;
  gap: 4px;
}
.cv2-mv {
  padding: 3px 9px;
  border: 1px solid rgba(0,194,255,.2);
  border-radius: 4px;
  background: transparent;
  color: rgba(0,194,255,.5);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.cv2-mv:hover { border-color: rgba(0,194,255,.5); color: rgba(0,194,255,.8); }
.cv2-mv.active { background: rgba(0,194,255,.12); border-color: var(--accent); color: var(--accent); }

/* ─── MAP CANVASES ──────────────────────────────────────────── */
.cv2-map-canvas { display: none; flex: 1; min-height: 0; overflow: hidden; }
.cv2-map-canvas.cv2-mc-active { display: flex; }
/* SVG внутри canvas заполняет контейнер полностью */
.cv2-map-canvas > svg,
.cv2-map-canvas svg:first-child {
  width: 100% !important;
  height: 100% !important;
  display: block;
  flex: 1;
}

.cv2-tac-map {
  width: 100%;
  flex: 1;
  display: block;
}

/* SVG sweep animation */
.cv2-sweep-line {
  transform-box: fill-box;
  animation: cv2-sweep 5s linear infinite;
}
/* transform-origin set via SVG attribute */
@keyframes cv2-sweep { from { opacity: .25; } to { opacity: .25; } } /* driven by JS rotation */

.cv2-origin-pulse {
  animation: cv2-origin-anim 2s ease-out infinite;
}
@keyframes cv2-origin-anim {
  0%   { r: 4;  stroke-opacity: .8; }
  100% { r: 20; stroke-opacity: 0; }
}

/* ─── QUICK STATS COLUMN ────────────────────────────────────── */
.cv2-stats-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
/* Карточки внутри stats-col заполняют доступную высоту равномерно */
.cv2-stats-col > * { flex: 1 1 0; min-height: 0; }
.cv2-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--sh);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cv2-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.cv2-stat-val {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  font-family: inherit;
  letter-spacing: -.02em;
}
.cv2-stat-val.accent { color: var(--accent); }
.cv2-stat-val.green  { color: var(--green); }
.cv2-stat-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
/* Split stat card (два города в одной карточке) */
.cv2-stat-card--split {
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  gap: 0;
}
.cv2-stat-side {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.cv2-stat-side + .cv2-stat-side {
  border-left: 1px solid rgba(255,255,255,.06);
}
.cv2-stat-side--origin .cv2-stat-label { color: rgba(255,255,255,.22); }
.cv2-stat-side--origin .cv2-stat-val { font-size: 17px; color: var(--muted); }
.cv2-stat-side--origin .cv2-stat-meta { font-size: 10px; }

/* ─── TWO-COL INFO CARD (время + погода) ────────────────────── */
.cv2-twocol-card {
  display: flex !important;
  flex-direction: row !important;
  padding: 0 !important;
  align-items: stretch;
  gap: 0 !important;
  flex: 1;
}
.cv2-tcol {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.cv2-tcol-divider {
  width: 1px;
  background: rgba(255,255,255,.07);
  align-self: stretch;
  flex-shrink: 0;
}
.cv2-tcol-iata {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}
.cv2-tcol-iata--dest  { color: var(--accent); }
.cv2-tcol-iata--origin { color: var(--muted); }
.cv2-tcol-city {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv2-tcol--origin .cv2-tcol-city { color: var(--muted); font-weight: 600; }
.cv2-tcol-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -.02em;
  line-height: 1;
  margin-top: 4px;
}
.cv2-tcol--origin .cv2-tcol-time { color: var(--text); font-size: 16px; }
.cv2-tcol-tz {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-mono);
  margin-left: 1px;
  align-self: flex-end;
  padding-bottom: 1px;
}
.cv2-tcol-weather {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
  line-height: 1;
}
.cv2-tcol--origin .cv2-tcol-weather { color: var(--muted); font-size: 15px; }

/* ─── QR CARD ────────────────────────────────────────────────── */
.cv2-qrcard {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px !important;
}
.cv2-qr-canvas-wrap {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,194,255,.2);
  box-shadow: 0 0 14px rgba(0,194,255,.14);
}
[data-theme="light"] .cv2-qr-canvas-wrap {
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.cv2-qr-canvas-wrap canvas,
.cv2-qr-canvas-wrap img {
  display: block !important;
  border-radius: 5px;
}
.cv2-qr-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cv2-qr-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.cv2-qr-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.cv2-qr-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: .02em;
}
.cv2-qr-btn:hover { color: #fff; }

/* ─── SPY FEED TICKER ────────────────────────────────────────── */
.cv2-spy-ticker {
  margin-top: 12px;
  margin-bottom: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
}
.cv2-ticker-label {
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  font-family: var(--font-mono);
  background: var(--surface2);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.cv2-ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.cv2-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  animation: cv2-ticker-scroll 40s linear infinite;
  padding-left: 20px;
}
.cv2-ticker-track:hover { animation-play-state: paused; }
.cv2-ticker-msg { padding: 0 28px; }
.cv2-ticker-msg .ok   { color: var(--green); font-weight: 700; }
.cv2-ticker-msg .info { color: var(--accent); font-weight: 700; }
.cv2-ticker-msg .warn { color: #d29922; font-weight: 700; }
@keyframes cv2-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── ROUTE CARDS — QUICK TRACK BUTTON ──────────────────────── */
.route-card-v2.cv2-card {
  cursor: pointer;
}
.rc-track-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
  font-size: 15px;
  line-height: 1;
}
.rc-track-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.route-card-v2.cv2-card:hover .rc-track-btn {
  border-color: var(--border-h);
  color: var(--accent);
}

/* Акцент карточек по категории (dark override) */
[data-theme="dark"] .route-card-sea .rc-iata  { background: rgba(16,185,129,.12); color: #10b981; }
[data-theme="dark"] .route-card-ru  .rc-iata  { background: rgba(0,194,255,.1);   color: #00c2ff; }
[data-theme="dark"] .route-card-intl .rc-iata { background: rgba(210,153,34,.1);  color: #d29922; }

/* ─── RESPONSIVE v2.0 ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .cv2-hero-grid {
    grid-template-columns: 1fr 240px;
    grid-template-rows: auto auto;
  }
  .cv2-map-block { grid-column: 1 / -1; grid-row: 2; min-height: 220px; }
  .cv2-stats-col { flex-direction: column; }
}
@media (max-width: 768px) {
  .cv2-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .cv2-map-block { grid-column: 1; grid-row: 2; min-height: 200px; }
  .cv2-stats-col { flex-direction: row; grid-row: 3; }
  .cv2-stat-card { flex: 1; }
  .cv2-stat-val  { font-size: 18px; }
}
@media (max-width: 480px) {
  /* Статы в одну строку на мобайле — убираем колонку */
  .cv2-stats-col { flex-direction: row; flex-wrap: nowrap; gap: 6px; }
  .cv2-stat-card { flex: 1; padding: 8px 10px; min-width: 0; }
  .cv2-stat-val  { font-size: 15px; }
  .cv2-stat-label { font-size: 10px; }
  .cv2-stat-meta  { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cv2-tac-map   { min-height: 180px; }
}

/* ============================================================
   CITY v2.0 — Intelligence Data Cards (id-)
   Filter chips, sort toggle, id-card grid, sparkline, trend
   ============================================================ */

/* ─── FILTER BAR ─────────────────────────────────────────────── */
.id-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}

.id-filter-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  font-family: inherit;
  white-space: nowrap;
}
.id-filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.id-filter-chip.active {
  background: rgba(0,194,255,.12);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.id-filter-chip span {
  opacity: .6;
  font-size: 11px;
  margin-left: 2px;
}
.chip-sun {
  font-size: 13px;
  color: #f59e0b;
  vertical-align: middle;
  margin-right: 3px;
  line-height: 1;
}
.chip-flag {
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 2px;
  flex-shrink: 0;
}

.id-sort-toggle {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  font-family: var(--font-mono);
  white-space: nowrap;
  flex-shrink: 0;
}
.id-sort-toggle:hover {
  border-color: rgba(255,255,255,.2);
  color: var(--text);
}

/* ─── ROUTES GRID ────────────────────────────────────────────── */
.id-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 12px;
}

/* ─── CARD ───────────────────────────────────────────────────── */
.id-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  color: inherit;
}
.id-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,194,255,.3);
  box-shadow: 0 8px 24px rgba(0,194,255,.07);
}

/* Stretched link — покрывает всю карточку */
.id-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* Контент поверх stretched link */
.id-iata-badge,
.id-card-body,
.id-card-actions { position: relative; z-index: 2; }
/* Тело карточки не перехватывает клики — ссылка (.id-card-link) работает */
.id-card-body { pointer-events: none; }
/* Кнопки внутри тела карточки должны быть кликабельны */
.id-card-actions,
.id-card-actions a,
.id-card-actions button { pointer-events: auto; }

/* Кнопки действий — вертикально, квадрат → разворачивается */
.id-card-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
/* Кнопки: всегда раскрыты, иконка справа, текст слева */
.id-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  width: 100%;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 10px;
  gap: 8px;
  transition: background .2s, border-color .2s, color .2s;
}
.id-btn:hover { text-decoration: none; }

.id-btn-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}
.id-btn-label {
  font-size: 12px;
  font-weight: 700;
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Цвета кнопок — всегда, не только при hover */
.id-btn-as {
  color: #00c2ff;
  border-color: rgba(0,194,255,.35);
  background: rgba(0,194,255,.08);
}
.id-btn-tg {
  color: #f59e0b;
  border-color: rgba(245,158,11,.35);
  background: rgba(245,158,11,.07);
}

/* Hover: лёгкое усиление цвета */
.id-btn-as:hover {
  border-color: rgba(0,194,255,.6);
  background: rgba(0,194,255,.15);
}
.id-btn-tg:hover {
  border-color: rgba(245,158,11,.6);
  background: rgba(245,158,11,.14);
}

/* ─── IATA BADGE (устарел — заменён на id-card-header) ───────── */
.id-iata-badge { display: none; }

/* ─── CARD HEADER — название города + мелкий IATA ───────────── */
.id-card-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.id-iata-small {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  opacity: 0.7;
  flex-shrink: 0;
}

/* LEGACY — оставлено для обратной совместимости */
.id-iata-badge {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 2px;
}

/* ─── CARD BODY ──────────────────────────────────────────────── */
.id-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.id-city-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.id-category-label {
  font-size: 11px;
  font-weight: 500;
  opacity: .85;
  margin-bottom: 4px;
}
.id-price-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.id-price {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.id-trend {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ─── PRICE BADGE ────────────────────────────────────────────── */
.id-price-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.id-price-badge.excellent { background: rgba(16,185,129,.15);  color: #10b981; }
.id-price-badge.good      { background: rgba(0,194,255,.12);   color: var(--accent); }
.id-price-badge.normal    { background: rgba(148,163,184,.12); color: #94a3b8; }
.id-price-badge.expensive { background: rgba(239,68,68,.1);    color: #ef4444; }

/* sparkline и track-btn удалены в v2.1 — заменены на id-card-actions */

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .id-routes-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .id-iata-badge { font-size: 19px; }
}
@media (max-width: 480px) {
  .id-routes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .id-filter-bar { gap: 6px; }
  .id-filter-chip { padding: 5px 10px; font-size: 12px; }
  .id-sort-toggle { margin-left: 0; }
  .id-sparkline { display: none; }
}
@media (max-width: 360px) {
  .id-routes-grid { grid-template-columns: 1fr; }
}
/* Кнопки всегда раскрыты — override не нужен */

/* ============================================================
   ТОП ПО КАТЕГОРИЯМ — cat-top-block (3 колонки)
   ============================================================ */
.cat-top-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.cat-top-row {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.cat-top-row:hover { border-color: var(--border-h); }

.cat-top-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.cat-top-emoji { font-size: 15px; line-height: 1; }
.cat-top-name  { font-size: 13px; font-weight: 700; }

.cat-top-cards {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-top-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
  min-width: 0;
}
.cat-top-card:last-child { border-bottom: none; }
.cat-top-card:hover { background: rgba(0,194,255,.04); color: var(--text); }
.ctc-iata  { font-size: 10px; font-weight: 800; font-family: var(--font-mono); flex-shrink: 0; min-width: 28px; }
.ctc-city  { font-size: 13px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctc-price { font-size: 12px; color: var(--green); font-weight: 700; flex-shrink: 0; white-space: nowrap; }

.cat-top-all {
  display: block;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  text-align: right;
  border-top: 1px solid var(--border);
  transition: color .18s, background .18s;
  margin-top: auto;
}
.cat-top-all:hover { color: var(--accent); background: rgba(0,194,255,.04); }

@media (max-width: 768px) {
  .cat-top-block { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 480px) {
  .cat-top-card { padding: 8px 12px; }
}

/* ============================================================
   ЧТО ПОДЕШЕВЕЛО — drops-section
   ============================================================ */
.drops-section { margin: 32px 0; }
.drops-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.drop-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.drop-card:hover {
  border-color: rgba(16,185,129,.5);
  background: rgba(16,185,129,.05);
  text-decoration: none;
}
.drop-iata {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-width: 28px;
}
.drop-name {
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}
.drop-price {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.drop-change {
  font-size: 13px;
  font-weight: 700;
  color: #10b981;
  white-space: nowrap;
}
.badge-green { background: rgba(16,185,129,.15); color: #10b981; border-color: rgba(16,185,129,.3); }

/* ============================================================
   TRUST & ANALYTICS (Экран 3) — ta-*
   ============================================================ */

/* ─── MARKET ANALYTICS ──────────────────────────────────────── */
.ta-section { margin-bottom: 48px; }

.ta-verified-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16,185,129,.12);
  color: #10b981;
  white-space: nowrap;
}

.ta-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 900px) { .ta-facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ta-facts-grid { grid-template-columns: 1fr; } }

.ta-fact-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ta-fact-top3 { grid-column: span 1; }
@media (max-width: 900px) { .ta-fact-top3 { grid-column: span 2; } }
@media (max-width: 600px) { .ta-fact-top3 { grid-column: span 1; } }

.ta-fact-icon { font-size: 22px; line-height: 1; }
.ta-fact-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.ta-fact-value { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.ta-fact-sub   { font-size: 11px; color: var(--muted); }

.ta-top3-list  { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ta-top3-item  {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
  font-size: 14px;
}
.ta-top3-item:hover { border-color: var(--accent); background: rgba(0,194,255,.05); text-decoration: none; }
.ta-top3-num   { font-size: 12px; font-weight: 700; color: var(--muted); width: 16px; flex-shrink: 0; }
.ta-top3-dest  { flex: 1; font-weight: 600; }
.ta-top3-price { font-weight: 700; color: var(--green); white-space: nowrap; }

/* ─── EXPERT METHODOLOGY ────────────────────────────────────── */
.ta-methodology-section {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 40px;
  position: relative;
}
.ta-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #10b981;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ta-vb-icon { font-size: 14px; }
.ta-methodology-section h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.ta-method-intro { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.ta-method-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .ta-method-points { grid-template-columns: 1fr; } }
.ta-mp {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.ta-mp-icon { font-size: 18px; flex-shrink: 0; }

/* ─── FINAL CTA BANNER ──────────────────────────────────────── */
.ta-cta-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(0,194,255,.08) 0%, rgba(0,194,255,.04) 100%);
  border: 1px solid rgba(0,194,255,.2);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 48px;
}
@media (max-width: 640px) {
  .ta-cta-banner { flex-direction: column; text-align: center; gap: 24px; }
  .ta-cta-qr { order: -1; }
}
.ta-cta-content { flex: 1; }
.ta-cta-content h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.ta-cta-content p  { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.btn-tg-hero {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn-tg-hero:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; color: #fff; }
.ta-cta-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.ta-cta-qr img { border-radius: 8px; border: 1px solid rgba(0,194,255,.2); }
.ta-qr-label { font-size: 11px; color: var(--muted); }

/* ============================================================
   SIDEBAR v2.1 — sw-*
   ============================================================ */

/* Дешевле всего */
.sw-cheap-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}
.swc-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.swc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s;
  font-size: 13px;
  margin-bottom: 4px;
}
.swc-item:hover { background: var(--surface2); text-decoration: none; color: var(--text); }
.swc-rank { font-weight: 800; font-size: 11px; width: 14px; flex-shrink: 0; }
.swc-iata { font-weight: 700; font-size: 12px; width: 32px; flex-shrink: 0; }
.swc-name { flex: 1; color: var(--muted); font-size: 12px; }
.swc-price { font-weight: 700; font-size: 13px; white-space: nowrap; color: var(--green); }
.swc-updated { font-size: 10px; color: var(--muted); margin-top: 8px; opacity: .6; }

/* Когда покупать */
.sw-when-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}
.sww-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.sww-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.sww-icon { flex-shrink: 0; font-size: 14px; }
.sww-tip strong { font-weight: 700; }

/* Другие города */
.sw-hubs-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}
.swh-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.swh-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.swh-city {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, background .2s;
  font-size: 12px;
  background: var(--surface2);
}
.swh-city:hover { border-color: var(--accent); background: rgba(0,194,255,.05); text-decoration: none; color: var(--text); }
.swh-iata { font-weight: 700; font-size: 11px; color: var(--accent); flex-shrink: 0; }
.swh-name { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
