:root {
    --navy: #071d32;
    --navy-strong: #041a2d;
    --blue: #0a5d85;
    --blue-soft: #dfeef6;
    --gold: #f4b63b;
    --gold-soft: #fff3d8;
    --green: #0d8d6b;
    --paper: #f5f7fa;
    --card: #ffffff;
    --text: #1d2b35;
    --muted: #5b6c7a;
    --line: #dfe7ec;
    --shadow: 0 20px 45px rgba(7, 29, 50, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }

.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    background: rgba(4, 26, 45, 0.98);
    transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-nav.is-scrolled {
    position: fixed;
    background: rgba(6, 22, 34, 0.8);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 35px rgba(4, 20, 30, 0.12);
}

.nav-inner,
.section-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nav-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    z-index: 2;
}

.site-nav.is-scrolled .brand {
    color: #fff;
}

.terminal-location {
    position: relative;
    min-width: 0;
    margin-left: 4px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.26);
    color: rgba(255,255,255,0.82);
}

.terminal-location summary {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 330px;
    cursor: pointer;
    list-style: none;
}

.terminal-location summary::-webkit-details-marker { display: none; }

.location-icon {
    flex: 0 0 auto;
    color: var(--gold);
}

.location-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.location-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    line-height: 1.25;
}

.location-copy strong {
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.location-copy > span {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255,255,255,0.7);
    font-size: 0.68rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.location-chevron { display: none; }

.location-popover {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    width: min(330px, calc(100vw - 40px));
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    background: #09243a;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.location-popover p {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.78);
    font-size: 0.78rem;
    line-height: 1.55;
}

.location-popover a {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.75));
    color: var(--navy);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.brand-logo {
    width: 40px;
    height: 40px;
    padding: 5px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.nav-links a {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active { color: #fff; }

.nav-links a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--gold);
}

.auth-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.auth-menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.auth-menu > summary::-webkit-details-marker { display: none; }

.auth-menu > summary::after {
    content: "▾";
    font-size: 0.9rem;
    transform: translateY(-1px);
}

.auth-menu[open] > summary {
    background: rgba(244,182,59,0.14);
    border-color: rgba(244,182,59,0.5);
}

.auth-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    padding: 8px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(9, 36, 58, 0.96);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.auth-menu-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 700;
}

.auth-menu-panel a:hover,
.auth-menu-panel a:focus {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }

.hero {
    position: relative;
    display: flex;
    min-height: 720px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(120deg, var(--navy-strong), #0e3c59 52%, #123f66);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-position: center;
    background-size: cover;
    filter: saturate(.8) contrast(1.1);
    transform: scale(1.08);
}

.hero-bus-visual {
    position: absolute;
    z-index: 1;
    right: 3vw;
    bottom: 8.5rem;
    width: min(46vw, 650px);
    height: min(31vw, 400px);
    pointer-events: none;
    filter: drop-shadow(0 24px 26px rgba(0,0,0,.3));
}

.hero-bus-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,20,32,.7), transparent 35%, transparent 78%, rgba(6,20,32,.2));
}

