/* Bull Contact - front office */
.bm-contact-popup-lock {
  overflow: hidden;
}

.bm-contact-popup {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  isolation: isolate;
  z-index: 2147483000;
}

.bm-contact-popup--open {
  display: flex;
}

.bm-contact-popup__backdrop {
  background: rgba(20, 31, 40, .56);
  border: 0;
  cursor: default;
  inset: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.bm-contact-popup__dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  max-height: calc(100vh - 40px);
  max-width: 760px;
  overflow: auto;
  position: relative;
  width: 100%;
  z-index: 1;
}

.bm-contact-popup__header {
  align-items: center;
  border-bottom: 1px solid #e2e6e9;
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
}

.bm-contact-popup__header h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0;
}

.bm-contact-popup__close {
  background: transparent;
  border: 0;
  color: #1f2a33;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0 4px;
}

.bm-contact-popup__body {
  padding: 24px;
}

.bm-contact-popup__body .bm-contact {
  border: 0;
  box-shadow: none;
  max-width: none;
  padding: 0;
}

@media (max-width: 575px) {
  .bm-contact-popup {
    align-items: flex-end;
    padding: 0;
  }

  .bm-contact-popup__dialog {
    border-radius: 8px 8px 0 0;
    max-height: 94vh;
  }

  .bm-contact-popup__header,
  .bm-contact-popup__body {
    padding: 16px;
  }
}

.bm-contact {
  --bmc-bg: #ffffff;
  --bmc-surface: #f7f9fb;
  --bmc-border: #d9e1e7;
  --bmc-border-strong: #aebdc7;
  --bmc-text: #1f2a33;
  --bmc-muted: #667783;
  --bmc-primary: #1b6f8f;
  --bmc-primary-dark: #14566f;
  --bmc-primary-soft: #e8f4f8;
  --bmc-error: #a12820;
  --bmc-error-bg: #fff1ef;
  --bmc-success: #1f6a3a;
  --bmc-success-bg: #edf8f0;

  background: var(--bmc-bg);
  border: 1px solid var(--bmc-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 42, 51, .08);
  color: var(--bmc-text);
  max-width: 720px;
  padding: clamp(18px, 4vw, 34px);
}

.bm-contact,
.bm-contact * {
  box-sizing: border-box;
}

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

.bm-contact__row {
  grid-column: span 12;
  margin: 0;
}

.bm-contact__field--half {
  grid-column: span 6;
}

.bm-contact__field--third {
  grid-column: span 4;
}

.bm-contact__field--quarter {
  grid-column: span 3;
}

.bm-contact__field--two-thirds {
  grid-column: span 8;
}

.bm-contact__label {
  color: var(--bmc-text);
  display: block;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 7px;
}

.bm-contact__req {
  color: var(--bmc-error);
  font-weight: 700;
}

.bm-contact__input {
  background: var(--bmc-surface);
  border: 1px solid var(--bmc-border);
  border-radius: 8px;
  color: var(--bmc-text);
  display: block;
  font: inherit;
  min-height: 46px;
  outline: 0;
  padding: 11px 13px;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
  width: 100%;
}

.bm-contact__input::placeholder {
  color: #8b9aa5;
}

.bm-contact__input:hover {
  border-color: var(--bmc-border-strong);
}

.bm-contact__input:focus {
  background: #fff;
  border-color: var(--bmc-primary);
  box-shadow: 0 0 0 3px rgba(27, 111, 143, .14);
}

.bm-contact__input--error,
.bm-contact__input--error:hover,
.bm-contact__input--error:focus {
  background: var(--bmc-error-bg);
  border-color: var(--bmc-error);
  box-shadow: 0 0 0 3px rgba(161, 40, 32, .1);
}

.bm-contact__field-error {
  color: var(--bmc-error);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 0;
}

