/* ==========================================================
   РулиТур — Road Atlas Design (Variant A)
   rulitour.world
   ========================================================== */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --asphalt: #1a1d21;
  --asphalt-mid: #2a2d33;
  --asphalt-light: #3a3d44;
  --signal-yellow: #FFD23F;
  --signal-yellow-dim: #bfa230;
  --road-white: #f2f0eb;
  --road-grey: #9a9690;
  --marker-red: #E8443A;
  --distance-green: #4CAF50;
  --sky-blue: #5b8fa8;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Crimson Pro', serif;
  --font-mono: 'Space Mono', monospace;
}

body {
  background: var(--asphalt);
  color: var(--road-white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TOPO PATTERN BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      transparent 89deg,
      rgba(255,210,63,0.015) 89deg,
      rgba(255,210,63,0.015) 90deg
    );
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--asphalt);
  border-bottom: 1px solid var(--asphalt-light);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--road-white);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border: 3px solid var(--signal-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--signal-yellow);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-text span {
  color: var(--signal-yellow);
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--road-grey);
  text-decoration: none;
  padding: 8px 16px;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--signal-yellow);
}

/* Dropdowns */
nav .dropdown {
  position: relative;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--asphalt-mid);
  border: 1px solid var(--asphalt-light);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}

nav .dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--signal-yellow-dim);
  padding: 8px 20px 4px;
  display: block;
}

nav .dropdown-content a {
  display: block;
  padding: 6px 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Mobile burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--road-white);
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--asphalt);
  z-index: 99;
  padding: 32px 20px;
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--road-grey);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--asphalt-light);
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--signal-yellow);
}

.mobile-nav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  padding: 24px 0 8px;
  display: block;
}

/* ==========================================================
   HERO (Homepage)
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 40%, rgba(91,143,168,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 70%, rgba(255,210,63,0.06) 0%, transparent 50%);
}

.hero-route-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-yellow);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-badge::before,
.hero-badge::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--signal-yellow-dim);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--signal-yellow);
  display: block;
  font-size: 0.6em;
  letter-spacing: 8px;
  margin-top: 8px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--road-grey);
  max-width: 600px;
  margin: 0 auto 48px;
  font-style: italic;
}

/* Route preview dots */
.hero-route-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal-yellow);
  flex-shrink: 0;
}

.route-dash {
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--road-grey) 0px,
    var(--road-grey) 6px,
    transparent 6px,
    transparent 10px
  );
  flex-shrink: 0;
}

.route-city {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--road-white);
  letter-spacing: 1px;
}

/* Hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--signal-yellow);
  color: var(--asphalt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 40px;
  text-decoration: none;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: var(--road-white);
  transform: translateY(-2px);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================
   KM TICKER
   ========================================================== */
.km-ticker {
  background: var(--asphalt-mid);
  border-top: 1px solid var(--asphalt-light);
  border-bottom: 1px solid var(--asphalt-light);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.km-ticker-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

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

.km-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.km-ticker-item .km {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--signal-yellow);
}

.km-ticker-item .route-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--road-grey);
}

.km-ticker-item .divider {
  width: 4px;
  height: 4px;
  background: var(--asphalt-light);
  border-radius: 50%;
}

/* ==========================================================
   SECTIONS (Homepage generic)
   ========================================================== */
.section {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--road-grey);
  font-size: 19px;
  max-width: 600px;
  margin-bottom: 60px;
}

/* ==========================================================
   COUNTRY CLUSTERS (Homepage)
   ========================================================== */
.cluster {
  margin-bottom: 80px;
}

.cluster-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--asphalt-light);
}

.cluster-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--signal-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--signal-yellow);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.cluster-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cluster-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--road-grey);
  margin-left: auto;
}

/* Country cards grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

.country-card {
  background: var(--asphalt-mid);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--road-white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--signal-yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}

.country-card:hover {
  background: var(--asphalt-light);
}

.country-card:hover::before {
  transform: scaleY(1);
}

.country-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.country-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.country-routes-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal-yellow);
  background: rgba(255,210,63,0.1);
  padding: 4px 10px;
}

.country-meta {
  display: flex;
  gap: 20px;
}

.country-meta-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--road-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.country-meta-item .val {
  color: var(--road-white);
}

.country-preview-route {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--road-grey);
  font-style: italic;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================
   FEATURED ROUTES (Homepage)
   ========================================================== */
.featured-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.featured-route {
  position: relative;
  background: var(--asphalt-mid);
  padding: 40px 32px;
  text-decoration: none;
  color: var(--road-white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s;
  min-height: 320px;
}

.featured-route:hover {
  background: var(--asphalt-light);
}

.featured-route-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
}