.hero-bus-visual img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: contain;
    object-position: center;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(6, 20, 32, 0.55), rgba(6, 20, 32, 0.76));
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 95px;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 18px;
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.hero-copy {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.87);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-notice { max-width: 680px; margin: 22px auto 0; padding: 14px 18px; text-align: left; color: rgba(255,255,255,0.92); background: rgba(244,182,59,0.13); border: 1px solid rgba(244,182,59,0.42); border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.hero-notice strong { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: .76rem; letter-spacing: .12em; }
.hero-notice strong span { font-size: 1.05rem; }
.hero-notice p { margin: 7px 0 0; color: rgba(255,255,255,0.84); font-size: .88rem; line-height: 1.55; }
/*
.hero-notice {
    max-width: 680px;
    margin: 22px auto 0;
    padding: 14px 18px;
.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.75fr);
    align-items: stretch;
    gap: 18px;
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 108px 0 42px;
}
    text-align: left;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(244, 182, 59, 0.13);
    border: 1px solid rgba(244, 182, 59, 0.42);
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.route-hub-heading { margin-bottom: 18px; }
.hero-notice strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.76rem;
    grid-template-columns: 1fr;
    gap: 9px;

.hero-notice strong span { font-size: 1.05rem; }
.hero-notice p { margin: 7px 0 0; color: rgba(255, 255, 255, 0.84); font-size: 0.88rem; line-height: 1.55; }
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;

    padding: 12px;
    position: relative;
    z-index: 3;

    .hero-bus-visual {
        right: 7%;
        bottom: 12.5rem;
        width: 86%;
        height: 180px;
        opacity: 0.72;
    }

.home-hero-layout .hero {
    min-width: 0;
    min-height: 690px;
    border-radius: 22px;
}

.home-hero-layout .hero-inner {
    width: calc(100% - 44px);
    padding-top: 48px;
}

.home-hero-layout .hero-content { max-width: 760px; }
.home-hero-layout .hero h1 { font-size: 3.55rem; }
.home-hero-layout .hero-copy { font-size: 1rem; }
.home-hero-layout .hero-bus-visual { right: 2%; width: min(48%, 520px); height: 280px; }
.home-hero-layout .search-wrap { width: calc(100% - 44px); margin: 28px auto 32px; transform: none; }
.home-hero-layout .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: 18px; }
.home-hero-layout .search-button { grid-column: 1 / -1; }
.home-hero-layout .login-gate { position: relative; z-index: 3; width: calc(100% - 44px); max-width: 600px; margin: 26px auto 38px; }

.suroboyo-info-section {
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at top left, rgba(16, 96, 138, 0.12), transparent 24%),
        linear-gradient(180deg, #f3f7f9 0%, #edf4f7 100%);
}

.suroboyo-info-section .section-head {
    margin-bottom: 32px;
}

.suroboyo-info-section .section-head > p {
    max-width: 380px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.96rem;
}

.suroboyo-info-section .section-head h2 {
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    letter-spacing: -0.06em;
}

.suroboyo-accordion {
    display: grid;
    gap: 14px;
}

.suroboyo-accordion-item {
    overflow: hidden;
    border: 1px solid rgba(15, 65, 86, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,253,0.96));
    box-shadow: 0 12px 28px rgba(7, 29, 50, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.suroboyo-accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(7, 29, 50, 0.08);
    border-color: rgba(10, 93, 133, 0.18);
}

.suroboyo-accordion-item > summary {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    color: var(--navy);
    font-size: 0.94rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(239,246,250,0.85) 100%);
}

.suroboyo-accordion-item > summary::-webkit-details-marker,
.corridor-accordion-item > summary::-webkit-details-marker { display: none; }

.accordion-indicator {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--navy);
    background: linear-gradient(135deg, #eaf5fb 0%, #dfeef6 100%);
    border: 1px solid rgba(10, 93, 133, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    transition: transform .2s ease, background .2s ease;
}

.accordion-indicator::before {
    content: "+";
    font-size: 1.42rem;
    line-height: 1;
    font-weight: 800;
}

.suroboyo-accordion-item[open] {
    border-color: rgba(10, 93, 133, 0.22);
    box-shadow: 0 18px 34px rgba(7, 29, 50, 0.08);
}

.suroboyo-accordion-item[open] .accordion-indicator {
    background: linear-gradient(135deg, #f5c971 0%, #f3b447 100%);
    transform: rotate(90deg);
}

.suroboyo-accordion-item[open] .accordion-indicator::before { content: "−"; }

.accordion-content {
    padding: 0 22px 22px;
    border-top: 1px solid rgba(15, 65, 86, 0.08);
    background: rgba(250, 252, 253, 0.96);
}

.accordion-lead {
    margin: 16px 0 14px;
    color: var(--muted);
    font-size: 0.88rem;
}

.fare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fare-card {
    display: grid;
    gap: 6px;
    padding: 16px 15px;
    border: 1px solid rgba(15, 65, 86, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(244,249,252,0.95), rgba(255,255,255,0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.fare-card > span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fare-card strong {
    color: var(--navy);
    font-size: 1.2rem;
}

.fare-card small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.operating-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.operating-grid article {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 16px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(245,249,250,1), rgba(255,255,255,1));
    border: 1px solid rgba(15, 65, 86, 0.08);
}

.operating-grid article span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.operating-grid article strong {
    color: var(--navy);
    font-size: 0.92rem;
    line-height: 1.5;
}

.realtime-note {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--gold);
    color: var(--navy);
    background: linear-gradient(90deg, rgba(244, 182, 59, 0.12), rgba(255,255,255,0.6));
    font-size: 0.84rem;
    line-height: 1.6;
    border-radius: 0 12px 12px 0;
}

.corridor-accordion-list { display: grid; gap: 10px; }
.corridor-accordion-item { overflow: hidden; border: 1px solid rgba(15, 65, 86, 0.08); border-radius: 14px; background: #fff; }
.corridor-accordion-item > summary { display: grid; gap: 4px; padding: 16px 18px; color: var(--navy); font-size: .82rem; font-weight: 900; cursor: pointer; list-style: none; }
.corridor-accordion-item > summary small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.corridor-content { padding: 0 16px 16px; }
.corridor-badge { display: inline-flex; margin: 0 0 12px; padding: 7px 10px; border-radius: 999px; color: #775000; background: var(--gold-soft); font-size: .7rem; font-weight: 900; }
.corridor-direction + .corridor-direction { margin-top: 18px; }
.corridor-direction h4 { margin: 0 0 9px; color: var(--navy); font-size: .8rem; }
.corridor-points-scroll { max-height: 320px; overflow: auto; overscroll-behavior: contain; padding: 10px 14px 0; border: 1px solid #e5edf2; border-radius: 10px; background: #f8fbfd; }
.corridor-points { margin: 0; padding: 0 0 4px 7px; list-style: none; }
.corridor-points li { position: relative; min-height: 30px; padding: 0 0 11px 20px; border-left: 1px solid #c7d7e1; color: var(--muted); font-size: .77rem; line-height: 1.45; }
.corridor-points li::before { position: absolute; top: 3px; left: -5px; width: 9px; height: 9px; border: 2px solid #f8fbfd; border-radius: 50%; background: var(--blue); content: ""; }
.corridor-points li:last-child { min-height: 20px; padding-bottom: 0; border-color: transparent; }
.corridor-points li.is-highlighted { color: var(--navy); font-weight: 900; }
.corridor-points li.is-highlighted::before { background: var(--gold); box-shadow: 0 0 0 2px rgba(244,182,59,.22); }
.transit-card { margin: 0; padding: 18px; border: 1px solid #dce9f1; border-radius: 12px; color: var(--navy); background: #f3f8fb; font-size: .9rem; line-height: 1.7; }
.payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payment-card { min-width: 0; padding: 18px; border: 1px solid #e5edf2; border-radius: 12px; background: linear-gradient(180deg, rgba(249,252,253,1), rgba(255,255,255,1)); }
.payment-card h3 { margin: 0 0 12px; color: var(--navy); font-size: .9rem; }
.payment-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.payment-card li { padding: 7px 9px; border: 1px solid #dae7ef; border-radius: 8px; color: var(--blue); background: #fff; font-size: .74rem; font-weight: 800; }
.bottle-card { grid-column: 1 / -1; }
.bottle-card p { margin: 0 0 12px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.bottle-card strong { display: block; margin-top: 13px; color: #8b4b16; font-size: .78rem; }
    .hero-bus-visual::after { background: linear-gradient(180deg, rgba(6, 20, 32, 0.1), rgba(6, 20, 32, 0.72)); }

    .hero-content { position: relative; z-index: 2; }
    .hero-notice { margin-top: 16px; padding: 12px 14px; }
    .hero-notice p { font-size: 0.82rem; }
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 0;
    transform: translateY(52%);
}
*/

.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.75fr);
    align-items: stretch;
    gap: 18px;
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 108px 0 42px;
}

