/* SkiAlpTransfers – design system */
:root {
  --navy: #0b1f33;
  --navy-2: #13304d;
  --blue: #1667d9;
  --blue-dark: #0f53b3;
  --blue-soft: #e8f1fd;
  --ink: #13233a;
  --muted: #5d6c82;
  --line: #e1e7ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --green: #138a52;
  --green-soft: #e3f6ec;
  --amber: #b26a00;
  --amber-soft: #fff3dc;
  --red: #c4332b;
  --red-soft: #fde9e8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 31, 51, 0.06), 0 6px 20px rgba(11, 31, 51, 0.07);
  --shadow-lg: 0 12px 40px rgba(11, 31, 51, 0.18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 750; }
h3, .h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow-container { max-width: 760px; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-family: ui-monospace, 'SF Mono', Consolas, monospace; letter-spacing: 0.02em; }
.prewrap { white-space: pre-wrap; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 20px; }
.mt-lg { margin-top: 44px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.row-between h1 { margin: 0; }

/* ---------- Header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--blue); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

.site-footer { background: var(--navy); color: #c4d0de; margin-top: 0; padding: 56px 0 24px; }
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: #6ea8ff; }
.site-footer .muted { color: #93a3b8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid a { display: block; color: #c4d0de; margin-bottom: 8px; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 36px; padding-top: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 0.97rem; cursor: pointer; transition: background 0.15s, box-shadow 0.15s, transform 0.05s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(22, 103, 217, 0.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #b9c6d6; }
.btn-light { background: #fff; color: var(--navy); }
.btn-danger { color: var(--red); }
.btn-danger:hover { border-color: var(--red); }
.btn-sm { padding: 7px 13px; font-size: 0.87rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.linklike { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.linklike.danger { color: var(--red); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #cdd7e3; border-radius: 9px; padding: 10px 12px; width: 100%; min-width: 0; transition: border-color 0.15s, box-shadow 0.15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 103, 217, 0.15); }
input[type='checkbox'], input[type='radio'] { width: auto; }
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 0.93rem; }
.check input { margin-top: 4px; accent-color: var(--blue); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-error { color: var(--red); font-size: 0.9rem; margin: 8px 0 0; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form.wide { display: flex; margin-top: 8px; }
.input-sm { width: 90px; padding: 6px 8px; font-size: 0.9rem; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-bar input { max-width: 280px; }
.filter-bar select { max-width: 200px; }

/* ---------- Search form ---------- */
.search-form { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg); color: var(--ink); }
.search-grid { display: grid; grid-template-columns: 1.4fr auto 1.4fr 1fr 0.75fr 0.7fr auto; gap: 10px; align-items: end; }
.search-form .field input { height: 48px; }
.search-form .btn-search { height: 48px; padding: 0 24px; }
.swap { height: 48px; width: 36px; border: 0; background: var(--bg-alt); border-radius: 9px; cursor: pointer; font-size: 1.1rem; color: var(--muted); }
.swap:hover { background: var(--blue-soft); color: var(--blue); }
.search-extra { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; min-height: 36px; }
.return-fields { display: flex; gap: 10px; }
.return-fields[hidden] { display: none; }
.field.inline { flex-direction: row; align-items: center; gap: 8px; }
.field.inline input { width: auto; padding: 6px 10px; }
.search-form.compact { box-shadow: var(--shadow); padding: 14px; }

.ac { position: relative; }
.ac-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 30; max-height: 360px; overflow-y: auto; padding: 6px; }
.ac-item { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 7px; cursor: pointer; }
.ac-item b { display: block; font-weight: 600; font-size: 0.95rem; }
.ac-item small { color: var(--muted); font-size: 0.8rem; }
.ac-item:hover, .ac-item.active { background: var(--blue-soft); }
.ac-icon { width: 22px; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 72px 0 56px; background: linear-gradient(180deg, rgba(8, 24, 42, 0.72) 0%, rgba(8, 24, 42, 0.55) 60%, rgba(8, 24, 42, 0.75) 100%), url('/img/hero.svg') center/cover no-repeat, var(--navy); }
.hero-copy { max-width: 720px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: inherit; opacity: 0.92; }
.page-head .lead { color: var(--muted); opacity: 1; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9cc3ff; margin-bottom: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 0.93rem; opacity: 0.95; }
.hero-partner { padding: 90px 0; }

