/* Tickets */
:root {
    --tk: #1d5cf5;
}
.tk .btn-primary {
    background: var(--tk);
    border-color: var(--tk);
}
.tk .btn-outline-primary {
    color: var(--tk);
    border-color: #9eb9fb;
}
.tk .btn-outline-primary:hover {
    background: var(--tk);
    color: #fff;
}

/* Hero band (full width background, content in the container) */
.tk-hero {
    background: linear-gradient(180deg, rgba(4, 30, 80, .55) 0%, rgba(4, 30, 80, .15) 70%),
                var(--hero) center 55% / cover no-repeat;
    color: #fff;
    padding: 2.72rem 0 5.525rem;
}
.tk-hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}
.tk-hero p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: .4rem 0 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

/* Search card overlapping the hero */
.tk-search {
    position: relative;
    margin-top: -4.5rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: none;
    padding: 0.765rem 1.02rem 0.85rem;
}
.tk-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    margin-bottom: 1rem;
}
.tk-tabs button {
    border: 0;
    background: transparent;
    border-radius: 6px;
    height: 48px;
    font-weight: 700;
    color: #101010;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}
.tk-tabs button i {
    font-size: 1.2rem;
}
.tk-tabs button.active {
    background: var(--tk);
    color: #fff;
}
.tk-panel {
    display: flex;
    align-items: flex-end;
    gap: 0.68rem;
}
.tk-panel[hidden] {
    display: none;
}
.tk-field {
    flex: 1;
    min-width: 0;
}
.tk-field.sm {
    flex: 0 0 120px;
}
.tk-field small {
    display: block;
    font-size: .74rem;
    color: #606060;
    margin: 0 0 .3rem .2rem;
}
.tk-field > span {
    display: flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 0 0.68rem;
    height: 46px;
}
.tk-field select,
.tk-field input {
    border: 0;
    outline: 0;
    background: transparent;
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: .9rem;
}
.tk-go {
    height: 50px;
    min-width: 140px;
    border-radius: 6px;
    font-weight: 700;
}
.tk-popular {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    font-size: .8rem;
}
.tk-popular > span {
    color: #303038;
    white-space: nowrap;
    margin-right: .3rem;
}
.tk-chips {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.tk-chips a {
    flex-shrink: 0;
    background: var(--ek-bg);
    border-radius: 6px;
    padding: .35rem 0.722rem;
    color: #303038;
    font-size: .78rem;
}
.tk-chips a:hover {
    background: #e3ecff;
    color: var(--tk);
}
.tk-scroll {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--ek-border);
    background: #fff;
    flex-shrink: 0;
}

/* Sections */
.tk-sec {
    margin-top: 2.2rem;
}
.tk-head {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    margin-bottom: 1rem;
}
.tk-head h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}
.tk-head p {
    font-size: .82rem;
    color: var(--ek-muted);
    margin: .1rem 0 0;
}
.tk-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--tk);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tk-head-icon.round {
    border-radius: 50%;
}
.tk-src {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    background: #ecfdf3;
    color: #008f40;
    border-radius: 6px;
    padding: .05rem .5rem;
    margin-left: .3rem;
}
.tk .see-all {
    color: var(--tk);
}
.tk-fline {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .74rem;
    color: #606060;
}
.tk-fline img {
    height: 16px;
    max-width: 60px;
    object-fit: contain;
}
.tk-airline {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}
.tk-airline img {
    max-width: 70px;
    max-height: 34px;
    object-fit: contain;
}
.tk-status {
    font-size: .74rem;
    font-weight: 700;
    border-radius: 6px;
    padding: .25rem .7rem;
    white-space: nowrap;
    background: #eef2ff;
    color: #3730a3;
}
.tk-status.air { background: #e0f2fe; color: #0369a1; }
.tk-status.done { background: #e8f8ee; color: #008f40; }
.tk-status.cancel { background: #fee2e2; color: #b91c1c; }
.tk-status.delay { background: #fef3c7; color: #a16207; }

/* Route cards */
.tk-routes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}
.tk-route {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    overflow: hidden;
    color: var(--ek-text);
    transition: box-shadow .2s;
}
.tk-route:hover {
    box-shadow: none;
}
.tk-route-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.tk-route-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.tk-route:hover .tk-route-img img {
    transform: scale(1.05);
}
.tk-route-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 55%);
}
.tk-route-img h3 {
    position: absolute;
    left: .8rem;
    bottom: .6rem;
    z-index: 1;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}
.tk-route-body {
    padding: 0.68rem 0.765rem 0.765rem;
}
.tk-meta {
    font-size: .8rem;
    color: #606060;
}
.tk-price {
    font-size: 1.15rem;
    font-weight: 800;
    margin: .4rem 0 .7rem;
}
.tk-route .btn {
    font-size: .82rem;
    font-weight: 600;
    border-radius: 6px;
}

/* Flights (static) */
.tk-flights {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0.85rem;
}
.tk-flight-hero {
    position: relative;
    min-height: 210px;
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
}
.tk-flight-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tk-flight-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 25, 70, .85) 0%, rgba(5, 25, 70, .2) 75%);
}
.tk-flight-hero > div {
    position: relative;
    z-index: 1;
    padding: 1.02rem 1.19rem;
}
.tk-flight-hero h3 {
    font-size: 1.25rem;
    font-weight: 800;
}
.tk-flight-hero p {
    font-size: .82rem;
    margin-bottom: .35rem;
    opacity: .92;
}
.tk-flight-hero .btn {
    border-radius: 6px;
    font-weight: 700;
    color: var(--tk);
    margin-top: .3rem;
}
.tk-flight-days {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}
.tk-fday {
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 0.765rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.tk-fday > strong {
    font-size: 1.1rem;
}
.tk-fday > small {
    color: var(--ek-muted);
    font-size: .72rem;
    margin-top: -.25rem;
}
.tk-fdir {
    font-weight: 700;
    font-size: .85rem;
    margin-top: .4rem;
}
.tk-fday .btn {
    margin-top: auto;
    border-radius: 6px;
    font-weight: 600;
}

/* Promo + why us */
.tk-promo {
    position: relative;
    margin-top: 2.2rem;
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
    padding: 1.7rem 1.87rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.275rem;
    background: linear-gradient(90deg, rgba(5, 30, 80, .82) 0%, rgba(5, 30, 80, .35) 60%), var(--hero) center 65% / cover;
}
.tk-promo h2 {
    font-size: 1.45rem;
    font-weight: 800;
}
.tk-promo p {
    opacity: .9;
    font-size: .88rem;
}
.tk-promo .btn {
    border-radius: 6px;
    font-weight: 700;
    color: var(--tk);
}
.tk-promo ul {
    list-style: none;
    margin: 0;
    padding: 0.935rem 1.105rem;
    background: rgba(255, 255, 255, .92);
    color: var(--ek-text);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.765rem 1.36rem;
    font-weight: 600;
    font-size: .85rem;
}
.tk-promo li i {
    color: var(--tk);
    font-size: 1.2rem;
    margin-right: .4rem;
    vertical-align: middle;
}
.tk-why {
    margin-top: 2.2rem;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 1.275rem;
}
.tk-why h2 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.tk-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.765rem;
}
.tk-why-grid > div {
    display: flex;
    align-items: center;
    gap: 0.68rem;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 0.765rem;
}
.tk-why-grid strong {
    display: block;
    font-size: .88rem;
}
.tk-why-grid small {
    color: var(--ek-muted);
    font-size: .74rem;
}
.wi {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.wi.blue { background: #eaf0ff; color: #1d4ed8; }
.wi.purple { background: #f1ebff; color: #7c3aed; }
.wi.orange { background: #fff1e4; color: #f97316; }
.wi.pink { background: #fdecf6; color: #c026d3; }

/* Schedule */
.tk-sched-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.85rem;
    margin-bottom: 1rem;
}
.tk-sched-head h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}
.tk-sched-head h1 .bi {
    color: var(--tk);
}
.tk-sched-head p {
    font-size: .82rem;
    color: var(--ek-muted);
    margin: .2rem 0 0;
}
.tk-days {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 1rem;
}
.tk-days a {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 78px;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: .45rem .6rem;
    background: #fff;
    color: var(--ek-text);
}
.tk-days a small {
    font-size: .7rem;
    color: var(--ek-muted);
}
.tk-days a.active {
    background: var(--tk);
    border-color: var(--tk);
    color: #fff;
}
.tk-days a.active small {
    color: rgba(255, 255, 255, .85);
}
.tk-trips {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.tk-trip {
    display: flex;
    align-items: center;
    gap: 1.02rem;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 6px;
    padding: 0.765rem 0.935rem;
}
.tk-time strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}
.tk-time small,
.tk-trip-info small,
.tk-seats small,
.tk-trip-price small {
    font-size: .72rem;
    color: var(--ek-muted);
}
.tk-trip-info {
    flex: 1;
}
.tk-trip-info strong {
    display: block;
    font-size: .9rem;
}
.tk-trip-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tk-seats {
    text-align: center;
    min-width: 92px;
}
.tk-seats strong {
    display: block;
    font-size: 1.2rem;
    color: #03a94d;
}
.tk-seats.low strong {
    color: #dc2626;
}
.tk-trip-price {
    text-align: right;
    min-width: 110px;
}
.tk-trip-price strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
}
.tk-trip .btn {
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
}
.tk-note {
    font-size: .78rem;
    color: #606060;
    background: #f5f8ff;
    border-radius: 6px;
    padding: .7rem 0.765rem;
    margin-top: 1rem;
}
.tk-route.small .tk-route-img {
    aspect-ratio: 16 / 9;
}


@media (max-width: 1199.98px) {
    .tk-routes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tk-flights {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 991.98px) {
    .tk-panel {
        flex-wrap: wrap;
    }
    .tk-field {
        flex: 1 1 45%;
    }
    .tk-go {
        flex: 1 1 100%;
    }
    .tk-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tk-promo {
        flex-direction: column;
        align-items: flex-start;
    }
    .tk-trip {
        flex-wrap: wrap;
    }
    .tk-trip-info {
        flex: 1 1 60%;
    }
}
@media (max-width: 575.98px) {
    .tk-tabs button {
        font-size: .8rem;
    }
    .tk-field,
    .tk-field.sm {
        flex: 1 1 100%;
    }
    .tk-routes,
    .tk-flight-days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tk-why-grid,
    .tk-promo ul {
        grid-template-columns: minmax(0, 1fr);
    }
    .tk-popular > span {
        display: none;
    }
}