.featured-route-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  max-width: 400px;
}

.featured-route-waypoints {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.waypoint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--road-grey);
  padding: 4px 10px;
  border: 1px solid var(--asphalt-light);
}

.waypoint-arrow {
  color: var(--signal-yellow-dim);
  font-size: 14px;
}

.featured-route-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--asphalt-light);
}

.route-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.route-stat .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--signal-yellow);
}

.route-stat .unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--road-grey);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cross-country badge */
.cross-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--marker-red);
  border: 1px solid var(--marker-red);
  padding: 4px 10px;
}

/* ==========================================================
   PRACTICAL SECTION (Homepage)
   ========================================================== */
.practical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.practical-card {
  background: var(--asphalt-mid);
  padding: 32px 24px;
  text-decoration: none;
  color: var(--road-white);
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.practical-card:hover {
  background: var(--asphalt-light);
}

.practical-icon {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--signal-yellow);
  margin-bottom: 8px;
}

.practical-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.practical-desc {
  font-size: 15px;
  color: var(--road-grey);
  line-height: 1.5;
}

/* ==========================================================
   BREADCRUMB
   ========================================================== */
.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 40px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: var(--road-grey);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--signal-yellow); }

.breadcrumb .sep { color: var(--asphalt-light); }

.breadcrumb .current { color: var(--signal-yellow); }

/* ==========================================================
   COUNTRY HUB
   ========================================================== */
.country-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px 0;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.country-hero-left h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 0.95;
  margin-bottom: 24px;
}

.country-hero-left h1 em {
  font-style: normal;
  color: var(--signal-yellow);
  display: block;
  font-size: 0.45em;
  letter-spacing: 6px;
  margin-top: 8px;
  font-weight: 600;
}

.country-intro {
  font-size: 20px;
  color: var(--road-grey);
  line-height: 1.7;
  max-width: 600px;
}

.country-intro strong {
  color: var(--road-white);
  font-weight: 500;
}

/* Driving stats card */
.stats-card {
  background: var(--asphalt-mid);
  border: 1px solid var(--asphalt-light);
  padding: 32px;
}

.stats-card-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--asphalt-light);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}

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

.stat-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--road-grey);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--road-white);
}

.stat-value.good { color: var(--distance-green); }
.stat-value.warn { color: var(--signal-yellow); }
.stat-value.bad { color: var(--marker-red); }

.stats-card .cta-link {
  display: block;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--asphalt-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--signal-yellow);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.stats-card .cta-link:hover { opacity: 0.8; }

/* Country hero image */
.country-hero-image {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0 40px;
}

.country-hero-image .image-container {
  width: 100%;
  height: 360px;
  background: var(--asphalt-mid);
  position: relative;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(91,143,168,0.2) 0%, transparent 50%),
    linear-gradient(225deg, rgba(255,210,63,0.1) 0%, transparent 50%),
    var(--asphalt-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--road-grey);
  letter-spacing: 2px;
}

/* Routes list */
.routes-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.routes-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 12px;
}

.routes-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 48px;
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.route-item {
  background: var(--asphalt-mid);
  padding: 32px;
  text-decoration: none;
  color: var(--road-white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  transition: background 0.3s;
  position: relative;
}

.route-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--signal-yellow);
  transform: scaleY(0);
  transition: transform 0.3s;
  transform-origin: top;
}

.route-item:hover {
  background: var(--asphalt-light);
}

.route-item:hover::before {
  transform: scaleY(1);
}

.route-item-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-item-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
}

.route-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.route-item-waypoints {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.route-item-waypoints .wp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--road-grey);
}

.route-item-waypoints .arrow {
  color: var(--asphalt-light);
  font-size: 12px;
}

.route-item-desc {
  font-size: 16px;
  color: var(--road-grey);
  line-height: 1.5;
  max-width: 600px;
}

.route-item-right {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.route-item-stat {
  text-align: center;
}

.route-item-stat .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  color: var(--signal-yellow);
  display: block;
}

.route-item-stat .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--road-grey);
}

/* Driving info */
.driving-info {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.driving-info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 12px;
}

.driving-info-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.driving-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.driving-info-card {
  background: var(--asphalt-mid);
  padding: 32px;
}

.driving-info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--signal-yellow);
}

.driving-info-card p {
  font-size: 17px;
  color: var(--road-grey);
  line-height: 1.7;
}

.driving-info-card ul {
  list-style: none;
  padding: 0;
}

