/* BẢNG GIÁ THUÊ XE */
.tx-pricing {
    padding: 75px 0 85px;
    background: var(--txdl-ice-faint);
}

.tx-pricing__heading {
    text-align: center;
    margin-bottom: 38px;
}

.tx-pricing__heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    color: #173849;
}

.tx-pricing__line {
    display: block;
    width: 76px;
    height: 4px;
    background: var(--txdl-action);
    border-radius: 10px;
    margin: 15px auto;
}

.tx-pricing__heading p {
    max-width: 760px;
    margin: 0 auto;
    color: #68737a;
    line-height: 1.7;
    font-size: 16px;
}

.tx-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.tx-route-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--txdl-ice), white 88%) 100%);
    border: 1px solid var(--txdl-ice-border);
    border-radius: 26px;
    box-shadow: 0 10px 30px rgba(19, 71, 91, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tx-route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(19, 71, 91, .13);
}

.tx-route-card__media-wrap {
    position: relative;
}

.tx-route-card__image {
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--txdl-action-dark);
    box-shadow: 0 8px 22px rgba(10, 42, 56, .12);
}

.tx-route-card__photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.tx-route-card:hover .tx-route-card__photo {
    transform: scale(1.04);
}

.tx-route-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 25px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--txdl-action-dark), var(--txdl-action));
}

.tx-route-card__placeholder span {
    font-size: 20px;
    font-weight: 700;
}

.tx-route-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 8px 6px;
}

.tx-route-card__title {
    margin: 0 0 12px;
    text-align: center;
    color: #173849;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.tx-route-card__desc {
    margin: 0 0 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #4e5d65;
}

.tx-route-card__button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    margin-top: auto;
    padding: 14px 16px;
    background: linear-gradient(180deg, var(--txdl-action) 0%, var(--txdl-action-dark) 100%);
    color: #fff;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .01em;
    box-shadow: 0 12px 22px rgba(19, 71, 91, .14);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tx-route-card__button:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 24px rgba(19, 71, 91, .18);
}

.tx-route-card__button:focus-visible {
    outline: 3px solid var(--txdl-action);
    outline-offset: 3px;
}

.tx-pricing__disclaimer {
    max-width: 850px;
    margin: 28px auto 0;
    text-align: center;
    color: #768088;
    font-size: 13px;
    line-height: 1.7;
}

.tx-pricing__empty {
    text-align: center;
    padding: 40px 0;
}

@media (max-width: 1024px) {
    .tx-pricing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .tx-pricing {
        padding: 55px 0;
    }

    .tx-route-card__image {
        height: 250px;
    }

    .tx-route-card__title {
        font-size: 25px;
    }
}

@media (max-width: 767px) {
    .tx-pricing {
        padding: 45px 0;
    }

    .tx-pricing__heading {
        margin-bottom: 26px;
    }

    .tx-pricing__heading h2 {
        font-size: 27px;
    }

    .tx-pricing__heading p {
        font-size: 14px;
    }

    .tx-pricing__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tx-route-card {
        padding: 12px;
        border-radius: 22px;
    }

    .tx-route-card__image {
        height: 240px;
        border-radius: 16px;
    }

    .tx-route-card__body {
        padding: 16px 4px 4px;
    }

    .tx-route-card__title {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .tx-route-card__desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .tx-route-card__button {
        min-height: 50px;
        border-radius: 14px;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .tx-route-card__title {
        font-size: 21px;
    }

    .tx-route-card__image {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tx-route-card,
    .tx-route-card__photo,
    .tx-route-card__button {
        transition: none;
    }
}
