/* Transport Page Specific Styles - Colombia & Bogotá Responsive Edition */
body {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    color: white;
}

.transport-page-wrapper {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    min-height: 70vh;
    padding-bottom: 100px;
    margin-bottom: -50px;
    overflow-x: hidden;
}

.transport-hero {
    padding: 80px 20px 40px 20px;
    text-align: center;
    color: white;
}

.transport-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.transport-hero p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.transport-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    box-sizing: border-box;
}

.planner-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
}

.planner-input-group {
    margin-bottom: 18px;
    position: relative;
}

.planner-input-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 700;
}

.planner-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.planner-input:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 6px;
    z-index: 100;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 14px 35px rgba(0,0,0,0.6);
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background 0.15s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: rgba(255, 107, 0, 0.2);
    color: white;
}

.ac-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ac-left i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.ac-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-city {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.combined-date-time {
    display: flex;
    gap: 15px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 22px;
}

.dt-half {
    flex: 1;
}

.dt-half label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 4px;
    font-weight: 700;
}

.clean-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.dt-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.btn-search {
    width: 100%;
    background: linear-gradient(90deg, #FF6B00, #ff8c00);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.5);
}

.suggestions-wrapper {
    margin-top: 24px;
}

.suggestions-title {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-routes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.route-chip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 14px;
    border-radius: 20px;
    color: #f1f5f9;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.3;
}

.route-chip:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: #FF6B00;
    color: white;
    transform: translateY(-1px);
}

.results-area {
    margin-top: 32px;
}

/* Service Notice Banner */
.service-notice-banner {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #fef08a;
    padding: 16px 20px;
    border-radius: 14px;
    margin-top: 10px;
    margin-bottom: 32px; /* Generous breathing room between notice and route results */
    font-size: 13.5px;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Results Header */
.results-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.results-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.live-feed-badge {
    font-size: 11.5px;
    color: #22c55e;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Journey Card */
.journey-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    box-sizing: border-box;
}

.journey-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.journey-badge {
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #FF8C00;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fare-badge {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vehicle-id {
    font-size: 12px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Timeline Layout */
.journey-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    background: rgba(30, 41, 59, 0.5);
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    box-sizing: border-box;
}

.time-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.time-block.arrival {
    text-align: right;
}

.time-main {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.station-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #f1f5f9;
    margin-top: 5px;
    line-height: 1.35;
    word-break: break-word;
}

.platform-tag {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.time-block.arrival .platform-tag {
    justify-content: flex-end;
}

.journey-duration-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 0 4px;
}

.duration-time {
    font-size: 13px;
    font-weight: 800;
    color: #FF6B00;
}

.duration-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF6B00, rgba(255,107,0,0.3));
    margin: 6px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration-line i {
    font-size: 11px;
    color: #FF6B00;
    background: #1e293b;
    padding: 0 6px;
    border-radius: 4px;
}

.direct-tag {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.direct-tag.is-direct {
    color: #22c55e;
}

/* Redesigned Journey Segments Breakdown */
.legs-breakdown {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    box-sizing: border-box;
}

.legs-header {
    font-weight: 700;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.legs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leg-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.leg-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.leg-pill {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.leg-time-tag {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

.leg-station-route {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

.leg-st-point {
    font-size: 13.5px;
    color: #f1f5f9;
    line-height: 1.4;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.leg-st-point .st-time {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.leg-arrow-divider {
    font-size: 10px;
    color: #64748b;
    padding-left: 14px;
    line-height: 1;
}

.leg-mode-info {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.provider-wrapper {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.provider-link {
    color: #FF6B00;
    text-decoration: none;
}

.provider-link:hover {
    text-decoration: underline;
}

/* Cross-sell eSIM card */
.cross-sell-widget {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    position: sticky;
    top: 100px;
    box-sizing: border-box;
}

.cross-sell-widget img {
    width: 100%;
    max-width: 170px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.cross-sell-widget h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.cross-sell-widget p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 14px;
}

.cross-sell-widget .price-tag {
    font-size: 22px;
    font-weight: 900;
    color: #FF6B00;
    margin-bottom: 16px;
}

.btn-buy-esim {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #FF6B00, #ff8c00);
    color: white;
    text-decoration: none;
    padding: 13px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.btn-buy-esim:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 107, 0, 0.5);
}

/* SEO Content & Guides Grid */
.seo-content-container {
    max-width: 1120px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.seo-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 22px;
}

.seo-icon {
    font-size: 26px;
    color: #FF6B00;
    margin-bottom: 14px;
}

.seo-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.seo-card p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.faq-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 22px;
    text-align: center;
    color: #fff;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 14px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    gap: 12px;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 16px;
    color: #FF6B00;
    flex-shrink: 0;
}

.faq-summary h4 {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    flex: 1;
}

.faq-chevron {
    color: #64748b;
    transition: transform 0.3s;
}

details[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-content {
    padding: 12px 0 6px 28px;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
}

.back-home-wrapper {
    text-align: center;
    margin-top: 25px;
}

.back-home-btn {
    display: inline-flex;
    text-decoration: none;
}

/* ========================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE STYLES
   ======================================================== */
@media (max-width: 900px) {
    .transport-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .cross-sell-widget {
        position: static;
        margin-top: 10px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .transport-hero {
        padding: 50px 16px 25px 16px;
    }
    .planner-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .combined-date-time {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    .dt-divider {
        height: 1px;
        width: 100%;
    }
    
    /* Responsive timeline stack on mobile */
    .journey-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }
    .time-block.arrival {
        text-align: left;
    }
    .time-block.arrival .platform-tag {
        justify-content: flex-start;
    }
    .journey-duration-bar {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        padding: 8px 0;
        border-top: 1px dashed rgba(255,255,255,0.08);
        border-bottom: 1px dashed rgba(255,255,255,0.08);
    }
    .duration-line {
        display: none;
    }
    .journey-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .badge-group {
        width: 100%;
    }
    .journey-badge, .fare-badge {
        font-size: 11.5px;
        padding: 4px 10px;
    }
    .faq-section {
        padding: 22px 16px;
    }
    .faq-content {
        padding-left: 0;
    }
    .seo-content-container {
        padding: 0 16px;
        margin-top: 40px;
    }
    .results-area {
        margin-top: 24px;
    }
    .service-notice-banner {
        padding: 13px 15px;
        margin-top: 6px;
        margin-bottom: 24px;
        font-size: 13px;
        gap: 10px;
    }
    .results-header-row {
        margin-bottom: 16px;
    }
}
