:root {
    --navy-950: #091729;
    --navy-900: #10243d;
    --navy-800: #1a385c;
    --navy-700: #254e7c;
    --gold-500: #bd995d;
    --gold-400: #d5b377;
    --gold-100: #fdf7ea;
    --gold-200: #f1dfb9;
    --ink: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --border: #dde4ee;
    --surface: #f5f8fc;
    --white: #ffffff;
    --green-700: #15803d;
    --green-50: #f0fdf4;
    --green-200: #bbf7d0;
    --blue-700: #0369a1;
    --blue-50: #f0f9ff;
    --blue-200: #bae6fd;
    --red-700: #b91c1c;
    --red-50: #fef2f2;
    --red-200: #fecaca;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 10px rgba(16, 36, 61, 0.05);
    --shadow-md: 0 12px 32px rgba(16, 36, 61, 0.08);
    --shadow-lg: 0 20px 50px rgba(9, 23, 41, 0.14);
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--navy-900);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 6px;
    z-index: 1000;
    font-weight: 700;
}

.skip-link:focus {
    left: 12px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

/* Top Utility Bar */
.topbar {
    background: var(--navy-950);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar a:hover {
    color: var(--gold-400);
}

/* Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    line-height: 1.05;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(9, 23, 41, 0.14));
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
}

.brand-wordmark {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.9px;
    color: var(--navy-900);
}

.brand-wordmark span {
    color: var(--gold-500);
}

.brand-sub {
    font-size: 9px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--slate-500);
    margin-top: 2px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-700);
    padding: 6px 2px;
    transition: color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy-900);
}

.main-nav a.active {
    box-shadow: inset 0 -2px 0 var(--gold-500);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-toggle {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-weight: 700;
    color: var(--navy-900);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
    box-shadow: 0 6px 18px rgba(189, 153, 93, 0.28);
}

.btn-primary:hover {
    background: var(--gold-400);
}

.btn-navy {
    background: var(--navy-900);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-800);
}

.btn-outline {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--navy-900);
    background: var(--surface);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-sm {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 13px;
}

.btn-lg {
    min-height: 52px;
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(40%);
}

/* 4-step stepper & T&C Reader */
.stepper-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 26px;
}

.tc-scroll-box {
    max-height: 430px;
    overflow-y: auto;
    padding: 20px 22px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.tc-accept-box {
    background: var(--gold-100);
    border: 1.5px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-top: 18px;
}

.tc-locked-card {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 22px;
    color: var(--slate-500);
    text-align: center;
}

/* Searchable Address Dropdown */
.address-ac-wrap {
    position: relative;
}

.address-ac-input {
    padding-right: 36px !important;
}

.address-ac-caret {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--slate-500);
    font-size: 14px;
    line-height: 1;
}

.address-ac-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border: 1.5px solid var(--navy-700);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: 310px;
    overflow-y: auto;
}

.address-ac-status {
    padding: 11px 14px;
    font-size: 13px;
    color: var(--slate-500);
    background: var(--surface);
}

.address-ac-item {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--white);
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 11px 14px;
    cursor: pointer;
    font: inherit;
    color: var(--ink);
    transition: background 0.1s;
}

.address-ac-item:last-of-type {
    border-bottom: 0;
}

.address-ac-item:hover,
.address-ac-item.active {
    background: var(--gold-100);
}

.address-ac-main {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-900);
    line-height: 1.3;
}

.address-ac-sub {
    display: block;
    font-size: 12px;
    color: var(--slate-500);
    margin-top: 2px;
}

.address-ac-footer {
    background: var(--surface);
    padding: 6px 12px;
    font-size: 11px;
    color: var(--slate-500);
    text-align: right;
    border-top: 1px solid var(--border);
}

/* Minimalist Multi-Stop Repeater */
.stops-container {
    display: grid;
    gap: 8px;
}

.stop-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stop-badge {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--navy-800);
    background: var(--gold-100);
    border: 1px solid var(--gold-200);
    border-radius: 6px;
    padding: 4px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.stop-row .address-ac-wrap {
    flex: 1;
    min-width: 0;
}

.stop-remove-btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--slate-500);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.12s;
}