.stats-band { background: var(--navy-2); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 20px; text-align: center; }
.stats b { display: block; font-size: 1.6rem; }
.stats span { font-size: 0.85rem; color: #b5c5d8; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 36px 0 64px; }
.section.alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 36px; }
.page-head { background: var(--bg-alt); padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.page-head.slim { padding: 18px 0; }
.page-head .search-form { margin-top: 22px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.route-card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); transition: box-shadow 0.15s, border-color 0.15s; }
.route-card:hover { text-decoration: none; border-color: #b9cde8; box-shadow: var(--shadow); }
.route-from { font-weight: 700; color: var(--blue); }
.route-arrow { color: var(--muted); }
.route-to { font-weight: 700; }
.route-meta { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col.wide-left { grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; }
.chip:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.chip.small { padding: 4px 10px; font-size: 0.82rem; }
.chip-more { background: var(--blue-soft); border-color: transparent; color: var(--blue); font-weight: 600; }
.dir-group { margin-bottom: 30px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-card footer { color: var(--muted); font-size: 0.85rem; }
.star-icons { color: #f5a623; letter-spacing: 1px; }

.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--blue) 0%, #0b4fb0 100%); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; opacity: 0.9; }

/* ---------- Cards, notices, badges ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04); }
.card.empty { text-align: center; padding: 40px; }
.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: 0.95rem; border: 1px solid; }
.notice-ok { background: var(--green-soft); border-color: #b8e5cc; color: #0c5c37; }
.notice-err { background: var(--red-soft); border-color: #f3c3c0; color: #8f1f19; }
.notice-info { background: var(--blue-soft); border-color: #c6dcfa; color: #0c3e85; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-grey { background: #eef1f5; color: var(--muted); }
.tag { display: inline-block; background: var(--bg-alt); border-radius: 6px; padding: 2px 8px; font-size: 0.8rem; color: var(--muted); }
.stars { font-size: 0.9rem; }

/* ---------- Results ---------- */
.results-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.results-aside { position: sticky; top: 86px; }
.route-summary { margin-bottom: 18px; }
.route-summary h1 { font-size: 1.6rem; margin-bottom: 4px; }
.offers { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.offer { display: flex; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow 0.15s, border-color 0.15s; }
.offer:hover { box-shadow: var(--shadow); border-color: #c9d7e8; }
.offer-accepted { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
.offer-main { display: flex; gap: 16px; min-width: 0; }
.offer-main h3 { margin: 0 0 4px; }
.offer-main h3 a { color: var(--ink); }
.offer-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 1.4rem; color: var(--blue); }
.offer-logo img { width: 100%; height: 100%; object-fit: cover; }
.offer-logo.lg { flex-basis: 84px; width: 84px; height: 84px; font-size: 2rem; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.offer-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; text-align: right; }
.offer-price b { display: block; font-size: 1.5rem; font-weight: 800; }
.quote-msg { margin: 10px 0 0; font-size: 0.92rem; color: var(--muted); font-style: italic; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 12px; }
.total-row b { font-size: 1.35rem; }

.details { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 16px 0; }
.details dt { color: var(--muted); font-size: 0.9rem; }
.details dd { margin: 0; font-weight: 500; }

.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; width: 0; }
.rating-input label { font-size: 2rem; color: #d6dde6; cursor: pointer; transition: color 0.1s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }

.spinner { width: 34px; height: 34px; border: 3px solid var(--blue-soft); border-top-color: var(--blue); border-radius: 50%; margin: 0 auto 14px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.profile-head { display: flex; gap: 22px; align-items: center; }
.profile-head h1 { margin-bottom: 4px; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.card.review { padding: 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.review p { margin: 6px 0 0; }
.reply { background: var(--bg-alt); border-radius: 8px; padding: 10px 12px; font-size: 0.92rem; }
.carrier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.carrier-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--ink); }
.carrier-card:hover { text-decoration: none; border-color: var(--blue); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.93rem; background: #fff; }
.table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--line); }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th.right, .table td.right { text-align: right; }
.table td.mono { white-space: nowrap; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #f8fafd; }
.table tr.dim td { opacity: 0.55; }
.table tr.warn td { background: #fffaf0; }
.table.compare td:nth-child(2) { background: var(--blue-soft); }
.pager { display: flex; justify-content: space-between; margin-top: 14px; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 64px; min-height: 70vh; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 90px; align-self: start; }
.dash-nav a, .dash-nav .linklike { padding: 9px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; text-align: left; width: 100%; }
.dash-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.dash-nav a.active { background: var(--blue-soft); color: var(--blue); font-weight: 650; }
.dash-nav form { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.dash-nav .linklike { color: var(--muted); }
.dash-main { min-width: 0; }
.dash-main h1 { font-size: 1.7rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 28px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--ink); }
a.kpi:hover { border-color: var(--blue); text-decoration: none; }
.kpi b { display: block; font-size: 1.55rem; font-weight: 800; }
.kpi span { color: var(--muted); font-size: 0.85rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 10px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--blue); border-color: var(--blue); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.price-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.price-form .field { flex: 1 1 200px; }
.price-form .field.narrow { flex: 0 1 110px; }
.price-form .check { align-self: center; }
.area-picker { border: 1px solid var(--line); border-radius: 10px; padding: 14px; max-height: 380px; overflow-y: auto; }
.area-picker fieldset { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 12px; }
.area-picker legend { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.area-filter { margin-bottom: 14px; }
.area-item[hidden] { display: none; }
.auth-box { max-width: 440px; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 100px 170px; gap: 12px; align-items: center; font-size: 0.9rem; }
.bar { background: var(--bg-alt); border-radius: 6px; height: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 6px; }

/* ---------- Invoice ---------- */
.invoice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; margin-top: 16px; }
.invoice-head { display: flex; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--navy); padding-bottom: 20px; margin-bottom: 24px; }
.invoice-head h1 { font-size: 1.9rem; letter-spacing: 0.08em; margin: 0; }
.invoice-brand { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.invoice-brand b { color: var(--blue); }
.invoice-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.invoice-meta p { margin: 2px 0 10px; }
.invoice-table tfoot td { font-weight: 600; border-bottom: 0; }
.invoice-table tfoot tr.grand td { font-size: 1.15rem; font-weight: 800; border-top: 2px solid var(--navy); }
.invoice-pay { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; background: var(--bg-alt); border-radius: 10px; padding: 18px 20px; }
.invoice-pay p { margin: 0; }
.paid-stamp { border: 3px solid var(--green); color: var(--green) !important; font-weight: 800; padding: 6px 14px !important; border-radius: 8px; transform: rotate(-6deg); letter-spacing: 0.1em; }

.prose h2 { margin-top: 1.6em; font-size: 1.25rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .search-grid { grid-template-columns: 1fr auto 1fr; }
  .search-grid .field:nth-of-type(3), .search-grid .field:nth-of-type(4) { grid-column: span 1; }
  .search-grid > .field:nth-child(4) { grid-column: 1; }
  .search-grid > .field:nth-child(5) { grid-column: 2 / 4; }
  .search-grid > .field:nth-child(6) { grid-column: 1; }
  .search-grid > .btn-search { grid-column: 2 / 4; }
  .results-layout { grid-template-columns: 1fr; }
  .results-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0 36px; }
  .search-grid { grid-template-columns: 1fr; }
  .search-grid > * { grid-column: 1 / -1 !important; }
  .swap { display: none; }
  .steps, .review-grid, .two-col, .two-col.wide-left, .why-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .offer { flex-direction: column; }
  .offer-side { flex-direction: row; align-items: center; text-align: left; }
  .dash { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .dash-nav { position: static; flex-direction: row; overflow-x: auto; gap: 4px; }
  .dash-nav a { white-space: nowrap; width: auto; }
  .dash-nav form { margin: 0; border: 0; padding: 0; }
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 8px; }
  .invoice { padding: 20px; }
  .invoice-head, .invoice-pay { flex-direction: column; }
  .invoice-meta { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 44px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .route-table th:nth-child(3), .route-table td:nth-child(3) { display: none; }
}

@media print {
  .site-header, .site-footer, .dash-nav, .no-print, .notice { display: none !important; }
  .dash { display: block; padding: 0; }
  .invoice { border: 0; padding: 0; margin: 0; }
  body { font-size: 12px; }
}

/* =====================================================================
   ALPINE THEME v2 – seasons, parallax hero, topo patterns, motion
   ===================================================================== */
:root { --font-display: Outfit, Inter, system-ui, sans-serif; }
h1, h2, h3, .h2, .h3, .logo, .btn, .kpi b, .offer-price b { font-family: var(--font-display); }
h1, h2 { letter-spacing: -0.025em; }

/* Season palettes (winter = alpenglow dusk, summer = bright alpine day) */
:root, :root[data-season='winter'] {
  --sky1: #060f2a; --sky2: #1a2f66; --sky3: #6a63a0; --glow: #f3a27c;
  --far-top: #cbd7f0; --far-bot: #6b80b0;
  --mid-top: #ffffff; --mid-mid: #c3d1ea; --mid-bot: #48608f;
  --near-top: #283c6a; --near-bot: #13224a;
  --forest: #0a1733; --cap: #ffffff; --cable: #0a1733; --mist: #e2eaff;
  --accent: #ff7a45; --accent-2: #ffd27a;
  --deep: #0a1733;
}
:root[data-season='summer'] {
  --sky1: #1f6fc4; --sky2: #56a4e6; --sky3: #a6d6f4; --glow: #fff0c4;
  --far-top: #c3d6e4; --far-bot: #7e9cb3;
  --mid-top: #f5f7f9; --mid-mid: #9fb0b2; --mid-bot: #58775d;
  --near-top: #6e9d55; --near-bot: #3a6638;
  --forest: #1c3f27; --cap: #ffffff; --cable: #2a2a2a; --mist: #ffffff;
  --accent: #f07c1e; --accent-2: #ffd45c;
  --deep: #12301d;
}
:root[data-season='winter'] .s-only, :root[data-season='summer'] .w-only { display: none !important; }

/* ---------- Header over hero ---------- */
.site-header { transition: background 0.35s, box-shadow 0.35s, border-color 0.35s; }
.site-header.overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header.overlay:not(.scrolled) .logo, .site-header.overlay:not(.scrolled) .main-nav a:not(.btn) { color: #fff; }
.site-header.overlay:not(.scrolled) .logo b { color: var(--accent-2); }
.site-header.overlay:not(.scrolled) .btn-outline { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.site-header.overlay:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header.overlay.scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(11, 31, 51, 0.1); border-color: var(--line); }
.season-toggle { background: rgba(127, 127, 127, 0.12); border: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; transition: transform 0.4s; }
.season-toggle:hover { transform: rotate(40deg) scale(1.08); }

/* ---------- Hero XL ---------- */
.hero-xl { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; padding: 120px 0 150px; background: var(--sky1); }
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 42%, var(--sky3) 68%, var(--glow) 100%); transition: background 1s; }
.stars { position: absolute; inset: 0 0 45% 0; opacity: 0.85; transition: opacity 1s;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 42% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 67% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 36%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 35% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 93% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 20% 52%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 72% 48%, #fff 50%, transparent 51%);
  animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 0.95; } }
:root[data-season='summer'] .stars { opacity: 0; animation: none; }
.sun { position: absolute; width: 190px; height: 190px; right: 15%; top: 50%; border-radius: 50%; background: radial-gradient(circle, #ffe9c9 0%, #ffb38a 30%, rgba(255, 130, 90, 0) 70%); transition: all 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
:root[data-season='summer'] .sun { top: 10%; right: 12%; width: 170px; height: 170px; background: radial-gradient(circle, #fffef0 0%, #fff0a8 28%, rgba(255, 236, 150, 0) 70%); }
.mountains { position: absolute; inset: 0; width: 100%; height: 100%; }
.mountains .layer { will-change: transform; }
.mountains path, .mountains stop { transition: fill 1s, stop-color 1s; }
.mist-band { animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-90px); } }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--forest)); }
.birds { position: absolute; top: 20%; left: -12%; width: 110px; fill: none; stroke: #183049; stroke-width: 1.6; stroke-linecap: round; animation: fly 46s linear infinite; }
@keyframes fly { to { transform: translate(135vw, -60px); } }

.hero-inner { position: relative; }
.hero-copy { max-width: 820px; margin-bottom: 30px; }
.hero-title { font-size: clamp(2.7rem, 7.2vw, 5.6rem); font-weight: 900; line-height: 0.97; letter-spacing: -0.04em; margin: 22px 0 20px; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.25); }
.hero-title em { font-style: normal; background: linear-gradient(95deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { max-width: 620px; font-size: 1.18rem; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3); }
.hero-search .search-form { background: rgba(255, 255, 255, 0.84); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, 0.65); box-shadow: 0 30px 80px rgba(3, 10, 30, 0.35); }
.hero-xl .trust-row { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); font-weight: 500; }
.season-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.season-switch button { border: 0; background: transparent; color: #fff; font: 600 0.92rem var(--font-display); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background 0.35s, color 0.35s, box-shadow 0.35s; }
:root[data-season='winter'] .season-switch .w-active, :root[data-season='summer'] .season-switch .s-active { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; margin-left: -13px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats band continues the forest ---------- */
.stats-band { background: var(--forest); transition: background 1s; }
.stats { padding: 6px 20px 40px; }
.stats b { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; background: linear-gradient(180deg, #fff, #c9d8f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }

/* ---------- Kicker labels ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 0.78rem var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker.light { color: var(--accent-2); }
.center-block { display: flex; justify-content: center; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-title.light { color: #fff; }

/* ---------- Topographic background ---------- */
.topo { position: relative; isolation: isolate; }
.topo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/img/topo.svg') center / 760px repeat; opacity: 0.09; pointer-events: none; }

/* ---------- Steps ---------- */
.step { position: relative; overflow: hidden; border-radius: 20px; padding: 32px 28px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(6px); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 31, 51, 0.12); }
.step-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), #5b8dff); box-shadow: 0 10px 24px rgba(22, 103, 217, 0.35); }
:root[data-season='summer'] .step-icon { background: linear-gradient(135deg, #2f8a4c, #8cc152); box-shadow: 0 10px 24px rgba(47, 138, 76, 0.35); }
.icon { width: 28px; height: 28px; }
.step .step-num { position: absolute; top: 14px; right: 20px; width: auto; height: auto; background: none; font: 900 3.6rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px #d7e1ee; margin: 0; }

/* ---------- Dark routes section with ridges ---------- */
.routes-dark { position: relative; background: radial-gradient(1200px 500px at 50% 0%, #1b3466 0%, var(--deep) 70%); color: #fff; padding: 110px 0 140px; margin-top: 60px; transition: background 1s; }
:root[data-season='summer'] .routes-dark { background: radial-gradient(1200px 500px at 50% 0%, #2c6a3e 0%, var(--deep) 70%); }
.ridge { position: absolute; left: 0; width: 100%; height: 80px; display: block; }
.ridge-top { top: -79px; fill: var(--deep); transition: fill 1s; }
.ridge-bottom { bottom: -1px; fill: #fff; }
.routes-dark .route-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.route-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(4px); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.25s ease-out; }
.route-card:hover { text-decoration: none; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 210, 122, 0.2); }
.route-head { display: flex; align-items: center; gap: 10px; }
.route-code { font: 800 0.85rem var(--font-display); letter-spacing: 0.06em; background: rgba(255, 255, 255, 0.12); padding: 4px 8px; border-radius: 6px; }
.route-line { flex: 1; height: 0; border-top: 2px dashed rgba(255, 255, 255, 0.3); position: relative; }
.route-line::after { content: '▶'; position: absolute; right: -4px; top: -9px; font-size: 0.6rem; color: rgba(255, 255, 255, 0.5); }
.route-to { font-weight: 700; font-family: var(--font-display); font-size: 1.08rem; }
.elev { width: 100%; height: 44px; overflow: visible; }
.elev-fill { fill: url(#none); fill: rgba(255, 210, 122, 0.12); }
.elev-line { fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s ease var(--d, 0ms); }
.route-card.in .elev-line, .no-motion .elev-line { stroke-dashoffset: 0; }
.route-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); grid-column: auto; }
.route-meta b { color: #fff; font-size: 0.95rem; }

/* ---------- Season cards ---------- */
.seasons { padding-top: 40px; }
.season-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.season-card { position: relative; overflow: hidden; isolation: isolate; min-height: 320px; border-radius: 24px; color: #fff; display: flex; align-items: flex-end; padding: 30px; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s; }
.season-card:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 30px 60px rgba(11, 31, 51, 0.25); }
.season-card.winter { background: linear-gradient(160deg, #0e2558 0%, #3b5ba8 55%, #b9cdf0 100%); }
.season-card.summer { background: linear-gradient(160deg, #2f8fd6 0%, #8fd0f0 45%, #f7d38a 100%); }
.season-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'><path fill='rgba(255,255,255,0.35)' d='M0 200 L0 120 L120 40 L200 100 L310 10 L420 90 L520 50 L640 130 L720 80 L800 110 L800 200Z'/><path fill='rgba(10,23,51,0.55)' d='M0 200 L0 160 L150 110 L260 150 L400 90 L540 150 L680 120 L800 150 L800 200Z'/></svg>") bottom / 100% 100% no-repeat; }
.season-card.summer::after { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'><path fill='rgba(255,255,255,0.4)' d='M0 200 L0 120 L120 40 L200 100 L310 10 L420 90 L520 50 L640 130 L720 80 L800 110 L800 200Z'/><path fill='rgba(31,82,44,0.75)' d='M0 200 L0 160 L150 110 L260 150 L400 90 L540 150 L680 120 L800 150 L800 200Z'/></svg>") bottom / 100% 100% no-repeat; }
.season-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5, 12, 30, 0.55)); }
.season-body { position: relative; max-width: 420px; }
.season-body h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.season-body p { opacity: 0.92; }
.link-arrow { font-weight: 700; font-family: var(--font-display); display: inline-block; transition: transform 0.3s; }
.season-card:hover .link-arrow { transform: translateX(6px); }
.season-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.flake { position: absolute; top: -20px; left: 20%; font-size: 1.4rem; opacity: 0.8; animation: flake 7s linear infinite; }
.flake.f2 { left: 55%; font-size: 1rem; animation-duration: 9s; animation-delay: -3s; }
.flake.f3 { left: 80%; font-size: 1.8rem; animation-duration: 11s; animation-delay: -6s; }
@keyframes flake { to { transform: translate(-40px, 380px) rotate(360deg); } }
.sunball { position: absolute; right: 12%; top: 12%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, #fffbe0 0%, #ffe27a 45%, rgba(255, 226, 122, 0) 72%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15); } }

/* ---------- Inner page banners: mountain sky with ridge ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; color: #fff; border: 0; padding: 52px 0 100px; background: linear-gradient(165deg, var(--sky1) 0%, var(--sky2) 60%, var(--sky3) 100%); transition: background 1s; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/img/topo.svg') center / 700px; opacity: 0.08; filter: invert(1) brightness(2); }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: -1; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'><path fill='rgba(255,255,255,0.25)' d='M0 80 L0 30 L140 6 L260 34 L380 0 L500 30 L640 10 L780 40 L900 4 L1040 32 L1180 8 L1320 36 L1460 12 L1600 30 L1600 80Z'/><path fill='%23ffffff' d='M0 80 L0 50 L110 22 L190 44 L300 8 L390 38 L470 26 L580 56 L700 14 L800 40 L900 24 L1010 52 L1120 10 L1220 36 L1330 20 L1440 48 L1530 30 L1600 42 L1600 80Z'/></svg>") bottom / 100% 100% no-repeat; }
.page-head.slim { padding: 22px 0 76px; }
.page-head h1 { color: #fff; }
.page-head .lead, .page-head .crumbs, .page-head .crumbs a, .page-head .muted { color: rgba(255, 255, 255, 0.82); }
.page-head .stars .muted { color: rgba(255, 255, 255, 0.7); }
.page-head .search-form { box-shadow: 0 24px 60px rgba(3, 10, 30, 0.35); }

/* Partner hero reuses the scene colours */
.hero { background: linear-gradient(180deg, var(--sky1), var(--sky2) 60%, var(--sky3)); position: relative; padding-bottom: 130px; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'><path fill='%23ffffff' d='M0 80 L0 50 L110 22 L190 44 L300 8 L390 38 L470 26 L580 56 L700 14 L800 40 L900 24 L1010 52 L1120 10 L1220 36 L1330 20 L1440 48 L1530 30 L1600 42 L1600 80Z'/></svg>") bottom / 100% 100% no-repeat; }
.hero-partner h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }

/* ---------- Footer with ridge ---------- */
.site-footer { position: relative; margin-top: 90px; background: var(--deep); transition: background 1s; }
.footer-ridge { position: absolute; left: 0; top: -89px; width: 100%; height: 90px; fill: var(--deep); transition: fill 1s; }
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, #6a4cff 100%); }
:root[data-season='summer'] .cta-band { background: linear-gradient(120deg, #1f8a4c 0%, #f09a2a 100%); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #3b82f6); }
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); box-shadow: 0 8px 22px rgba(22, 103, 217, 0.4); }

/* ---------- Motion: reveal + tilt ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease var(--d, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: opacity 0.8s ease, transform 0.25s ease-out, background 0.3s, border-color 0.3s, box-shadow 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .elev-line { stroke-dashoffset: 0; }
}

@media (max-width: 760px) {
  .site-header.overlay .main-nav a:not(.btn) { color: var(--ink) !important; }
  .site-header.overlay .main-nav .btn-outline { color: var(--ink) !important; background: #fff !important; border-color: var(--line) !important; }
  .hero-xl { padding: 100px 0 110px; min-height: auto; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .scroll-cue { display: none; }
  .season-cards { grid-template-columns: 1fr; }
  .routes-dark { padding: 80px 0 110px; }
  .ridge, .footer-ridge { height: 46px; }
  .ridge-top { top: -45px; }
  .footer-ridge { top: -45px; }
  .site-footer { margin-top: 46px; }
}
.routes-dark .route-card { align-items: stretch; }
.route-head { min-width: 0; }
.route-line { min-width: 24px; }
.route-to { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-meta { gap: 10px; }
.route-meta > * { white-space: nowrap; }
.route-to { white-space: normal; overflow: visible; text-align: right; line-height: 1.15; }