.terminal-connections-section { display: flex; min-width: 0; padding: 0; }
.home-hero-layout .hero { min-width: 0; min-height: 690px; border-radius: 22px; }
.home-hero-layout .hero-inner { width: calc(100% - 44px); padding-top: 48px; }
.home-hero-layout .hero-content { max-width: 760px; }
.home-hero-layout .hero h1 { font-size: 3.55rem; }
.home-hero-layout .hero-copy { font-size: 1rem; }
.home-hero-layout .hero-bus-visual { right: 2%; width: min(48%, 520px); height: 280px; }
.home-hero-layout .search-wrap { width: calc(100% - 44px); margin: 28px auto 32px; transform: none; }
.home-hero-layout .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; border-radius: 18px; }
.home-hero-layout .search-button { grid-column: 1 / -1; }
.home-hero-layout .login-gate { position: relative; z-index: 3; width: calc(100% - 44px); max-width: 600px; margin: 26px auto 38px; }

.search-panel {
    display: grid;
    grid-template-columns: 1.15fr 1.4fr 1fr auto;
    gap: 16px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(140, 164, 180, 0.25);
}

.search-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 16px;
    background: #f6f9fb;
    border: 1px solid #edf2f5;
}

.search-field label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.search-field label svg,
.search-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-field input,
.search-field select {
    width: 100%;
    min-height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    padding: 0;
    outline: none;
}