.stop-remove-btn:hover {
    border-color: var(--red-200);
    background: var(--red-50);
    color: var(--red-700);
}

.btn-add-stop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-700);
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.15s;
}

.btn-add-stop:hover {
    border-color: var(--gold-500);
    background: var(--gold-100);
    color: var(--navy-900);
}

/* Guided 3-Step Booking Wizard & Easy-Tap Controls */
.sr-only-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.mobile-nav-ctas {
    display: none;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.mobile-fare-pill {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}

.mobile-fare-pill .mf-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #b8c9dc;
    font-weight: 700;
}

.mobile-fare-pill strong {
    font-size: 18px;
    font-weight: 900;
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 9px;
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--slate-600);
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: all 0.15s;
}

.wizard-step:hover {
    background: var(--white);
    color: var(--navy-900);
}

.wizard-step.active {
    background: var(--white);
    border-color: var(--gold-500);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.wizard-step.completed .ws-num {
    background: var(--green-700);
    color: var(--white);
}

.ws-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--border);
    color: var(--navy-900);
    font-weight: 800;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wizard-step.active .ws-num {
    background: var(--navy-900);
    color: var(--gold-400);
}

.ws-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.ws-text strong {
    font-size: 13.5px;
}

.ws-text small {
    font-size: 11px;
    color: var(--slate-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wizard-pane {
    display: none;
}

.wizard-pane.active {
    display: block;
    animation: fadeStep 0.18s ease;
}

@keyframes fadeStep {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.wizard-nav-end {
    justify-content: flex-end;
}

/* Segmented 1-Tap Pill Toggles (Direction & Terminal) */
.seg-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    background: var(--surface);
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
}

.seg-btn {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 7px;
    border: 0;
    background: transparent;
    color: var(--slate-700);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.seg-btn:hover {
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.7);
}

.seg-btn.active {
    background: var(--navy-900);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(16, 36, 61, 0.18);
}

/* Quick Date Chips */
.quick-date-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.quick-chip {
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--navy-900);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.quick-chip:hover,
.quick-chip.active {
    border-color: var(--gold-500);
    background: var(--gold-100);
    color: var(--navy-950);
}

/* Thumb-Friendly +/- Counter Cards */
.counter-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.counter-card label {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--navy-900);
}

.counter-ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 0;
    background: var(--surface);
    color: var(--navy-900);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s;
}

.counter-btn:hover {
    background: var(--gold-200);
}

.counter-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.counter-val {
    font-size: 17px;
    font-weight: 900;
    color: var(--navy-900);
    min-width: 24px;
    text-align: center;
}

/* Powered by Codeme Labs Footer Credit */
.codemelabs-link {
    color: var(--gold-400);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.codemelabs-link:hover {
    color: var(--white);
}

/* Official Confirmed Voucher: Download & Share PDF Controls */
.voucher-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.voucher-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.voucher-share-status {
    background: var(--green-50);
    border: 1px solid var(--green-200);
    color: var(--green-700);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.voucher-share-status.is-error {
    background: var(--red-50);
    border-color: var(--red-200);
    color: var(--red-700);
}

.voucher-share-panel {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.voucher-share-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
    color: var(--navy-900);
    font-size: 14px;
}

.voucher-share-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.voucher-share-hint {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: var(--slate-600);
}

.voucher-share-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.voucher-share-wa {
    border-color: #bbf7d0;
    color: #166534;
    background: #f0fdf4;
}

.voucher-share-wa:hover {
    background: #dcfce7;
}

@media (max-width: 960px) {
    .stepper-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stepper-4 {
        grid-template-columns: 1fr;
    }
}

/* Hero */
.hero {
    background: radial-gradient(circle at top right, #234a74 0%, #10243d 52%, #0a182b 100%);
    color: var(--white);
    padding: 68px 0 78px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: var(--gold-400);
    text-transform: uppercase;
    margin: 0 0 12px;
}

.hero h1 {
    font-size: clamp(36px, 5.2vw, 60px);
    line-height: 1.08;
    letter-spacing: -1.6px;
    margin: 0 0 18px;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold-400);
}

.hero-lead {
    font-size: 18px;
    color: #dbe6f3;
    max-width: 580px;
    margin: 0 0 26px;
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
}

.trust-item strong {
    display: block;
    font-size: 15px;
    color: var(--white);
}

.trust-item span {
    font-size: 12.5px;
    color: #b8c9dc;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 26px;
    backdrop-filter: blur(8px);
}

.hero-card h2 {
    font-size: 19px;
    margin: 0 0 14px;
    color: var(--white);
}

.quick-step {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-step:last-of-type {
    border-bottom: 0;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--navy-950);
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-step strong {
    display: block;
    font-size: 14.5px;
    color: var(--white);
}

.quick-step p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #c7d6e6;
}

/* Sections */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-head h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.9px;
    margin: 0 0 10px;
    color: var(--navy-900);
}

.section-head p {
    margin: 0;
    color: var(--slate-600);
    font-size: 16px;
}

/* Booking Section */
.booking-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 32px;
    align-items: start;
}