.driving-info-card ul li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  font-size: 16px;
  color: var(--road-grey);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.driving-info-card ul li::before {
  content: '\2014';
  color: var(--signal-yellow-dim);
  flex-shrink: 0;
}

.driving-info-card ul li:last-child { border-bottom: none; }

/* ==========================================================
   ARTICLE HERO
   ========================================================== */
.article-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px 0;
}

.article-hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 800px;
}

/* Meta strip */
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--asphalt-light);
  border-bottom: 1px solid var(--asphalt-light);
}

.article-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.article-meta-item .val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--signal-yellow);
}

.article-meta-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--road-grey);
}

.article-meta-divider {
  width: 1px;
  height: 24px;
  background: var(--asphalt-light);
}

/* Article hero image */
.article-hero-image {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 40px;
}

.article-hero-image .img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(91,143,168,0.15) 0%, rgba(255,210,63,0.08) 100%), var(--asphalt-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--road-grey);
}

/* ==========================================================
   ARTICLE TWO-COLUMN LAYOUT
   ========================================================== */
.article-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

/* ==========================================================
   ARTICLE CONTENT
   ========================================================== */
.article-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 56px 0 24px;
  padding-top: 40px;
  border-top: 1px solid var(--asphalt-light);
  position: relative;
}

.article-content h2::before {
  content: '//';
  color: var(--signal-yellow-dim);
  margin-right: 12px;
  font-weight: 400;
}

.article-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 36px 0 16px;
  color: var(--signal-yellow);
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 18px;
}

.article-content a:not(.cta-button) {
  color: var(--signal-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.article-content a:not(.cta-button):hover { opacity: 0.8; }

.article-content strong {
  font-weight: 600;
  color: var(--road-white);
}

/* Day headers */
.day-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 24px;
  padding: 20px 0;
  border-top: 2px solid var(--signal-yellow);
  border-bottom: 1px solid var(--asphalt-light);
}

.day-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 40px;
  color: var(--signal-yellow);
  line-height: 1;
}

.day-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.day-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-stats {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--road-grey);
  letter-spacing: 1px;
}

/* Stop boxes */
.stop-box {
  background: var(--asphalt-mid);
  border-left: 3px solid var(--signal-yellow);
  padding: 20px 24px;
  margin: 24px 0;
}

.stop-box-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stop-box-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stop-box-km {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--signal-yellow);
}

.stop-box p {
  margin-bottom: 0;
  font-size: 16px;
  color: var(--road-grey);
  line-height: 1.6;
}

/* KM marker inline */
.km-marker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--signal-yellow);
  background: rgba(255,210,63,0.08);
  padding: 2px 8px;
  margin: 0 2px;
}

/* Article image placeholders */
.article-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, rgba(91,143,168,0.1) 0%, rgba(255,210,63,0.05) 100%), var(--asphalt-mid);
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--road-grey);
}

/* Info table (article) */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

.info-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  padding: 10px 16px;
  background: var(--asphalt-mid);
  color: var(--signal-yellow);
  border-bottom: 2px solid var(--asphalt-light);
}

.info-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--road-grey);
}

.info-table td:first-child { color: var(--road-white); }

.info-table tr:last-child td { border-bottom: none; }

/* ==========================================================
   SIDEBAR
   ========================================================== */
.sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Route summary card */
.route-summary {
  background: var(--asphalt-mid);
  border: 1px solid var(--asphalt-light);
  padding: 28px;
}

.route-summary-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--asphalt-light);
}

.route-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.route-summary-row:last-of-type { border-bottom: none; }

.route-summary-row .label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--road-grey);
}

.route-summary-row .val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--road-white);
}

/* Waypoints vertical timeline */
.route-timeline {
  background: var(--asphalt-mid);
  border: 1px solid var(--asphalt-light);
  padding: 28px;
}

.route-timeline-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 24px;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--signal-yellow-dim) 0px,
    var(--signal-yellow-dim) 4px,
    transparent 4px,
    transparent 8px
  );
}

.timeline-stop {
  position: relative;
  padding: 8px 0 20px;
}

.timeline-stop:last-child { padding-bottom: 0; }

.timeline-stop::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--asphalt-mid);
  border: 3px solid var(--signal-yellow);
}

.timeline-stop.start::before,
.timeline-stop.end::before {
  background: var(--signal-yellow);
}

.timeline-stop-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-stop-km {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--road-grey);
}

/* Sidebar CTA */
.sidebar-cta {
  background: var(--signal-yellow);
  padding: 24px;
  text-decoration: none;
  color: var(--asphalt);
  display: block;
  text-align: center;
  transition: background 0.2s;
}

