
  :root {
    --bg: #0a0b0d;
    --bg2: #0f1114;
    --bg3: #161820;
    --border: rgba(255,255,255,0.07);
    --border-accent: rgba(255,165,0,0.3);
    --accent: #ff9500;
    --accent2: #ff6b00;
    --text: #e8e8e8;
    --text-muted: #5a5e6b;
    --text-dim: #8a8e9b;
    --green: #00d17a;
    --blue: #3b82f6;
    --card-bg: #111318;
    --success-bg: rgba(0, 209, 122, 0.12);
    --success-border: rgba(0, 209, 122, 0.3);
    --error-bg: rgba(239, 68, 68, 0.12);
    --error-border: rgba(239, 68, 68, 0.3);
  }

  /* LIGHT THEME */
  [data-theme="light"] {
    --bg: #f5f5f5;
    --bg2: #efefef;
    --bg3: #e8e8e8;
    --border: rgba(0,0,0,0.08);
    --border-accent: rgba(255,165,0,0.2);
    --accent: #ff9500;
    --accent2: #ff6b00;
    --text: #1a1a1a;
    --text-muted: #8a8a8a;
    --text-dim: #626262;
    --green: #00b56a;
    --blue: #0066ff;
    --card-bg: #ffffff;
    --success-bg: rgba(0, 209, 122, 0.08);
    --success-border: rgba(0, 209, 122, 0.2);
    --error-bg: rgba(239, 68, 68, 0.08);
    --error-border: rgba(239, 68, 68, 0.2);
  }

  /* ====== LIGHT THEME HOVER OVERRIDES ====== */
  [data-theme="light"] nav {
    background: rgba(245,245,245,0.96);
    border-bottom-color: rgba(0,0,0,0.1);
  }
  [data-theme="light"] .nav-links a {
    color: #444;
  }
  [data-theme="light"] .nav-links a:hover {
    background: rgba(0,0,0,0.06);
    color: #1a1a1a;
  }
  [data-theme="light"] .nav-links a.active {
    color: var(--accent);
  }
  [data-theme="light"] .theme-btn:hover {
    border-color: rgba(0,0,0,0.18);
  }
  [data-theme="light"] .mobile-menu a:hover {
    background: rgba(0,0,0,0.05);
  }
  [data-theme="light"] .mobile-menu-btn:hover {
    background: rgba(0,0,0,0.05) !important;
    border-color: rgba(0,0,0,0.18) !important;
  }
  [data-theme="light"] .hint-chip {
    background: rgba(0,0,0,0.04);
  }
  [data-theme="light"] .carrier-card:hover {
    background: #e0e0e0;
  }
  [data-theme="light"] .track-row:hover {
    background: rgba(0,0,0,0.04);
  }
  [data-theme="light"] .back-to-news:hover {
    background: rgba(0,0,0,0.05);
  }
  [data-theme="light"] .news-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  [data-theme="light"] .btn-outline:hover {
    border-color: rgba(0,0,0,0.18);
  }

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

  body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .wrapper > footer {
    margin-top: auto;
  }

  /* ====== NAV ====== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    border-bottom: 1px solid var(--border);
    background: rgba(10,11,13,0.92);
    backdrop-filter: blur(12px);
    gap: 0;
  }

  .nav-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
    margin-right: 48px;
    white-space: nowrap;
  }
  .nav-logo span { color: var(--accent); }
  .nav-logo-img { height: 48px; width: auto; vertical-align: middle; margin-right: 8px; border-radius: 4px; }
  .nav-logo-dark { height: 72px; }
  .nav-logo-light { display: none; }
  [data-theme="light"] .nav-logo-dark { display: none; }
  [data-theme="light"] .nav-logo-light { display: inline; }

  .nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    flex: 1;
  }

  .nav-links a {
    display: block;
    padding: 6px 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
  .nav-links a.active { color: var(--accent); }

  /* ====== NAV DROPDOWNS ====== */
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
  }

  .nav-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
  }

  .nav-dropdown:hover .nav-dropdown-arrow,
  .nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 0;
    list-style: none;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  /* Invisible bridge fills the 6px gap so hover doesn't break */
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }

  .nav-dropdown-menu li a {
    padding: 8px 16px;
    border-radius: 0;
    border-left: 2px solid transparent;
    white-space: nowrap;
  }

  .nav-dropdown-menu li a:hover {
    border-left-color: var(--accent);
    background: rgba(255,255,255,0.04);
    color: var(--text);
  }

  [data-theme="light"] .nav-dropdown-menu {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

  /* ====== MOBILE DROPDOWN ====== */
  .mobile-dropdown {
    width: 100%;
  }

  .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    color: var(--text-dim);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
  }

  .mobile-dropdown-toggle:hover {
    background: rgba(255,255,255,0.04);
    border-left-color: var(--accent);
    color: var(--text);
  }

  .mobile-dropdown.open .mobile-dropdown-toggle {
    color: var(--accent);
    border-left-color: var(--accent);
  }

  .mobile-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
  }

  .mobile-dropdown.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
  }

  .mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--accent);
    margin: 0 12px 4px 20px;
    border-radius: 0 4px 4px 0;
  }

  .mobile-dropdown.open .mobile-dropdown-menu {
    display: flex;
  }

  .mobile-dropdown-menu a {
    padding: 10px 16px !important;
    font-size: 11px !important;
    border-left: none !important;
    color: var(--text-dim);
  }

  .mobile-dropdown-menu a:hover {
    color: var(--accent) !important;
    background: rgba(255,149,0,0.06) !important;
  }

  [data-theme="light"] .mobile-dropdown-toggle {
    color: #444;
  }

  [data-theme="light"] .mobile-dropdown-menu {
    background: rgba(0,0,0,0.02);
  }

  .nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
  }

  /* Language buttons */
  .lang-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .lang-btn {
    padding: 6px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .lang-btn.active {
    background: var(--accent);
    color: #0a0b0d;
    border-color: var(--accent);
  }

  .lang-btn:hover:not(.active) {
    border-color: var(--border);
    color: var(--text);
  }

  /* Theme toggle button */
  .theme-btn {
    padding: 7px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .theme-btn:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
  }

  /* Mobile menu button (burger) */
  .menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 24px;
    cursor: pointer;
    padding: 8px 4px;
  }

  /* ====== MOBILE MENU ====== */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-right: 1px solid var(--border);
    z-index: 200;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding-top: 56px;
    overflow-y: auto;
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 190;
    transition: background 0.28s ease;
    display: none;
    pointer-events: none;
  }

  .mobile-menu.active ~ .mobile-menu-overlay {
    display: block;
    background: rgba(0,0,0,0.4);
    pointer-events: auto;
  }

  .mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 201;
  }

  .mobile-menu-content {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: background 0.2s;
    border-left: 3px solid transparent;
  }

  .mobile-menu a:hover {
    background: rgba(255,255,255,0.04);
    border-left-color: var(--accent);
  }

  .mobile-menu a.active {
    background: rgba(255,149,0,0.1);
    border-left-color: var(--accent);
    color: var(--accent);
  }

  .mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
  }

  .mobile-menu-btn {
    margin: 0 12px;
    padding: 10px 16px !important;
    border-left: none !important;
    border-radius: 4px;
    border: 1px solid var(--border) !important;
    background: transparent !important;
    font-size: 14px !important;
    text-align: center;
    transition: all 0.2s;
  }

  .mobile-menu-btn:hover {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.2) !important;
  }

  .mobile-menu-register {
    color: var(--accent) !important;
    border-color: rgba(255,149,0,0.3) !important;
  }

  .btn-outline {
    padding: 7px 18px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dim);
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

  @media (max-width: 768px) {
    nav {
      padding: 0 16px;
    }

    .nav-logo {
      margin-right: 12px;
      font-size: 16px;
    }

    .nav-links {
      display: none;
    }

    .menu-btn {
      display: flex;
      order: 1;
    }

    .lang-btn {
      padding: 5px 10px;
      font-size: 10px;
    }

    .theme-btn {
      padding: 5px 10px;
    }

    .btn-outline {
      display: none;
    }
  }

  @media (max-width: 480px) {
    nav {
      padding: 0 12px;
      gap: 8px;
    }

    .nav-right {
      gap: 6px;
    }

    .lang-buttons {
      gap: 4px;
    }

    .lang-btn {
      padding: 4px 8px;
      font-size: 9px;
    }

    .theme-btn {
      padding: 4px 8px;
      font-size: 14px;
    }

    .menu-btn {
      padding: 6px 2px;
      font-size: 20px;
    }
  }

  /* ====== HERO ====== */
  .hero {
    padding: 140px 32px 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(ellipse, rgba(255,149,0,0.06) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    content: '';
    width: 32px; height: 1px;
    background: var(--accent);
    opacity: 0.5;
  }

  .hero h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    max-width: 800px;
  }
  .hero h1 span { color: var(--accent); }

  .hero-sub {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 480px;
    font-weight: 300;
    margin-bottom: 48px;
  }

  /* ====== SEARCH BOX ====== */
  .search-wrap {
    width: 100%;
    max-width: 680px;
    position: relative;
    margin-bottom: 40px;
  }

  .search-box {
    display: flex;
    align-items: center;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0 6px 0 20px;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .search-box:focus-within {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px rgba(255,149,0,0.07);
  }

  .search-prefix {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    white-space: nowrap;
    opacity: 0.8;
  }

  .search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--text);
    padding: 18px 0;
    letter-spacing: 0.04em;
  }
  .search-input::placeholder { color: var(--text-muted); }

  .search-btn {
    padding: 10px 22px;
    background: var(--accent);
    color: #0a0b0d;
    border: none;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
  }
  .search-btn:hover { background: #ffac2e; }

  .search-hints {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    justify-content: center;
  }
  .hint-chip {
    padding: 4px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .hint-chip:hover { color: var(--text); border-color: rgba(255,149,0,0.3); }

  /* ====== STATS BAR ====== */
  .stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
    display: flex;
    justify-content: center;
    gap: 0;
    overflow: hidden;
  }
  .stat-item {
    padding: 22px 48px;
    text-align: center;
    border-right: 1px solid var(--border);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* ====== LAYOUT ====== */
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .section-title .dot { color: var(--accent); }
  .section-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .section-link:hover { color: var(--accent); }

  /* ====== CARRIERS GRID ====== */
  .carriers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .carrier-card {
    background: var(--card-bg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: var(--text);
  }
  .carrier-card:hover { background: #1a1c24; }

  .carrier-icon {
    width: 52px; height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
  }

  .carrier-info { flex: 1; min-width: 0; }
  .carrier-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .carrier-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 3px;
  }

  .carrier-rating {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    flex-shrink: 0;
  }

  /* ====== TWO-COL ====== */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
  }

  /* ====== ARTICLE CARDS ====== */
  .articles-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .article-card {
    background: var(--card-bg);
    display: flex;
    gap: 20px;
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
    align-items: flex-start;
  }
  .article-card:hover { background: var(--bg2); }

  .article-img {
    flex: 0 0 45%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background: var(--bg3);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
  }

  .article-img-inner {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }

  .article-img-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .article-body { flex: 1; }
  .article-cat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
  }
  .article-card-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
  }
  .article-preview {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 6px;
  }
  .article-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
  }

  /* ====== SIDEBAR ====== */
  .sidebar { display: flex; flex-direction: column; gap: 20px; }

  .sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .widget-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .widget-header::before {
    content: '';
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--accent);
    display: block;
  }

  /* track status widget */
  .track-history {
    padding: 8px 0;
  }
  .track-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
  }
  .track-row:last-child { border-bottom: none; }
  .track-row:hover { background: rgba(255,255,255,0.03); }
  .track-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text);
    flex: 1;
  }
  .track-row-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
  }
  .track-time {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: var(--text-muted);
    white-space: nowrap;
  }
  .track-status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
  }
  .status-transit   { background: rgba(59,130,246,0.12);  color: #60a5fa; }
  .status-delivered { background: rgba(0,209,122,0.12);   color: var(--green); }
  .status-pending   { background: rgba(255,149,0,0.12);   color: var(--accent); }
  .status-customs   { background: rgba(168,85,247,0.12);  color: #c084fc; }
  .status-expired   { background: rgba(156,163,175,0.12); color: #9ca3af; }
  .track-status[title] { cursor: help; }

  /* reviews widget */
  .review-list { padding: 8px 0; }
  .review-item {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
  }
  .review-item:last-child { border-bottom: none; }
  .review-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .review-carrier {
    font-size: 12px;
    font-weight: 500;
    flex: 1;
  }
  .stars { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
  .review-text {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .review-author {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 6px;
  }

  /* ====== SERVICES FULL ====== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, transform 0.2s;
    display: block;
  }
  .service-card:hover {
    border-color: rgba(255,149,0,0.25);
    transform: translateY(-2px);
  }

  .service-icon { font-size: 28px; margin-bottom: 12px; }
  .service-name { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
  .service-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  .service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .service-rating-val {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
  }
  .service-reviews-cnt {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
  }
  .service-speed {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
  }
  .speed-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

  /* ====== FOOTER ====== */
  footer {
    border-top: 1px solid var(--border);
    background: var(--bg2);
    padding: 48px 32px 32px;
  }
  .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }
  .footer-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  .footer-logo span { color: var(--accent); }
  .footer-logo-img { height: 56px; width: auto; vertical-align: middle; margin-right: 8px; border-radius: 4px; }
  .footer-logo-img.nav-logo-dark { height: 84px; }
  .footer-tagline {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .footer-col h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--text); }
  .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
  }

  /* ====== BREADCRUMB / SEO block ====== */
  .info-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 32px;
  }
  .info-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .info-block h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .info-block h3 span { color: var(--accent); }
  .info-block p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
  }

  /* ====== ANIMATE ====== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero h1 { animation: fadeUp 0.6s ease both; }
  .hero-sub { animation: fadeUp 0.6s 0.1s ease both; }
  .search-wrap { animation: fadeUp 0.6s 0.2s ease both; }

  /* ====== BLINK CURSOR ====== */
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
  .cursor {
    display: inline-block;
    width: 2px; height: 1em;
    background: var(--accent);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
  }

  /* ====== PAGE TOP (отступ под fixed nav) ====== */
  .page-top {
    padding-top: 56px;
  }

  /* ====== BREADCRUMB ====== */
  .breadcrumb {
    padding: 20px 0 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-dim);
  }
  .breadcrumb a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
  }
  .breadcrumb a:hover { color: var(--accent); }

  /* ====== PAGE TITLE ====== */
  .page-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin: 12px 0 28px;
  }

  /* ====== PAGINATION ====== */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 8px 0 48px;
    font-family: 'IBM Plex Mono', monospace;
  }
  .pagination a,
  .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 12px;
    transition: all 0.2s;
  }
  .pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .pagination .current {
    background: var(--accent);
    color: #0a0b0d;
    border-color: var(--accent);
  }

  /* ====== REVIEWS SECTION ====== */
  .reviews-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }

  .reviews-header-full {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
  }

  .btn-all-reviews {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-all-reviews:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255,149,0,0.05);
  }

  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .review-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
  }

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

  .review-card-id { font-weight: 600; color: var(--text); font-size: 14px; }
  .review-card-stars { color: var(--accent); font-size: 14px; }
  .review-card-text { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
  .review-card-date { font-size: 11px; color: var(--text-muted); }

  /* mobile */
  @media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 16px 24px; }
  }
  @media (max-width: 640px) {
    nav { padding: 0 16px; }
    .nav-links { display: none; }
    .hero { padding: 100px 16px 60px; }
    .container { padding: 0 16px; }
    .stats-bar { flex-wrap: wrap; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-header-wrapper { flex-direction: column; align-items: flex-start; gap: 12px; }
    .btn-all-reviews { width: 100%; }
    .reviews-header-full { font-size: 18px; }
    .review-card { padding: 16px; }
  }

  /* ====== PAGE SUBTITLE ====== */
  .page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 4px;
    margin-bottom: 40px;
  }

  /* ====== NEWS / ARTICLE CARDS ====== */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
  }

  .news-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
  }

  .news-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .news-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
  }

  .news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--bg3);
  }

  .news-card.featured .news-image {
    width: 50%;
    height: auto;
    min-height: 320px;
  }

  .news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .news-card.featured .news-content {
    padding: 32px;
    justify-content: center;
  }

  .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
  }

  .news-date { color: var(--text-dim); }

  .news-category {
    padding: 2px 8px;
    background: rgba(255,149,0,0.12);
    color: var(--accent);
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
  }

  .news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
  }

  .news-card.featured .news-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-card.featured .news-excerpt {
    font-size: 15px;
    -webkit-line-clamp: 4;
    margin-bottom: 12px;
  }

  .news-footer {
    margin-top: auto;
    padding-top: 12px;
  }

  .read-more {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .read-more:hover { color: var(--accent); }
  .read-more::after { content: '→'; font-size: 14px; }

  @media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card.featured { grid-column: 1 / -1; flex-direction: column; }
    .news-card.featured .news-image { width: 100%; height: 280px; }
  }

  @media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; gap: 20px; }
    .news-card.featured .news-image { height: 220px; }
    .news-card.featured .news-content { padding: 24px; }
    .news-card.featured .news-title { font-size: 22px; }
  }

  @media (max-width: 480px) {
    .news-image { height: 180px; }
    .news-title { font-size: 16px; }
    .news-excerpt { font-size: 13px; }
  }

  /* ====== ARTICLE DETAIL ====== */
  .article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .article-main {
    min-width: 0;
  }

  .article-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
  }

  .article-header {
    margin-bottom: 32px;
  }

  .article-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
  }

  .article-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text);
  }

  .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .article-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,149,0,0.08);
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
  }

  .article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
  }

  .article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
  }

  .article-content h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text);
  }

  .article-content h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text);
  }

  .article-content p {
    margin-bottom: 20px;
  }

  .article-content ul,
  .article-content ol {
    margin: 20px 0;
    padding-left: 24px;
  }

  .article-content li {
    margin-bottom: 12px;
    line-height: 1.8;
  }

  .article-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg3);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-dim);
  }

  .article-content a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
  }

  .article-content a:hover {
    color: var(--accent);
  }

  .article-info-box {
    margin: 32px 0;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .article-info-box h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .article-info-box p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-dim);
  }

  .article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
  }

  .article-share {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .share-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
  }

  .share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
  }

  .share-btn:hover {
    background: var(--accent);
    color: #0a0b0d;
    border-color: var(--accent);
  }

  .back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s;
    margin-top: 32px;
  }

  .back-to-news:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--accent);
  }

  .sidebar-section {
    margin-bottom: 32px;
  }

  .sidebar-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 20px;
  }

  .related-article {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    display: block;
    margin-bottom: 16px;
  }

  .related-article:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
  }

  .related-article-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--bg3);
    display: block;
  }

  .related-article-content {
    padding: 16px;
  }

  .related-article-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .related-article-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
  }

  @media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; gap: 48px; }
    .article-sidebar { position: static; }
  }

  @media (max-width: 768px) {
    .article-title { font-size: 28px; }
    .article-content { font-size: 15px; }
    .article-content h2 { font-size: 22px; }
    .article-content h3 { font-size: 18px; }
  }

  /* ====== REVIEWS LIST PAGE ====== */
  .reviews-page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
  }

  /* Courier banner (shown when filtering by service) */
  .courier-info-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    margin-bottom: 32px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s;
  }
  .courier-info-banner:hover { border-color: var(--accent); }

  .banner-icon { font-size: 40px; flex-shrink: 0; }

  .banner-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
  .banner-meta { font-size: 13px; color: var(--text-dim); }

  .banner-rating {
    margin-left: auto;
    text-align: center;
    flex-shrink: 0;
  }
  .banner-rating-val {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
  }
  .banner-rating-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 4px;
  }

  /* Filter bar */
  .reviews-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .filter-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .filter-select {
    padding: 8px 28px 8px 12px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a5e6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
  }
  .filter-select:focus { outline: none; border-color: var(--accent); }

  .review-count-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
  }

  /* Full review card for list page */
  .review-card-full {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
  }
  .review-card-full:hover { border-color: var(--border-accent); }

  .review-card-full-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
  }

  .review-author-block { display: flex; flex-direction: column; gap: 6px; }

  .review-author-name { font-weight: 600; font-size: 14px; color: var(--text); }

  .review-courier-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255,149,0,0.1);
    border: 1px solid var(--border-accent);
    border-radius: 3px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.06em;
  }

  .review-card-full-stars { color: var(--accent); font-size: 18px; flex-shrink: 0; }

  .review-card-full-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 12px;
  }

  .review-card-full-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
  }
  .review-track-num { color: var(--blue); }

  /* ====== REVIEW FORM ====== */
  .review-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 80px;
  }

  .review-form-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .form-group { margin-bottom: 16px; }

  .form-label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 6px;
  }
  .form-label .optional {
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
  }

  .form-control {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 13px;
    font-family: 'IBM Plex Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .form-control::placeholder { color: var(--text-muted); }
  .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--border-accent);
  }
  .form-control.select-ctrl {
    appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a5e6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-color: var(--bg3);
    cursor: pointer;
  }
  .form-control.textarea-ctrl {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
  }

  /* CSS-only star rating */
  .star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
  }
  .star-rating-input input { display: none; }
  .star-rating-input label {
    font-size: 28px;
    color: var(--bg3);
    cursor: pointer;
    transition: color 0.15s;
    line-height: 1;
    filter: drop-shadow(0 0 0 var(--border));
  }
  .star-rating-input label:hover,
  .star-rating-input label:hover ~ label,
  .star-rating-input input:checked ~ label { color: var(--accent); }

  .submit-review-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #0a0b0d;
    border: none;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
  }
  .submit-review-btn:hover { background: var(--accent2); }

  @media (max-width: 1024px) {
    .reviews-page-layout { grid-template-columns: 1fr; }
    .review-form-card { position: static; }
  }

  @media (max-width: 768px) {
    .courier-info-banner { gap: 12px; }
    .banner-icon { font-size: 32px; }
    .banner-name { font-size: 16px; }
    .banner-rating { margin-left: 0; }
    .reviews-filter-bar { flex-direction: column; align-items: flex-start; }
    .review-count-badge { margin-left: 0; }
    .review-card-full { padding: 16px; }
  }