.search-field select {
    appearance: none;
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 28px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold), #ef9f1d);
    color: var(--navy);
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(244, 182, 59, 0.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.search-button:hover,
.search-button:focus-visible { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(244, 182, 59, 0.38); }

.section {
    padding: 86px 0;
}

.section.alt {
    background: #fff;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head.compact {
    align-items: center;
}

.section-kicker {
    display: inline-block;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section h2 {
    margin: 12px 0 0;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #d7e2ea;
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    transition: background-color .2s ease, transform .2s ease;
}

.inline-link:hover { background: #f5f9fb; transform: translateY(-1px); }

.destination-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.destination-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 18px 18px 16px;
    background: linear-gradient(180deg, #f2f8fb, #fff);
    border: 1px solid #e3edf3;
    border-radius: 22px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(7, 29, 50, 0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.destination-card:hover {
    transform: translateY(-3px); 
    box-shadow: 0 18px 28px rgba(7, 29, 50, 0.08);
}

.city-chip {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue), #0b7db1);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}

.destination-name {
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.destination-meta {
    margin: 14px 0 auto;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 800;
}

.schedule-table-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 26px rgba(7,29,50,0.04);
}

.schedule {
    width: 100%;
    border-collapse: collapse;
}

.schedule th,
.schedule td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.schedule th {
    background: #f5f9fb;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.schedule td {
    color: var(--text);
    font-size: 0.98rem;
}

.schedule td strong {
    color: var(--navy);
    font-size: 1.05rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e7f6ee;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: capitalize;
}

.terminal-connections-section {
    padding: 48px 0 24px;
}

.route-hub {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.6fr);
    gap: 20px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #061d31 0%, #0a4565 100%);
    box-shadow: 0 20px 45px rgba(7,29,50,.16);
}

.route-hub-heading { grid-column: 1 / -1; margin-bottom: 0; }
.route-hub-heading .section-kicker { color: var(--gold); }
.route-hub-heading h2 { margin: 8px 0; color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.35rem); }
.route-hub-heading p { max-width: 540px; margin: 0; color: rgba(255,255,255,.76); line-height: 1.6; }

.route-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: start;
}

.route-option {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.route-option:hover,
.route-option:focus-within {
    transform: translateY(-2px);
    border-color: rgba(244,182,59,.62);
    background: rgba(255,255,255,.11);
}

.route-option h3 { min-height: 2.7em; margin: 0 0 8px; color: #fff; font-size: .78rem; line-height: 1.4; }
.route-option-bus { min-height: 2.8em; margin: 0 0 12px; color: rgba(255,255,255,.7); font-size: .75rem; line-height: 1.4; }

.route-toggle {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    color: var(--navy);
    background: var(--gold);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.route-toggle:hover,
.route-toggle:focus-visible { transform: translateY(-1px); background: #ffd36d; }
.route-toggle[aria-expanded="true"] { color: #fff; background: var(--blue); outline: 1px solid rgba(255,255,255,.36); }

.route-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 18, 28, 0.55);
    backdrop-filter: blur(5px);
}

.route-modal-overlay[hidden] {
    display: none;
}

.route-modal {
    position: relative;
    width: min(760px, 92vw);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(8, 32, 45, 0.98), rgba(10, 56, 75, 0.98));
    box-shadow: 0 26px 60px rgba(2, 13, 23, 0.42);
    overflow: hidden;
    animation: route-reveal .22s ease both;
}

.route-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: rgba(7, 29, 45, 0.9);
}

.route-modal-title-wrap {
    min-width: 0;
}

.route-modal-title-wrap h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 2rem);
    letter-spacing: -0.04em;
}

.route-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.route-bus-label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(244,182,59,.4); border-radius: 999px; color: var(--gold); background: rgba(244,182,59,.1); font-size: .75rem; font-weight: 800; }
.route-close-button {
    appearance: none;
    border: 1px solid rgba(244,182,59,.45);
    border-radius: 10px;
    background: rgba(244,182,59,.12);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.route-close-button:hover,
.route-close-button:focus-visible {
    transform: translateY(-1px);
    background: rgba(244,182,59,.18);
}
.route-modal-content {
    padding: 18px 22px 12px;
    overflow-y: auto;
}

.route-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 22px 18px;
    flex-wrap: wrap;
}

.route-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(244,182,59,.45);
    border-radius: 10px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    background: rgba(244,182,59,.12);
    transition: background-color .2s ease, transform .2s ease;
}
.route-map-link:hover,
.route-map-link:focus-visible { transform: translateY(-1px); background: rgba(244,182,59,.18); }
.route-map-link[hidden] { display: none; }
.route-map-link svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-bus-label svg,
.route-stop-marker svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-dialog-close {
    appearance: none;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    width: 38px;
    height: 38px;
    line-height: 1;
    cursor: pointer;
}
.route-dialog-close:hover,
.route-dialog-close:focus-visible {
    background: rgba(255,255,255,.14);
}

