/* ============================================================
   ROUTE PAGE — mobile-first, no header, Google Maps
   ============================================================ */

/* ===== BREADCRUMB ===== */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; }
.breadcrumb a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li[aria-current="page"] { font-size: 13px; color: var(--text-dim); }
.breadcrumb li[aria-hidden="true"] { color: var(--text-dim); font-size: 13px; }

/* ===== ROUTE HERO ===== */
.route-hero { padding: 32px 0 0; background: var(--bg-dark); }
.route-hero__flags { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.route-hero__flags .flag { width: 28px; height: 19px; }
.route-hero__arrow { font-size: 16px; color: var(--gold); }

.route-hero__title {
  font-size: clamp(24px, 7vw, 40px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
  display: none;
}

.route-hero__desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px; }

/* Meta cards */
.route-hero__meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.route-meta-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.route-meta-item__icon { font-size: 18px; flex-shrink: 0; }
.route-meta-item div { display: flex; flex-direction: column; gap: 2px; }
.route-meta-item strong { font-size: 15px; font-weight: 700; }
.route-meta-item span { font-size: 12px; color: var(--text-muted); }

/* CTAs */
.route-hero__cta { display: flex; flex-direction: column; gap: 10px; }
.route-hero__cta .btn { width: 100%; justify-content: center; padding: 15px; font-size: 15px; }

/* ===== GOOGLE MAP / LEAFLET ===== */
.route-map { padding: 0 0 32px; background: var(--bg-dark); }
.route-map__leaflet {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
/* Dark Leaflet tiles override */
.route-map__leaflet .leaflet-container { background: #1a1a1a; }
.route-map__leaflet .leaflet-control-zoom a { background: #1e1e1e; color: var(--gold); border-color: var(--border-subtle); }
.route-map__leaflet .leaflet-control-attribution { background: rgba(0,0,0,0.6); color: #666; font-size: 10px; }
.route-map__leaflet .leaflet-popup-content-wrapper { background: #1e1e1e; color: var(--text); border: 1px solid var(--border-gold); }
.route-map__leaflet .leaflet-popup-tip { background: #1e1e1e; }

/* ===== ROUTE INFO ===== */
.route-info { padding: 32px 0; background: var(--bg-section-alt); }
.route-info h2 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }

.route-includes { display: flex; flex-direction: column; gap: 10px; }
.route-includes li { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.route-options { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.route-option { padding: 18px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); transition: border-color var(--transition); }
.route-option:hover { border-color: var(--border-gold); }
.route-option h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--gold); }
.route-option p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }

/* ===== BOOKING SIDEBAR (стек на мобилке) ===== */
.route-sidebar { display: flex; flex-direction: column; gap: 16px; padding: 32px 0; background: var(--bg-section); }
.route-book-card { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg); padding: 24px; }
.route-book-card h3 { font-size: 17px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.route-book-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.route-book-btns { display: flex; flex-direction: column; gap: 10px; }
.route-book-btns .btn { justify-content: flex-start; gap: 12px; }

.route-other { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 20px; }
.route-other h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.route-other ul { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.route-other a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.route-other a:hover { color: var(--gold); }

/* ===== FAQ ===== */
.route-faq { padding: 32px 0; background: var(--bg-section-alt); }
.route-faq h2 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }

/* ===== FOOTER on route pages ===== */
.route-footer { background: var(--bg-section-alt); border-top: 1px solid var(--border-subtle); padding: 32px 0; text-align: center; }
.route-footer .footer__logo { font-size: 20px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.route-footer .footer__tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.route-footer .footer__phone { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); transition: color var(--transition); }
.route-footer .footer__phone:hover { color: var(--gold); }
.route-footer .footer__tg { display: block; font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.route-footer .footer__tg:hover { color: var(--gold); }
.route-footer__bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-subtle); font-size: 12px; color: var(--text-dim); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Route chip на странице маршрута — крупнее чем в списке */
.route-chip--hero {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 8px;
  gap: 0;
  text-decoration: none;
}
.route-chip--hero .route-chip__from { display:flex; align-items:center; gap:8px; font-weight:700; flex:1; }
.route-chip--hero .route-chip__mid  { flex:1; text-align:center; font-size:13px; color:var(--text-muted); white-space:nowrap; }
.route-chip--hero .route-chip__to   { display:flex; align-items:center; gap:8px; font-weight:700; flex:1; justify-content:flex-end; flex-direction:row; }
.route-chip--hero .route-chip__to .flag { margin-left: 8px; }

/* ===== 3D FLOATING CARS ===== */
.route-3d-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.route-3d-car {
  position: absolute;
  width: 120px;
  opacity: 0;
  will-change: transform, opacity;
  animation: float3d 12s ease-in-out infinite;
  transform-style: preserve-3d;
}

.route-3d-car img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}

/* Left car */
.route-3d-car--left {
  left: -30px;
  top: 30%;
  animation-name: float3dLeft;
  animation-delay: 0s;
}

/* Right car */
.route-3d-car--right {
  right: -30px;
  top: 55%;
  animation-name: float3dRight;
  animation-delay: 3s;
}

@keyframes float3dLeft {
  0%   { opacity: 0; transform: translateX(-60px) translateZ(-200px) rotateY(25deg); }
  15%  { opacity: 0.55; }
  50%  { opacity: 0.45; transform: translateX(10px) translateZ(0px) rotateY(15deg) translateY(-20px); }
  85%  { opacity: 0.55; }
  100% { opacity: 0; transform: translateX(-60px) translateZ(-200px) rotateY(25deg); }
}

@keyframes float3dRight {
  0%   { opacity: 0; transform: translateX(60px) translateZ(-200px) rotateY(-25deg); }
  15%  { opacity: 0.55; }
  50%  { opacity: 0.45; transform: translateX(-10px) translateZ(0px) rotateY(-15deg) translateY(20px); }
  85%  { opacity: 0.55; }
  100% { opacity: 0; transform: translateX(60px) translateZ(-200px) rotateY(-25deg); }
}

@media (prefers-reduced-motion: reduce) {
  .route-3d-scene { display: none; }
}

/* main needs relative for 3D scene */
main { position: relative; }
