/* CEOFLIGHTS quote form v2 — extracted from ceoflights-seo origin/main
   landing-pages/business-class-deals (DEPLOYMENT_GUIDE.md §5.1). Version 2.14 */
/* Modal styles */

/* ===== LUXURY SCANDINAVIAN / NORDIC FLIGHT QUOTE CARD (CEOFLIGHTS-Riga Curation Style) ===== */
:root {
  --bc-primary: #0049EF;
  --bc-primary-hover: #0039bd;
  --bc-primary-light: #eff6ff;
  --bc-primary-range: #e0edff;
  --bc-primary-border: #bfdbfe;
  --bc-copper: var(--bc-primary);
  --bc-copper-hover: var(--bc-primary-hover);
  --bc-copper-light: var(--bc-primary-light);
  --bc-copper-range: var(--bc-primary-range);
  --bc-slate-900: #0f172a;
  --bc-slate-800: #1e293b;
  --bc-slate-700: #334155;
  --bc-slate-600: #475569;
  --bc-slate-500: #64748b;
  --bc-slate-400: #94a3b8;
  --bc-slate-200: #e2e8f0;
  --bc-slate-100: #f1f5f9;
  --bc-slate-50: #f8fafc;
  --bc-input-border: #d5d9e0;
  --bc-green: #10b981;
}

.quote-form-box {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 20px 48px -12px rgba(15, 23, 42, 0.28);
  padding: 24px 26px 20px;
  position: relative;
  z-index: 50;
  overflow: visible !important;
  color: var(--bc-slate-900);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: left;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-extended .hero-row {
  z-index: 45 !important;
}

/* Header inside card (CEOFLIGHTS-Riga Specialist Curation Style) */

.bc-card-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: #0f172a;
  margin: 0 0 6px;
}
.bc-card-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 16px;
}

/* Top Dropdown Selectors */
.bc-top-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-bottom: 14px;
}
.bc-pill-select {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}
.bc-pill-select:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.bc-pill-select.is-active {
  border-color: #0049EF;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 73, 239, 0.12);
}
.bc-pill-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bc-slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-pill-arrow {
  width: 16px;
  height: 16px;
  color: var(--bc-slate-500);
  flex-shrink: 0;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.bc-pill-select.is-active .bc-pill-arrow {
  transform: rotate(180deg);
}
.bc-native-select {
  display: none !important;
}

/* Form Fields with Notch / Floating Outline Label */

.bc-field-group {
  position: relative;
  margin-bottom: 12px;
}
.bc-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bc-split-row .bc-field-group {
  margin-bottom: 0;
}

.bc-notch-label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: #ffffff;
  padding: 0 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bc-slate-500);
  letter-spacing: 0.2px;
  pointer-events: none;
  z-index: 2;
  transition: color 0.15s ease;
}
.bc-field-group:focus-within .bc-notch-label {
  color: #0049EF;
}
.bc-field-group.has-error .bc-notch-label {
  color: #dc2626 !important;
}

.bc-input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  background: #ffffff;
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--bc-slate-900);
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-overflow: ellipsis;
}
.bc-input::placeholder {
  color: var(--bc-slate-400);
  font-weight: 400;
}
.bc-input:focus {
  border-color: #0049EF;
  box-shadow: 0 0 0 2px rgba(0, 73, 239, 0.12);
}
.bc-field-group.has-error .bc-input {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.bc-input-date {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 12px;
}
.bc-date-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--bc-slate-800);
}
.bc-date-val.is-placeholder {
  color: var(--bc-slate-400);
  font-weight: 400;
}
.bc-date-ico {
  width: 16px;
  height: 16px;
  color: var(--bc-slate-400);
  flex-shrink: 0;
}

/* Clear button */
.bc-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: #e2e8f0;
  color: #475569;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.bc-clear-btn:hover { background: #cbd5e1; }
.bc-field-group.has-value:hover .bc-clear-btn { display: flex; }

/* Airport autocomplete */
.bc-ac-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 50;
  padding: 4px 0;
  display: none;
}
.bc-ac-popover.is-open { display: block; }
.bc-ac-item {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--bc-slate-800);
  transition: background 0.12s;
}
.bc-ac-item:hover, .bc-ac-item.is-selected {
  background: #eff6ff;
  color: #0049EF;
}
.bc-ac-icon {
  width: 16px;
  height: 16px;
  color: var(--bc-slate-400);
  margin-right: 10px;
  flex-shrink: 0;
}
.bc-ac-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-ac-name small {
  display: block;
  font-size: 11.5px;
  color: var(--bc-slate-500);
}
.bc-ac-code {
  font-weight: 700;
  font-size: 12.5px;
  color: #334155;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 0;
  margin-left: 8px;
}
.bc-ac-item.is-child {
  padding-left: 28px;
}
.bc-ac-item.is-child .bc-ac-arrow {
  color: var(--bc-slate-400);
  margin-right: 6px;
}

/* Trip Type Popover (matches Cabin / Passenger Popover style) */
.bc-trip-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  min-width: 170px;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16);
  padding: 10px;
  z-index: 60;
  display: none;
  box-sizing: border-box;
}
.bc-trip-popover.is-open { display: block; }
.bc-trip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bc-trip-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bc-slate-700);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.bc-trip-opt:hover {
  background: #f1f5f9;
  color: var(--bc-slate-900);
}
.bc-trip-opt.is-selected {
  background: #ffffff;
  border-color: #0049EF;
  color: #0049EF;
  font-weight: 700;
}

/* Passenger & Cabin popover */
.bc-pax-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  width: 290px;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16);
  padding: 16px 16px 14px;
  z-index: 60;
  display: none;
}
.bc-pax-popover.is-open { display: block; }
.bc-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bc-pax-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bc-slate-800);
  display: flex;
  align-items: center;
  gap: 4px;
}
.bc-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
}
.bc-step-btn {
  width: 32px;
  height: 30px;
  background: #f8fafc;
  border: none;
  border-radius: 0;
  color: var(--bc-slate-700);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.bc-step-btn:hover:not(:disabled) {
  background: #e2e8f0;
  color: #0f172a;
}
.bc-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.bc-step-val {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--bc-slate-900);
}
.bc-pax-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 12px 0 10px;
}
.bc-cabin-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bc-cabin-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bc-slate-700);
  transition: background 0.15s, color 0.15s;
}
.bc-cabin-opt:hover {
  background: #f1f5f9;
  color: var(--bc-slate-900);
}
.bc-cabin-opt.is-selected {
  background: #ffffff;
  border-color: #0049EF;
  color: #0049EF;
  font-weight: 700;
}

/* Modern dual-month calendar popover */
.bc-cal-backdrop {
  display: none;
}
@media (max-width: 640px) {
  .bc-cal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9990;
  }
  .bc-cal-backdrop.is-open {
    display: block;
  }
}