.route-timeline {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
}
.route-stop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 4px 0 6px 0;
    color: rgba(255,255,255,.86);
    font-size: .9rem;
    line-height: 1.45;
}
.route-stop:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 30px;
    bottom: -10px;
    width: 2px;
    background: rgba(244,182,59,.55);
}
.route-stop-marker {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(255,255,255,.06);
    border: 2px solid rgba(244,182,59,.7);
    box-shadow: 0 0 0 4px rgba(244,182,59,.08);
}
.route-stop.is-terminal {
    color: #fff;
    font-weight: 800;
}
.route-stop.is-terminal .route-stop-marker {
    background: rgba(244,182,59,.2);
}
.route-schedules {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.route-schedules h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: .88rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.route-service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.route-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
}
.route-service-name {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: center;
    min-width: 0;
}
.route-service-code {
    color: var(--gold);
    font-weight: 800;
    white-space: nowrap;
}
.route-service-time {
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .route-modal-overlay { padding: 16px; }
    .route-modal { width: min(96vw, 100%); max-height: 88vh; }
    .route-modal-header,
    .route-modal-content,
    .route-modal-footer { padding-left: 16px; padding-right: 16px; }
    .route-modal-header { align-items: flex-start; }
    .route-modal-actions { align-items: center; }
    .route-service {
        grid-template-columns: 1fr;
    }
}

