/* Route pages (/vols/…, /colis/…), generated by tools/build-routes.mjs */
.route-page { background: var(--background-color); }

/* Dark rounded header panel, under the floating navigation */
.route-hero {
    position: relative;
    margin: -86px 16px 0;
    padding: 150px 0 72px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    background: var(--hero-gradient);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.route-hero::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 78%;
    width: 1700px;
    height: 1700px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: radial-gradient(closest-side, rgba(254, 111, 94, 0.14), transparent 70%);
    z-index: -1;
}
.route-hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 650;
    letter-spacing: -0.04em;
    max-width: 860px;
    color: #fff;
}
.route-eyebrow {
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}
.route-lead {
    margin-top: 20px;
    font-size: 18px;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
}
.route-lead strong { color: #fff; }
.route-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.route-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}
.route-hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.18); }
.route-note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.62); max-width: 760px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; margin-bottom: 26px; color: rgba(255, 255, 255, 0.6); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.route-body { padding: 48px 24px 0; display: grid; gap: 16px; }
.route-section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
}
.route-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 650;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.route-section h2::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 5px var(--primary-soft);
    flex-shrink: 0;
}
.route-section p { color: var(--text-secondary); }
.route-section p + p { margin-top: 10px; }
.route-section a { color: var(--secondary-color); font-weight: 500; text-decoration-color: var(--primary-color); text-underline-offset: 3px; }
.muted { color: var(--text-light); font-size: 14px; margin-top: 10px; }

.table-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--border-color); border-radius: 18px; }
.route-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.route-table--narrow { min-width: 0; }
.route-table th { text-align: left; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-color); background: var(--tint); padding: 12px 14px; border-bottom: 1px solid var(--border-color); }
.route-table td { padding: 13px 14px; border-bottom: 1px solid var(--border-color); color: var(--text-primary); }
.route-table tr:last-child td { border-bottom: 0; }
.route-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.route-table td.num { font-weight: 700; color: var(--secondary-color); }

.route-facts { display: grid; gap: 0; }
.route-facts > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border-color); }
.route-facts > div:last-child { border-bottom: 0; }
.route-facts dt { font-weight: 600; color: var(--ink); }
.route-facts dd { color: var(--text-secondary); }

.route-steps { padding-left: 22px; display: grid; gap: 10px; color: var(--text-secondary); }
.route-steps li::marker { color: var(--primary-color); font-weight: 700; }

.route-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--hero-gradient);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
}
.route-cta > div:first-child { flex: 1 1 420px; }
.route-cta h2 { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; margin-bottom: 8px; color: #fff; }
.route-cta p { color: rgba(255, 255, 255, 0.78); }
.route-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.route-cta .btn-secondary { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }

.route-faq { border-bottom: 1px solid var(--border-color); padding: 16px 0; }
.route-faq:last-of-type { border-bottom: 0; }
.route-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.route-faq summary::marker { color: var(--primary-color); }
.route-faq p { margin-top: 8px; color: var(--text-secondary); }

.route-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.route-links a {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--tint);
    border: 1px solid var(--border-color);
    color: var(--secondary-color) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.route-links a:hover { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff !important; }

.route-group-title { font-size: 15px; font-weight: 600; color: var(--text-secondary); margin: 22px 0 10px; letter-spacing: -0.01em; }
.route-group-title:first-of-type { margin-top: 4px; }
.route-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.route-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    transition: var(--transition);
}
.route-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d9cfe4; }
.route-card-title { display: block; font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.route-card-sub { display: block; margin-top: 4px; font-size: 14px; color: var(--text-secondary); }

@media (max-width: 768px) {
    .route-hero { margin: -86px 8px 0; padding: 130px 0 52px; border-radius: 0 0 28px 28px; }
    .route-lead { font-size: 16px; }
    .route-body { padding: 32px 10px 0; }
    .route-section, .route-cta { padding: 26px 22px; border-radius: 22px; }
    .route-facts > div { grid-template-columns: 1fr; gap: 4px; }
}