.booking-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.service-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.service-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 14px 14px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--navy-900);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.service-tab strong {
    font-size: 14px;
}

.service-tab span {
    font-size: 12px;
    color: var(--slate-500);
}

.service-tab.active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

.service-tab.active span {
    color: var(--gold-400);
}

.form-section-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy-700);
    margin: 22px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-900);
}

.field small {
    font-size: 12px;
    color: var(--slate-500);
}

.field small.field-error-msg {
    color: var(--red-700);
    font-weight: 700;
    font-size: 12.5px;
    background: var(--red-50);
    border: 1px solid var(--red-200);
    border-radius: 6px;
    padding: 6px 9px;
    margin-top: 2px;
}

input.input-invalid,
select.input-invalid,
textarea.input-invalid {
    border-color: var(--red-700) !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.14) !important;
    background: #fffafa;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="datetime-local"],
input[type="file"],
input[type="password"],
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(37, 78, 124, 0.12);
    outline: none;
}

input[readonly] {
    background: #f1f5f9;
    color: var(--slate-700);
}

textarea {
    min-height: 92px;
    resize: vertical;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    min-height: 18px;
}

/* Live Fare Summary Sidebar */
.fare-summary {
    position: sticky;
    top: 90px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-lg);
}

.fare-summary h3 {
    margin: 0 0 4px;
    font-size: 20px;
}

.fare-summary .sub {
    margin: 0 0 18px;
    font-size: 13px;
    color: #b8c9dc;
}

.fare-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    color: #dbe6f3;
}

.fare-line strong {
    color: var(--white);
}

.fare-highlight {
    background: rgba(189, 153, 93, 0.16);
    border: 1px solid rgba(213, 179, 119, 0.45);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 18px 0;
}

.fare-highlight .label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-400);
    font-weight: 800;
}

.fare-highlight .amount {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    margin: 4px 0;
    color: var(--white);
}

.fare-highlight p {
    margin: 0;
    font-size: 12.5px;
    color: #e2e8f0;
}

/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    color: var(--navy-900);
}

.card p {
    margin: 0 0 14px;
    color: var(--slate-600);
    font-size: 14.5px;
}

.card-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: var(--gold-100);
    color: #7d591a;
    margin-bottom: 12px;
}

.price-tag {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy-900);
    margin: auto 0 14px;
}

.price-tag span {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-500);
}

/* Zone pills */
.zone-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zone-pill {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-900);
}

.zone-pill strong {
    color: var(--gold-500);
    margin-left: 6px;
}

/* Alerts */
.alert {
    padding: 15px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14.5px;
    border: 1px solid transparent;
}

.alert-success {
    background: var(--green-50);
    border-color: var(--green-200);
    color: var(--green-700);
}

.alert-info {
    background: var(--blue-50);
    border-color: var(--blue-200);
    color: var(--blue-700);
}

.alert-warning {
    background: var(--gold-100);
    border-color: var(--gold-200);
    color: #7a5516;
}

.alert-danger {
    background: var(--red-50);
    border-color: var(--red-200);
    color: var(--red-700);
}

.alert ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.badge-warning {
    background: var(--gold-100);
    color: #855a14;
    border: 1px solid var(--gold-200);
}

.badge-info {
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-200);
}

.badge-success {
    background: var(--green-50);
    color: var(--green-700);
    border: 1px solid var(--green-200);
}

