.routes-page { min-width: 0; min-height: 70vh; overflow-x: clip; padding-top: var(--header-height); background: linear-gradient(180deg, #f5f9ff 0, var(--gray-50) 30rem); color: var(--dark); }
.routes-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #071d49, #075fd8 58%, #23a9f2); color: #fff; }
.routes-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(120deg, transparent 45%, rgb(255 255 255 / .12) 45.2%, transparent 45.6%), radial-gradient(circle at 78% 20%, rgb(255 255 255 / .22), transparent 18%); }
.routes-hero::after { content: ""; position: absolute; width: 28rem; height: 28rem; right: -8rem; top: -14rem; border: 5rem solid rgb(255 255 255 / .08); border-radius: 50%; }
.routes-hero__inner { min-width: 0; min-height: 18rem; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, .55fr); gap: 4rem; align-items: center; position: relative; z-index: 1; padding-top: 2.4rem; padding-bottom: 2.4rem; }
.routes-eyebrow { display: inline-flex; gap: .55rem; align-items: center; margin-bottom: 1rem; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.routes-hero__copy, .routes-hero__highlights { min-width: 0; }
.routes-hero h1 { max-width: 760px; margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.routes-hero h1 span { color: #9edbff; }
.routes-hero p { max-width: 660px; margin: 0; font-size: clamp(1rem, 2vw, 1.18rem); color: rgb(255 255 255 / .86); }
.routes-hero__highlights { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.routes-hero__highlights span { display: inline-flex; align-items: center; gap: .42rem; padding: .46rem .65rem; border: 1px solid rgb(255 255 255 / .18); border-radius: 999px; background: rgb(0 20 62 / .18); color: rgb(255 255 255 / .9); font-size: .75rem; font-weight: 750; }
.routes-hero__dashboard { min-width: 0; box-sizing: border-box; padding: 1.25rem; border: 1px solid rgb(255 255 255 / .25); border-radius: 1.3rem; background: linear-gradient(145deg, rgb(2 24 70 / .52), rgb(8 74 168 / .34)); box-shadow: 0 24px 55px rgb(1 18 55 / .22); backdrop-filter: blur(10px); }
.routes-hero__dashboard-label { display: block; margin-bottom: .8rem; color: #a9dcff; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.routes-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.routes-hero__stats div { padding: .8rem; border-radius: .9rem; background: rgb(255 255 255 / .1); }
.routes-hero__stats strong, .routes-hero__stats span { display: block; }
.routes-hero__stats strong { font-size: 2rem; line-height: 1; }
.routes-hero__stats span { margin-top: .35rem; font-size: .72rem; color: rgb(255 255 255 / .78); }
.routes-hero__dashboard > p { display: flex; gap: .45rem; align-items: center; margin-top: .8rem; font-size: .72rem; }
.routes-hero__plane { position: absolute; right: 31%; bottom: 1.2rem; color: rgb(255 255 255 / .14); font-size: 4rem; rotate: -13deg; }
.routes-layout { padding-top: 1.4rem; padding-bottom: 4rem; }
.routes-breadcrumb { display: flex; gap: .55rem; align-items: center; margin-bottom: 1.25rem; color: var(--gray-500); font-size: .85rem; }
.routes-breadcrumb a { color: var(--primary); text-decoration: none; }
.routes-breadcrumb i { font-size: .6rem; }
.route-filters { width: 100%; min-width: 0; box-sizing: border-box; display: grid; grid-template-columns: minmax(15rem, 1.55fr) minmax(11rem, 1.05fr) repeat(2, minmax(9rem, 1fr)) auto; gap: .8rem; align-items: end; padding: 1.1rem; border: 1px solid var(--gray-200); border-radius: 1.15rem; background: var(--white); box-shadow: 0 14px 35px rgb(20 55 100 / .08); }
.route-filters > * { min-width: 0; }
.route-field { display: grid; gap: .42rem; min-width: 0; color: var(--gray-600); font-size: .78rem; font-weight: 750; }
.route-field > label { color: var(--gray-700); }
.route-combobox { position: relative; }
.route-combobox > i { position: absolute; z-index: 2; left: .9rem; top: 1.42rem; translate: 0 -50%; color: var(--gray-400); pointer-events: none; }
.route-field input, .route-field select { width: 100%; min-height: 2.8rem; box-sizing: border-box; padding: .65rem .8rem; border: 1px solid var(--gray-300); border-radius: .75rem; background: var(--white); color: var(--dark); font: inherit; font-size: .9rem; }
.route-combobox input { padding-left: 2.55rem; }
.route-combobox input[aria-expanded="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px rgb(18 103 233 / .12); }
.route-combobox__list { position: absolute; z-index: 20; top: calc(100% + .4rem); right: 0; left: 0; max-height: 16rem; overflow: auto; margin: 0; padding: .35rem; list-style: none; border: 1px solid var(--gray-200); border-radius: .8rem; background: var(--white); box-shadow: 0 18px 45px rgb(15 40 80 / .18); }
.route-combobox__list[hidden] { display: none; }
.route-combobox__list li { padding: .7rem .75rem; border-radius: .55rem; color: var(--dark); cursor: pointer; font-size: .84rem; }
.route-combobox__list li:hover, .route-combobox__list li[aria-selected="true"] { background: #eaf3ff; color: #075fcf; }
.route-combobox__empty { color: var(--gray-500); cursor: default !important; }
.route-filter-submit, .route-filter-reset, .route-empty a { min-height: 2.8rem; display: inline-flex; justify-content: center; align-items: center; padding: .7rem 1rem; border: 0; border-radius: .75rem; background: var(--primary); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.route-filter-reset { grid-column: 1 / -1; justify-self: start; min-height: auto; padding: .2rem; background: transparent; color: var(--primary); font-size: .84rem; }
.routes-result-heading { display: flex; justify-content: space-between; align-items: end; margin: 2.2rem 0 1rem; }
.routes-result-heading h2 { margin: 0 0 .25rem; font-size: 1.45rem; }
.routes-result-heading p { margin: 0; color: var(--gray-500); font-size: .85rem; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.route-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--gray-200); border-radius: 1.1rem; background: var(--white); box-shadow: 0 8px 25px rgb(18 45 86 / .07); transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease; }
.route-card:hover { translate: 0 -4px; border-color: rgb(18 103 233 / .35); box-shadow: 0 18px 38px rgb(18 77 153 / .14); }
.route-card--featured { border-color: rgb(18 103 233 / .35); }
.route-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.route-card__link:focus-visible { outline: 3px solid #ffbf47; outline-offset: -5px; }
.route-card__visual { position: relative; height: 10rem; overflow: hidden; background: linear-gradient(135deg, #0b4eab, #1d9be8); }
.route-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: scale .35s ease; }
.route-card:hover .route-card__visual img { scale: 1.04; }
.route-card__visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(2 18 50 / .1) 20%, rgb(2 18 50 / .82)); }
.route-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 70% 10%, rgb(255 255 255 / .25), transparent 35%), linear-gradient(145deg, #09377b, #168bd6); color: #fff; }
.route-card__fallback b { opacity: .48; font-size: 3.6rem; filter: saturate(.85); }
.route-card__fallback i { position: absolute; right: -8%; bottom: -38%; width: 75%; height: 75%; border: 1.2rem solid rgb(255 255 255 / .08); border-radius: 50%; }
.route-card__destination { position: absolute; z-index: 1; right: .9rem; bottom: .75rem; left: .9rem; display: flex; gap: .45rem; align-items: center; color: #fff; font-size: 1rem; font-weight: 850; text-shadow: 0 2px 8px rgb(0 0 0 / .45); }
.route-card__destination b { font-size: 1.15rem; }
.route-state { position: absolute; z-index: 1; top: .8rem; left: .8rem; display: inline-flex; gap: .4rem; align-items: center; padding: .4rem .62rem; border-radius: 99px; font-size: .72rem; font-weight: 850; box-shadow: 0 5px 15px rgb(0 0 0 / .12); }
.route-state--live { color: #07551d; background: #dff9e7; }
.route-state--tracking { color: #073c7a; background: #e2f0ff; }
.route-card__body { padding: 1.05rem; }
.route-card__codes { display: flex; align-items: center; gap: .55rem; color: var(--primary); font-size: .76rem; font-weight: 850; }
.route-card__codes i { font-size: .65rem; rotate: 0deg; }
.route-card h3 { margin: .5rem 0; font-size: 1.12rem; line-height: 1.3; }
.route-card h3 span { color: var(--primary); }
.route-card__body > p { min-height: 2.7rem; margin: 0 0 .85rem; color: var(--gray-600); font-size: .83rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.route-card__facts { display: flex; flex-wrap: wrap; gap: .4rem .8rem; min-height: 1.6rem; padding-bottom: .8rem; color: var(--gray-500); font-size: .74rem; }
.route-card__facts span { display: inline-flex; gap: .35rem; align-items: center; }
.route-card__facts .route-card__months { flex-basis: 100%; color: #0b5fc9; font-weight: 750; }
.route-card__footer { display: flex; justify-content: space-between; gap: .8rem; align-items: end; padding-top: .8rem; border-top: 1px solid var(--gray-100); }
.route-card__footer > div { display: grid; min-width: 0; }
.route-card__footer strong { color: var(--primary); font-size: 1.35rem; line-height: 1.1; }
.route-card__footer small { margin-top: .2rem; color: var(--gray-500); font-size: .67rem; }
.route-card__footer .route-card__tracking { color: var(--dark); font-size: .92rem; }
.route-card__cta { flex: 0 0 auto; color: var(--primary); font-size: .78rem; font-weight: 850; }
.route-card__cta i { margin-left: .25rem; }
.route-empty { padding: 4rem 1rem; border: 1px dashed var(--gray-300); border-radius: 1rem; text-align: center; background: var(--white); }
.route-empty > i { margin-bottom: 1rem; color: var(--primary); font-size: 2.5rem; }
.route-empty h2 { margin: 0 0 .5rem; }
.route-empty p { margin: 0 auto 1.2rem; color: var(--gray-500); }
.route-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.route-pagination a, .route-pagination span { min-width: 2.6rem; min-height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--gray-200); border-radius: .7rem; color: var(--dark); background: var(--white); text-decoration: none; }
.route-pagination a[aria-current="page"] { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Detail */
.route-detail-hero { position: relative; overflow: hidden; min-height: 24rem; display: grid; align-items: end; background: linear-gradient(120deg, #061a40, #0a67d8); color: #fff; }
.route-detail-hero__image, .route-detail-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.route-detail-hero__shade { background: linear-gradient(90deg, rgb(2 17 43 / .94), rgb(5 50 112 / .74) 55%, rgb(5 50 112 / .3)); }
.route-detail-hero__content { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 3rem; }
.route-detail-hero .routes-breadcrumb, .route-detail-hero .routes-breadcrumb a { color: rgb(255 255 255 / .78); }
.route-detail-hero h1 { margin: .8rem 0; color: #fff; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.04; }
.route-detail-hero p { max-width: 720px; color: rgb(255 255 255 / .84); font-size: 1.05rem; }
.route-airports { display: flex; flex-wrap: wrap; gap: .5rem; }
.route-airports span { padding: .38rem .6rem; border: 1px solid rgb(255 255 255 / .25); border-radius: .55rem; background: rgb(0 0 0 / .15); font-size: .75rem; font-weight: 750; }
.route-detail-main { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(18rem, .8fr); gap: 1.4rem; padding-top: 1.6rem; padding-bottom: 4rem; }
.route-detail-stack { display: grid; gap: 1.2rem; align-content: start; }
.route-panel { padding: 1.25rem; border: 1px solid var(--gray-200); border-radius: 1rem; background: var(--white); box-shadow: 0 8px 24px rgb(18 45 86 / .06); }
.route-panel h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.route-panel__intro { margin: 0 0 1rem; color: var(--gray-500); font-size: .85rem; }
.route-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.route-summary-grid--compact { grid-template-columns: 1fr; }
.route-summary-item { padding: .85rem; border-radius: .8rem; background: var(--gray-50); }
.route-summary-item strong, .route-summary-item span { display: block; }
.route-summary-item strong { font-size: 1.12rem; }
.route-summary-item span { margin-top: .2rem; color: var(--gray-500); font-size: .72rem; }
.route-deal-list { display: grid; gap: .7rem; }
.route-deal { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--gray-200); border-radius: .85rem; color: inherit; text-decoration: none; }
.route-deal:hover { border-color: var(--primary); }
.route-deal strong, .route-deal small { display: block; }
.route-deal small { margin-top: .3rem; color: var(--gray-500); }
.route-deal__price { color: var(--primary); font-size: 1.18rem; font-weight: 850; white-space: nowrap; }
.route-deal__cta { padding: .55rem .75rem; border-radius: .6rem; background: var(--primary); color: #fff; font-size: .76rem; font-weight: 800; }
.route-history { display: flex; gap: .35rem; align-items: end; min-height: 8rem; padding-top: 1rem; }
.route-history__bar { flex: 1; min-width: .5rem; height: var(--bar-height); border-radius: .3rem .3rem 0 0; background: linear-gradient(#28a9f0, #1267e9); }
.route-history__bar--1 { --bar-height: 18%; }.route-history__bar--2 { --bar-height: 27%; }.route-history__bar--3 { --bar-height: 36%; }.route-history__bar--4 { --bar-height: 45%; }.route-history__bar--5 { --bar-height: 54%; }
.route-history__bar--6 { --bar-height: 63%; }.route-history__bar--7 { --bar-height: 72%; }.route-history__bar--8 { --bar-height: 81%; }.route-history__bar--9 { --bar-height: 90%; }.route-history__bar--10 { --bar-height: 100%; }
.route-content-block + .route-content-block { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.route-content-block h3 { margin: 0 0 .35rem; font-size: 1rem; }
.route-content-block p { margin: 0; color: var(--gray-600); line-height: 1.65; white-space: pre-line; }
.route-alert-form { display: grid; gap: .7rem; }
.route-alert-form label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 750; }
.route-alert-form input { min-height: 2.75rem; padding: .65rem .75rem; border: 1px solid var(--gray-300); border-radius: .7rem; background: var(--white); color: var(--dark); }
.route-alert-form button { min-height: 2.8rem; border: 0; border-radius: .7rem; background: var(--primary); color: #fff; font-weight: 850; cursor: pointer; }
.route-alert-form [role="status"] { min-height: 1.2rem; font-size: .78rem; }
.route-legal { color: var(--gray-500); font-size: .7rem; line-height: 1.5; }
.route-related { display: grid; gap: .6rem; }
.route-related a { padding: .75rem; border: 1px solid var(--gray-200); border-radius: .7rem; color: var(--dark); text-decoration: none; }
.route-related strong, .route-related small { display: block; }
.route-related small { margin-top: .2rem; color: var(--gray-500); }

@media (max-width: 1050px) {
  .route-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-filter-submit { align-self: stretch; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .routes-page { padding-top: var(--header-height-mobile); }
  .routes-hero__inner { min-height: 23rem; grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
  .routes-hero__dashboard { width: 100%; }
  .routes-hero__plane { display: none; }
  .route-detail-main { grid-template-columns: 1fr; }
  .route-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .route-filters, .route-grid { grid-template-columns: 1fr; }
  .routes-hero__inner { width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 1.25rem; padding-right: 1.25rem; }
  .routes-hero__copy, .routes-hero__dashboard { width: 100%; max-width: calc(100vw - 2.5rem); }
  .routes-hero h1 { overflow-wrap: anywhere; }
  .routes-hero p { max-width: 100%; overflow-wrap: anywhere; }
  .routes-hero__stats { width: 100%; max-width: 100%; grid-template-columns: minmax(2.5rem, auto) minmax(0, 1fr); box-sizing: border-box; }
  .routes-result-heading { align-items: start; }
  .route-card__body > p { min-height: auto; }
  .route-deal { grid-template-columns: 1fr auto; }
  .route-deal__cta { grid-column: 1 / -1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .route-card, .route-card__visual img { transition: none; } }
@media (forced-colors: active) { .route-state, .route-filter-submit, .route-alert-form button { border: 1px solid ButtonText; } }
