/* Image cards for the Kamchatka route selector. */
.route-card-selector { padding-bottom: 64px; }
.route-card-selector .section-head { margin-bottom: 32px; }
.route-choice-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; color: var(--ink); font-size: .87rem; }
.route-choice-intro > span:first-child { font-weight: 700; }
.route-choice-intro > span:first-child span { color: var(--muted); font-weight: 400; }
.route-choice-intro > span:last-child { color: var(--muted); font-size: .8rem; }
.route-choice-intro > span:last-child span { color: var(--brand); margin-left: 6px; }
.route-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.route-choice-card { display: flex; flex-direction: column; min-width: 0; width: 100%; padding: 0; overflow: hidden; color: var(--ink); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 28px; cursor: pointer; transition: transform .22s, border-color .22s, box-shadow .22s; }
.route-choice-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 16px 34px rgba(3, 42, 93, .10); }
.route-choice-card.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 12px 28px rgba(3, 42, 93, .08); }
.route-choice-card:focus-visible { outline: 3px solid var(--lava); outline-offset: 5px; }
.route-choice-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-blue); }
.route-choice-image::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(6, 28, 53, .3)); pointer-events: none; }
.route-choice-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.route-choice-card:hover img { transform: scale(1.035); }
.route-choice-tag { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 6px 13px; border-radius: 20px; color: var(--brand); background: rgba(255,255,255,.96); font-size: .74rem; line-height: 1.5; font-weight: 700; }
.route-choice-selected { display: none; position: absolute; z-index: 1; right: 16px; bottom: 16px; align-items: center; gap: 7px; padding: 6px 12px; color: #fff; background: var(--brand); border-radius: 20px; font-size: .75rem; line-height: 1.5; }
.route-choice-card.is-active .route-choice-selected { display: inline-flex; }
.route-choice-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.route-choice-place { display: flex; align-items: center; gap: 5px; color: var(--brand); font-size: .72rem; line-height: 1.5; }
.route-choice-place svg { width: 15px; height: 15px; flex-shrink: 0; }
.route-choice-code { margin-left: auto; color: var(--muted); font-family: Arial, sans-serif; font-size: .68rem; letter-spacing: .04em; }
.route-choice-title { display: block; margin-top: 10px; font-size: 1.15rem; line-height: 1.5; font-weight: 700; }
.route-choice-summary { display: block; margin-top: 8px; color: var(--muted); font-size: .79rem; line-height: 1.75; min-height: 2.8em; }
.route-choice-facts { display: grid; gap: 9px; margin-top: 22px; margin-bottom: 23px; }
.route-choice-fact { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .76rem; line-height: 1.55; }
.route-choice-fact > span { flex-shrink: 0; color: var(--muted); }
.route-choice-fact strong { display: inline-flex; align-items: center; justify-content: flex-end; gap: 9px; font-weight: 500; text-align: right; }
.route-choice-dots { display: inline-flex; gap: 4px; }
.route-choice-dots i { width: 6px; height: 6px; background: var(--ice-blue); border-radius: 50%; }
.route-choice-dots i.is-filled { background: var(--brand); }
.route-choice-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.route-choice-budget { display: flex; flex-direction: column; }
.route-choice-budget > span { color: var(--muted); font-size: .68rem; line-height: 1.5; }
.route-choice-budget strong { margin-top: 3px; color: var(--brand); font-size: 1.25rem; line-height: 1.4; font-family: Arial, "Microsoft YaHei", sans-serif; white-space: nowrap; }
.route-choice-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 13px; color: var(--brand); background: var(--ice); border-radius: 8px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.route-choice-action-active { display: none; }
.route-choice-card.is-active .route-choice-action, .route-choice-card:hover .route-choice-action { color: #fff; background: var(--lava); }
.route-choice-card.is-active .route-choice-action-idle { display: none; }
.route-choice-card.is-active .route-choice-action-active { display: inline; }
.route-choice-note { margin: 22px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.7; }
@media (min-width: 761px) and (max-width: 1100px) {
  .route-choice-grid { gap: 16px; }
  .route-choice-body { padding: 20px 17px; }
  .route-choice-title { font-size: 1.04rem; min-height: 3em; }
  .route-choice-summary { min-height: 5.25em; }
  .route-choice-fact { font-size: .69rem; gap: 6px; }
  .route-choice-fact strong { gap: 5px; }
  .route-choice-budget strong { font-size: 1.08rem; }
  .route-choice-action { padding-inline: 10px; font-size: .69rem; gap: 5px; }
}
@media (max-width: 760px) {
  .route-card-selector { padding-bottom: 46px; }
  .route-card-selector .section-head { margin-bottom: 22px; }
  .route-card-selector .section-head h2 { font-size: clamp(24px, 6.5vw, 30px); line-height: 1.45; }
  .route-choice-intro { align-items: flex-start; font-size: .79rem; gap: 8px; }
  .route-choice-intro > span:last-child { max-width: 130px; font-size: .71rem; text-align: right; }
  .route-choice-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .route-choice-card { border-radius: 24px; }
  .route-choice-body { padding: 22px; }
  .route-choice-title { font-size: 1.12rem; }
  .route-choice-summary { min-height: 0; }
  .route-choice-note { font-size: .7rem; }
}
@media (max-width: 360px) {
  .route-choice-body { padding: 18px; }
  .route-choice-title { font-size: 1.02rem; }
  .route-choice-fact { font-size: .7rem; }
  .route-choice-budget strong { font-size: 1.12rem; }
  .route-choice-action { padding-inline: 10px; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .route-choice-card, .route-choice-image img { transition: none; }
  .route-choice-card:hover { transform: none; }
}