.badge-danger {
    background: var(--red-50);
    color: var(--red-700);
    border: 1px solid var(--red-200);
}

/* Step Progress Bar */
.stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.stepper-item {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stepper-item.done {
    border-color: var(--green-200);
    background: var(--green-50);
}

.stepper-item.active {
    border-color: var(--gold-500);
    background: var(--gold-100);
}

.stepper-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--slate-600);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stepper-item.done .stepper-circle {
    background: var(--green-700);
    color: var(--white);
}

.stepper-item.active .stepper-circle {
    background: var(--navy-900);
    color: var(--gold-400);
}

.stepper-item strong {
    display: block;
    font-size: 13.5px;
    color: var(--navy-900);
}

.stepper-item span {
    font-size: 12px;
    color: var(--slate-600);
}

/* Copyable Payment Instruction Box */
.copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--gold-200);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 10px;
}

.copy-row .label {
    font-size: 12px;
    color: var(--slate-500);
    display: block;
}

.copy-row .val {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--navy-900);
    word-break: break-all;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 12px;
}

details.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

details.faq-item summary {
    font-weight: 700;
    font-size: 16px;
    color: var(--navy-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

details.faq-item summary::after {
    content: "+";
    font-size: 22px;
    color: var(--gold-500);
    font-weight: 700;
}

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

details.faq-item p {
    margin: 12px 0 0;
    color: var(--slate-600);
    font-size: 14.5px;
}

/* Subpage Banner & Breadcrumbs */
.page-banner {
    background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    padding: 52px 0 56px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: #b8c9dc;
    margin-bottom: 14px;
}

.breadcrumbs a:hover {
    color: var(--gold-400);
}

.page-banner h1 {
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.12;
    margin: 0 0 12px;
}

.page-banner p {
    max-width: 680px;
    color: #dbe6f3;
    font-size: 17px;
    margin: 0;
}

/* Data Table */
.rate-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.rate-table th,
.rate-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}

.rate-table th {
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.rate-table tr:last-child td {
    border-bottom: 0;
}

.rate-table tr:nth-child(even) td {
    background: var(--surface);
}

/* Footer */
.site-footer {
    background: var(--navy-950);
    color: #cbd5e1;
    padding: 58px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 22px;
    font-size: 13px;
    color: #94a3b8;
}

/* Mobile sticky quick-access bar */
.mobile-quick-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 95;
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    gap: 10px;
}

.hidden {
    display: none !important;
}

@media (max-width: 960px) {

    .hero-grid,
    .booking-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .fare-summary {
        position: static;
    }

    .mobile-fare-pill {
        display: flex;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }

    .topbar {
        display: none;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-wordmark {
        font-size: 21px;
    }

    .brand-sub {
        font-size: 8px;
    }

    .mobile-toggle {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 22px 20px;
        gap: 10px;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 10px 4px;
        font-size: 16px;
        border-bottom: 1px solid var(--surface);
    }

    .mobile-nav-ctas {
        display: grid;
    }

    .header-actions {
        display: none;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="time"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px;
    }

    .service-tabs {
        grid-template-columns: 1fr;
    }

    .wizard-steps {
        gap: 4px;
        padding: 4px;
    }

    .wizard-step {
        padding: 8px 6px;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .ws-text small {
        display: none;
    }

    .ws-text strong {
        font-size: 12px;
    }

    .wizard-nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .wizard-nav .btn {
        width: 100%;
    }

    .seg-toggle {
        grid-template-columns: 1fr;
    }

    .form-grid,
    .form-grid-3,
    .grid-2,
    .grid-3,
    .grid-4,
    .stepper,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 36px 0 44px;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .hero-cta-row .btn {
        width: 100%;
    }

    .section {
        padding: 42px 0;
    }

    .booking-card {
        padding: 18px;
    }

    .voucher-head {
        flex-direction: column;
        align-items: stretch;
    }

    .voucher-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .voucher-actions > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .voucher-share-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mobile-quick-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media print {

    .topbar,
    .site-header,
    .site-footer,
    .mobile-quick-bar,
    .no-print {
        display: none !important;
    }

    body {
        padding: 0;
        background: #fff;
    }
}