/* ABLY private transportation: scoped additions to the shared ABLY experience styles. */
.tr-page { --tr-small: 8px; --tr-gap: 24px; --tr-large: 48px; }
.tr-page [hidden] { display: none !important; }
.tr-page :is(input,select,textarea,button) { font: inherit; }
.tr-page :is(button,input,select,textarea):focus-visible { outline: 2px solid var(--marine); outline-offset: 4px; }
.tr-page button { cursor: pointer; transition: transform .22s cubic-bezier(.22,1,.36,1),opacity .18s ease; }
.tr-page button:disabled { cursor: wait; opacity: .65; }
.tr-page button:focus-visible { outline-color: var(--midnight); }
.tr-page a { overflow-wrap: anywhere; }
.tr-skip { position: absolute; left: 24px; top: 8px; z-index: 5; padding: 12px 24px; background: var(--offwhite); transform: translateY(-180%); }
.tr-skip:focus { transform: none; }
.tr-wrap { width: min(100%,var(--content-width)); margin-inline: auto; padding-inline: 24px; }
.tr-section { padding-block: 56px; }
.tr-intro { max-width: 66ch; color: var(--graphite-soft); margin: -8px 0 32px; }
.tr-hero .hero-copy>p { max-width: 46ch; }
.tr-hero h1 { max-width: 16ch; }
.tr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tr-trust { list-style: none; padding: 24px 0 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--offwhite); border-top: 1px solid rgba(191,164,106,.28); }
.tr-trust li::before { content: '✓'; color: var(--gold); margin-right: 8px; }
.tr-hero .hero-photo img { object-position: 44% center; }
.tr-hero .hero-photo figcaption { position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2; font-size: 12px; color: var(--offwhite); }
.tr-hero .hero-photo:after { background: linear-gradient(to top,rgba(6,27,43,.7),transparent 40%); }
.tr-why { padding-top: 24px; }
.tr-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
.tr-benefits svg { color: var(--marine); margin-bottom: 16px; }
.tr-benefits h3 { font-size: 16px; }
.tr-benefits p { font-size: 14px; line-height: 1.75; color: var(--graphite-soft); margin: 0; }
.tr-services { border-top: 1px solid var(--rule); }
.tr-service { display: grid; gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--rule); align-items: center; }
.tr-service:last-child { border-bottom: 0; padding-bottom: 0; }
.tr-service:first-of-type { padding-top: 0; }
.tr-service .photo { margin: 0; aspect-ratio: 4/3; }
.tr-service p strong { color: var(--midnight); }
.tr-service .tr-photo-wide { aspect-ratio: 3/2; }
.tr-service .tr-photo-wide img { object-position: center 30%; }
.tr-service h3 { font-size: clamp(24px,2.4vw,32px); letter-spacing: -.03em; }
.tr-service p { color: var(--graphite-soft); }
.tr-service p:last-child { margin: 0; }
.tr-chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tr-chips { gap: 4px 0; }
.tr-chips li { font-size: 14px; color: var(--graphite); }
.tr-chips li:not(:last-child)::after { content: '·'; color: var(--gold); margin-inline: 10px; }
.tr-chips a { color: var(--marine); text-decoration: underline; text-underline-offset: 3px; }
.tr-chips a:hover { color: var(--midnight); }
.tr-chips a:focus-visible { outline: 2px solid var(--marine); outline-offset: 2px; }
.tr-chips a:active { opacity: .7; }
.tr-fleet-section { background: var(--white); border-block: 1px solid var(--rule); }
.tr-fleet { display: grid; gap: 24px; }
.tr-card { background: var(--offwhite); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px -32px rgba(6,27,43,.22),0 4px 12px -8px rgba(14,116,144,.12); }
.tr-card .photo { border-radius: 0; aspect-ratio: 4/3; margin: 0; }
.tr-card .photo img { object-position: center 60%; }
.tr-card-copy { padding: 24px; }
.tr-card h3 { font-size: 19px; margin-bottom: 6px; }
.tr-models { font-size: 12px; line-height: 1.6; color: var(--graphite-soft); margin: 0 0 12px; letter-spacing: .01em; }
.tr-capacity { font: 600 28px/1.3 Manrope,sans-serif; letter-spacing: -.03em; color: var(--midnight); margin-bottom: 16px; }
.tr-card-copy>p:last-child { color: var(--graphite-soft); font-size: 14px; margin: 0; }
.tr-placeholder { aspect-ratio: 4/3; position: relative; isolation: isolate; padding: 32px; display: flex; flex-direction: column; justify-content: center; color: var(--offwhite); background: radial-gradient(ellipse at 0 100%,rgba(14,116,144,.3),transparent 65%),radial-gradient(ellipse at 100% 0,rgba(191,164,106,.16),transparent 60%),var(--midnight); }
.tr-placeholder:before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.tr-placeholder { align-items: center; text-align: center; }
.tr-placeholder svg { color: var(--gold); opacity: .85; }
.tr-placeholder small { color: rgba(248,246,241,.7); font-size: 12px; margin-top: 16px; letter-spacing: .04em; text-transform: uppercase; }
.tr-bus { background: var(--midnight); color: var(--offwhite); }
.tr-bus h2,.tr-bus h3 { color: var(--offwhite); }
.tr-bus p { color: rgba(248,246,241,.8); max-width: 60ch; }
.tr-bus-layout { display: grid; gap: 32px; }
.tr-bus-main .photo { aspect-ratio: 4/3; margin: 0; }
.tr-bus-list { padding-left: 20px; color: rgba(248,246,241,.8); font-size: 14px; }
.tr-bus-list li { padding: 4px 0 4px 4px; }
.tr-bus-list li::marker { color: var(--gold); }
.tr-bus-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.tr-bus-photos .photo { aspect-ratio: 3/4; margin: 0; }
.tr-bus-delivery { grid-column: 1/-1; }
.tr-bus-delivery.photo { aspect-ratio: 16/9; }
.tr-quote { scroll-margin-top: 24px; }
.tr-quote-layout { display: grid; gap: 32px; }
.tr-quote-heading>p { color: var(--graphite-soft); max-width: 42ch; }
.tr-quote-heading>a { display: inline-block; margin-top: 28px; font-size: 14px; }
.tr-form { min-width: 0; background: var(--white); padding: 24px; border: 1px solid var(--rule); border-top: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 24px 48px -36px rgba(6,27,43,.24),0 4px 12px -8px rgba(14,116,144,.1); }
.tr-form fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.tr-form legend { font: 600 18px/1.4 Manrope,sans-serif; color: var(--midnight); margin-bottom: 16px; padding: 0; }
.tr-fields { display: grid; gap: 16px; }
.tr-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; min-width: 0; }
.tr-field input,.tr-field select,.tr-field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid rgba(6,27,43,.28); border-radius: 4px; background: var(--white); color: var(--midnight); padding: 12px; font-weight: 400; font-size: 16px; }
.tr-field textarea { resize: vertical; min-height: 96px; }
.tr-field :is(input,select,textarea):hover { border-color: var(--marine); }
.tr-field :is(input,select,textarea):active { border-color: var(--midnight); }
.tr-field input::placeholder,.tr-field textarea::placeholder { color: var(--graphite-soft); opacity: 1; }
.tr-field input[type=date],.tr-field input[type=time] { appearance: none; -webkit-appearance: none; }
.tr-field input::-webkit-date-and-time-value { text-align: left; }
.tr-help { color: var(--graphite-soft); font-size: 12px; margin: 0 0 16px; }
.tr-options { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.tr-check { display: flex; align-items: flex-start; gap: 10px; padding-block: 8px; font-size: 13px; cursor: pointer; }
.tr-check input { flex: 0 0 auto; margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--marine); cursor: pointer; }
.tr-check:hover { color: var(--marine); }
.tr-check:active { opacity: .75; }
.tr-consent { margin-bottom: 24px; }
.tr-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tr-submit { font-family: Inter,sans-serif; width: 100%; }
.tr-result { margin-top: 24px; padding: 24px; background: var(--offwhite); border-left: 2px solid var(--marine); overflow-wrap: anywhere; }
.tr-result p { font-size: 14px; }
.tr-result .tr-actions { flex-direction: column; align-items: flex-start; }
.tr-result .tr-email { font-size: 14px; }
.tr-steps-title { font-size: 17px; margin: 32px 0 20px; padding-top: 28px; border-top: 1px solid var(--rule); }
.tr-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: steps; }
.tr-step-list li { counter-increment: steps; padding-left: 44px; position: relative; }
.tr-step-list li:before { content: counter(steps,decimal-leading-zero); position: absolute; left: 0; top: 2px; color: var(--marine); font: 600 18px/1.5 Manrope,sans-serif; }
.tr-step-list h4 { font: 600 16px/1.4 Manrope,sans-serif; color: var(--midnight); margin: 0 0 4px; }
.tr-step-list p { font-size: 14px; color: var(--graphite-soft); margin: 0; }
.tr-pair { background: rgba(191,164,106,.08); border-block: 1px solid var(--rule); }
.tr-pair-layout { display: grid; gap: 24px; }
.tr-pair p { color: var(--graphite-soft); max-width: 60ch; }
.tr-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.tr-gallery .photo { aspect-ratio: 4/3; margin: 0; }
.tr-gallery .photo:nth-child(1),.tr-gallery .photo:nth-child(6) { grid-column: 1/-1; aspect-ratio: 16/9; }
.tr-faq-layout { display: grid; gap: 24px; border-top: 1px solid var(--rule); padding-top: 48px; }
.tr-contact { margin-block: 0 56px; }
.tr-contact .contact h2 { max-width: 16ch; }
@media(min-width:600px) {
  .tr-fleet { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tr-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tr-span { grid-column: 1/-1; }
  .tr-form { padding: 32px; }
  .tr-bus-photos { grid-template-columns: 1fr 1fr 2fr; }
  .tr-bus-delivery { grid-column: auto; }
  .tr-bus-delivery.photo { aspect-ratio: auto; }
  .tr-bus-delivery img { position: absolute; inset: 0; }
  .tr-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
  .tr-gallery .photo:nth-child(1),.tr-gallery .photo:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .tr-gallery .photo:nth-child(1) img,.tr-gallery .photo:nth-child(6) img { position: absolute; inset: 0; }
}
@media(min-width:760px) {
  .tr-section { padding-block: 80px; }
  .tr-why { padding-top: 32px; }
  .tr-hero { min-height: 640px; }
  .tr-benefits { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .tr-service { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; padding-block: 48px; }
  .tr-service:nth-of-type(even) .photo { order: 2; }
  .tr-bus-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
  .tr-pair-layout,.tr-faq-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 48px; }
  .tr-faq-layout h2 { max-width: 13ch; }
}
@media(min-width:1024px) {
  .tr-fleet { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
  .tr-card-copy { padding: 20px; }
  .tr-capacity { font-size: 24px; }
  .tr-quote-heading { position: sticky; top: 32px; align-self: start; }
  .tr-quote-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.6fr); gap: 64px; }
  .tr-quote-heading h2 { max-width: 12ch; }
  .tr-contact { margin-bottom: 80px; }
}
@media(max-width:359px) {
  .tr-hero .tr-actions { flex-direction: column; width: 100%; }
  .tr-benefits { gap: 24px 16px; }
  .tr-form { padding: 20px 12px; }
  .tr-field select { padding-inline: 8px; }
}
@media(max-width:759px) {
  .tr-hero .hero-copy { padding: 32px 24px; }
  .tr-hero .tr-trust { margin-top: 24px; padding-top: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  .tr-page button { transition: none; }
  .tr-page button:hover,.tr-page button:active { transform: none; }
}

/* Mobile quick-quote bar: hidden while the hero CTAs or the form are on screen. */
.tr-sticky { display: none; }
@media(max-width:759px) {
  .tr-sticky { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(6,27,43,.94); border-top: 1px solid rgba(191,164,106,.28); box-shadow: 0 -12px 32px -20px rgba(6,27,43,.5); transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform .38s cubic-bezier(.22,1,.36,1),opacity .24s ease; }
  .tr-sticky.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .tr-sticky a { min-height: 46px; padding: 10px 16px; }
  .tr-page { padding-bottom: 72px; }
}
@media(prefers-reduced-motion:reduce) { .tr-sticky { transition: none; } }
