@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

:root {
  --navy-900: #0A1222;
  --navy-800: #0F1B33;
  --navy-700: #152240;
  --navy-600: #1B2A4A;
  --navy-500: #2D4A7A;
  --navy-400: #4A6A9E;
  --navy-300: #7A93BE;
  --navy-200: #B3C1DB;
  --navy-100: #D9E0ED;
  --navy-50:  #F0F3F9;

  --blue-600: #1a56db;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;

  --coral-600: #C44A22;
  --coral-500: #FF6B35;
  --coral-400: #FF8F66;
  --coral-300: #FFB088;
  --coral-100: #FFE8DD;

  --success: #10B981;
  --warning: #F59E0B;
  --error:   #EF4444;
  --info:    #0EA5E9;

  --bg: #F1F3F5;
  --surface: #FFFFFF;
  --border: #e5e7eb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.12);

  /* White-label brand colors (overridden at runtime via JS) */
  --color-primary: #1a56db;
  --color-secondary: #FF6B35;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Roboto', Helvetica, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── HEADER ──────────────────────────────────────────────── */
.header {
  width: 100%;
  height: 72px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #C6C8C8;
}

.header_inner {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand img {
  height: 32px;
  width: auto;
}

.header-navbar ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.header-navbar ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-navbar ul li a:hover,
.header-navbar ul li a.active {
  color: var(--color-primary);
  background: var(--blue-50);
}

.header-widgets {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── HAMBURGER ───────────────────────────────────────────── */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.hamburger-btn:hover {
  background: var(--navy-50);
}

.hamburger-btn .material-icons {
  font-size: 26px;
}

/* ─── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 88vw;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  animation: slideIn 0.25s cubic-bezier(0.4,0,0.2,1);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

.mobile-menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-nav {
  flex: 1;
  padding: 12px 8px;
  overflow-y: auto;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.mobile-menu-link:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}

.mobile-menu-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.mobile-menu-logout,
.mobile-menu-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  transition: all 0.2s;
}

.mobile-menu-logout {
  background: #FEF2F2;
  color: #DC2626;
}

.mobile-menu-logout:hover {
  background: #FEE2E2;
}

.mobile-menu-login {
  background: var(--color-primary);
  color: #fff;
}

.mobile-menu-login:hover {
  background: var(--color-primary);
  filter: brightness(1.1);
}

/* ─── HERO BANNER ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 440px;
  background: linear-gradient(135deg, #1B2A4A 0%, #2D4A7A 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/hero-bg.jpg') center / cover no-repeat;
  opacity: 0.35;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.6) 100%);
}

.hero-orb-1,
.hero-orb-2 {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-title span {
  color: #60a5fa;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ─── SEARCH FORM (new layout) ────────────────────────────── */
.search {
  width: 100%;
}

.search-content {
  width: 100%;
}

/* Top labels row: [pin A] Откуда  [pin B] Куда   Сегодня Завтра */
.sf-labels-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sf-label-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sf-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.sf-pin--a { background: #EF4444; }
.sf-pin--b { background: #2A5FCF; }

.sf-label-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Hero override: white labels */
.atlas-hero .sf-label-text { color: rgba(255,255,255,0.9); }
.atlas-hero .sf-quick-btn { color: rgba(255,255,255,0.8); }
.atlas-hero .sf-quick-btn:hover { color: #fff; }

.sf-quick-dates {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.sf-quick-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #6b7280);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: inherit;
  padding: 0;
  transition: color 0.15s;
}

.sf-quick-btn:hover {
  color: var(--text-primary, #1f2937);
}

/* Input bar: [from] [swap] [to] [date] [submit] */
.sf-bar {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1.5px solid #C6C8C8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sf-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  border-right: 1px solid #C6C8C8;
}

.sf-field--date {
  flex: 0 0 180px;
}

.sf-field input[type=text],
.sf-field input[type=date] {
  border: none;
  border-radius: 0;
  height: 52px;
  font-size: 15px;
  font-weight: 500;
  color: #020A0D;
  padding: 0 16px;
  background: transparent;
  width: 100%;
  box-shadow: none;
}

.sf-field input[type=text]:focus,
.sf-field input[type=date]:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.sf-field input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.sf-field-icon {
  position: absolute;
  left: 12px;
  font-size: 18px;
  color: #9ca3af;
  pointer-events: none;
}

.sf-field--date input {
  padding-left: 16px;
}

/* Swap button */
.sf-swap {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-right: 1px solid #C6C8C8;
  cursor: pointer;
  transition: background 0.15s;
}

.sf-swap .material-icons {
  font-size: 22px;
  color: #22c55e;
}

.sf-swap:hover {
  background: #f0fdf4;
}

/* Submit button */
.sf-submit {
  flex-shrink: 0;
  width: 180px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  letter-spacing: 0.2px;
}

.sf-submit:hover {
  background: var(--color-primary);
  filter: brightness(1.1);
}

/* Keep old input styles for non-search forms (login, profile, etc.) */
input[type=text],
input[type=date],
input[type=password],
input[type=tel] {
  width: 100%;
  border-radius: var(--radius, 8px);
  font-size: 14px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border, #e5e7eb);
  background: var(--surface, #fff);
  color: var(--text-primary, #1f2937);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type=text]:focus,
input[type=date]:focus,
input[type=password]:focus,
input[type=tel]:focus {
  outline: none;
  border-color: var(--blue-500, #2563eb);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

input[type=text]::placeholder,
input[type=date]::placeholder {
  color: var(--text-muted, #9ca3af);
}

input[type=text]:disabled,
input[type=date]:disabled {
  background: var(--navy-50, #f0f3f9);
  color: var(--text-muted, #9ca3af);
  cursor: not-allowed;
}

/* ─── DROPDOWN ────────────────────────────────────────────── */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-height: 220px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown-item:last-child  { border-radius: 0 0 var(--radius) var(--radius); }

.dropdown-item:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}

/* ─── SECTION FEATURES ────────────────────────────────────── */
.features-section {
  padding: 64px 0;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── HOW IT WORKS ────────────────────────────────────────── */
.how-section {
  padding: 64px 0;
  background: var(--navy-600);
  overflow: hidden;
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.how-step {
  text-align: center;
  color: #fff;
}

.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}

.how-step h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.how-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ─── POPULAR ROUTES ──────────────────────────────────────── */
.routes-section {
  padding: 64px 0;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.route-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.route-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 2px 12px rgba(37,99,235,0.1);
  transform: translateY(-1px);
}

.route-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-600);
}

.route-card-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.route-card-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ─── STATS SECTION ───────────────────────────────────────── */
.stats-section {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  padding: 64px 0;
  background: var(--blue-600);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #0B1C3E;
  color: rgba(255,255,255,0.75);
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--blue-400);
}

/* ─── PAGE LAYOUT ─────────────────────────────────────────── */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper main {
  flex: 1;
}

.section-module {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── CARD COMPONENTS ─────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ─── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-active    { background: #D1FAE5; color: #065F46; }
.badge-cancelled { background: #FEE2E2; color: #991B1B; }
.badge-completed { background: #DBEAFE; color: #1E40AF; }
.badge-pending   { background: #FEF3C7; color: #92400E; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--navy-600);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--navy-500);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--blue-400);
  background: var(--blue-50);
  color: var(--blue-600);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--navy-50);
  color: var(--text-primary);
}

.btn-danger {
  background: #FEE2E2;
  color: #DC2626;
}

.btn-danger:hover {
  background: #FECACA;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ─── FORM ELEMENTS ───────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  border-radius: var(--radius);
  font-size: 14px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-select {
  width: 100%;
  border-radius: var(--radius);
  font-size: 14px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ─── LOADING ─────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── DIVIDER ─────────────────────────────────────────────── */
.divider {
  height: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
}

/* ─── FLIGHT FILTERS PANEL ────────────────────────────────── */
.filters-panel {
  margin-top: 12px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.filters-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.filters-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group > label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-group select {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: inherit;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-600);
}

/* ─── BOOKING CARD ────────────────────────────────────────── */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}

.booking-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--navy-200);
}

/* ─── SEAT MAP ────────────────────────────────────────────── */
.seat-free     { background: #EFF6FF; border-color: #93C5FD; color: #1E40AF; }
.seat-selected { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.seat-occupied { background: #F1F5F9; border-color: #CBD5E1; color: #94A3B8; cursor: not-allowed; }

/* ─── RATING STARS ────────────────────────────────────────── */
.star-rating {
  display: flex;
  gap: 4px;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  font-size: 28px;
  color: #D1D5DB;
  transition: color 0.15s, transform 0.15s;
}

.star-btn.active,
.star-btn:hover {
  color: #F59E0B;
  transform: scale(1.1);
}

/* ─── TRUST BALANCE ───────────────────────────────────────── */
.trust-zone-green  { background: #D1FAE5; color: #065F46; border-color: #6EE7B7; }
.trust-zone-yellow { background: #FEF3C7; color: #92400E; border-color: #FCD34D; }
.trust-zone-red    { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }

/* ─── NOTIFICATION DOT ────────────────────────────────────── */
.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  border: 2px solid var(--surface);
}

/* ─── TABS ────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0;
  background: transparent;
  padding: 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.tab-btn.active {
  background: transparent;
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
  font-weight: 600;
}

/* ── Atlas page layout (2-col) ─────────────────────────────── */
.atlas-page {
  max-width: 1232px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.atlas-page__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2A5FCF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.atlas-page__back:hover { text-decoration: underline; }

.atlas-page__title {
  font-size: 28px;
  font-weight: 700;
  color: #020A0D;
  margin-bottom: 24px;
  font-style: italic;
}

.atlas-page__cols {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.atlas-page__sidebar {
  width: 400px;
  flex-shrink: 0;
}

.atlas-page__main {
  flex: 1;
  min-width: 0;
}

/* Thin-bordered blocks */
.atlas-block {
  border: 1px solid #C6C8C8;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 12px;
}

.atlas-block__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 16px;
  border-bottom: 1px solid #C6C8C8;
}

.atlas-block__row:last-child { border-bottom: none; }

.atlas-block__label { font-size: 14px; color: #395462; }
.atlas-block__value { font-size: 14px; font-weight: 600; color: #020A0D; }
.atlas-block__value--blue { color: #2A5FCF; }
.atlas-block__value--bold { font-size: 16px; font-weight: 700; }

.atlas-block__header {
  padding: 12px 16px;
  border-bottom: 1px solid #C6C8C8;
  font-size: 14px;
  color: #395462;
}

.atlas-block__body { padding: 14px 16px; }

/* Trip summary in sidebar */
.atlas-trip-time {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.atlas-trip-time__time {
  font-size: 16px;
  font-weight: 700;
  color: #020A0D;
  min-width: 50px;
}

.atlas-trip-time__city {
  font-size: 15px;
  font-weight: 500;
  color: #020A0D;
}

.atlas-trip-time__dur {
  font-size: 14px;
  color: #395462;
  margin-left: auto;
}

.atlas-trip-time__stop {
  font-size: 13px;
  color: #395462;
  padding-left: 58px;
  margin-top: 2px;
}

/* Full-width button */
.atlas-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: background 0.15s;
}

.atlas-btn--primary { background: #2A5FCF; color: #fff; }
.atlas-btn--primary:hover { background: #1e4db0; }
.atlas-btn--green { background: #1B7348; color: #fff; }
.atlas-btn--green:hover { background: #155d3a; }
.atlas-btn--outline { background: transparent; border: 1px solid #C6C8C8; color: #020A0D; }
.atlas-btn--outline:hover { border-color: #2A5FCF; color: #2A5FCF; }
.atlas-btn--danger { background: transparent; border: 1px solid #FD363B; color: #FD363B; }
.atlas-btn--danger:hover { background: #FFF5F5; }

/* Stop selection card */
.atlas-stop-card {
  border: 1px solid #C6C8C8;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.atlas-stop-card__header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #C6C8C8;
}

.atlas-stop-card__name { flex: 1; font-size: 15px; font-weight: 500; color: #020A0D; }
.atlas-stop-card__close { background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 20px; margin-left: 8px; }
.atlas-stop-card__link { color: #2A5FCF; font-size: 14px; font-weight: 500; text-decoration: none; margin-left: 12px; }
.atlas-stop-card__link:hover { text-decoration: underline; }

.atlas-stop-card__time {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 14px;
  color: #395462;
}

.atlas-stop-card__time strong { font-weight: 700; color: #020A0D; }

/* Passenger form */
.atlas-passenger {
  border: 1px solid #C6C8C8;
  border-radius: 4px;
  background: #fff;
  padding: 20px;
  margin-bottom: 12px;
}

.atlas-passenger__title {
  font-size: 18px;
  font-weight: 700;
  color: #020A0D;
  margin-bottom: 16px;
}

.atlas-passenger__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.atlas-passenger__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atlas-passenger__field label {
  font-size: 12px;
  color: #395462;
}

.atlas-passenger__field input,
.atlas-passenger__field select,
.atlas-passenger__field textarea {
  border: 1px solid #C6C8C8;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: #020A0D;
  font-family: inherit;
  outline: none;
  background: #fff;
}

.atlas-passenger__field input:focus,
.atlas-passenger__field select:focus,
.atlas-passenger__field textarea:focus {
  border-color: #2A5FCF;
}

/* Atlas timer */
.atlas-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #C6C8C8;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 14px;
  color: #395462;
  background: #fff;
}

.atlas-timer__value {
  font-size: 20px;
  font-weight: 700;
  color: #2A5FCF;
}

.atlas-timer--danger { border-color: #FD363B; }
.atlas-timer--danger .atlas-timer__value { color: #FD363B; }

/* Atlas error */
.atlas-error {
  border: 1px solid #FD363B;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: #FD363B;
  font-size: 14px;
  background: #FFF5F5;
}

/* Atlas section title */
.atlas-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #020A0D;
  margin-bottom: 16px;
}

/* Atlas confirmation result */
.atlas-result {
  text-align: center;
  padding: 48px 24px;
}

.atlas-result__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #D1FAE5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.atlas-result__title {
  font-size: 24px;
  font-weight: 700;
  color: #020A0D;
  margin-bottom: 8px;
}

.atlas-result__text {
  font-size: 15px;
  color: #395462;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   3D FOLD TICKET CARD (pizza3 CodePen style)
   ══════════════════════════════════════════════════════════ */
.fold-cards-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  perspective: 700px;
}

.fold-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 100px;
  border-radius: 8px;
  transform-origin: bottom;
  margin: 16px auto;
  cursor: pointer;
  transition: height 0.9s;
}

/* ── Always-visible closed face ── */
.fold-card__display {
  width: 100%;
  height: 100px;
  position: absolute;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 16px 24px;
  gap: 0;
  backface-visibility: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  z-index: 1;
}

.fold-card__from,
.fold-card__to {
  flex: 0 0 auto;
  min-width: 0;
}

.fold-card__to {
  text-align: right;
}

.fold-card__time-label {
  font-size: 18px;
  font-weight: 700;
  color: #020A0D;
  line-height: 1;
  margin-bottom: 2px;
}

.fold-card__city {
  font-size: 20px;
  font-weight: 700;
  color: #020A0D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fold-card__stop {
  font-size: 12px;
  color: #68747E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}

.fold-card__mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  min-width: 80px;
}

.fold-card__mid-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.fold-card__line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    #C6C8C8 0px, #C6C8C8 4px,
    transparent 4px, transparent 9px
  );
}

.fold-card__anim-wrap {
  width: 30px;
  height: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.fold-card__anim {
  display: flex;
  position: absolute;
  animation: foldSlideDots 1s infinite linear;
}

@keyframes foldSlideDots {
  from { transform: translateX(0); }
  to   { transform: translateX(-14px); }
}

.fold-card__dot {
  width: 4px;
  height: 4px;
  background: #C6C8C8;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.fold-card__date {
  font-size: 14px;
  font-weight: 600;
  color: #020A0D;
  margin-bottom: 4px;
}

.fold-card__seat {
  font-size: 11px;
  color: #68747E;
  margin-top: 4px;
}

.fold-card__status-badge {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.fold-card__doc-warn {
  font-size: 10px;
  font-weight: 700;
  color: #FD363B;
  margin-top: 2px;
  animation: docBlink 1.2s ease-in-out infinite;
}

@keyframes docBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ── First fold panel ── */
.fold-card__first {
  width: 100%;
  height: 100px;
  position: absolute;
  border-radius: 8px;
  transform-origin: bottom;
  transform-style: preserve-3d;
  transition: 0.5s;
}

.fold-card__first-top {
  width: 100%;
  height: 100px;
  position: absolute;
  background: #fff;
  backface-visibility: hidden;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fold-card__top-time {
  display: flex;
  align-items: flex-start;
  padding: 14px 20px;
}

.fold-card__top-city {
  color: #68747E;
  font-size: 11px;
  text-align: center;
}

.fold-card__top-hour {
  font-weight: 700;
  font-size: 22px;
  color: #020A0D;
  line-height: 1.2;
}

.fold-card__first-behind {
  width: 100%;
  height: 100px;
  position: absolute;
  background: #fff;
  transform: rotateX(-180deg);
  backface-visibility: hidden;
  border-radius: 8px;
  border-top: 1px dashed #d1d1d1;
  border-bottom: 1px dashed #d1d1d1;
}

.fold-card__first-behind-display {
  width: 100%;
  height: 100px;
  position: absolute;
  background: #fff;
  border-radius: 8px;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.fold-card__detail-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}

.fold-card__detail {
  display: flex;
  flex-direction: column;
}

.fold-card__detail strong {
  font-size: 15px;
  color: #020A0D;
}

.fold-card__detail span {
  font-size: 10px;
  color: #68747E;
  letter-spacing: 0.5px;
}

/* ── Second fold ── */
.fold-card__second {
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: -2px;
  transform-origin: bottom;
  transform-style: preserve-3d;
  transition: 0.2s;
  border-radius: 8px;
}

.fold-card__second-top {
  width: 100%;
  height: 50px;
  position: absolute;
  background: #e7e7e7;
  backface-visibility: hidden;
  border-radius: 8px;
}

.fold-card__second-behind {
  width: 100%;
  height: 50px;
  position: absolute;
  background: #fff;
  transform: rotateX(-180deg);
  backface-visibility: hidden;
  border-radius: 8px;
  border-top: 1px dashed #d1d1d1;
  border-bottom: 1px dashed #d1d1d1;
}

.fold-card__second-behind-display {
  width: 100%;
  height: 50px;
  position: absolute;
  background: #fff;
  border-radius: 8px;
  border-bottom: 1px dashed #d1d1d1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.fold-card__price {
  display: flex;
  flex-direction: column;
}

.fold-card__price strong {
  font-size: 15px;
  color: #020A0D;
}

.fold-card__price span {
  font-size: 10px;
  color: #68747E;
}

.fold-card__barcode {
  font-family: monospace;
  font-size: 13px;
  color: #68747E;
  letter-spacing: 1px;
}

/* ── Third fold ── */
.fold-card__third {
  width: 100%;
  height: 50px;
  position: absolute;
  transform-origin: bottom;
  transform-style: preserve-3d;
  transition: 0.2s;
  border-radius: 8px;
}

.fold-card__third-top {
  width: 100%;
  height: 50px;
  position: absolute;
  background: #bebebe;
  backface-visibility: hidden;
  border-radius: 8px;
}

.fold-card__third-behind {
  width: 100%;
  height: 50px;
  position: absolute;
  background: #fff;
  transform: rotateX(-180deg);
  backface-visibility: hidden;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
}

.fold-card__btn {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  flex: 1;
  border: 1.5px solid #2A5FCF;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-align: center;
}

.fold-card__btn--confirm {
  background: #2A5FCF;
  color: #fff;
  border-color: #2A5FCF;
}

.fold-card__btn--confirm:hover {
  background: #1e4db0;
}

.fold-card__btn--cancel {
  background: #fff;
  color: #FD363B;
  border-color: #FD363B;
}

.fold-card__btn--cancel:hover {
  background: #FFF5F5;
}

@media (max-width: 600px) {
  .fold-card { max-width: 100%; }
  .fold-card__city { font-size: 15px; }
  .fold-card__btn { padding: 6px 40px; }
}

/* ══════════════════════════════════════════════════════════
   TICKET CARD (perforated tear + cutouts — kept for other uses)
   ══════════════════════════════════════════════════════════ */
.ticket {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(2,10,13,.08),
    0 1px 2px rgba(2,10,13,.06),
    0 7px 0 -3px rgba(241,243,245,.98),
    0 7px 4px rgba(2,10,13,.04),
    0 13px 0 -5px rgba(232,234,238,.88),
    0 13px 6px rgba(2,10,13,.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ticket:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 16px rgba(2,10,13,.12),
    0 2px 4px rgba(2,10,13,.08),
    0 8px 0 -3px rgba(241,243,245,.98),
    0 8px 5px rgba(2,10,13,.06),
    0 14px 0 -5px rgba(232,234,238,.88),
    0 14px 7px rgba(2,10,13,.04);
}

/* Ticket body — main info */
.ticket__body {
  padding: 16px 20px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticket__left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.ticket__point {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ticket__time {
  font-size: 22px;
  font-weight: 700;
  color: #020A0D;
  line-height: 1;
  letter-spacing: -0.5px;
}

.ticket__city {
  font-size: 15px;
  font-weight: 600;
  color: #020A0D;
  margin-top: 4px;
}

.ticket__city--to {
  color: #2A5FCF;
}

.ticket__stop {
  font-size: 13px;
  color: #68747E;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket__stop--to {
  color: rgba(42,95,207,0.6);
}

.ticket__arrow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 4px 0;
  flex-shrink: 0;
  position: relative;
}

.ticket__arrow-line {
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #C6C8C8 0px, #C6C8C8 4px,
    transparent 4px, transparent 9px
  );
}

.ticket__right {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.ticket__price {
  font-size: 22px;
  font-weight: 700;
  color: #020A0D;
  line-height: 1;
}

.ticket__currency {
  font-size: 14px;
  font-weight: 400;
  color: #68747E;
}

.ticket__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Perforated tear line with semicircle cutouts */
.ticket__perf {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px, transparent 4px,
    rgba(198,200,200,0.5) 4px, rgba(198,200,200,0.5) 9px
  );
}

.ticket__perf::before,
.ticket__perf::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F1F3F5;
  z-index: 2;
}

.ticket__perf::before { left: -9px; }
.ticket__perf::after  { right: -9px; }

/* Ticket stub — meta info */
.ticket__stub {
  padding: 8px 20px;
  background: #fafbfd;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ticket__meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #68747E;
  white-space: nowrap;
}

.ticket__meta .material-icons {
  color: #C6C8C8;
}

.ticket__chevron {
  margin-left: auto;
  font-size: 20px !important;
  color: #C6C8C8;
}

@media (max-width: 767px) {
  .ticket__body {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ticket__right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ticket__stub {
    gap: 10px;
  }
}

/* Atlas profile card */
.atlas-profile-card {
  border: 1px solid #C6C8C8;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.atlas-profile-card__header {
  padding: 14px 16px;
  border-bottom: 1px solid #C6C8C8;
  font-size: 15px;
  font-weight: 700;
  color: #020A0D;
  display: flex;
  align-items: center;
  gap: 8px;
}

.atlas-profile-card__body {
  padding: 16px;
}

.atlas-profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #C6C8C8;
}

.atlas-profile-row:last-child { border-bottom: none; }

.atlas-profile-row__label {
  font-size: 12px;
  color: #395462;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.atlas-profile-row__value {
  font-size: 15px;
  font-weight: 500;
  color: #020A0D;
}

/* Responsive */
@media (max-width: 767px) {
  .atlas-page__cols { flex-direction: column; }
  .atlas-page__sidebar { width: 100%; }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 767px) {
  .header-navbar--desktop { display: none; }
  .header-desktop-only    { display: none; }
  .hamburger-btn          { display: flex; }
  .header-desktop-nav     { display: none !important; }

  .hero { min-height: 360px; }
  .hero-content { padding: 32px 16px; }

  .search { padding: 16px; }
  .search-content--inputs {
    grid-template-columns: 1fr;
  }

  .search-content--radios {
    flex-wrap: wrap;
  }

  .features-grid    { grid-template-columns: 1fr 1fr; }
  .how-grid         { grid-template-columns: 1fr 1fr; }
  .routes-grid      { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 32px 16px 20px;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 12px;
  }

  .filters-content {
    grid-template-columns: 1fr;
  }

  .section-module { padding: 0 12px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header-navbar--desktop { display: none; }
  .header-desktop-only    { display: none; }
  .hamburger-btn          { display: flex; }

  .search-content--inputs {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .hamburger-btn          { display: none; }
  .header-navbar--desktop { display: block; }
  .header-desktop-only    { display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   ATLAS / FIGMA — Homepage + SERP + Flight Card
   ═══════════════════════════════════════════════════════════════ */

/* ── Design tokens (Figma) ──────────────────────────────────── */
:root {
  --blue:        #2A5FCF;
  --blue-logo:   #1154C7;
  --blue-h:      #1e4db0;
  --blue-bg:     #EEF3FC;
  --dark:        #020A0D;
  --dark2:       #08293B;
  --text2:       #395462;
  --text3:       #68747E;
  --gm-border:   #C6C8C8;
  --gm-bg:       #F1F3F5;
  --bg2:         #F5F6F7;
  --green:       #1B7348;
  --green-bg:    #89FFB6;
  --green2:      #419157;
  --olive:       #6D9009;
  --red:         #FD363B;
  --orange:      #F3660B;
  --footer-bg:   #0B1C3E;
  --r-card:      4px;
  --r-btn:       4px;
  --gm-shadow:   0 2px 8px rgba(2,10,13,.08), 0 1px 2px rgba(2,10,13,.06);
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — HERO / SEARCH
   ══════════════════════════════════════════════════════════ */
.atlas-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: stretch;
}

.atlas-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 0;
  filter: saturate(0.55) brightness(1.05);
}

.atlas-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.55) 0%,
    rgba(37, 99, 235, 0.25) 50%,
    rgba(30, 58, 95, 0.35) 100%
  );
  z-index: 0;
}

.atlas-hero__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

.atlas-hero__text { flex-shrink: 0; }

.atlas-hero__title {
  font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.5px;
}

.atlas-hero__sub {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.atlas-hero__search { width: 100%; }

/* ── Search form inside hero ─────────────────────────────────── */
.atlas-hero__search .sf-bar {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.12);
}

.atlas-hero__search .inputs-btn {
  flex: 0 0 auto;
  gap: 0;
  border-right: none;
  padding: 0;
}

.atlas-hero__search .btn-search {
  height: 100%;
  min-height: 52px;
  width: 180px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  background: var(--blue);
  letter-spacing: 0.2px;
  padding: 0 20px;
}

.atlas-hero__search .btn-search:hover {
  background: var(--blue-h);
}

.atlas-hero__search .filters-panel {
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--gm-border);
}

.atlas-hero__search .dropdown {
  border-radius: var(--r-card);
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — POPULAR ROUTES
   ══════════════════════════════════════════════════════════ */
.atlas-popular {
  background: #fff;
  padding: 40px 0 48px;
}

.atlas-popular__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
}

.atlas-popular__title {
  font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.atlas-popular__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gm-border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.atlas-popular__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  text-decoration: none;
  border-right: 1px solid var(--gm-border);
  border-bottom: 1px solid var(--gm-border);
  transition: background 0.15s;
  background: #fff;
}

.atlas-popular__item:nth-child(3n) { border-right: none; }
.atlas-popular__item:nth-child(n+4) { border-bottom: none; }

.atlas-popular__item:hover { background: var(--bg2); }

.atlas-popular__route {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.atlas-popular__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — APP BANNER
   ══════════════════════════════════════════════════════════ */
.atlas-app-banner {
  background: #fff;
  padding: 0 0 40px;
}

.atlas-app-banner__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 32px 40px;
  background: var(--blue-bg);
  border-radius: 8px;
  text-align: center;
}

.atlas-app-banner__inner h2 {
  font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.atlas-app-banner__accent {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
}

.atlas-app-banner__inner p {
  font-size: 14px;
  color: var(--text2);
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — APP INFO (text left + phones right)
   ══════════════════════════════════════════════════════════ */
.atlas-app-info {
  background: #fff;
  padding: 0 0 60px;
}

.atlas-app-info__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.atlas-app-info__text { flex: 1; min-width: 0; }

.atlas-app-info__block { margin-bottom: 24px; }

.atlas-app-info__block h3 {
  font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.atlas-app-info__block p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 420px;
}

.atlas-app-info__stores {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.atlas-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}

.atlas-store-btn:hover {
  background: #1a1a2e;
  color: #fff;
}

/* Phone mockups */
.atlas-app-info__phones {
  flex-shrink: 0;
  position: relative;
  width: 360px;
  height: 420px;
}

.atlas-phone {
  position: absolute;
  width: 200px;
  background: #1a1a2e;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.atlas-phone--back  { top: 0; left: 0; height: 380px; z-index: 1; }
.atlas-phone--front { top: 30px; left: 140px; height: 380px; z-index: 2; }

.atlas-phone__screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.atlas-phone__header {
  background: #f8f9fb;
  color: var(--dark);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.atlas-phone__header--blue {
  background: var(--blue);
  color: #fff;
  border-bottom: none;
}

.atlas-phone__list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.atlas-phone__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8f9fb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.atlas-phone__card-time {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--dark);
  gap: 1px;
}

.atlas-phone__card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.atlas-phone__search-fields {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.atlas-phone__field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1.5px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

.atlas-phone__btn-find {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.atlas-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(42, 95, 207, 0.4);
  cursor: pointer;
  transition: transform 0.2s;
}

.atlas-play-icon:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ══════════════════════════════════════════════════════════
   SERP — Search Results Page
   ══════════════════════════════════════════════════════════ */
.serp-search {
  background: linear-gradient(160deg, #0b1c3e 0%, #152d5e 100%);
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.serp-search__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Search form inside SERP hero */
.atlas-hero .sf-bar {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ── Date strip ────────────────────────────────────────────── */
.serp-dates {
  background: #fff;
  border-bottom: 1px solid var(--gm-border);
}

.serp-dates__inner {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
}

.serp-dates__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark2);
  padding: 10px 16px 10px 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-right: 1px solid var(--gm-border);
  line-height: 1.3;
}

.serp-dates__row {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.serp-dates__row::-webkit-scrollbar { display: none; }

.serp-dates__cell {
  flex-shrink: 0;
  min-width: 110px;
  padding: 10px 14px;
  cursor: pointer;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  text-align: center;
  font-family: inherit;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.serp-dates__cell:hover { background: var(--gm-bg); }

.serp-dates__cell.on {
  border-bottom-color: var(--blue);
}

.serp-dates__day {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.serp-dates__cell.on .serp-dates__day {
  color: var(--blue);
}

.serp-dates__price {
  font-size: 12px;
  font-weight: 400;
  color: var(--dark2);
}

/* ─── CHARTER BANNER ─────────────────────────────────────── */
.charter-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #ede9fe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin: 12px 0 4px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  color: var(--text-primary);
}
.charter-banner:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}
.charter-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  color: #2563eb;
}
.charter-banner__icon .material-icons {
  font-size: 28px;
}
.charter-banner__content {
  flex: 1;
  min-width: 0;
}
.charter-banner__title {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  line-height: 1.3;
}
.charter-banner__tags {
  font-size: 13px;
  color: #4b7399;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.charter-banner__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}
.charter-banner:hover .charter-banner__cta {
  background: #1d4ed8;
}

/* Charter banner mobile */
@media (max-width: 768px) {
  .charter-banner {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 12px;
  }
  .charter-banner__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .charter-banner__icon .material-icons {
    font-size: 24px;
  }
  .charter-banner__content {
    flex: 1 1 calc(100% - 56px);
  }
  .charter-banner__title {
    font-size: 14px;
  }
  .charter-banner__tags {
    font-size: 12px;
    white-space: normal;
  }
  .charter-banner__cta {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* SERP main area */
.serp-main {
  flex: 1;
  padding: 16px 0 40px;
}

.serp-results {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
}

.result-meta {
  font-size: 13px;
  color: var(--dark2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.result-meta strong { color: var(--dark); }

.serp-sort-btn {
  background: #fff;
  border: 1.5px solid var(--gm-border);
  border-radius: var(--r-btn);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark2);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.serp-sort-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.serp-sort-btn.on {
  background: var(--blue-bg);
  border-color: var(--blue);
  color: var(--blue);
}

.serp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--gm-shadow);
  gap: 12px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   FLIGHT CARD (.fcard)
   ══════════════════════════════════════════════════════════ */
.fcard {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #E2E8F0;
}

.fcard:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  transform: translateY(-2px);
  border-color: #93C5FD;
}

/* Card body */
.fcard-body {
  padding: 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Left: route block */
.fc-route {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.fc-dep, .fc-arr {
  flex-shrink: 0;
  min-width: 0;
}

.fc-time {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  letter-spacing: -0.5px;
}

.fc-city {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.fc-stop {
  font-size: 11px;
  font-weight: 400;
  color: #94A3B8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.fc-arr .fc-city { color: #475569; }
.fc-arr .fc-stop { color: #94A3B8; }

/* Timeline connector */
.fc-timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  min-width: 120px;
}

.fc-duration {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 8px;
  white-space: nowrap;
}

.fc-timeline-line {
  width: 100%;
  height: 2px;
  background: #E2E8F0;
  border-radius: 1px;
  position: relative;
}

.fc-timeline-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  background: white;
}

.fc-timeline-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563EB;
}

.fc-route-type {
  font-size: 11px;
  font-weight: 500;
  color: #10B981;
  margin-top: 6px;
}

/* Right: price + button */
.fc-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-left: 24px;
  border-left: 1px solid #F1F5F9;
  min-width: 180px;
}

.fc-price {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  letter-spacing: -1px;
}

.fc-price-currency {
  font-size: 16px;
  font-weight: 600;
  color: #475569;
}

.fc-seats {
  font-size: 12px;
  font-weight: 600;
  color: #10B981;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fc-seats.few { color: #F59E0B; }

.btn-select {
  background: #2563EB;
  color: #fff;
  border: none;
  padding: 10px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 12px;
  width: 100%;
  height: auto;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-select:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

/* Legacy (keep for compat) */
.fc-times { display: flex; align-items: center; gap: 0; flex: 1; min-width: 0; }
.fc-mid { display: none; }
.fc-price-block { display: none; }
.fc-price-note { display: none; }
.btn-select-sub { display: none; }

/* Card footer */
.fcard-foot {
  padding: 10px 20px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fcard-expand {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.15s;
}

.fcard-expand:hover { background: #EFF6FF; }

.fcard-foot-sep {
  width: 1px;
  height: 14px;
  background: #E2E8F0;
  flex-shrink: 0;
}

.fcard-driver {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.fcard-rating {
  font-size: 12px;
  font-weight: 700;
  color: #F59E0B;
  display: flex;
  align-items: center;
  gap: 2px;
}

.fcard-bus {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.fcard-dur {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.direct-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

/* Footer layout */
.fcard-foot {
  justify-content: space-between;
}

.fcard-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fcard-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #E2E8F0;
  color: #475569;
}

.fcard-foot-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fcard-carrier {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

/* ── Card details (fold animation) ───────────────────────── */
.fcard-details {
  border-top: none;
  transform-origin: top center;
  transform: perspective(900px) rotateX(-12deg) scaleY(0.96);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    transform 0.44s cubic-bezier(0.34, 1.25, 0.64, 1),
    opacity 0.32s ease,
    max-height 0.52s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcard-details.open {
  transform: perspective(900px) rotateX(0deg) scaleY(1);
  opacity: 1;
  max-height: 1400px;
  border-top: 1px solid #E2E8F0;
}

.fcard-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 16px 20px 0;
  background: #F1F5F9;
  border-radius: 8px;
}

.fcard-tab {
  flex: 1;
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
  background: transparent;
  border: none;
  border-radius: 6px;
  transition: all 0.15s;
}

.fcard-tab:hover { color: #0F172A; }

.fcard-tab.on {
  background: #fff;
  color: #0F172A;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.fcard-detail-body {
  padding: 20px;
  display: flex;
  gap: 32px;
}

.fcard-detail-body .tl-col { flex: 1; }
.fcard-detail-body .seats-col { width: 220px; flex-shrink: 0; }

/* Route leg card */
.route-leg {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 52px 24px 1fr;
  gap: 0;
}

.rl-times {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rl-time {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.1;
}

.rl-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 0;
}

.rl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563EB;
  flex-shrink: 0;
}

.rl-dot-end {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid #2563EB;
  background: #fff;
  flex-shrink: 0;
}

.rl-dashed {
  flex: 1;
  border-left: 2px dashed #CBD5E1;
  margin: 4px 0;
  min-height: 28px;
}

.rl-cities {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 14px;
}

.rl-city-name {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.2;
}

.rl-city-addr {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 3px;
  line-height: 1.3;
}

.route-meta-row {
  font-size: 13px;
  color: #475569;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.route-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Vehicle info grid */
.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.vehicle-item {
  padding: 14px;
  background: #F8FAFC;
  border-radius: 8px;
}

.vehicle-item-label {
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.vehicle-item-value {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
}

/* Carrier info grid */
.carrier-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.carrier-info-item {
  padding: 14px;
  background: #F8FAFC;
  border-radius: 8px;
}

.carrier-info-label {
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.carrier-info-value {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
}

.carrier-info-link {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
}

.carrier-info-link:hover { text-decoration: underline; }

/* Stops timeline */
.stops-timeline {
  position: relative;
  padding-left: 8px;
  max-width: 520px;
}

/* City header row */
.st-city-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  position: relative;
}

.st-city-header::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E2E8F0;
}

.st-city-header.st-first::before { top: 50%; }
.st-city-header.st-last::before { bottom: 50%; }

.st-city-name {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  flex: 1;
}

.st-city-time {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  flex-shrink: 0;
  margin-left: auto;
}

.st-stop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 6px 3px 2px;
  position: relative;
  border-radius: 4px;
  transition: background 0.1s;
}

.st-stop:hover {
  background: #F8FAFC;
}

.st-stop::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E2E8F0;
}

.st-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.st-dot-start {
  background: #2563EB;
}

.st-dot-mid {
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background: #CBD5E1;
}

.st-dot-end {
  background: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.st-time {
  font-size: 13px;
  font-weight: 500;
  color: #94A3B8;
  min-width: 46px;
  flex-shrink: 0;
}

.st-name {
  font-size: 13px;
  font-weight: 400;
  color: #64748B;
  flex: 1;
}

.st-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.st-badge-pickup {
  background: #EFF6FF;
  color: #2563EB;
}

.st-badge-dropoff {
  background: #ECFDF5;
  color: #10B981;
}

.st-expand-row {
  display: flex;
  align-items: center;
  padding: 4px 0;
  position: relative;
}

.st-expand-row::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E2E8F0;
}

.st-line-segment {
  width: 10px;
  flex-shrink: 0;
}

.st-expand-btn {
  background: #F1F5F9;
  border: none;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: background 0.15s;
  margin-left: 12px;
  position: relative;
  z-index: 1;
}

.st-expand-btn:hover { background: #E2E8F0; }

/* Route info tooltip */
.st-route-info {
  margin-bottom: 14px;
}

.st-route-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: #2563EB;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
}

.st-route-info-btn:hover { text-decoration: underline; }

.st-info-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.st-route-info-text {
  margin-top: 8px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: 8px;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* Map icon button on stop */
.st-map-btn {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.15s;
  padding: 0;
  opacity: 0;
}

.st-stop:hover .st-map-btn {
  opacity: 1;
}

.st-map-btn:hover {
  color: #2563EB;
}

.st-map-btn svg {
  width: 13px;
  height: 13px;
}

/* Route tab 2-column layout */
.route-tab-layout {
  display: flex;
  gap: 32px;
  width: 100%;
}

.route-tab-left {
  flex: 1;
  min-width: 0;
}

.route-tab-right {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Bonus card */
.bonus-card {
  padding: 20px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.bonus-title {
  font-size: 15px;
  font-weight: 500;
  color: #0F172A;
  line-height: 1.5;
  margin-bottom: 10px;
}

.bonus-badge {
  display: inline-block;
  background: #2563EB;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

.bonus-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 10px;
}

.bonus-discount {
  font-size: 13px;
  font-weight: 600;
  color: #10B981;
}

/* Route links */
.route-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.route-link {
  font-size: 14px;
  color: #2563EB;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  transition: color 0.15s;
}

.route-link:last-child { border-bottom: none; }
.route-link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .route-tab-layout { flex-direction: column; gap: 20px; }
  .route-tab-right { width: 100%; }
}

/* Notice text */
.st-notice {
  font-size: 12px;
  color: #94A3B8;
  font-style: italic;
  margin-bottom: 16px;
}

/* Driver section */
.det-driver {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-radius: 10px;
  margin-bottom: 16px;
}

.det-driver-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  flex-shrink: 0;
}

.det-driver-ava svg { width: 24px; height: 24px; }

.det-driver-info { flex: 1; }

.det-driver-name {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
}

.det-driver-role {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 1px;
}

.det-driver-phone {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  flex-shrink: 0;
}

.det-driver-phone:hover { text-decoration: underline; }

/* Vehicle card */
.det-vehicle-card {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px;
}

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

.det-vehicle-name {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
}

.det-vehicle-type {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 2px;
}

.det-vehicle-rating {
  font-size: 14px;
  font-weight: 700;
  color: #F59E0B;
  background: #FFFBEB;
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Carrier card layout (2 columns) */
.carrier-card {
  display: flex;
  gap: 40px;
}

.carrier-card-left {
  flex: 1;
  min-width: 0;
}

.carrier-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
}

/* Right: company "business card" */
.carrier-card-right {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(145deg, #F8FAFC 0%, #EFF6FF 100%);
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
}

/* Decorative circle */
.carrier-card-right::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(37,99,235,0.05);
}

.carrier-card-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: #2563EB;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
  position: relative;
  z-index: 1;
}

.carrier-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.carrier-card-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 16px;
  max-height: 80px;
  overflow-y: auto;
  padding-right: 4px;
  position: relative;
  z-index: 1;
}

.carrier-card-desc::-webkit-scrollbar { width: 3px; }
.carrier-card-desc::-webkit-scrollbar-track { background: transparent; }
.carrier-card-desc::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

.carrier-card-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.carrier-card-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  color: #0F172A;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid #E2E8F0;
  letter-spacing: 0.3px;
}

.carrier-card-phone svg { color: #2563EB; }

.carrier-card-phone:hover {
  background: #2563EB;
  color: white;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.carrier-card-phone:hover svg { color: white; }

@media (max-width: 767px) {
  .carrier-card { flex-direction: column; gap: 20px; }
  .carrier-card-right { width: 100%; }
}

/* Carrier rows (label — value list) */
.carrier-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.carrier-row {
  display: flex;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  gap: 24px;
}

.carrier-row:last-child { border-bottom: none; }

.carrier-row-label {
  font-size: 14px;
  font-weight: 400;
  color: #64748B;
  min-width: 200px;
  flex-shrink: 0;
}

.carrier-row-value {
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
}

.carrier-row-link {
  font-size: 14px;
  font-weight: 500;
  color: #2563EB;
  text-decoration: none;
}

.carrier-row-link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .carrier-row {
    flex-direction: column;
    gap: 2px;
  }
  .carrier-row-label { min-width: 0; font-size: 12px; }
}

/* Company header */
.det-company-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.det-company-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.det-company-name {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.det-company-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* Legacy timeline (keep for compatibility) */
.tl { display: flex; gap: 10px; }

.tl-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  flex-shrink: 0;
}

.tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563EB;
  flex-shrink: 0;
}

.tl-dot-end {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  background: #fff;
  flex-shrink: 0;
}

.tl-line {
  flex: 1;
  width: 1px;
  background: #E2E8F0;
  margin: 3px 0;
  min-height: 16px;
}

.tl-stops {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tl-stop { display: flex; flex-direction: column; gap: 1px; }

.tl-stop-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tl-time {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  width: 40px;
  flex-shrink: 0;
}

.tl-city {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.tl-sub {
  font-size: 12px;
  color: var(--dark2);
  padding-left: 48px;
}

.tl-gap {
  font-size: 10px;
  font-weight: 700;
  color: var(--dark2);
  padding-left: 48px;
  letter-spacing: 0.5px;
}

/* Seats grid */
.seats-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark2);
  margin-bottom: 8px;
}

.seats-grid {
  display: grid;
  grid-template-columns: repeat(4, 24px);
  gap: 4px;
}

.seat {
  width: 24px;
  height: 22px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seat.free  { background: var(--blue-bg); color: var(--blue); }
.seat.taken { background: var(--bg2); color: var(--gm-border); }
.seat.sel   { background: var(--blue); color: #fff; }

/* Bus info */
.bus-info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bus-photo {
  width: 120px;
  height: 80px;
  background: var(--bg2);
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.bus-specs {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.bus-spec { display: flex; flex-direction: column; gap: 1px; }
.bus-spec-label { font-size: 12px; color: var(--dark2); }
.bus-spec-val { font-size: 14px; font-weight: 500; color: var(--dark); }

/* Carrier info */
.carrier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

/* legacy carrier styles removed — using .carrier-rows now */

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — ATLAS / SERP / FLIGHT CARD
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .atlas-hero__title { font-size: 26px; }
  .atlas-hero__sub { font-size: 15px; }

  /* Search form mobile */
  .sf-bar {
    flex-direction: column;
  }

  .sf-field {
    border-right: none;
    border-bottom: 1px solid #C6C8C8;
  }

  .sf-field--date { flex: auto; }

  .sf-swap {
    width: 100%;
    height: 36px;
    border-right: none;
    border-bottom: 1px solid #C6C8C8;
  }

  .sf-submit {
    width: 100%;
    height: 48px;
  }

  .sf-labels-row { gap: 10px; }
  .sf-quick-dates { margin-left: 0; }

  .atlas-popular__grid {
    grid-template-columns: 1fr;
  }

  .atlas-popular__item {
    border-right: none !important;
    border-bottom: 1px solid var(--gm-border);
  }

  .atlas-popular__item:last-child {
    border-bottom: none;
  }

  .atlas-app-info__inner {
    flex-direction: column;
    gap: 32px;
  }

  .atlas-app-info__phones { display: none; }
  .atlas-app-info__stores { flex-wrap: wrap; }

  /* Flight card responsive */
  .fcard-body {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .fc-route {
    flex-direction: row;
    gap: 0;
  }

  .fc-time { font-size: 22px; }
  .fc-timeline { min-width: 80px; padding: 0 12px; }
  .fc-city { max-width: 80px; font-size: 12px; }
  .fc-stop { max-width: 80px; }

  .fc-price-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid #F1F5F9;
    min-width: 0;
  }

  .fc-price { font-size: 26px; }

  .btn-select {
    width: auto;
    margin-top: 0;
    padding: 10px 24px;
  }

  .fcard-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .fcard-foot-right {
    flex-wrap: wrap;
    gap: 8px;
  }

  .fcard-detail-body {
    flex-direction: column;
    gap: 16px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carrier-info-grid {
    grid-template-columns: 1fr;
  }

  .route-leg {
    grid-template-columns: 44px 20px 1fr;
    padding: 12px 14px;
  }

  .fcard-detail-body .seats-col {
    width: 100%;
  }

  .result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .carrier-grid {
    grid-template-columns: 1fr;
  }

  .bus-info {
    flex-direction: column;
  }

  .bus-specs {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .atlas-popular__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atlas-popular__item:nth-child(3n) {
    border-right: 1px solid var(--gm-border);
  }

  .atlas-popular__item:nth-child(2n) {
    border-right: none;
  }

  .atlas-app-info__phones { width: 280px; }
  .atlas-phone { width: 160px; }
  .atlas-phone--front { left: 100px; }

}
