/* ==========================================================
   POPULAR ROUTES & FARES SECTION
========================================================== */

.routesSection {

    position: relative;
    padding: 90px 6vw;
    background: #F4F7F6;
}

.routesContainer {
    max-width: 1080px;
    margin: 0 auto;
}

.routesEyebrow {

    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.routesHeading {

    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: #0B1F1C;
    max-width: 18ch;
    line-height: 1.25;
    margin-bottom: 14px;
}

.routesIntroText {

    color: #4B5A57;
    max-width: 62ch;
    line-height: 1.7;
    margin-bottom: 34px;
}

.routesTabs {

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.routesTab {

    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, .25);
    background: var(--white);
    color: #0B1F1C;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: var(--transition);
}

.routesTab i {
    color: var(--primary);
}

.routesTab.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-soft);
}

.routesTab.active i {
    color: var(--white);
}

.routesPanel {

    display: none;
    background: var(--white);
    border-radius: 22px;
    padding: 30px clamp(18px, 3vw, 34px);
    box-shadow: var(--shadow-soft);
}

.routesPanel.active {
    display: block;
    animation: routesFade .35s ease;
}

@keyframes routesFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.routesPanelNote {

    color: #4B5A57;
    line-height: 1.65;
    max-width: 68ch;
    margin-bottom: 22px;
}

.routesGrid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.routesGrid--list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.routesCard {

    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #F4F7F6;
    border: 1px solid rgba(15, 118, 110, .12);
}

.routesCard span {
    font-size: .82rem;
    color: #4B5A57;
    font-weight: 500;
}

.routesCard strong {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.routesCard strong small {
    font-size: .7rem;
    font-weight: 500;
    color: #7C8A87;
    margin-left: 2px;
}

.routesLink {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: .92rem;
}

.routesLink:hover {
    color: var(--accent);
}

.routesFoonote {

    margin-top: 20px;
    font-size: .8rem;
    color: #7C8A87;
    max-width: 68ch;
}

@media (max-width: 560px) {

    .routesSection {
        padding: 64px 6vw;
    }

    .routesTabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .routesTab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