.bc-cal-popover {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 4px);
  width: 480px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16);
  padding: 16px 18px 14px;
  z-index: 9999;
  display: none;
}
.bc-cal-popover.is-open { display: block; }
@media (max-width: 640px) {
  .bc-cal-popover {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 12px !important;
    width: auto !important;
    transform: none !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35) !important;
    padding: 16px 14px !important;
    z-index: 9999 !important;
  }
}

.bc-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.bc-cal-summary {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bc-slate-900);
  letter-spacing: -0.2px;
}
.bc-cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bc-slate-700);
  transition: all 0.15s;
}
.bc-cal-nav:hover {
  background: #f1f5f9;
  color: var(--bc-slate-900);
}
.bc-cal-nav svg { width: 16px; height: 16px; }
.bc-cal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bc-slate-500);
  font-size: 20px;
  line-height: 1;
  transition: all 0.15s;
}
.bc-cal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.bc-cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .bc-cal-months {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bc-cal-month:nth-child(2) { display: none; }
}

.bc-cal-month-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--bc-slate-900);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.bc-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}
.bc-cal-wd {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bc-slate-400);
  padding: 4px 0;
}
.bc-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.bc-cal-cell {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--bc-slate-800);
  cursor: pointer;
  position: relative;
  user-select: none;
  border-radius: 0;
  transition: background 0.1s, color 0.1s;
}
.bc-cal-cell:hover:not(.is-disabled) {
  background: #eff6ff;
  color: #0049EF;
}
.bc-cal-cell.is-disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}
.bc-cal-cell.is-start {
  background: #0049EF !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 0 !important;
}
.bc-cal-cell.is-end {
  background: #0049EF !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 0 !important;
}
.bc-cal-cell.is-start.is-end {
  border-radius: 0 !important;
}
/* Return-date hover preview */
.bc-cal-months.is-previewing .bc-cal-cell.is-end:not(.is-hover-end) {
  background: transparent !important;
  color: var(--bc-slate-800) !important;
  font-weight: 500;
}
.bc-cal-cell.is-hover-end:not(.is-start) {
  background: #0049EF;
  color: #ffffff;
  font-weight: 700;
}
.bc-cal-cell.is-in-range {
  background: #eff6ff;
  color: #0039bd;
  border-radius: 0;
}

/* Auto-expanding Contact Section: Silky smooth 60fps CSS Grid expansion */
.bc-contact-section {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.62s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: grid-template-rows, opacity;
}

.bc-contact-section.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.bc-contact-inner {
  min-height: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
  will-change: transform, opacity;
}

.bc-contact-section.is-open .bc-contact-inner {
  transform: translateY(0);
  opacity: 1;
}

.bc-contact-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bc-slate-600);
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bc-contact-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eef2f6;
}

/* Phone input with country flag */
.bc-phone-wrapper {
  display: flex;
  gap: 8px;
}
.bc-country-select-btn {
  width: 96px;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.bc-country-flag {
  font-size: 16px;
}
.bc-country-code {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bc-slate-800);
}
.bc-country-arrow {
  width: 14px;
  height: 14px;
  color: var(--bc-slate-400);
}
.bc-phone-wrapper .bc-input {
  flex: 1;
}

.bc-country-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 2px);
  width: 240px;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.15);
  max-height: 240px;
  overflow-y: auto;
  z-index: 65;
  display: none;
  padding: 4px 0;
}
.bc-country-menu.is-open { display: block; }
.bc-country-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--bc-slate-800);
  cursor: pointer;
}
.bc-country-item:hover { background: #eff6ff; color: #0049EF; }
.bc-country-item span { margin-right: 8px; font-size: 16px; }

/* Standard vs Multi-City wraps */
.bc-standard-wrap {
  display: block;
}
.bc-standard-wrap.is-hidden {
  display: none !important;
}
.bc-multicity-wrap {
  display: none;
  margin-bottom: 4px;
}
.bc-multicity-wrap.is-active {
  display: block;
}

/* Multi-City Flight Segments (Nordic Flat Box Style) */
.bc-mc-segment {
  margin-bottom: 12px;
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  padding: 10px 10px 8px;
}
.bc-mc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 0 2px;
}
.bc-mc-title {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.bc-mc-remove {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--bc-slate-400);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 0;
  transition: color 0.15s, background 0.15s;
}
.bc-mc-remove:hover {
  color: #dc2626;
  background: #fef2f2;
}
.bc-mc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.bc-mc-grid .bc-field-group {
  margin-bottom: 0;
  position: relative;
}
.bc-mc-grid .bc-field-group:first-child .bc-ac-popover {
  left: 0;
  min-width: 280px;
  max-width: calc(100vw - 32px);
}
.bc-mc-grid .bc-field-group:last-child .bc-ac-popover {
  right: 0;
  left: auto;
  min-width: 280px;
  max-width: calc(100vw - 32px);
}
.bc-mc-dep-wrap {
  margin-bottom: 0;
  position: relative;
}
.bc-mc-add-wrap {
  padding: 2px 0 8px;
}
.bc-mc-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 0;
  color: #0049EF;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 14px;
  width: 100%;
  justify-content: center;
  transition: all 0.15s ease;
}
.bc-mc-add-btn:hover {
  background: #eff6ff;
  border-color: #0049EF;
  color: #0036b3;
}
.bc-mc-add-btn svg {
  width: 15px;
  height: 15px;
}

/* Executive Sharp Luxury CTA Button (CEOFLIGHTS Royal Blue #0049EF) */
.bc-cta-btn {
  width: 100%;
  height: 50px;
  background: #0049EF;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 73, 239, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bc-cta-btn:hover {
  background: #0036b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 73, 239, 0.38);
}
.bc-cta-btn:active {
  transform: translateY(0);
}
.bc-cta-btn[disabled] { opacity: .7; cursor: progress; }

/* Divider and Call Box */

/* 3 Trust Pillars (from CEOFLIGHTS Curation Assets) */
.bc-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.bc-trust-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bc-trust-icon {
  width: 24px;
  height: 24px;
  color: #0f172a;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bc-trust-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.bc-trust-num {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.bc-trust-lbl {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.25;
}

/* Exclusive Airline Agreements Explanation Notice */

/* Legal & Privacy Disclaimer */
.bc-legal-box {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  text-align: left;
}

.bc-disclaimer-body {
  font-size: 10.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}
.bc-disclaimer-body a {
  color: #0049EF;
  text-decoration: underline;
  font-weight: 600;
}
.bc-disclaimer-body a:hover {
  color: #0039bd;
}

/* Confirmation View (Preview fallback) */
.bc-confirmation {
  text-align: center;
  padding: 20px 8px;
}
.bc-conf-icon {
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.bc-conf-icon svg { width: 28px; height: 28px; }
.bc-conf-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.bc-conf-text {
  font-size: 14px;
  color: var(--bc-slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}
.bc-conf-details {
  background: #f8fafc;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  padding: 12px;
  font-size: 12.5px;
  color: var(--bc-slate-700);
  text-align: left;
  margin-bottom: 18px;
}
.bc-conf-details p { margin: 4px 0; }
.bc-conf-reset {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--bc-slate-500);
  text-decoration: underline;
  cursor: pointer;
}

.hero-call-line { display: none; }

/* Hero background stabilization: anchor image to top center so it never jumps, zooms, or shifts on expansion */
.hero-extended picture {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
}
.hero-extended .hero-bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform-origin: center top !important;
  animation: none !important;
}