/* ═══════════════════════════════════════════════════════
   GEO WORLD — континенты / страны
   ═══════════════════════════════════════════════════════ */

.geo-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.geo-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.geo-header p {
  font-size: 13px;
  color: var(--text-dim);
}

.continent-block {
  margin-bottom: 52px;
}

.continent-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.continent-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.continent-count {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: auto;
}

.countries-grid {
  columns: 5;
  column-gap: 24px;
}

.country-item {
  display: block;
  break-inside: avoid;
  padding: 4px 0;
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-item:hover {
  color: var(--accent);
}

.country-item .city-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

[data-theme="light"] .country-item { color: #444; }
[data-theme="light"] .country-item:hover { color: var(--accent); }
[data-theme="light"] .country-item .city-count { color: #aaa; }

@media (max-width: 1200px) { .countries-grid { columns: 4; } }
@media (max-width: 900px)  { .countries-grid { columns: 3; } }
@media (max-width: 640px)  { .countries-grid { columns: 2; } }
@media (max-width: 400px)  { .countries-grid { columns: 1; } }

/* ═══════════════════════════════════════════════════════
   GEO COUNTRY — список городов страны
   ═══════════════════════════════════════════════════════ */

.geo-country-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.geo-country-header-text h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 6px;
}

.geo-country-header-text p {
  font-size: 15px;
  color: var(--text-dim);
}

.geo-country-stat {
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  color: var(--text-dim);
}

.geo-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.geo-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  min-width: 140px;
  flex: 1 1 140px;
}

.geo-info-clock {
  flex: 0 0 auto;
  min-width: 160px;
  border-color: rgba(255,149,0,0.25);
  background: rgba(255,149,0,0.05);
}

.geo-info-clock-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.geo-info-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  word-break: break-all;
}