.route-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.route-stop { position: relative; display: flex; align-items: center; gap: 11px; min-height: 34px; padding: 4px 0; color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.45; }
.route-stop:not(:last-child)::before { content: ""; position: absolute; top: 23px; bottom: -11px; left: 9px; width: 1px; background: rgba(244,182,59,.55); }
.route-stop-marker { z-index: 1; display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 19px; color: var(--gold); background: #0b3652; }
.route-stop.is-terminal { color: #fff; font-weight: 800; }

.search-wrap { position: relative; z-index: 3; width: min(1180px, calc(100% - 32px)); margin: 42px auto 0; transform: translateY(52%); }
.home-hero-layout .terminal-connections-section { align-items: stretch; padding: 0; }
.home-hero-layout .route-hub { display: flex; width: 100%; max-width: none; min-width: 0; flex-direction: column; justify-content: center; padding: 24px; }
.home-hero-layout .route-hub-heading { margin-bottom: 18px; }
.home-hero-layout .route-hub-heading h2 { font-size: 1.8rem; }
.home-hero-layout .route-options { grid-template-columns: 1fr; gap: 9px; }
.home-hero-layout .route-option { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 12px; }
.route-option-icon { display: grid; grid-row: span 2; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--gold); background: rgba(255,255,255,.1); }
.route-option-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-hero-layout .route-option h3 { min-height: 0; margin: 0; }
.home-hero-layout .route-option-bus { grid-column: 2; min-height: 0; margin: 2px 0 10px; }
.home-hero-layout .route-toggle { grid-column: 1 / -1; }

.suroboyo-info-section { padding: 64px 0; background: #f7fbfc; }
.suroboyo-info-section .section-head > p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.6; }
.suroboyo-info-section .section-head h2 { font-size: 2rem; }
.suroboyo-accordion { display: grid; gap: 10px; }
.suroboyo-accordion-item { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(7,29,50,.045); }
.suroboyo-accordion-item > summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--navy); font-size: .88rem; font-weight: 900; letter-spacing: .04em; cursor: pointer; list-style: none; }
.suroboyo-accordion-item > summary::-webkit-details-marker,
.corridor-accordion-item > summary::-webkit-details-marker { display: none; }
.accordion-indicator { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--blue-soft); }
.accordion-indicator::before { content: "+"; font-size: 1.1rem; line-height: 1; }
.suroboyo-accordion-item[open] .accordion-indicator::before { content: "−"; }
.accordion-content { padding: 0 20px 20px; }
.accordion-lead { margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.fare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fare-card { display: grid; gap: 6px; padding: 15px; border: 1px solid #e6edf2; border-radius: 12px; background: #f8fbfd; }
.fare-card > span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.fare-card strong { color: var(--navy); font-size: 1.15rem; }
.fare-card small { color: var(--muted); font-size: .72rem; line-height: 1.5; }
.operating-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.operating-grid article { display: grid; gap: 7px; min-width: 0; padding: 15px; border-radius: 12px; background: #f3f8fb; }
.operating-grid article span { color: var(--muted); font-size: .72rem; }
.operating-grid article strong { color: var(--navy); font-size: .9rem; line-height: 1.4; }
.realtime-note { margin: 14px 0 0; padding: 13px 15px; border-left: 3px solid var(--gold); color: var(--navy); background: var(--gold-soft); font-size: .82rem; line-height: 1.55; }
.corridor-accordion-list { display: grid; gap: 8px; }
.corridor-accordion-item { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.corridor-accordion-item > summary { display: grid; gap: 4px; padding: 14px 16px; color: var(--navy); font-size: .82rem; font-weight: 900; cursor: pointer; list-style: none; }
.corridor-accordion-item > summary small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.corridor-content { padding: 0 16px 16px; }
.corridor-badge { display: inline-flex; margin: 0 0 12px; padding: 7px 10px; border-radius: 999px; color: #775000; background: var(--gold-soft); font-size: .7rem; font-weight: 900; }
.corridor-direction + .corridor-direction { margin-top: 18px; }
.corridor-direction h4 { margin: 0 0 9px; color: var(--navy); font-size: .8rem; }
.corridor-points-scroll { max-height: 320px; overflow: auto; overscroll-behavior: contain; padding: 10px 14px 0; border: 1px solid #e5edf2; border-radius: 10px; background: #f8fbfd; }
.corridor-points { margin: 0; padding: 0 0 4px 7px; list-style: none; }
.corridor-points li { position: relative; min-height: 30px; padding: 0 0 11px 20px; border-left: 1px solid #c7d7e1; color: var(--muted); font-size: .77rem; line-height: 1.45; }
.corridor-points li::before { position: absolute; top: 3px; left: -5px; width: 9px; height: 9px; border: 2px solid #f8fbfd; border-radius: 50%; background: var(--blue); content: ""; }
.corridor-points li:last-child { min-height: 20px; padding-bottom: 0; border-color: transparent; }
.corridor-points li.is-highlighted { color: var(--navy); font-weight: 900; }
.corridor-points li.is-highlighted::before { background: var(--gold); box-shadow: 0 0 0 2px rgba(244,182,59,.22); }
.transit-card { margin: 0; padding: 18px; border: 1px solid #dce9f1; border-radius: 12px; color: var(--navy); background: #f3f8fb; font-size: .9rem; line-height: 1.7; }
.payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payment-card { min-width: 0; padding: 18px; border: 1px solid #e5edf2; border-radius: 12px; background: #f8fbfd; }
.payment-card h3 { margin: 0 0 12px; color: var(--navy); font-size: .9rem; }
.payment-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.payment-card li { padding: 7px 9px; border: 1px solid #dae7ef; border-radius: 8px; color: var(--blue); background: #fff; font-size: .74rem; font-weight: 800; }
.bottle-card { grid-column: 1 / -1; }
.bottle-card p { margin: 0 0 12px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.bottle-card strong { display: block; margin-top: 13px; color: #8b4b16; font-size: .78rem; }
.route-schedules { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.route-schedules[hidden] { display: none; }
.route-schedules h4 { margin: 0 0 8px; color: #fff; font-size: .82rem; }
.route-service-list { margin: 0; padding: 0; list-style: none; }
.route-service { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); font-size: .75rem; line-height: 1.4; }
.route-service:last-child { border-bottom: 0; }
.route-service-name { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 9px; min-width: 0; }
.route-service-code { color: var(--gold); white-space: nowrap; }
.route-service-name > span { min-width: 0; overflow-wrap: anywhere; }
.route-service-time { color: #fff; white-space: nowrap; font-weight: 700; }

@keyframes route-reveal {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    padding: 26px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(7, 29, 50, 0.03);
}

.info-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
}

.info-card h3 {
    margin: 16px 0 10px;
    color: var(--navy);
    font-size: 1.28rem;
    letter-spacing: -0.03em;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.terminal-section {
    background: linear-gradient(180deg, #edf5f8 0%, #edf5f8 100%);
}

.terminal-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 42px;
    align-items: center;
}

.terminal-visual {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    box-shadow: 18px 18px 0 var(--gold);
}

.terminal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.terminal-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, rgba(12, 94, 130, 0.9), rgba(7, 29, 50, 0.96));
}

.terminal-placeholder span {
    font-size: 4.75rem;
    color: rgba(255,255,255,0.9);
    font-weight: 900;
}

.terminal-placeholder small {
    position: absolute;
    left: 28px;
    bottom: 22px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
}

.terminal-copy h2 {
    margin: 14px 0 10px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -0.05em;
}

.terminal-copy p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.75;
}

.terminal-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.terminal-facts div {
    padding-left: 14px;
    border-left: 2px solid var(--gold);
}

.terminal-facts strong {
    display: block;
    margin-bottom: 7px;
    color: var(--green);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.terminal-facts span {
    color: var(--muted);
    line-height: 1.7;
}

.terminal-map-link {
    color: var(--muted);
    line-height: 1.7;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

.terminal-map-link:hover,
.terminal-map-link:focus-visible {
    color: var(--navy);
}

.ticket-purchase-section {
    background: #f7fbfc;
}

.ticket-purchase-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.ticket-purchase-head p {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.ticket-purchase-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 20px;
    align-items: stretch;
}

.trip-summary-card {
    padding: 28px;
    border-radius: 18px;
    color: #fff;
    background: var(--navy);
    box-shadow: 10px 10px 0 rgba(244, 182, 59, .72);
}

.trip-summary-card h3 {
    margin: 0 0 22px;
    color: #f4b63b;
    font-size: .78rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.trip-summary-card p {
    margin: 12px 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.5;
}

.ticket-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ticket-platform-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7, 35, 54, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ticket-platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(7, 35, 54, .12);
}

.ticket-platform-logo {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 24px;
}

.ticket-platform-logo.redbus-logo {
    width: 100px;
    height: 66px;
}

.ticket-platform-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.55rem;
}

.ticket-platform-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.ticket-platform-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 13px 15px;
    border-radius: 8px;
    color: var(--navy);
    background: #f4b63b;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.ticket-platform-card a:hover,
.ticket-platform-card a:focus-visible {
    background: #ffd36d;
    transform: translateY(-2px);
}

.ticket-purchase-note {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-left: 4px solid #f4b63b;
    color: var(--navy);
    background: #fff8df;
    line-height: 1.6;
}

.button-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), #ef9f1d);
    color: var(--navy);
    font-weight: 900;
    text-decoration: none;
}

.info-banner {
    padding-top: 32px;
}

.prototype-box {
    padding: 22px 26px;
    border-left: 4px solid var(--gold);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7de, #fffaf1);
}

.prototype-box strong {
    display: block;
    margin-bottom: 8px;
    color: #8a5d00;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
}

.prototype-box p {
    margin: 0;
    color: #6a5638;
    line-height: 1.7;
}

.footer {
    padding: 42px 0 52px;
    background: var(--navy);
    color: rgba(255,255,255,0.78);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer strong {
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
}

.footer p {
    margin: 10px 0 6px;
    color: rgba(255,255,255,0.78);
}

.footer small {
    color: rgba(255,255,255,0.62);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.78);
}

.footer-links a:hover { color: #fff; }

@media (max-width: 980px) {
    .home-hero-layout { grid-template-columns: minmax(235px, .8fr) minmax(0, 1.2fr); gap: 12px; width: calc(100% - 24px); padding-top: 96px; }
    .route-hub { padding: 18px; grid-template-columns: 1fr; }
    .home-hero-layout .hero { min-height: 700px; }
    .home-hero-layout .hero h1 { font-size: 2.8rem; }
    .operating-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 18px 14px;
        border-radius: 18px;
        background: rgba(5, 24, 35, 0.92);
        border: 1px solid rgba(171, 200, 214, 0.22);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }

    .terminal-location {
        margin-left: auto;
        padding-left: 0;
        border-left: 0;
    }

    .terminal-location summary {
        width: 42px;
        height: 42px;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 12px;
        background: rgba(255,255,255,0.08);
    }

    .location-copy,
    .location-chevron { display: none; }

    .location-popover {
        right: 0;
        left: auto;
    }

    .nav-links.is-open { display: flex; }

    .search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-button {
        grid-column: span 2;
    }

    .destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .terminal-facts {
        grid-template-columns: 1fr;
    }

    .terminal-layout {
        grid-template-columns: 1fr;
    }

    .ticket-purchase-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-hero-layout { grid-template-columns: 1fr; gap: 14px; width: calc(100% - 28px); padding: 96px 0 30px; }
    .home-hero-layout .hero { min-height: 0; }
    .home-hero-layout .hero-inner { width: calc(100% - 28px); padding-top: 36px; }
    .home-hero-layout .hero h1 { font-size: 2.45rem; }
    .home-hero-layout .search-wrap { width: calc(100% - 28px); margin: 24px auto 24px; transform: none; }
    .home-hero-layout .search-panel { grid-template-columns: 1fr; }
    .home-hero-layout .search-button { grid-column: auto; }
    .home-hero-layout .login-gate { width: calc(100% - 28px); margin: 22px auto 26px; }

    .hero {
        min-height: 610px;
    }

    .hero-inner {
        padding-top: 92px;
    }

    .hero-bus-visual { right: 7%; bottom: 12.5rem; width: 86%; height: 180px; opacity: .72; }
    .hero-bus-visual::after { background: linear-gradient(180deg, rgba(6,20,32,.1), rgba(6,20,32,.72)); }
    .hero-content { position: relative; z-index: 2; }
    .hero-notice { margin-top: 16px; padding: 12px 14px; }
    .hero-notice p { font-size: .82rem; }

    .search-wrap {
        transform: translateY(24px);
    }

    .search-panel {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .search-button {
        grid-column: auto;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .destination-grid {
        grid-template-columns: 1fr;
    }

    .route-hub { padding: 20px; }
    .route-options { grid-template-columns: 1fr; }
    .route-option h3,
    .route-option-bus { min-height: 0; }
    .route-service { align-items: start; gap: 8px; }
    .route-service-name { grid-template-columns: 1fr; gap: 2px; }
    .suroboyo-info-section { padding: 46px 0; }
    .suroboyo-info-section .section-head > p { margin-top: 10px; }
    .suroboyo-info-section .section-head h2 { font-size: 1.65rem; }
    .fare-grid,
    .operating-grid,
    .payment-grid { grid-template-columns: 1fr; }
    .bottle-card { grid-column: auto; }
    .accordion-content { padding-right: 14px; padding-left: 14px; }
    .suroboyo-accordion-item > summary { padding: 14px; }
    .corridor-content { padding-right: 10px; padding-left: 10px; }

    .ticket-purchase-head {
        display: block;
    }

    .ticket-purchase-head p {
        margin-top: 18px;
    }

    .ticket-platform-grid {
        grid-template-columns: 1fr;
    }

    .ticket-platform-card a {
        width: 100%;
    }

    .schedule {
        display: block;
    }

    .schedule thead {
        display: none;
    }

    .schedule tbody,
    .schedule tr,
    .schedule td {
        display: block;
    }

    .schedule tr {
        padding: 14px 18px;
        border-bottom: 1px solid var(--line);
    }

    .schedule td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 8px 0;
        border: none;
    }

    .schedule td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-hero-layout {
    grid-template-columns: minmax(245px, .58fr) minmax(0, 2fr);
    align-items: start;
    gap: 14px;
}

.home-hero-layout .terminal-connections-section { align-self: start; }
.home-hero-layout .route-hub { padding: 18px; }
.home-hero-layout .route-hub-heading { margin-bottom: 12px; }
.home-hero-layout .route-hub-heading h2 { margin: 6px 0; font-size: 1.45rem; }
.home-hero-layout .route-hub-heading p { font-size: .8rem; line-height: 1.45; }
.home-hero-layout .route-options { gap: 7px; }
.home-hero-layout .route-option { display: grid; grid-template-columns: 32px minmax(0, 1fr) max-content; align-items: center; gap: 2px 8px; width: 100%; padding: 9px; text-align: left; cursor: pointer; font: inherit; }
.home-hero-layout .route-option-icon { grid-row: 1 / span 2; width: 32px; height: 32px; }
.home-hero-layout .route-option-icon svg { width: 19px; height: 19px; }
.home-hero-layout .route-option h3 { align-self: end; min-height: 0; margin: 0; font-size: .7rem; }
.home-hero-layout .route-option-bus { grid-column: 2; align-self: start; min-height: 0; margin: 0; font-size: .68rem; }
.home-hero-layout .route-toggle-label { grid-column: 3; grid-row: 1 / span 2; padding: 8px 9px; border-radius: 7px; color: var(--navy); background: var(--gold); font-size: .68rem; font-weight: 900; white-space: nowrap; }
.home-hero-layout .route-option:hover .route-toggle-label,
.home-hero-layout .route-option:focus-visible .route-toggle-label { background: #ffd36d; }

.route-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(620px, calc(100vw - 32px));
    max-width: 620px;
    max-height: min(82vh, 760px);
    margin: 0;
    padding: 22px;
    overflow: auto;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #071d32, #0a4565);
    box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.route-dialog::backdrop { background: rgba(3,14,24,.72); backdrop-filter: blur(4px); }
.route-dialog .route-detail-heading { padding-right: 42px; }
.route-dialog .route-detail-heading h3 { font-size: 1.05rem; }
.route-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font: 1.4rem/1 Arial, sans-serif; cursor: pointer; }
.route-dialog-close:hover,
.route-dialog-close:focus-visible { color: var(--navy); background: var(--gold); }

@media (max-width: 980px) {
    .home-hero-layout { grid-template-columns: minmax(225px, .65fr) minmax(0, 1.5fr); }
}

@media (max-width: 640px) {
    .home-hero-layout { grid-template-columns: 1fr; }
    .home-hero-layout .route-option { grid-template-columns: 36px minmax(0, 1fr) max-content; }
    .home-hero-layout .route-option-icon { width: 36px; height: 36px; }
    .home-hero-layout .route-option h3 { font-size: .76rem; }
    .home-hero-layout .route-option-bus { font-size: .72rem; }
    .home-hero-layout .route-toggle-label { font-size: .72rem; }
    .route-dialog { width: calc(100vw - 24px); max-height: 86vh; padding: 18px; }
}