select.bm-contact__input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--bmc-muted) 50%),
    linear-gradient(135deg, var(--bmc-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  padding-right: 38px;
}

.bm-contact__input[type="file"] {
  background: #fff;
  cursor: pointer;
  padding: 9px 11px;
}

.bm-contact__input[type="file"]::file-selector-button {
  background: var(--bmc-primary-soft);
  border: 1px solid rgba(27, 111, 143, .22);
  border-radius: 6px;
  color: var(--bmc-primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  margin-right: 12px;
  padding: 7px 10px;
}

.bm-contact__textarea {
  line-height: 1.5;
  min-height: 132px;
  resize: vertical;
}

.bm-contact__html {
  background: var(--bmc-surface);
  border-left: 3px solid var(--bmc-primary);
  border-radius: 8px;
  color: var(--bmc-muted);
  line-height: 1.55;
  padding: 12px 14px;
}

.bm-contact__row--choices .bm-contact__label {
  margin-bottom: 10px;
}

.bm-contact__choice,
.bm-contact__check {
  align-items: flex-start;
  background: var(--bmc-surface);
  border: 1px solid var(--bmc-border);
  border-radius: 8px;
  color: var(--bmc-text);
  cursor: pointer;
  display: flex;
  font-weight: 500;
  gap: 10px;
  line-height: 1.45;
  margin: 8px 0;
  padding: 11px 12px;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.bm-contact__choice:hover,
.bm-contact__check:hover {
  background: #fff;
  border-color: var(--bmc-border-strong);
}

.bm-contact__choice:has(input:focus-visible),
.bm-contact__check:has(input:focus-visible) {
  border-color: var(--bmc-primary);
  box-shadow: 0 0 0 3px rgba(27, 111, 143, .14);
}

.bm-contact__row--error .bm-contact__choice,
.bm-contact__row--error .bm-contact__check {
  background: var(--bmc-error-bg);
  border-color: var(--bmc-error);
}

.bm-contact__choice input,
.bm-contact__check input {
  accent-color: var(--bmc-primary);
  flex: 0 0 auto;
  margin-top: 3px;
}

.bm-contact__row--submit {
  margin-top: 4px;
}

.bm-contact__response {
  width: 100%;
}

.bm-contact__response:empty {
  display: none;
}

.bm-contact__submit {
  align-items: center;
  background: var(--bmc-primary);
  border: 1px solid var(--bmc-primary);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(27, 111, 143, .22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  min-width: 150px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.bm-contact__submit:hover,
.bm-contact__submit:focus {
  background: var(--bmc-primary-dark);
  border-color: var(--bmc-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.bm-contact__submit:focus {
  box-shadow: 0 0 0 3px rgba(27, 111, 143, .18), 0 8px 20px rgba(27, 111, 143, .22);
  outline: 0;
}

.bm-contact__submit[disabled] {
  cursor: default;
  opacity: .65;
  transform: none;
}

.bm-contact__alert {
  border: 1px solid transparent;
  border-radius: 8px;
  line-height: 1.45;
  margin: 12px 0 0;
  padding: 13px 15px;
}

.bm-contact__alert--success {
  background: var(--bmc-success-bg);
  border-color: #c7e8d0;
  color: var(--bmc-success);
}

.bm-contact__alert--error {
  background: var(--bmc-error-bg);
  border-color: #f0c4bf;
  color: var(--bmc-error);
}

.bm-contact__alert ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* Honeypot: keep it in the DOM but out of sight and out of the tab order */
.bm-contact__hp {
  height: 1px;
  left: -9999px !important;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

@media (max-width: 640px) {
  .bm-contact {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(31, 42, 51, .07);
    padding: 18px;
  }

  .bm-contact__submit {
    width: 100%;
  }

  .bm-contact__field--half,
  .bm-contact__field--third,
  .bm-contact__field--quarter,
  .bm-contact__field--two-thirds {
    grid-column: span 12;
  }
}

/* Stolebussen booking popup — editorial two-panel treatment. */
.bm-contact-popup[data-bm-contact-popup="1"] {
  --bmc-ink: #162232;
  --bmc-navy: #223767;
  --bmc-blue: #99bfe6;
  --bmc-line: #dfe5ea;
  --bmc-muted: #647180;
  --bmc-green: #00a878;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__backdrop {
  background: rgba(12, 23, 36, .68);
  backdrop-filter: blur(6px);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__dialog {
  width: min(1120px, calc(100vw - 48px));
  max-width: 1120px;
  max-height: min(88dvh, 760px);
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 36px 100px rgba(5, 16, 29, .34);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__header {
  min-height: 72px;
  padding: 14px 24px;
  border-bottom: 0;
  background: #fff;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__header h2 {
  color: var(--bmc-ink);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--bmc-ink);
  font-size: 27px;
  transition: background-color .16s ease, transform .16s ease;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__close:hover,
.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__close:focus-visible {
  background: #f0f3f5;
  transform: rotate(4deg);
  outline: 0;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__body {
  max-height: calc(min(88dvh, 760px) - 72px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.bm-contact-stolebus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  min-height: 0;
}

.bm-contact-stolebus-form {
  padding: 22px 24px 24px;
  background: #fff;
}

.bm-contact-stolebus-intro {
  margin-bottom: 16px;
}

.bm-contact-stolebus-intro span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bmc-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bm-contact-stolebus-intro span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42cb89;
  content: '';
}

.bm-contact-stolebus-intro p {
  max-width: 570px;
  margin: 6px 0 0;
  color: var(--bmc-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact {
  --bmc-bg: #fff;
  --bmc-surface: #fff;
  --bmc-border: #ccd6df;
  --bmc-border-strong: #9eabb7;
  --bmc-text: var(--bmc-ink);
  --bmc-muted: #687684;
  --bmc-primary: var(--bmc-navy);
  --bmc-primary-dark: #17294f;
  --bmc-primary-soft: #eef3f8;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__form {
  gap: 11px 14px;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__label {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__input {
  min-height: 41px;
  padding: 7px 11px;
  border-radius: 7px;
  background-color: #fbfcfd;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__input:focus {
  background: #fff;
  border-color: var(--bmc-navy);
  box-shadow: 0 0 0 3px rgba(34, 55, 103, .12);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__textarea {
  height: 100px;
  min-height: 90px;
  max-height: 125px;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__submit {
  width: 100%;
  min-height: 45px;
  border-color: var(--bmc-navy);
  border-radius: 7px;
  background: var(--bmc-navy);
  box-shadow: none;
  font-weight: 750;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__submit:hover,
.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__submit:focus {
  border-color: #17294f;
  background: #17294f;
  box-shadow: 0 8px 20px rgba(34,55,103,.18);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__html {
  position: relative;
  padding: 9px 12px 9px 34px;
  border: 0;
  border-radius: 7px;
  background: #f2f5f7;
  color: #687684;
  font-size: 12px;
  line-height: 1.45;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__html::before {
  position: absolute;
  top: 10px;
  left: 12px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid #8da0ae;
  border-radius: 50%;
  color: #627584;
  content: 'i';
  font: 700 10px/1 sans-serif;
}

.bm-contact-stolebus-aside {
  position: relative;
  display: grid;
  grid-template-rows: minmax(210px, 41%) 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--bmc-navy);
  color: #fff;
}

.bm-contact-stolebus-photo {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: #dfe5e8;
}

.bm-contact-stolebus-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(13,29,54,.58));
  content: '';
}

.bm-contact-stolebus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}

.bm-contact-stolebus-layout:hover .bm-contact-stolebus-photo img {
  transform: scale(1.025);
}

.bm-contact-stolebus-photo span {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(21,38,68,.76);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.bm-contact-stolebus-proof {
  padding: 21px 24px 22px;
}

.bm-contact-stolebus-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
}

.bm-contact-stolebus-rating strong {
  color: #42cf8e;
  font-size: 15px;
  letter-spacing: .07em;
}

.bm-contact-stolebus-proof blockquote {
  margin: 15px 0 12px;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.45;
  letter-spacing: -.01em;
}

.bm-contact-stolebus-author {
  display: grid;
  gap: 1px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
}

.bm-contact-stolebus-author span {
  color: rgba(255,255,255,.65);
  font-size: 11px;
}

.bm-contact-stolebus-proof ul {
  display: grid;
  gap: 9px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.88);
  font-size: 12px;
}

.bm-contact-stolebus-proof li {
  position: relative;
  padding-left: 22px;
}

.bm-contact-stolebus-proof li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #42cb89;
  color: #173153;
  content: '✓';
  font: 900 10px/1 sans-serif;
}

@media (max-width: 960px) {
  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__dialog {
    max-width: 720px;
  }

  .bm-contact-stolebus-layout {
    grid-template-columns: 1fr;
  }

  .bm-contact-stolebus-aside {
    grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr);
    grid-template-rows: none;
  }

  .bm-contact-stolebus-photo {
    min-height: 270px;
  }
}

@media (max-width: 640px) {
  .bm-contact-popup[data-bm-contact-popup="1"] {
    align-items: center;
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border: 0;
    border-radius: 12px;
  }

  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__header {
    position: sticky;
    z-index: 4;
    top: 0;
    min-height: 58px;
    padding: 10px 14px;
  }

  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__header h2 {
    max-width: calc(100% - 44px);
    font-size: clamp(20px, 6.2vw, 23px);
    line-height: 1.12;
  }

  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-popup__body {
    max-height: calc(100dvh - 78px);
  }

  .bm-contact-stolebus-form {
    padding: 16px 14px 18px;
  }

  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__field--half,
  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact__field--third {
    grid-column: span 12;
  }

  .bm-contact-stolebus-aside {
    grid-template-columns: 1fr;
  }

  .bm-contact-stolebus-photo {
    display: none;
  }

  .bm-contact-stolebus-proof {
    padding: 17px 16px 19px;
  }

  .bm-contact-stolebus-proof blockquote,
  .bm-contact-stolebus-author {
    display: none;
  }

  .bm-contact-stolebus-proof ul {
    margin-top: 13px;
  }
}

/* Custom popup select. The native macOS menu can be offset when opened from a
 * fixed, scrollable dialog; the native field remains in the form for submission
 * and validation while this control provides stable alignment. */
.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select {
  position: relative;
  width: 100%;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__native {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: .001;
  pointer-events: none;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__button {
  display: flex;
  width: 100%;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 11px;
  border: 1px solid var(--bmc-border);
  border-radius: 7px;
  background: #fbfcfd;
  color: var(--bmc-ink);
  font: inherit;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__button::after {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid #647180;
  border-bottom: 2px solid #647180;
  content: '';
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select--open .bm-contact-select__button::after {
  transform: translateY(2px) rotate(225deg);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__button:hover {
  border-color: var(--bmc-border-strong);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__button:focus-visible {
  border-color: var(--bmc-navy);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(34, 55, 103, .12);
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  display: none;
  max-height: min(250px, 42dvh);
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(16, 30, 45, .16);
  overscroll-behavior: contain;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select--open .bm-contact-select__menu {
  display: grid;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__option {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--bmc-ink);
  font: inherit;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__option:hover,
.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__option:focus-visible {
  background: #f2f5f7;
  outline: 0;
}

.bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__option[aria-selected="true"] {
  background: #eef3f8;
  color: var(--bmc-navy);
  font-weight: 700;
}

@media (max-width: 640px) {
  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__menu {
    max-height: min(220px, 35dvh);
  }

  .bm-contact-popup[data-bm-contact-popup="1"] .bm-contact-select__option {
    min-height: 42px;
  }
}
