/* Route page — loaded only on /taxi-* pages */

#main.route-hero {
    background-color: var(--primary);
}

@media only screen and (min-width: 1125px) {
    #main.route-hero {
        padding-top: 80px;
    }
}

#main.route-hero .bg img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
}

#main.route-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 35, 64, 0.25) 0%, rgba(11, 35, 64, 0.55) 100%);
    z-index: 4;
    pointer-events: none;
}

#main.route-hero .center-logo {
    filter: none;
    color: #FFFFFF;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 90%;
}

#main.route-hero .center-logo img {
    filter: invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
    max-height: 120px;
}

#main.route-hero .center-logo h1 {
    font-size: 2.8em;
    margin-top: 10px;
    line-height: 1.1;
}

#main.route-hero .center-logo .tagline {
    margin-top: 10px;
    font-size: 1.1em;
    opacity: 0.9;
}

#route-overview {
    padding: 50px 20px;
    background: #fff;
}

#route-overview .wrap {
    max-width: 1100px;
    margin: 0 auto;
}

#route-overview h2 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

#route-overview .overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

#route-overview .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 24px;
    min-height: 150px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f3f7fc 0%, #eaf1f9 100%);
    border: 1px solid #dbe6f1;
    text-align: center;
    box-sizing: border-box;
}

#route-overview .card .label {
    color: var(--alternate);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    line-height: 1.2;
}

#route-overview .card .value {
    color: var(--primary);
    font-size: 1.8em;
    line-height: 1.1;
}

#route-overview .card .note {
    color: var(--alternate);
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

.route-description {
    padding: 50px 20px;
    background: #fff;
    color: var(--alternate);
}

.route-description .wrap {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.65;
}

.route-description .wrap h2,
.route-description .wrap h3 {
    color: var(--primary);
    margin: 28px 0 12px;
}

.route-description .wrap p {
    margin-bottom: 14px;
}

.route-description .wrap ul {
    margin: 10px 0 14px 24px;
}

.route-trust {
    padding: 50px 20px;
    background: #f6f8fb;
}

.route-trust .wrap {
    max-width: 900px;
    margin: 0 auto;
}

.route-trust h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.route-trust ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.route-trust ul li {
    padding: 15px 18px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    color: var(--alternate);
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(11, 35, 64, 0.06);
}

.route-faq {
    padding: 50px 20px;
    background: #fff;
}

.route-faq .wrap {
    max-width: 900px;
    margin: 0 auto;
}

.route-faq h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.route-faq details {
    border: 1px solid #dbe6f1;
    border-radius: 10px;
    margin: 8px 0;
    padding: 14px 18px;
    background: #fbfcfe;
}

.route-faq details[open] {
    background: #f3f7fc;
}

.route-faq summary {
    cursor: pointer;
    font-weight: bold;
    color: var(--alternate);
    font-size: 17px;
    list-style: none;
}

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

.route-faq summary::after {
    content: "+";
    float: right;
    color: var(--primary);
    font-size: 22px;
    line-height: 1;
}

.route-faq details[open] summary::after {
    content: "−";
}

.route-faq p {
    margin-top: 10px;
    color: var(--alternate);
    line-height: 1.55;
}

.route-cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #0159a3 100%);
    color: #fff;
    text-align: center;
}

.route-cta .wrap {
    max-width: 800px;
    margin: 0 auto;
}

.route-cta h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.route-cta p {
    margin-bottom: 25px;
    font-size: 18px;
    opacity: 0.9;
}

.route-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.route-cta .cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.route-cta .cta.primary {
    background: #fff;
    color: var(--primary);
}

.route-cta .cta.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.route-cta .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.route-related {
    padding: 50px 20px;
    background: #f6f8fb;
}

.route-related .wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.route-related h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.route-related .related-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.route-related .related-list a {
    display: block;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
    color: var(--alternate);
    text-decoration: none;
    border: 1px solid #dbe6f1;
    font-weight: 500;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.route-related .related-list a:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.route-related .see-all {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.route-related .see-all a {
    color: var(--primary);
    text-decoration: none;
}

@media only screen and (max-width: 1124px) {
    #main.route-hero .center-logo h1 {
        font-size: 2em;
    }

    #route-overview .overview-grid {
        grid-template-columns: 1fr;
    }
}
