.city-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: 7rem;
}

.city-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 25, 31, 0.78), rgba(10, 25, 31, 0.42));
    content: "";
}

.city-hero-image {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.city-hero-content {
    position: relative;
    z-index: 1;
}

.city-hero-content p {
    color: rgba(255, 255, 255, 0.94);
}

.city-hero + .quick-booking {
    position: relative;
    z-index: 1;
    margin-top: -4rem;
}

@media (max-width: 768px) {
    .city-hero {
        padding-bottom: 5.5rem;
    }

    .city-hero + .quick-booking {
        margin-top: -3.5rem;
    }
}

.callback-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        animation: fadeIn 0.3s ease;
    }

    .callback-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .callback-modal-content {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        width: 90%;
        max-width: 450px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        animation: slideUp 0.4s ease;
        position: relative;
    }

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

    .callback-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .callback-modal-header h2 {
        margin: 0;
        color: #667eea;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .callback-close-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #999;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .callback-close-btn:hover {
        color: #333;
    }

    .callback-modal-body {
        margin-bottom: 1.5rem;
    }

    .callback-modal-body p {
        color: #666;
        line-height: 1.6;
        margin: 0 0 1rem 0;
        font-size: 0.95rem;
    }

    .callback-form-group {
        margin-bottom: 1rem;
    }

    .callback-form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
        font-size: 0.9rem;
    }

    .callback-form-group input,
    .callback-form-group select {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .callback-form-group input:focus,
    .callback-form-group select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .callback-modal-footer {
        display: flex;
        gap: 1rem;
    }

    .callback-btn {
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
    }

    .callback-btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .callback-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

    .callback-btn-secondary {
        background: #f5f5f5;
        color: #333;
    }

    .callback-btn-secondary:hover {
        background: #e0e0e0;
    }

    @media (max-width: 600px) {
        .callback-modal-content {
            width: 95%;
            padding: 1.5rem;
            margin: 1rem;
        }

        .callback-modal-header h2 {
            font-size: 1.2rem;
        }

        .callback-modal-footer {
            flex-direction: column;
        }
    }
    
  .available-cities-section {
        background: white;
        padding: 2rem 1.5rem;
        margin-top: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .available-cities-section h2 {
        text-align: center;
        margin-bottom: 1.5rem;
        color: #333;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .cities-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
        gap: clamp(0.6rem, 1.5vw, 1.25rem);
    }

    .city-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 1.2rem;
        background: #f5f5f5;
        border: 2px solid #e0e0e0;
        color: #333;
        text-decoration: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .city-link:hover {
        background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
        border-color: rgba(255, 102, 0, 0.3);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
    }

    .city-link i {
        font-size: 0.85rem;
        color: var(--primary-color);
    }

    @media (max-width: 768px) {
        .cities-grid {
            gap: 1rem;
        }

        .available-cities-section h2 {
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
        }

        .city-link {
            padding: 0.8rem 1rem;
            font-size: 0.85rem;
        }
    }

    @media (max-width: 600px) {
        .cities-grid {
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr));
            gap: 0.8rem;
        }

        .available-cities-section h2 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        .city-link {
            padding: 0.7rem 0.8rem;
            font-size: 0.75rem;
            gap: 0.3rem;
        }

        .city-link i {
            font-size: 0.7rem;
        }
        }

    .route-tour-section {
        max-width: 1200px;
        margin: 1.5rem auto 2rem;
        padding: 0 1rem;
    }

    .route-tour-header {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .route-tour-header h2 {
        margin: 0 0 0.35rem;
        color: #263238;
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .route-tour-header p {
        margin: 0;
        color: #647078;
    }

    .route-tour-controls {
        display: flex;
        gap: 0.5rem;
    }

    .route-tour-nav {
        width: 2.5rem;
        height: 2.5rem;
        border: 1px solid #d8e0e3;
        border-radius: 50%;
        background: #fff;
        color: #263238;
        cursor: pointer;
    }

    .route-tour-nav:hover {
        background: #087f6c;
        color: #fff;
    }

    .route-tour-carousel {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(235px, 1fr);
        gap: 1rem;
        overflow-x: auto;
        padding: 0.25rem 0.1rem 0.85rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .route-tour-carousel::-webkit-scrollbar {
        display: none;
    }

    .route-tour-card {
        position: relative;
        min-height: 350px;
        overflow: hidden;
        border-radius: 12px;
        background: #263238;
        color: #fff;
        scroll-snap-align: start;
    }

    .route-tour-media,
    .route-tour-media img,
    .route-tour-placeholder {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .route-tour-media img {
        object-fit: cover;
    }

    .route-tour-media::after {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(13, 25, 29, 0.12) 15%, rgba(13, 25, 29, 0.9) 100%);
        content: "";
    }

    .route-tour-placeholder {
        display: grid;
        place-items: center;
        background: linear-gradient(145deg, #4b8b78, #233c48);
        color: #d5f1e8;
        font-size: 3rem;
    }

    .route-tour-card-content {
        position: absolute;
        z-index: 1;
        inset: auto 0 0;
        padding: 1rem;
    }

    .route-tour-card h3 {
        margin: 0 0 0.5rem;
        font-size: 1.15rem;
        line-height: 1.25;
    }

    .route-tour-description {
        display: -webkit-box;
        min-height: 2.7em;
        margin: 0 0 0.65rem;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.86);
        font-size: 0.85rem;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .route-tour-meta {
        display: grid;
        gap: 0.35rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.78rem;
    }

    .route-tour-meta span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .route-tour-meta i {
        width: 1rem;
    }

    .route-tour-price {
        margin: 0.65rem 0;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .route-tour-actions {
        display: flex;
        gap: 0.45rem;
    }

    .route-tour-actions a {
        display: inline-flex;
        min-height: 2.35rem;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        border-radius: 6px;
        color: #1d2a2d;
        background: #fff;
        font-size: 0.78rem;
        font-weight: 700;
        text-decoration: none;
    }

    .route-tour-view,
    .route-tour-call {
        flex: 1;
    }

    .route-tour-actions .route-tour-whatsapp {
        width: 2.5rem;
        flex: 0 0 2.5rem;
        background: #1fbd70;
        color: #fff;
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        .route-tour-section {
            margin-top: 1rem;
        }

        .route-tour-header h2 {
            font-size: 1.3rem;
        }

        .route-tour-controls {
            display: none;
        }

        .route-tour-carousel {
            grid-auto-columns: 82%;
            gap: 0.8rem;
        }

        .route-tour-card {
            min-height: 375px;
        }
    }
    @media (max-width: 480px) {
        .available-cities-section {
            padding: 1.5rem 0;
            margin-top: 1rem;
        }

        .available-cities-section h2 {
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
        }

        .city-link {
            padding: 0.6rem 0.6rem;
            font-size: 0.65rem;
        }
    }    

@media (min-width: 561px) and (max-width: 1024px) {
    #taxiGrid.taxi-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] {
        min-width: 0;
        max-width: 100%;
        flex-direction: row;
        align-items: stretch;
        gap: 0 !important;
        padding: 0 !important;
        border: none;
        border-radius: 16px;
        background: #fff;
        text-align: left;
        box-shadow: 0 1px 2px rgba(43, 36, 32, 0.06), 0 12px 24px -14px rgba(43, 36, 32, 0.25);
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .ride-ticket__route {
        width: calc(100% - 184px);
        flex: 1 1 auto;
        padding: 20px !important;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .ride-ticket__mobile-header {
        display: block !important;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .route-line,
    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .ride-ticket__vehicle {
        display: none !important;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .rental-header {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .rental-header .vehicle-stamp {
        width: 54px;
        height: 54px;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .rental-info {
        flex: 1 1 auto;
        min-width: 0;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px 8px;
        margin-bottom: 8px;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .rental-location {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 6px;
        margin: 0 0 8px;
        color: #6b7280;
        font-size: 0.82rem;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .rental-location svg {
        display: block;
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        color: #ff5a1f;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-top .rental-location {
        grid-column: 1;
        white-space: nowrap;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-top .airport-pill {
        grid-column: 2;
        justify-self: end;
        margin: 0;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-label {
        display: flex;
        grid-column: 1 / -1;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #6b7280;
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-label::before {
        content: "\f072";
        display: inline-block;
        color: #ff5a1f;
        font-family: "Font Awesome 6 Free";
        font-size: 0.75rem;
        font-weight: 900;
        line-height: 1;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-pill svg {
        display: block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .vehicle-type {
        margin: 0 0 2px;
        font-size: 1.2rem;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .vehicle-models,
    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .rental-package {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .ride-features {
        justify-content: center;
        padding-top: 12px;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .ride-ticket__stub {
        display: flex !important;
        width: 184px !important;
        max-width: 184px !important;
        min-width: 0 !important;
        flex: 0 0 184px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 16px 12px !important;
        border-top: 0 !important;
        border-left: 1px dashed #e8e1ff !important;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .taxi-pricing,
    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .price-option {
        width: 100%;
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-fare-label,
    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .local-rental-fare-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 100%;
        margin-bottom: 4px;
        text-align: center;
    }

    #taxiGrid .taxi-card.ride-ticket[data-service-type="Airport Transfer"] .airport-fare-name {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        max-width: 100%;
        padding: 5px 8px;
        border-radius: 999px;
        background: #ff5a1f;
        color: #fff;
        font-size: 0.68rem;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    #taxiGrid .taxi-card.ride-ticket[data-service-type="Airport Transfer"] .airport-fare-name svg {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
        color: #fff;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type^="local_rental"] .local-rental-duration {
        display: inline-block;
        padding: 6px 10px;
        border-radius: 999px;
        background: #ff5a1f;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.2;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .local-rental-name,
    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .airport-fare-type {
        color: #6b7280;
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
        #taxiGrid .taxi-card.ride-ticket[data-trip-type^="local_rental"] .ride-ticket__mobile-header .rental-package,
        #taxiGrid .taxi-card.ride-ticket[data-trip-type^="local_rental"] .stub-label,
        #taxiGrid .taxi-card.ride-ticket[data-trip-type^="local_rental"] .stub-note {
            display: none !important;
        }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .stub-surcharge {
        display: block !important;
        margin: 4px 0 0;
        color: #6b7280;
        font-family: 'Inter', sans-serif;
        font-size: 0.66rem;
        font-weight: 400;
        line-height: 1.2;
        white-space: normal;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .stub-label,
    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .stub-note {
        display: block !important;
    }

    #taxiGrid .taxi-card.ride-ticket[data-service-type="Airport Transfer"] .stub-label {
        display: none !important;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .stub-price {
        font-size: 1.4rem;
        white-space: nowrap;
    }

    #taxiGrid .taxi-card.ride-ticket[data-trip-type] .book-taxi-btn.stub-cta {
        width: 100% !important;
        padding: 10px 8px !important;
        font-size: 0.82rem !important;
        white-space: normal;
    }
}
    