.sidebar-cta:hover { background: #ffe066; }

.sidebar-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sidebar-cta-desc {
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 0.8;
}

/* Related routes */
.related-routes {
  background: var(--asphalt-mid);
  border: 1px solid var(--asphalt-light);
  padding: 28px;
}

.related-routes-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 16px;
}

.related-route-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: var(--road-white);
  transition: color 0.2s;
}

.related-route-link:last-child { border-bottom: none; }
.related-route-link:hover { color: var(--signal-yellow); }

.related-route-link .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-route-link .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--road-grey);
  margin-top: 4px;
}

/* ==========================================================
   SIMPLE PAGE (article_simple)
   ========================================================== */
.page-header {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 40px 0;
}

.page-header-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 0.95;
  margin-bottom: 20px;
}

.page-header-intro {
  font-size: 20px;
  color: var(--road-grey);
  line-height: 1.7;
  max-width: 700px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--asphalt-light);
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

/* Simple page breadcrumb override (narrower max-width) */
.page-content ~ .breadcrumb,
.page-header ~ .breadcrumb {
  max-width: 860px;
}

/* Page content typography */
.page-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 56px 0 24px;
  padding-top: 40px;
  border-top: 1px solid var(--asphalt-light);
}

.page-content h2::before {
  content: '//';
  color: var(--signal-yellow-dim);
  margin-right: 12px;
  font-weight: 400;
}

.page-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 36px 0 16px;
  color: var(--signal-yellow);
}

.page-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 18px;
}

.page-content a:not(.cta-button) {
  color: var(--signal-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content strong { font-weight: 600; color: var(--road-white); }

.page-content ul,
.page-content ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: 24px;
}

.page-content ul li,
.page-content ol li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--road-grey);
  line-height: 1.6;
}

.page-content ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--signal-yellow-dim);
}

.page-content ol {
  counter-reset: ordered;
}

.page-content ol li {
  counter-increment: ordered;
}

.page-content ol li::before {
  content: counter(ordered, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--signal-yellow);
  font-weight: 700;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: left;
  padding: 14px 16px;
  background: var(--asphalt-mid);
  color: var(--signal-yellow);
  border-bottom: 2px solid var(--signal-yellow-dim);
  white-space: nowrap;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--road-grey);
  vertical-align: top;
}

.comparison-table td:first-child {
  color: var(--road-white);
  font-weight: 500;
  white-space: nowrap;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.comparison-table tr.recommended td {
  background: rgba(255,210,63,0.05);
}

.comparison-table .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--signal-yellow);
  border: 1px solid var(--signal-yellow-dim);
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Info box */
.info-box {
  background: var(--asphalt-mid);
  border-left: 3px solid var(--signal-yellow);
  padding: 24px 28px;
  margin: 32px 0;
}

.info-box-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--signal-yellow);
  margin-bottom: 12px;
}

.info-box p {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--road-grey);
  line-height: 1.6;
}

.info-box p:last-child { margin-bottom: 0; }

/* Prices table */
.prices-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}

.prices-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: left;
  padding: 14px 16px;
  background: var(--asphalt-mid);
  color: var(--signal-yellow);
  border-bottom: 2px solid var(--signal-yellow-dim);
}

.prices-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--road-grey);
}

.prices-table td:first-child { color: var(--road-white); font-weight: 500; }

.prices-table .price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--road-white);
}

.prices-table .cheap { color: var(--distance-green); }
.prices-table .mid { color: var(--signal-yellow); }
.prices-table .expensive { color: var(--marker-red); }

/* Checklist */
.checklist {
  background: var(--asphalt-mid);
  padding: 28px 32px;
  margin: 32px 0;
}

.checklist-header {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--asphalt-light);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 16px;
  color: var(--road-grey);
}

.checklist-item .check {
  width: 18px;
  height: 18px;
  border: 2px solid var(--asphalt-light);
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.checklist-item.done .check {
  border-color: var(--distance-green);
  color: var(--distance-green);
}

/* Markdown task list checkboxes (from - [ ] syntax) */
.article-content .task-list-item,
.page-content .task-list-item {
  list-style: none;
  padding-left: 0;
}

.article-content .task-list-item::before,
.page-content .task-list-item::before {
  display: none;
}

.article-content input[type="checkbox"],
.page-content input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--asphalt-light);
  background: transparent;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  cursor: default;
  flex-shrink: 0;
}

.article-content input[type="checkbox"]:checked,
.page-content input[type="checkbox"]:checked {
  border-color: var(--signal-yellow);
  background: var(--signal-yellow);
}