/* Hero layout integration */
@media (min-width: 993px) {
  .hero-extended .hero-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 48px !important;
    padding: 60px 0 80px !important;
    min-height: 1120px !important;
  }
  .hero-extended .hero-left {
    flex: 1 1 58% !important;
    max-width: 680px !important;
    align-self: flex-start !important;
    padding-top: 100px !important;
  }
  .hero-extended .bc-modal-wrapper {
    flex: 0 0 440px !important;
    max-width: 440px !important;
    align-self: flex-start !important;
    position: relative !important;
    z-index: 50 !important;
  }
  .hero-extended .bc-modal-container {
    width: 100% !important;
  }
  .hero-extended .quote-form-box {
    width: 100% !important;
    max-width: 440px !important;
  }
  .bc-modal-close,
  .bc-modal-backdrop,
  .bc-mobile-hero-cta,
  .bc-sticky-cta-bar {
    display: none !important;
  }
}

/* Mobile Hero Thumb CTA & Sticky Bar */
.bc-mobile-hero-cta {
  display: none;
}
.bc-mobile-quote-btn {
  flex: 1;
  height: 52px;
  background: #0049EF;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-family: 'Montserrat', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 73, 239, 0.42);
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}
.bc-mobile-quote-btn:hover {
  background: #0036b3;
}
.bc-mobile-quote-btn:active {
  transform: scale(0.98);
}

.bc-mobile-phone-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.bc-mobile-phone-btn:hover {
  background: rgba(0, 73, 239, 0.4);
  border-color: #ffffff;
  color: #ffffff;
}
.bc-mobile-phone-btn svg {
  width: 22px;
  height: 22px;
}

/* Sticky CTA at bottom of mobile screen */
.bc-sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 10px;
  align-items: center;
  animation: bcStickySlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.bc-sticky-cta-bar .bc-mobile-quote-btn {
  height: 48px;
  font-size: 14.5px;
  border-radius: 9999px;
}
.bc-sticky-cta-bar .bc-mobile-phone-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-color: #0f172a;
  color: #0f172a;
  background: #f8fafc;
}
@keyframes bcStickySlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 992px) {
  .hero-extended {
    min-height: 100svh !important;
  }
  .hero-extended .hero-row {
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 72px 18px 36px !important;
  }
  .hero-extended .hero-left {
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .hero-extended .hero-eyebrow-text {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 8px !important;
  }
  .hero-extended .hero-left h1 {
    font-size: 32px !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
  }
  .hero-extended .hero-left .subtitle {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }
  .hero-price {
    margin-bottom: 0 !important;
  }
  .bc-mobile-hero-cta {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 16px 0 14px !important;
  }
  .hero-extended .trustpilot-badge {
    margin: 0 0 12px !important;
  }
  .hero-call-line {
    display: block !important;
    margin: 4px 0 0 !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
  }
  .hero-call-line a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
  }

  body.bc-modal-active #sticky-cta-bar {
    display: none !important;
  }
  body.bc-modal-active .hero-extended,
  body.bc-modal-active .hero-row {
    z-index: 999999 !important;
    overflow: visible !important;
  }

  /* Modal Dialog on Mobile */
  .bc-modal-wrapper {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .bc-modal-wrapper.is-open {
    display: flex !important;
  }
  .bc-modal-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 22, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    animation: bcModalFadeIn 0.25s ease;
  }
  .bc-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    margin: auto;
    animation: bcModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .bc-modal-close {
    display: flex;
    position: absolute;
    top: -14px;
    right: -8px;
    z-index: 100;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.15s, color 0.15s;
  }
  .bc-modal-close:hover {
    background: #0049EF;
    color: #ffffff;
    border-color: #0049EF;
  }
  .bc-modal-wrapper .quote-form-box {
    display: block !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.55) !important;
  }
}

@keyframes bcModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bcModalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =====================================================================
   QUOTE FORM — CLEAN LAYER (Scandinavian flat, sharp corners)
   Tokens from CEOFLIGHTS booking-quote design system:
   Deep Slate #1e293b · Body #334155 · Charcoal #333b48 · Label #475569
   Secondary #64748b · Muted #94a3b8 · Border #e2e8f0 · Input #cbd5e1
   Fill #f1f5f9 · Background #f8fafc. Micro-diffused shadows only.
   Loaded last so it refines the base rules above by source order.
   ===================================================================== */
.quote-form-box {
  padding: 28px 28px 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 10px 30px -14px rgba(15, 23, 42, 0.22);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.bc-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #1e293b;
  margin: 0 0 6px;
}
.bc-card-sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 18px;
}

/* ---- Selector chips (trip · travelers · cabin) ---- */
.bc-top-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.bc-pill-select {
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  padding: 0 12px 0 14px;
  gap: 6px;
  justify-content: flex-start;
  background: #f1f5f9;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.bc-pill-select:hover { background: #e9eef4; border-color: transparent; }
.bc-pill-select.is-active {
  background: #ffffff;
  border-color: #333b48;
  box-shadow: none;
}

.bc-pill-text {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.1px;
  color: #1e293b;
}
.bc-pill-arrow {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  color: #475569;
}

/* ---- Popovers ---- */
.bc-trip-popover,
.bc-pax-popover,
.bc-cabin-popover {
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 28px -12px rgba(15, 23, 42, 0.20);
  cursor: default;
  z-index: 60;
}
.bc-trip-popover { width: 200px; min-width: 0; padding: 6px 0; }
.bc-pax-popover { width: 290px; padding: 16px 18px 6px; left: 50%; right: auto; margin-left: -145px; }
.bc-cabin-popover {
  position: absolute;
  right: 0;
  width: 220px;
  padding: 6px 0;
  display: none;
}
.bc-cabin-popover.is-open { display: block; }
/* Popovers open instantly: opacity animations inside the translateZ(0) card
   leave a translucent compositor layer in Chrome. */
.bc-pop-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 12px;
}

