/* ============================================================
   The catalogue, A to E (2026-10-01): the five new bands, the dialog
   they open, and the departure-time suggestion in the booking details.
   New selectors only; nothing here reaches a band that was already on
   the page. Colour from the page's tokens (DESIGN.md), so the light and
   dark themes both hold; figures in the sans, tabular.
   ============================================================ */

.cat-sec { border-top: 1px solid var(--border); }
.cat-sec .sec-lede { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
#airportService h2.sec { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

.cat-grid { display: grid; gap: 1.125rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 2200px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cat-card { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.cat-card h3 { margin: 0; }
.cat-card p { margin: 0; }
.cat-tag {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.cat-card .cat-body { color: var(--muted); font-size: 0.9688rem; line-height: 1.55; }
.cat-card .cat-stops { color: var(--text); font-size: 0.9375rem; line-height: 1.55; }
.cat-card .cat-note { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.cat-card-foot {
  margin-top: auto; padding-top: 0.875rem; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.75rem;
}
.cat-from { font-size: 0.9375rem; color: var(--muted); }
.cat-from b { font-family: var(--font-b); font-size: 1.375rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.cat-from small { font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; }
.cat-chips { gap: 0.5rem; }

/* every car, by the hour */
.cat-table-wrap { margin-top: 1.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cat-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 26.25rem; }
.cat-table caption {
  text-align: start; font-size: 0.75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 0.625rem;
}
.cat-table th, .cat-table td { padding: 0.75rem 0.625rem; border-bottom: 1px solid var(--border); text-align: start; vertical-align: baseline; }
.cat-table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.cat-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-table td b { font-weight: 600; }
.cat-table td small { font-size: 0.6875rem; color: var(--muted); }
.cat-table tbody th { font-weight: 500; }
.cat-cap { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--muted); }

/* a departure's pickup, worked out from the flight */
.dep-calc { margin-top: 0.875rem; padding: 0.875rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.dep-calc-h { margin: 0 0 0.625rem; font-size: 0.875rem; font-weight: 600; }
.dep-gcc { margin-top: 0.625rem; }
.dep-rec { margin: 0.5rem 0 0; font-size: 0.8438rem; line-height: 1.55; }
.dep-calc .btn { margin-top: 0.625rem; }

@media (max-width: 599.98px) {
  .cat-card-foot .btn { width: 100%; }
}

/* ============================================================
   THE SERVICE SWITCH (2026-10-06): airport transfer, point to point and
   the 5- and 10-hour chauffeur blocks in one calculator (js/service-modes.js).
   While a mode other than the airport is chosen, #quote carries
   data-svc="p2p" | "chauffeur-5h" | "chauffeur-10h", and the airport's own
   steps, fare plate and map step aside.
   ============================================================ */
.mode-switch-wrap { margin-top: 1.5rem; }
.mode-switch {
  display: flex; gap: 0.375rem; padding: 0.25rem; width: 100%;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-control); border-radius: 12px; background: var(--surface);
}
.mode-switch::-webkit-scrollbar { display: none; }
.mode-tab {
  flex: 1 0 auto; min-height: 3rem; padding: 0 1.125rem; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer;
  font: inherit; font-size: 1rem; font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}
.mode-tab:hover { background: var(--surface-2); }
.mode-tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent, var(--bg, #fff)); }
.mode-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (forced-colors: active) { .mode-tab[aria-selected="true"] { outline: 2px solid Highlight; } }
@media (max-width: 599.98px) { .mode-tab { flex: 1 0 auto; padding: 0 0.875rem; font-size: 0.9375rem; } }
@media (prefers-reduced-motion: reduce) { .mode-tab { transition: none; } }

#quote[data-svc]:not([data-svc="airport"]) .engine-form > :not(#svcForm),
#quote[data-svc]:not([data-svc="airport"]) .engine-out > :not(#svcPlate),
#quote[data-svc]:not([data-svc="airport"]) .map-card,
#quote[data-svc]:not([data-svc="airport"]) .privacy-note { display: none !important; }

#svcForm { counter-reset: qstep; }
#svcForm .mode-note { margin: -0.25rem 0 1rem; font-size: 0.9375rem; line-height: 1.55; }
.mode-outing { margin: 0 0 1rem; padding: 0.625rem 0.875rem; border: 1px solid var(--accent); border-radius: 10px; font-size: 0.9375rem; font-weight: 600; }
.mode-outing .linkish { margin-inline-start: 0.5rem; font-weight: 500; }
.mode-pick { position: relative; }
.mode-where { margin-bottom: 0.25rem; }
.mode-swap { display: flex; justify-content: center; margin: 0.125rem 0 0.375rem; }
.mode-swap .swap-btn { min-width: 2.75rem; min-height: 2.75rem; }
.mode-route { margin: 0.25rem 0 0; font-size: 0.8438rem; min-height: 1.4em; }
.mode-party { margin-top: 0.875rem; }
#svcForm select.inp { width: 100%; }

.mode-plate .seal { display: inline-block; }
.mode-plate .price.is-req { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.mode-plate-line { font-size: 0.9063rem; margin: 0.375rem 0 0; overflow-wrap: anywhere; }
.mode-plate-incl { margin: 0.75rem 0 0; font-size: 0.9375rem; line-height: 1.5; }
.mode-plate .engine-acts { margin-top: 1.25rem; }
.mode-plate .cart-help { margin-top: 0.75rem; }

.sticky-in > div { flex: none; white-space: nowrap; }
.sticky-svc[hidden], .sticky-air[hidden] { display: none; }

/* the hero's three shortcuts */
.hx-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.hx-chip {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem;
  border: 1px solid var(--border-control); border-radius: 999px; color: var(--text);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; background: transparent;
  transition: border-color .15s ease, background-color .15s ease;
}
.hx-chip:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.hx-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hx-chip { transition: none; } }
