/* The Cabs Booking plugin (2.10.0+) styles its own forms in the NextCabs look.
   Only theme layout bits live here. */
.nextcabs-site {
  --acuk-primary: var(--brand);
  --acuk-primary-dark: var(--brand-dark);
  --acuk-primary-light: var(--pale);
}
.booking-slot .acuk-quote-widget .acuk-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.booking-content { min-width: 0; }
.page-hero.page-hero-compact { min-height: 220px; padding-block: 28px 36px; }
.page-hero.page-hero-compact h1 { font-size: clamp(30px, 4vw, 44px); }

/* Contact form (JetFormBuilder or any plugin form) in the theme look */
.contact-form-card form { display: grid; gap: 16px; margin-top: 18px; }
.contact-form-card .jet-form-builder-row,
.contact-form-card .jet-form-builder__row { display: block; margin: 0; padding: 0; }
.contact-form-card label,
.contact-form-card .jet-form-builder__label,
.contact-form-card .jet-form-builder__label-text { display: block; margin: 0 0 7px; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; }
.contact-form-card .jet-form-builder__required { color: #b4232a; margin-left: 2px; }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card input[type="number"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100%; min-height: 48px; margin: 0; padding: 11px 14px; box-sizing: border-box;
  background: #fff; border: 1px solid #c9d3db; border-radius: 10px; box-shadow: none;
  color: var(--ink); font: 500 15px/1.4 "Plus Jakarta Sans", system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form-card select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b6c8b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.contact-form-card textarea { min-height: 130px; resize: vertical; }
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: #7b8690; font-weight: 400; }
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(75, 108, 139, .18); }
.contact-form-card button[type="submit"],
.contact-form-card input[type="submit"],
.contact-form-card .jet-form-builder__action-button {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 4px;
  padding: 13px 22px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer;
  font: 700 16px/1.2 "Plus Jakarta Sans", system-ui, sans-serif; box-shadow: 0 10px 24px rgba(75, 108, 139, .28);
}
.contact-form-card button[type="submit"]:hover,
.contact-form-card .jet-form-builder__action-button:hover { background: var(--brand-dark); }
.contact-form-card .jet-form-builder__action-button-wrapper { margin: 0; }
.contact-form-card .jet-form-builder-messages-wrap > div,
.contact-form-card .jet-form-builder-message { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.contact-form-card .jet-form-builder-message--success { background: #eef7f1; border: 1px solid #c4e3cf; color: #1d5b34; }
.contact-form-card .jet-form-builder-message--error { background: #fdf2f2; border: 1px solid #f3c9c9; color: #8a1f1f; }
.contact-form-card .jet-form-builder__field-error { margin-top: 6px; color: #b4232a; font-size: 13px; }
@media (min-width: 640px) {
  .contact-form-card form.jet-form-builder { grid-template-columns: 1fr 1fr; }
  .contact-form-card form.jet-form-builder > *:not(.field-type-text-field),
  .contact-form-card form.jet-form-builder > .field-type-text-field:first-of-type { grid-column: 1 / -1; }
}

/* Home hero: keyword H1 (longer than the old slogan), sized to sit in three lines. */
.hero-copy h1.hero-title-seo { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.1; letter-spacing: -.03em; max-width: 13.5em; }
.hero-copy h1.hero-title-seo > span { display: block; }
@media (max-width: 640px) { .hero-copy h1.hero-title-seo { font-size: clamp(32px, 9vw, 40px); } }

/* Contact Form 7 in the contact card */
.contact-form-card .wpcf7 { margin-top: 18px; }
.contact-form-card .wpcf7-form { display: grid; gap: 16px; margin: 0; }
.contact-form-card .wpcf7-form p { margin: 0; }
.contact-form-card .wpcf7-form br { display: none; }
.contact-form-card .wpcf7-form label { display: block; margin: 0; }
.contact-form-card .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.contact-form-card .wpcf7-not-valid { border-color: #b4232a !important; }
.contact-form-card .wpcf7-not-valid-tip { margin-top: 6px; color: #b4232a; font-size: 13px; font-weight: 500; }
.contact-form-card .wpcf7-spinner { margin: 10px auto 0; display: block; }
.contact-form-card .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.contact-form-card .wpcf7 form.sent .wpcf7-response-output { border: 1px solid #c4e3cf; background: #eef7f1; color: #1d5b34; }
.contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.contact-form-card .wpcf7 form.spam .wpcf7-response-output { border: 1px solid #f3c9c9; background: #fdf2f2; color: #8a1f1f; }
.contact-form-card .wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Mobile header: logo and menu only (the booking button lives in the hero and the menu). */
@media (max-width: 900px) { .header-book { display: none !important; } .header-actions { margin-left: auto; } }

/* Mobile: airports and vehicles as swipeable rows instead of a very long stack of cards. */
@media (max-width: 640px) {
  .airports-section .airport-grid, .fleet-section .fleet-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -22px; padding: 12px 22px 20px; scroll-padding-inline: 22px; scrollbar-width: none;
  }
  .airports-section .airport-grid::-webkit-scrollbar, .fleet-section .fleet-grid::-webkit-scrollbar { display: none; }
  .airports-section .airport-grid > *, .fleet-section .fleet-grid > * { scroll-snap-align: start; min-width: 0; }
  .airport-card:hover, .vehicle-card:hover { transform: none; }
}
@media (max-width: 380px) { .airports-section .airport-grid, .fleet-section .fleet-grid { margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; grid-auto-columns: 84%; } }

/* Phones: breadcrumb stays on one line (the current page name shortens with "…"),
   and the "when to leave" tables show all three columns without sideways scrolling. */
@media (max-width: 640px) {
  .breadcrumbs ol { flex-wrap: nowrap; max-width: 100%; }
  .breadcrumbs li { flex: none; }
  .breadcrumbs li[aria-current] { flex: 0 1 auto; min-width: 0; }
  .breadcrumbs li[aria-current] span { max-width: 100%; }
  .breadcrumbs a { padding-inline: 6px; }
  .prose table { min-width: 0; font-size: 12px; }
  .prose th, .prose td { padding: 10px 8px; }
  .prose th:not(:first-child), .prose td:not(:first-child) { width: 1%; white-space: nowrap; text-align: center; }
}