.geo-info-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.geo-description {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .geo-info-card { flex: 1 1 calc(50% - 6px); }
  .geo-info-clock { flex: 1 1 100%; }
  .geo-description { padding: 18px; }
}

.geo-map-wrap {
  margin: 32px 0 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.geo-map {
  height: 380px;
  width: 100%;
}

@media (max-width: 640px) {
  .geo-map { height: 260px; }
}

.geo-country-desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 600px;
}

.geo-country-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.geo-city-search-wrap {
  margin-bottom: 24px;
}

.geo-city-search {
  width: 100%;
  max-width: 400px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.geo-city-search:focus {
  border-color: var(--accent);
}

.geo-city-search::placeholder {
  color: var(--text-muted);
}

.geo-cities-grid {
  columns: 5;
  column-gap: 24px;
  margin-bottom: 60px;
}

.geo-city-item {
  display: block;
  break-inside: avoid;
  padding: 4px 0;
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.15s;
}

.geo-city-item::before {
  content: "— ";
  color: var(--text-muted);
}

.geo-city-item:hover {
  color: var(--accent);
}

.geo-city-item.major {
  font-weight: 600;
  color: var(--text);
}

[data-theme="light"] .geo-city-item { color: #444; }
[data-theme="light"] .geo-city-item::before { color: #999; }
[data-theme="light"] .geo-city-item:hover { color: var(--accent); }
[data-theme="light"] .geo-city-item.major { color: #1a1a1a; }

@media (max-width: 1200px) { .geo-cities-grid { columns: 4; } }
@media (max-width: 900px)  { .geo-cities-grid { columns: 3; } }
@media (max-width: 640px)  { .geo-cities-grid { columns: 2; } }
@media (max-width: 400px)  {
  .geo-cities-grid { columns: 1; }
  .geo-country-header { flex-direction: column; }
  .geo-country-stat { text-align: left; }
}

/* ====== DELIVERY STATS ====== */

.ds-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.ds-tabs-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ds-tabs-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 32px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ds-tab {
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.ds-tab:hover {
  background: var(--bg3);
  color: var(--text);
  border-color: var(--border-accent);
}
.ds-tab.active {
  background: rgba(255,149,0,0.1);
  color: var(--accent);
  border-color: var(--border-accent);
}

.ds-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 16px;
}

.ds-search {
  flex: 1;
  max-width: 340px;
  padding: 8px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  transition: border-color 0.2s;
}
.ds-search::placeholder { color: var(--text-muted); }
.ds-search:focus {
  outline: none;
  border-color: var(--border-accent);
}

.ds-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.ds-section { display: none; }
.ds-section.active { display: block; }

.ds-table-wrap {
  overflow-x: auto;
  margin-bottom: 48px;
}

.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ds-table thead tr {
  border-bottom: 1px solid var(--border-accent);
}

.ds-table thead th {
  padding: 8px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.ds-row td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ds-row.ds-row-first td { border-top: 1px solid var(--border); }
.ds-row:not(.ds-row-first) td { border-top: none; }

/* Remove top border for continuation rows to visually group them */
.ds-row:not(.ds-row-first) td:first-child { border-top: none; }
.ds-row:not(.ds-row-first).ds-row-last td { border-bottom: 1px solid var(--border); }

.ds-row:hover td { background: var(--bg2); }

.ds-format-cell {
  width: 200px;
  min-width: 160px;
  white-space: nowrap;
  vertical-align: top;
}

.ds-format-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 3px;
}

.ds-untracked-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f59e0b;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 3px;
  padding: 1px 5px;
  cursor: help;
}

.ds-service-cell {
  color: var(--text-dim);
  min-width: 180px;
}

.ds-service-link {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,149,0,0.25);
  transition: color 0.15s, border-color 0.15s;
}
.ds-service-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ds-days-cell {
  text-align: right;
  white-space: nowrap;
  min-width: 100px;
}

.ds-days {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
}
.ds-days-fast { color: var(--green); }
.ds-days-mid  { color: #f59e0b; }
.ds-days-slow { color: var(--text-muted); }

.ds-empty {
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

[data-theme="light"] .ds-tab { color: #666; background: transparent; }
[data-theme="light"] .ds-tab:hover { background: #e8e8e8; color: #333; }
[data-theme="light"] .ds-tab.active { background: rgba(255,149,0,0.1); color: var(--accent); }
[data-theme="light"] .ds-row:hover td { background: #eaeaea; }
[data-theme="light"] .ds-service-cell { color: #555; }

@media (max-width: 640px) {
  .ds-toolbar { flex-wrap: wrap; }
  .ds-search { max-width: 100%; width: 100%; }
  .ds-format-cell { min-width: 120px; }
  .ds-service-cell { min-width: 130px; }
}

/* ── Profile page ───────────────────────────────────── */
.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin: 32px 0 0;
  width: 100%;
}


.profile-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.profile-tab:hover { color: var(--text); }
.profile-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.profile-tab-panel {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 32px 0 60px;
}

.profile-tab-panel.active { display: block; }

.profile-settings-wrap {
  max-width: 400px;
}

.profile-section-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.profile-history-list {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.profile-history-row {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
  gap: 16px;
}

.profile-history-row:last-child { border-bottom: none; }
.profile-history-row:hover { background: rgba(255,255,255,0.03); }

.profile-track-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text);
  flex: 1;
}

.profile-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.profile-empty {
  color: var(--text-muted);
  font-size: 14px;
  padding: 24px 0;
}

@media (max-width: 600px) {
  .profile-tab { padding: 10px 12px; font-size: 10px; }
}

/* ── Tracking Statuses page ─────────────────────────── */
.ts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0;
}

.ts-card {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.ts-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-icon--pending  { background: rgba(150,150,150,0.12); color: var(--text-muted); }
.ts-icon--transit  { background: rgba(255,149,0,0.12);   color: var(--accent); }
.ts-icon--customs  { background: rgba(255,200,0,0.12);   color: #e8b400; }
.ts-icon--delivered{ background: rgba(50,200,100,0.12);  color: #2db870; }

.ts-card-body { flex: 1; min-width: 0; }

.ts-status-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ts-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.3;
}

.ts-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
}

.ts-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ts-meta-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.ts-meta-label {
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  white-space: nowrap;
  padding-top: 1px;
  flex-shrink: 0;
}

.ts-meta-val {
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Secondary statuses */
.ts-secondary-section {
  padding: 0 0 48px;
}

.ts-section-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px;
}

.ts-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ts-other-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.ts-other-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ts-other-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* FAQ */
.ts-faq-section {
  padding: 0 0 48px;
}

.ts-faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ts-faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.ts-faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.ts-faq-q::-webkit-details-marker { display: none; }

.ts-faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.ts-faq-item[open] .ts-faq-q::after {
  transform: rotate(45deg);
}

.ts-faq-a {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* CTA block */
.ts-cta {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 60px;
}

.ts-cta-text {
  margin-bottom: 24px;
}

.ts-cta-text h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.ts-cta-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

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

@media (max-width: 600px) {
  .ts-card { flex-direction: column; gap: 14px; }
  .ts-other-grid { grid-template-columns: 1fr; }
  .ts-cta { padding: 24px 18px; }
}

/* ── Auth pages (login, register, change-password) ── */
.auth-page {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.auth-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 8px;
}
.auth-logo span { color: var(--accent); }

.auth-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-dim);
}

.auth-field {
  margin-bottom: 20px;
}

.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-family: 'IBM Plex Mono', monospace;
}

.auth-field input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.auth-field input::placeholder { color: var(--text-muted); }
.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--border-accent);
}
.auth-field input.field-error {
  border-color: #ef4444;
}

.field-errors {
  margin-top: 6px;
  font-size: 12px;
  color: #ef4444;
}

.auth-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #ef4444;
  margin-bottom: 20px;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #0a0b0d;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}
.auth-btn:hover { background: var(--accent2); }
.auth-btn:active { transform: scale(0.98); }

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover { text-decoration: underline; }

.auth-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}