/* Option rows with radio indicator (trip + cabin) */
.bc-trip-list,
.bc-cabin-list { display: flex; flex-direction: column; gap: 0; }
.bc-trip-opt,
.bc-cabin-opt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}
.bc-trip-opt:hover,
.bc-cabin-opt:hover { background: #f8fafc; color: #1e293b; }
.bc-trip-opt.is-selected,
.bc-cabin-opt.is-selected { background: transparent; color: #1e293b; box-shadow: none; border: 0; }
.bc-trip-opt.is-selected:hover,
.bc-cabin-opt.is-selected:hover { background: #f8fafc; }

.bc-radio {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bc-trip-opt:hover .bc-radio,
.bc-cabin-opt:hover .bc-radio { border-color: #94a3b8; }
.bc-trip-opt.is-selected .bc-radio,
.bc-cabin-opt.is-selected .bc-radio {
  border-color: #333b48;
  background: #333b48;
  box-shadow: inset 0 0 0 3.5px #ffffff;
}
.bc-trip-opt:focus-visible,
.bc-cabin-opt:focus-visible { background: #f8fafc; box-shadow: inset 2px 0 0 #333b48; }

/* Travelers steppers */
.bc-pax-row { margin-bottom: 12px; }
.bc-pax-label { font-size: 14px; font-weight: 600; color: #1e293b; }
.bc-pax-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  margin: 1px 0 0;
}
.bc-stepper { border: 1px solid #e2e8f0; }
.bc-step-btn {
  width: 34px;
  height: 32px;
  background: #ffffff;
  color: #1e293b;
  font-size: 17px;
  font-weight: 500;
}
.bc-step-btn:hover:not(:disabled) { background: #f1f5f9; color: #1e293b; }
.bc-step-btn:disabled { color: #cbd5e1; }
.bc-step-val {
  width: 32px;
  line-height: 32px;
  font-weight: 600;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

/* ---- Fields: label sits inside the box, value below ---- */
.bc-field-group { margin-bottom: 10px; }
.bc-notch-label {
  top: 9px;
  left: 15px;
  padding: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: #64748b;
}
.bc-field-group:focus-within .bc-notch-label { color: #475569; }
.bc-input {
  height: 58px;
  padding: 22px 14px 0 15px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bc-input::placeholder { color: #94a3b8; font-weight: 400; }
.bc-input:hover { border-color: #cbd5e1; }
.bc-input:focus {
  border-color: #333b48;
  box-shadow: inset 0 0 0 0.5px #333b48;
}
.bc-field-group.has-error .bc-input {
  border-color: #dc2626 !important;
  box-shadow: inset 0 0 0 0.5px #dc2626 !important;
}
.bc-field-lead { display: none; }
.bc-has-lead .bc-notch-label { left: 15px; }
.bc-has-lead .bc-input { padding-left: 15px; }
.bc-input-date { padding-right: 14px; }
.bc-date-val { font-size: 15px; font-weight: 500; color: #1e293b; }
.bc-date-val.is-placeholder { color: #94a3b8; font-weight: 400; }
.bc-date-ico { display: none; }
.bc-clear-btn {
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
}
.bc-clear-btn:hover { background: #e2e8f0; color: #1e293b; }

/* Phone: label clears the country selector */
#bc-group-phone .bc-notch-label { left: calc(96px + 8px + 15px); }
.bc-country-select-btn {
  height: 58px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.bc-country-select-btn:hover { border-color: #cbd5e1; }
.bc-country-item:hover { background: #f8fafc; color: #1e293b; }

/* Autocomplete */
.bc-ac-popover {
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 28px -12px rgba(15, 23, 42, 0.20);
}
.bc-ac-item:hover, .bc-ac-item.is-selected { background: #f8fafc; color: #1e293b; }

/* Route: From | To side by side with a centred swap control */
.bc-route-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.bc-route-stack .bc-field-group { margin-bottom: 0; }
#bc-group-from .bc-input { padding-right: 34px; }
#bc-group-to .bc-input { padding-right: 32px; }
#bc-group-from .bc-clear-btn { right: 18px; }
#bc-group-from .bc-ac-popover { left: 0; right: auto; width: calc(200% + 10px); }
#bc-group-to .bc-ac-popover { left: auto; right: 0; width: calc(200% + 10px); }
.bc-swap-btn {
  position: absolute;
  left: 50%;
  top: 29px;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color .15s ease, color .15s ease;
}
.bc-swap-btn svg { width: 14px; height: 14px; }
.bc-swap-btn:hover { border-color: #333b48; color: #1e293b; }
.bc-swap-btn.is-spinning svg { animation: bcSwapSpin .35s cubic-bezier(.4, 0, .2, 1); }
@keyframes bcSwapSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(180deg); }
}
#bc-dates-row { margin-bottom: 10px; }

/* Multi-city: flat, label-led */
.bc-mc-segment {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 14px;
}
.bc-mc-header { margin-bottom: 8px; padding: 0; }
.bc-mc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #475569;
}
.bc-mc-remove { color: #94a3b8; font-size: 18px; }
.bc-mc-remove:hover { color: #1e293b; background: #f1f5f9; }
.bc-mc-grid { gap: 10px; margin-bottom: 10px; }
.bc-mc-add-btn {
  width: auto;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 600;
}
.bc-mc-add-btn:hover {
  background: transparent;
  color: #1e293b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bc-mc-add-btn svg { width: 14px; height: 14px; }

/* Contact block: Name | Email share a row on desktop */
.bc-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
}
.bc-contact-inner > * { grid-column: 1 / -1; }
.bc-contact-inner > #bc-group-name,
.bc-contact-inner > #bc-group-email { grid-column: auto; }
@media (max-width: 640px) {
  .bc-contact-inner > #bc-group-name,
  .bc-contact-inner > #bc-group-email { grid-column: 1 / -1; }
}
.bc-contact-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #475569;
  margin: 6px 0 12px;
}
.bc-contact-title::after { background: #e2e8f0; }

/* ---- Primary CTA: charcoal executive pill ---- */
.bc-cta-btn {
  height: 54px;
  margin-top: 6px;
  background: #333b48;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: background .15s ease, box-shadow .15s ease;
}
.bc-cta-btn:hover {
  background: #1e293b;
  transform: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.bc-cta-btn:active { transform: none; background: #0f172a; }

/* ---- Header call band (full-bleed strip at the top of the card) ---- */
.bc-call-band {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -28px -28px 22px;
  padding: 12px 28px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.bc-call-band:hover { background: #f1f5f9; }
.bc-call-band:focus-visible { outline: 1.5px solid #333b48; outline-offset: -3px; }
.bc-call-band-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333b48;
  color: #ffffff;
}
.bc-call-band-ico svg { width: 15px; height: 15px; }
.bc-call-band-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.bc-call-band-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #64748b;
}
.bc-call-band-num {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}
.bc-call-band-eyebrow-extra { display: none; }
.bc-call-band-note {
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

/* ---- Trust row: fine line icons, typographic ---- */
.bc-trust-grid {
  list-style: none;
  gap: 0;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e2e8f0;
}
.bc-trust-col { position: relative; padding: 0 6px; }
.bc-trust-col + .bc-trust-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: #e2e8f0;
}
.bc-trust-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  color: #333b48;
  background: none;
  border: 0;
}
.bc-trust-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.bc-trust-num {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #1e293b;
  white-space: nowrap;
}
.bc-trust-lbl { font-size: 11.5px; color: #64748b; margin-top: 2px; }

/* ---- Legal ---- */
.bc-legal-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.bc-disclaimer-body {
  font-size: 10.5px;
  line-height: 1.6;
  color: #64748b;
  text-align: center;
}
.bc-disclaimer-body a { color: #334155; text-underline-offset: 2px; }

/* ---- Keyboard focus ---- */
.bc-pill-select:focus-visible,
.bc-input-date:focus-visible,
.bc-swap-btn:focus-visible,
.bc-step-btn:focus-visible,
.bc-country-select-btn:focus-visible,
.bc-mc-add-btn:focus-visible,
.bc-cta-btn:focus-visible {
  outline: 1.5px solid #333b48;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .quote-form-box { padding: 24px 20px 18px; }
  .bc-call-band { margin: -24px -20px 18px; padding: 11px 20px; gap: 10px; }
  .bc-call-band-note { display: none; }
  .bc-call-band-eyebrow { font-size: 10px; white-space: nowrap; }
  .bc-call-band-eyebrow-extra { display: inline; }
  .bc-trust-col { padding: 0 2px; }
  .bc-trust-lbl { white-space: nowrap; }
  .bc-card-title { font-size: 20px; }
  .bc-input,
  .bc-date-val { font-size: 16px; } /* >=16px prevents iOS focus zoom */
  .bc-top-row { gap: 5px; }
  .bc-pill-select { padding: 0 8px 0 10px; gap: 3px; }
  .bc-pill-text { font-size: 13px; }
  .bc-pill-arrow { width: 10px; height: 10px; margin-left: 0; }
  .bc-trust-num { font-size: 11.5px; }
  .bc-trust-lbl { font-size: 10.5px; }
  .bc-pax-popover { width: min(290px, calc(100vw - 64px)); margin-left: calc(min(290px, calc(100vw - 64px)) / -2); }
}

@media (prefers-reduced-motion: reduce) {
  .quote-form-box *,
  .quote-form-box *::before,
  .quote-form-box *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 380px) {
  .quote-form-box { padding: 18px 12px 16px; }
  .bc-pill-text { font-size: 12px; }
  .bc-pill-select { padding: 0 6px 0 8px; height: 44px; }
}

/* ---- Route fields: city name on the value line, IATA code beside the label.
   The input keeps its full "City (CODE)" value; the face is presentational. ---- */
.bc-notch-label { white-space: nowrap; }
.bc-route-face {
  position: absolute;
  left: 16px;
  right: 34px;
  top: 22px;
  bottom: 1px;
  display: none;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #1e293b;
  line-height: 1.2;
  pointer-events: none;
  z-index: 1;
}
#bc-group-from .bc-route-face { right: 38px; }
.bc-field-group.has-face .bc-route-face { display: block; line-height: 34px; }
.bc-field-group.has-face .bc-input {
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.bc-route-code {
  display: none;
  margin-left: 7px;
  padding-left: 7px;
  border-left: 1px solid #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #334155;
  line-height: 1;
}
.bc-field-group.has-face .bc-route-code { display: inline-block; }

/* ---- 380px: keep the header band flush with the tighter card padding ---- */
@media (max-width: 380px) {
  .bc-call-band { margin: -18px -12px 16px; padding: 10px 12px; }
}

/* ---- Mobile (and landscape phones): the quote form opens as a bottom sheet.
   Anchored to the bottom edge so every field sits in the thumb zone; the page header stays
   visible (dimmed) above it, and tapping that area closes the sheet. The sheet scrolls
   internally when the form is taller than the screen. ---- */
@media (max-width: 640px), (max-width: 992px) and (max-height: 520px) {
  .bc-modal-wrapper {
    --bc-sheet-pad: 20px;
    --bc-sheet-gap: 56px;
    padding: var(--bc-sheet-gap) 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    overscroll-behavior: contain;
  }
  .bc-modal-backdrop {
    display: block !important;
    background: rgba(8, 12, 22, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    touch-action: none;
    animation: bcModalFadeIn .2s ease;
  }
  .bc-modal-container {
    max-width: none;
    width: 100%;
    max-height: calc(100vh - var(--bc-sheet-gap));
    max-height: calc(100dvh - var(--bc-sheet-gap));
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    box-shadow: 0 -10px 40px rgba(8, 12, 22, 0.28);
    animation: bcSheetUp .34s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .bc-modal-wrapper .quote-form-box {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0;
    box-shadow: none !important;
    transform: none;
    backface-visibility: visible;
    z-index: auto; /* lets the calendar backdrop dim the close button too */
    padding: 20px var(--bc-sheet-pad) calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .bc-modal-wrapper .bc-call-band {
    box-sizing: border-box;
    min-height: 57px;
    margin: -20px calc(var(--bc-sheet-pad) * -1) 18px;
    padding: 10px 68px 10px var(--bc-sheet-pad);
  }
  .bc-modal-close {
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    background: transparent;
    border: 0;
    border-left: 1px solid #e2e8f0;
    box-shadow: none;
    color: #1e293b;
    font-size: 28px;
    font-weight: 300;
  }
  .bc-modal-close:hover,
  .bc-modal-close:active { background: #f1f5f9; color: #0f172a; border-color: #e2e8f0; }
  .bc-modal-close:focus-visible { outline: 1.5px solid #333b48; outline-offset: -4px; }
  .bc-modal-wrapper .bc-card-title { font-size: 21px; }
  .bc-cal-popover { bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 992px) and (max-height: 520px) {
  .bc-modal-wrapper { --bc-sheet-gap: 16px; }
}
@keyframes bcSheetUp {
  from { transform: translateY(100%); }
  to   { transform: none; }
}
@media (max-width: 380px) {
  .bc-modal-wrapper { --bc-sheet-pad: 14px; }
  .bc-modal-wrapper .bc-call-band { padding-right: 60px; gap: 9px; }
  .bc-call-band-text { overflow: hidden; }
  .bc-call-band-eyebrow { font-size: 9.5px; letter-spacing: 0.4px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 340px) {
  .bc-modal-wrapper .bc-call-band { padding-right: 58px; gap: 8px; }
  .bc-call-band-eyebrow { font-size: 9px; letter-spacing: 0.25px; }
}
/* ---- Desktop: the quote card floats over the hero. It never grows past the hero: when
   multi-city legs or the contact block make it taller, the card scrolls inside (thin scrollbar),
   so it can never cover the Featured Routes section below. --bc-card-max is set by the form
   engine from the hero row's bottom edge; the fallback keeps the card inside a typical hero. ---- */
@media (min-width: 993px) {
  .hero-extended { overflow: visible !important; }
  .hero-extended .bc-modal-wrapper { align-self: flex-start !important; height: 0; }
  .hero-extended .bc-modal-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
  }
  .hero-extended .bc-modal-wrapper:not(.is-desktop-popup) .quote-form-box {
    box-sizing: border-box;
    max-height: var(--bc-card-max, 860px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }
  .hero-extended .bc-modal-wrapper:not(.is-desktop-popup) .quote-form-box::-webkit-scrollbar { width: 8px; }
  .hero-extended .bc-modal-wrapper:not(.is-desktop-popup) .quote-form-box::-webkit-scrollbar-track { background: transparent; }
  .hero-extended .bc-modal-wrapper:not(.is-desktop-popup) .quote-form-box::-webkit-scrollbar-thumb { background: #cbd5e1; border: 2px solid #ffffff; }
  .hero-extended .bc-modal-wrapper:not(.is-desktop-popup) .quote-form-box::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
  /* No transform on the card: a transformed ancestor would trap the fixed calendar inside it */
  .hero-extended .quote-form-box { transform: none !important; }
  /* Calendar is viewport-anchored on desktop so the card's scroll box can never clip it */
  .bc-cal-popover.is-fixed { position: fixed !important; transform: none !important; margin: 0 !important; }
}
/* ==== Desktop popup: quote buttons outside the hero open the same card as a centered dialog.
   The overlay (wrapper) scrolls, not the card, so date/passenger popovers are never clipped. ==== */
@media (min-width: 993px) {
  body.bc-desktop-popup-active .hero-extended,
  body.bc-desktop-popup-active .hero-extended .hero-row { z-index: 2147483000 !important; position: relative; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup {
    position: fixed !important; inset: 0 !important; z-index: 2147483000 !important;
    width: auto !important; max-width: none !important; height: auto !important; flex: none !important;
    display: flex !important; justify-content: center; align-items: flex-start;
    padding: 56px 24px 48px; overflow-y: auto; overscroll-behavior: contain;
  }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-backdrop {
    display: block !important; position: fixed; inset: 0; z-index: 0;
    background: rgba(8, 12, 22, 0.6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    animation: bcModalFadeIn .2s ease;
  }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-container {
    position: relative !important; top: auto; left: auto; z-index: 1;
    width: 440px !important; max-width: 100% !important; margin: auto 0;
    box-shadow: 0 24px 64px rgba(8, 12, 22, 0.35);
    animation: bcSheetIn .28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-call-band { padding-right: 72px; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close {
    display: flex !important; align-items: center; justify-content: center;
    position: absolute; top: 0; right: 0; z-index: 5; width: 56px; height: 56px; padding: 0;
    background: transparent; border: 0; border-left: 1px solid #e2e8f0; border-radius: 0; box-shadow: none;
    color: #1e293b; font-size: 28px; font-weight: 300; line-height: 1; cursor: pointer;
  }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:hover { background: #f1f5f9; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:focus-visible { outline: 1.5px solid #333b48; outline-offset: -4px; }
}

@keyframes bcSheetIn {
  from { transform: translateY(28px); }
  to   { transform: none; }
}

/* ==== CTA colours: red on mobile like the live SEO route pages (#ef4444); charcoal on desktop ==== */
.cta-band-btn { background: #333b48 !important; color: #ffffff !important; box-shadow: 0 6px 18px rgba(17, 24, 39, 0.28) !important; }
.cta-band-btn:hover { background: #1e293b !important; }
.cta-band-btn:focus-visible { outline-color: #333b48 !important; }
.cta-band-phone-ico { background: #333b48 !important; }
.bc-mobile-quote-btn, #bc-open-modal-hero-btn, #bc-open-modal-sticky-btn {
  background: #ef4444 !important; color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.42) !important;
}
.bc-mobile-quote-btn:hover, #bc-open-modal-hero-btn:hover, #bc-open-modal-sticky-btn:hover { background: #dc2626 !important; }
.bc-mobile-phone-btn:hover { background: rgba(0, 0, 0, 0.45) !important; }
@media (max-width: 992px) {
  .cta-band-btn { background: #ef4444 !important; box-shadow: 0 4px 18px rgba(239, 68, 68, 0.42) !important; }
  .cta-band-btn:hover { background: #dc2626 !important; }
}

/* One CTA at a time: no sticky bar while the closing CTA band is visible */
body.bc-band-in-view #sticky-cta-bar { display: none !important; }

/* ==== Quote form v2: CMS status alerts, validation message, a11y states, touch type size,
   desktop popup close, CTA colours. Scoped to the form, modal, sheet and popup only. ==== */
#orderFormIntro .form-preloader,
#orderFormIntro .form-error,
#orderFormIntro .form-success {
  margin: 10px 0 0;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  box-shadow: none;
}
#orderFormIntro .form-preloader { background: #f8fafc; color: #334155; border-color: #e2e8f0; font-weight: 600; }
#orderFormIntro .form-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
#orderFormIntro .form-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
#orderFormIntro .form-success:focus { outline: none; }
#orderFormIntro .form-success.is-preview { background: transparent; border: 0; padding: 0; margin: 0; color: inherit; }
#orderFormIntro .form-error a,
#orderFormIntro .form-success a { color: inherit; text-decoration: underline; }
#orderFormIntro .bc-form-msg {
  margin: 10px 0 0;
  padding: 10px 12px 10px 14px;
  border: 0;
  border-left: 3px solid #dc2626;
  border-radius: 0;
  background: #fef2f2;
  color: #991b1b;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}
#orderFormIntro .bc-form-msg[hidden] { display: none; }
.bc-conf-note { font-size: 12.5px; color: #64748b; margin: 0 0 14px; line-height: 1.5; }
/* Sent state: only the confirmation (and the call band) stay visible */
form.bc-is-sent > :not(.form-success):not(.bc-call-band) { display: none !important; }

/* Combobox, calendar and menu keyboard states */
.bc-ac-item.is-active { background: #f1f5f9; color: #1e293b; }
.bc-ac-empty { padding: 12px 14px; font-size: 13.5px; color: #64748b; }
.bc-cal-cell[data-date]:focus { outline: none; }
.bc-cal-cell[data-date]:focus-visible { outline: 2px solid #0049EF; outline-offset: -2px; position: relative; z-index: 1; }
.bc-cal-nav:disabled { opacity: .35; cursor: default; pointer-events: none; }
.bc-trip-opt:focus-visible,
.bc-cabin-opt:focus-visible,
.bc-country-item:focus-visible { outline: 2px solid #0049EF; outline-offset: -2px; }
.bc-country-item:focus { background: #f1f5f9; }
.bc-input-date:focus-visible,
.bc-pill-select:focus-visible { outline: 2px solid #0049EF; outline-offset: 2px; }

/* Collapsed contact block is not reachable; once open it stacks above the trust grid so the
   country menu is never covered */
.bc-contact-section:not(.is-open) { visibility: hidden; }
.bc-contact-section.is-open { position: relative; z-index: 3; }

/* iOS: every focusable text control computes to 16px or more on touch screens (no zoom on focus) */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  #quote-form-box input:not([type=hidden]),
  #quote-form-box select,
  #quote-form-box textarea,
  .bc-modal-container input:not([type=hidden]),
  .bc-modal-container textarea { font-size: 16px !important; }
}

/* Submit button: charcoal on desktop (inline card + popup), red in the mobile sheet */
.bc-cta-btn {
  background: #333b48 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.28) !important;
}
.bc-cta-btn:hover { background: #1e293b !important; box-shadow: 0 6px 18px rgba(17, 24, 39, 0.28) !important; }
.bc-cta-btn[aria-busy="true"] { cursor: progress; }
@media (max-width: 992px) {
  .bc-cta-btn { background: #ef4444 !important; box-shadow: 0 4px 18px rgba(239, 68, 68, 0.42) !important; }
  .bc-cta-btn:hover { background: #dc2626 !important; box-shadow: 0 4px 18px rgba(239, 68, 68, 0.42) !important; }
}

/* Close control: label + icon on the desktop popup, icon only elsewhere */
.bc-modal-close-lbl { display: none; }
.bc-modal-close-ico { display: block; width: 20px; height: 20px; flex-shrink: 0; pointer-events: none; }
@media (max-width: 992px) {
  .bc-modal-close { min-width: 44px; min-height: 44px; padding: 0; }
  .bc-modal-close-ico { stroke-width: 1.7; }
}
/* Tablet modal (641-992px, not the bottom sheet): same in-band close as the sheet, 56x56 */
@media (min-width: 641px) and (max-width: 992px) and (min-height: 521px) {
  .bc-modal-close {
    top: 0; right: 0; width: 56px; height: 56px;
    background: transparent; border: 0; border-left: 1px solid #e2e8f0; box-shadow: none; color: #1e293b;
  }
  .bc-modal-close:hover,
  .bc-modal-close:active { background: #f1f5f9; color: #0f172a; border-color: #e2e8f0; }
  .bc-modal-close:focus-visible { outline: 1.5px solid #333b48; outline-offset: -4px; }
  .bc-modal-wrapper .bc-call-band { box-sizing: border-box; min-height: 57px; padding-right: 68px; }
  .bc-modal-wrapper .bc-call-band-note { display: none; }
  .bc-modal-wrapper .bc-call-band-eyebrow-extra { display: inline; }
}
/* Desktop popup: "Close" sits outside the card, above its top-right corner, on the dark backdrop */
@media (min-width: 993px) {
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    position: absolute; top: -50px; right: -6px; z-index: 80;
    width: auto; min-width: 44px; height: 44px; padding: 0 6px 0 10px;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    color: #ffffff; font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: 0.01em;
    cursor: pointer; opacity: 0.92; transition: opacity .15s ease;
  }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:hover { background: transparent; opacity: 1; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:hover .bc-modal-close-lbl { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close-lbl { display: inline; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close-ico { stroke-width: 2; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-call-band { padding-right: 28px; }
}
/* Short desktop screens: no room above the card, so a 44x44 slate close sits in the call band */
@media (min-width: 993px) and (max-height: 699.98px) {
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close {
    top: 6px; right: 8px; width: 44px; min-width: 44px; height: 44px; padding: 0; gap: 0;
    background: #333b48; color: #ffffff; opacity: 1;
  }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:hover { background: #1e293b; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close:focus-visible { outline: 2px solid #0049EF; outline-offset: 2px; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-modal-close-lbl { display: none; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-call-band { padding-right: 64px; }
  .hero-extended .bc-modal-wrapper.is-desktop-popup .bc-call-band-note { display: none; }
}

/* Touch: no double-tap zoom or tap delay on form controls (pinch zoom stays available) */
#quote-form-box,
.bc-modal-container,
.bc-modal-close { touch-action: manipulation; }

/* Production stylesheet (ceoflights-seo-pages.css) sets .hero-extended .quote-form-box
   { margin-top: 128px; border-radius: 12px }: keep the card sharp, and top-anchor it in the popup */
.hero-extended .quote-form-box { border-radius: 0 !important; }
.hero-extended .bc-modal-wrapper.is-desktop-popup .quote-form-box { margin-top: 0 !important; }


/* Nested dest-page wrapper: generated bodies still wrap {{SEO_ORDER_FORM}} in .quote-form-box */
.hero-extended .quote-form-box:has(> .bc-modal-wrapper) {
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: auto;
  max-width: none;
  overflow: visible;
  margin-top: 0;
  border-radius: 0;
}
@media (max-width: 992px) {
  .hero-extended .quote-form-box:has(> .bc-modal-wrapper),
  .bc-modal-wrapper .quote-form-box,
  #quote-form-box.quote-form-box {
    display: block;
  }
}

/* ============================================================
   v2.6 additions (2026-10-07): fixes found on the live CMS pages
   Load AFTER the CMS global CSS and ceoflights-pages.css
   (already appended in this file).
   ============================================================ */

/* 1. Destination pages: the legacy wrapper <div class="quote-form-box"> around
      #bc-modal-wrapper is display:none at <=992px (ceoflights-pages.css), so the
      mobile sheet opens inside a hidden parent (nothing shows, page scroll locked).
      Best fix: delete that outer wrapper in the template. CSS fallback: */
.hero-row > .quote-form-box:has(> .bc-modal-wrapper) { display: contents !important; }

/* 2. Desktop: the inline card must not trap the mouse wheel (page could not scroll with the cursor over the form). */
.hero-extended .bc-modal-wrapper:not(.is-open) .quote-form-box,
.hero-extended .bc-modal-wrapper:not(.is-open) .bc-modal-container { overscroll-behavior: auto !important; }

/* 3. CMS global `input[type=text|email|tel]{height:40px;padding:0 15px;font-size:13px;background:#F0F8FA;...}`
      beats `.bc-input` (higher specificity), so the "From/To" label overlaps the placeholder. */
.bc-modal-wrapper input.bc-input {
  height: 58px; padding: 22px 14px 0 15px; border: 1px solid #e2e8f0; border-radius: 0;
  background: #fff; font-family: inherit; font-size: 15px; font-weight: 500; line-height: normal;
  color: #1e293b; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.bc-modal-wrapper input.bc-input:hover { border-color: #cbd5e1; }
.bc-modal-wrapper input.bc-input:focus { background: #fff; border-color: #333b48; box-shadow: inset 0 0 0 .5px #333b48; }
.bc-modal-wrapper .bc-field-group.has-error input.bc-input { border-color: #dc2626 !important; box-shadow: inset 0 0 0 .5px #dc2626 !important; }
.bc-modal-wrapper #bc-group-from input.bc-input { padding-right: 34px; }
.bc-modal-wrapper #bc-group-to input.bc-input { padding-right: 32px; }
.bc-modal-wrapper .bc-field-group.has-face input.bc-input { color: transparent; -webkit-text-fill-color: transparent; }
:where(.bc-modal-wrapper) label { margin-bottom: 0; }
@media (max-width: 640px) { .bc-modal-wrapper input.bc-input { font-size: 16px; } }

/* 4. CMS body is 14px; the card was designed on a 16px base. Buttons fall back to another font without this. */
.bc-modal-wrapper .quote-form-box { font-size: 16px; line-height: 1.7; }
.quote-form-box button, .bc-modal-container button { font-family: inherit; }

/* 5. Site-wide floating widgets (Crisp chat bubble z 1000001, WhatsApp float, cookie bar z 999999) covered the
      open mobile sheet: the submit button sat under the cookie bar, the calendar's last column under the chat bubble.
      Hidden only while the form is open. :has() rules separate so older browsers keep the first rule. */
body.bc-modal-active .crisp-client,
body.bc-modal-active #whatsapp-float,
body.bc-modal-active .whatsapp-float,
body.bc-modal-active .cookiesBar { display: none !important; }
body:has(.bc-cal-popover.is-open) .crisp-client,
body:has(.bc-cal-popover.is-open) #whatsapp-float,
body:has(.bc-ac-popover.is-open) .crisp-client,
body:has(.bc-ac-popover.is-open) #whatsapp-float { display: none !important; }

/* 6. Swap button: 28px visual, 44px touch area. */
.bc-swap-btn::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; }

/* 7. Desktop first visit: the cookie bar sat over the inline card's submit button on 720px-tall screens.
      It steps aside while the visitor is working in the form. */
body:has(#quote-form-box:focus-within) .cookiesBar { display: none !important; }

/* 8. Country code list opens upward when there is no room below (class set by the engine). */
.bc-country-menu.is-up { top: auto !important; bottom: calc(100% + 2px) !important; box-shadow: 0 -12px 32px -4px rgba(15, 23, 42, 0.15); }

/* 9. Multi-city "Add flight" / "remove leg": 44px touch areas, same look. */
.bc-mc-add-btn, .bc-mc-remove { position: relative; }
.bc-mc-add-btn::before { content: ''; position: absolute; inset: -7px 0; }
.bc-mc-remove::before { content: ''; position: absolute; inset: -11px; }
.bc-clear-btn::before { content: ''; position: absolute; inset: -12px; } /* airport clear (x): 44px touch area */

/* 10. Landscape phones (~390px tall): calendar centred and scrollable instead of hanging off the bottom. */
@media (max-width: 992px) and (max-height: 520px) {
  .bc-cal-popover {
    position: fixed !important; top: 50% !important; bottom: auto !important; left: 50% !important; right: auto !important;
    transform: translate(-50%, -50%) !important; width: min(560px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 16px) !important; max-height: calc(100dvh - 16px) !important;
    overflow-y: auto !important; padding: 10px 16px 12px !important; z-index: 9999 !important;
  }
}

/* 11. Mobile hero (v2.7): copy block sits high and every line is centred.
       Before: the block was vertically centred in a 100svh hero (text floated mid-screen, empty sky above),
       and .hero-left used align-items:flex-start, so the eyebrow, price, Trustpilot badge and CTA hugged the left
       while the H1 was centred. */
@media (max-width: 992px) {
  .hero-extended .hero-row {
    justify-content: flex-start !important;
    padding: clamp(28px, 6svh, 56px) 18px 36px !important;
  }
  .hero-extended .hero-left {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .hero-extended .hero-left > * { align-self: center !important; text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .hero-extended .hero-eyebrow-text { display: block !important; }
  .hero-extended .hero-price,
  .hero-extended .hero-price-amount { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .hero-extended .trustpilot-badge { justify-content: center !important; }
  .hero-extended .bc-mobile-hero-cta,
  .hero-extended .mobile-cta-bar:not(.mobile-cta-bar--sticky),
  .hero-extended #hero-cta-inline { width: 100% !important; max-width: 420px !important; justify-content: center !important; }
}
/* 11b. Landscape phones (~340px tall): tighter top and no eyebrow, so the CTA stays fully in the first screen. */
@media (max-width: 992px) and (max-height: 520px) {
  .hero-extended .hero-row { padding-top: 10px !important; }
  .hero-extended .hero-eyebrow-text { display: none !important; }
  .hero-extended .hero-left h1 { font-size: 22px !important; line-height: 1.15 !important; margin-bottom: 4px !important; }
  .hero-extended .hero-left .subtitle { font-size: 13px !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
  .hero-extended .hero-price-from { font-size: 10px !important; margin-bottom: 0 !important; }
  .hero-extended .hero-price-val { font-size: 28px !important; }
  .hero-extended .hero-price-sub { font-size: 11px !important; margin-top: 2px !important; }
  .hero-extended .trustpilot-badge { margin-top: 6px !important; min-height: 0 !important; }
  .hero-extended #hero-cta-inline { margin-top: 8px !important; }
}

/* 12. Phone sheet & keyboard (v2.12, pairs with engine v2.13).
       - The window under an open sheet never scrolls (iOS would scroll it when the keyboard opens). Only
         <html> is pinned: <body> is pinned by the engine at top:-scrollY, so the page behind keeps its place.
       - Docked while typing: the sheet fills the visible area above the keyboard (--bc-vv-h, set by the
         engine). The engine animates every change of this geometry: no CSS transitions here.
       - White fill below the sheet: its bottom edge never shows the page while it glides or while the
         keyboard slides away. */
@media (max-width: 992px) {
  html.bc-modal-active { position: fixed !important; inset: 0 !important; overflow: hidden !important; }
  body.bc-modal-active { overflow: hidden !important; }
}
@media (max-width: 640px), (max-width: 992px) and (max-height: 520px) {
  .bc-modal-wrapper.is-kb-open { padding: 0; justify-content: flex-start; }
  .bc-modal-wrapper.is-kb-open .bc-modal-container { height: var(--bc-vv-h, 100%); max-height: none; }
  .bc-modal-container {
    position: relative;
    overflow-y: scroll;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    box-shadow: 0 100vh 0 100vh #ffffff, 0 -10px 40px rgba(8, 12, 22, 0.28);
  }
}
/* 13. Touch screens: no hover tint on airport suggestions (the base stylesheet's :hover is unscoped). */
@media (hover: none) {
  .bc-ac-item:hover:not(.is-selected):not(.is-active) { background: transparent; }
}
/* 14. Contact block (v2.13): Name, Email and Phone each on a full row on desktop too. A half-width Email
       (155px of text) cut off most addresses. Overrides the base rule that put Name | Email side by side. */
.bc-contact-inner > #bc-group-name,
.bc-contact-inner > #bc-group-email { grid-column: 1 / -1; }
/* 15. Desktop popup (v2.13): the overlay grew with the card instead of stopping at the window edge, so on
       short laptop screens nothing scrolled and GET A FREE QUOTE was cut off. Capped, the overlay scrolls. */
@media (min-width: 993px) {
  .hero-extended .bc-modal-wrapper.is-desktop-popup { max-height: 100vh; }
}

/* v2.14 (2026-10-08): desktop hero text starts 118px down so the H1 cap line meets the top edge
   of the quote card (.hero-extended .quote-form-box margin-top:128px in ceoflights-pages.css;
   Montserrat caps sit ~10px below the line box). Was 100px, which left the headline ~28px high. */
@media (min-width: 993px) {
  .hero-extended .hero-left { padding-top: 118px !important; }
}