.article-content input[type="checkbox"]:checked::after,
.page-content input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid var(--asphalt);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.article-content .task-list,
.page-content .task-list {
  padding-left: 0;
}

/* ==========================================================
   CTA BLOCKS (Partner)
   ========================================================== */
.cta-block {
  margin: 40px 0;
  position: relative;
}

.cta-block--banner .cta-banner {
  background: var(--asphalt-mid);
  border: 1px dashed var(--signal-yellow-dim);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.cta-block--banner .cta-banner::before {
  content: '// рекомендуем';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  background: var(--asphalt);
  padding: 0 10px;
}

.cta-banner__description {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--road-grey);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cta-block .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--signal-yellow);
  color: var(--asphalt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cta-block .cta-button:hover {
  background: var(--road-white);
  transform: translateY(-1px);
}

/* Button-only variant */
.cta-block--button {
  text-align: center;
}

.cta-block--button .cta-button {
  padding: 14px 36px;
}

/* Text link variant */
.cta-block--text-link .cta-text-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--signal-yellow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 2px solid var(--signal-yellow-dim);
  transition: border-color 0.2s;
}

.cta-block--text-link .cta-text-link:hover {
  border-color: var(--signal-yellow);
}

@media (max-width: 768px) {
  .cta-block--banner .cta-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 16px;
  }
  .cta-block .cta-button {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 2px solid var(--signal-yellow);
  background: var(--asphalt);
  padding: 60px 40px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo-text {
  font-size: 18px;
}

.footer-desc {
  font-size: 15px;
  color: var(--road-grey);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--signal-yellow-dim);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--road-grey);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--signal-yellow);
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--asphalt-light);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--road-grey);
  letter-spacing: 1px;
}

/* ==========================================================
   COOKIE CONSENT
   ========================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--asphalt-mid);
  border-top: 2px solid var(--signal-yellow);
  padding: 20px 40px;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-consent.hidden {
  transform: translateY(100%);
}

.cookie-consent-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-text p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--road-grey);
  line-height: 1.5;
}

.cookie-consent-text a {
  color: var(--signal-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-accept {
  background: var(--signal-yellow);
  color: var(--asphalt);
}

.cookie-btn-accept:hover {
  background: #ffe066;
}

.cookie-btn-decline {
  background: transparent;
  color: var(--road-grey);
  border: 1px solid var(--asphalt-light);
}

.cookie-btn-decline:hover {
  color: var(--road-white);
  border-color: var(--road-grey);
}

/* ==========================================================
   RESPONSIVE — 1024px
   ========================================================== */
@media (max-width: 1024px) {
  /* Homepage */
  .featured-routes { grid-template-columns: 1fr; }
  .practical-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* Country hub */
  .country-hero { grid-template-columns: 1fr; gap: 40px; }
  .stats-card { max-width: 500px; }
  .driving-info-grid { grid-template-columns: 1fr; }

  /* Article */
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; order: -1; }
  .sidebar-cta { grid-column: 1 / -1; }
}

/* ==========================================================
   RESPONSIVE — 768px
   ========================================================== */
@media (max-width: 768px) {
  /* Header */
  .header-inner { padding: 0 20px; }
  nav { display: none; }
  .burger-btn { display: block; }

  /* Homepage */
  .section { padding: 60px 20px; }
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: 48px; }
  .hero-route-preview { display: none; }
  .countries-grid { grid-template-columns: 1fr; }
  .practical-grid { grid-template-columns: 1fr; }
  .featured-route-title { font-size: 24px; }

  /* Country hub */
  .breadcrumb { padding: 88px 20px 0; }
  .country-hero { padding: 30px 20px 0; }
  .country-hero-image { padding: 0 20px; }
  .routes-section { padding: 60px 20px; }
  .driving-info { padding: 0 20px 60px; }
  .route-item { grid-template-columns: 1fr; gap: 20px; }
  .route-item-right { justify-content: flex-start; }

  /* Article */
  .article-hero { padding: 30px 20px 0; }
  .article-hero-image { padding: 0 20px; }
  .article-layout { padding: 40px 20px 60px; }
  .sidebar { grid-template-columns: 1fr; }
  .article-hero-meta { flex-wrap: wrap; gap: 16px; }

  /* Simple page */
  .page-header { padding: 30px 20px 0; }
  .page-content { padding: 0 20px 60px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px; }

  /* Footer */
  .footer { padding: 40px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Cookie */
  .cookie-consent { padding: 16px 20px; }
  .cookie-consent-inner { flex-direction: column; gap: 16px; align-items: stretch; }
  .cookie-consent-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}
