/* BMAF — public site styles (rebuilt to match the original Mobirise look) */
:root {
  --ink: #232323;
  --muted: #bbbbbb;
  --dark: #353535;
  --darker: #2c2c2c;
  --footer: #232323;
  --font: 'Jost', sans-serif;
  --nav-logo: 6.5rem;
  --nav-logo-short: 2.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.5; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bootstrap-equivalent containers */
.container, .container-fluid { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } .container-fluid { padding: 0 32px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

main > section { display: flow-root; }

/* Theme helpers */
.theme-light { background: #fff; color: var(--ink); }
.theme-dark { background: var(--dark); color: var(--muted); }

/* ------------------------------------------------------------ Navbar */
.bm-nav { position: relative; z-index: 1000; min-height: 60px; }
.bm-nav__inner {
  position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; flex-wrap: nowrap;
  min-height: 70px; padding: 0 48px; background: #fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
  border-bottom: 1px solid transparent; transition: all .3s;
}
/* Scrolled: the bar hugs the small logo (40px + 10px above/below + 1px border = 61px, as on the original). */
.bm-nav.is-short .bm-nav__inner { min-height: 0; }
.bm-nav__logo { display: flex; align-items: center; flex: 0 0 auto; padding: 10px 0; margin-right: 13px; }
.bm-nav__logo img { display: block; height: var(--nav-logo); width: auto; transition: height .3s; }
.bm-nav.is-short .bm-nav__logo img { height: var(--nav-logo-short); }
/* Links are pushed to the right edge and centred vertically against the logo. */
.bm-nav__menu { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: flex-end; }
.bm-nav__menu ul { list-style: none; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; }
.bm-nav__link {
  display: block; padding: 0 .3em; margin: .667em 1em; font-size: 1.1rem; line-height: 1.5; font-weight: 500;
  color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .2s;
}
.bm-nav__link:hover, .bm-nav__link:focus-visible { color: var(--ink); opacity: .75; }
.bm-nav__toggle { display: none; }

@media (max-width: 991.98px) {
  .bm-nav__inner { flex-wrap: wrap; justify-content: space-between; padding: 0 16px; min-height: 70px; }
  .bm-nav.is-short .bm-nav__inner { min-height: 60px; }
  .bm-nav__logo img { height: 3rem; }
  .bm-nav.is-short .bm-nav__logo img { height: 2.5rem; }
  .bm-nav__toggle {
    display: block; position: relative; width: 31px; height: 20px; border: 0; padding: 0; background: none; cursor: pointer;
  }
  .bm-nav__toggle span {
    position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 1px; transition: all .2s;
  }
  .bm-nav__toggle span:nth-child(1) { top: 0; }
  .bm-nav__toggle span:nth-child(2), .bm-nav__toggle span:nth-child(3) { top: 9px; }
  .bm-nav__toggle span:nth-child(4) { top: 18px; }
  .bm-nav.is-open .bm-nav__toggle span:nth-child(1), .bm-nav.is-open .bm-nav__toggle span:nth-child(4) { top: 9px; width: 0; left: 50%; }
  .bm-nav.is-open .bm-nav__toggle span:nth-child(2) { transform: rotate(45deg); }
  .bm-nav.is-open .bm-nav__toggle span:nth-child(3) { transform: rotate(-45deg); }
  .bm-nav__menu { flex-basis: 100%; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .bm-nav.is-open .bm-nav__menu { max-height: calc(98.5vh - 4rem); overflow-y: auto; }
  .bm-nav__menu ul { flex-direction: column; width: 100%; padding-bottom: 1rem; }
  .bm-nav__link { text-align: center; }
}

/* ------------------------------------------------------------ Carousel (WOWSlider "Blast" / Absent skin) */
.bm-carousel-section { background: #fff; }
.bm-carousel { position: relative; margin: 0 auto; width: 100%; z-index: 90; user-select: none; -webkit-user-select: none; }
.bm-carousel__stage { position: relative; width: 100%; touch-action: pan-y; }
.bm-carousel__stage.is-grabbing { cursor: grabbing; }
.bm-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 1; }
.bm-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.bm-slide a { display: block; width: 100%; height: 100%; }
.bm-slide img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.bm-carousel__parts { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.bm-carousel.is-animating .bm-slide { pointer-events: none; }
.bm-part {
  position: absolute; top: 0; left: 0; overflow: hidden; background-repeat: no-repeat; will-change: transform, opacity;
  backface-visibility: hidden;
}
/* Arrows: invisible 15% hit zones with arrow cursors, exactly like the Absent skin */
.bm-carousel__prev, .bm-carousel__next {
  position: absolute; top: 0; z-index: 60; width: 15%; height: 100%; border: 0; padding: 0; margin: 0;
  background: transparent; opacity: .5;
}
.bm-carousel__prev { left: 0; cursor: url('../img/cursor-prev.svg') 20 20, w-resize; }
.bm-carousel__next { right: 0; cursor: url('../img/cursor-next.svg') 20 20, e-resize; }
.bm-carousel__prev:focus-visible, .bm-carousel__next:focus-visible { outline: 2px solid #fff; outline-offset: -4px; background: rgba(0,0,0,.08); }
.bm-carousel__playpause {
  position: absolute; top: 0; bottom: 40px; left: 42.5%; width: 15%; z-index: 59; border: 0; background: transparent; padding: 0;
  cursor: url('../img/cursor-pause.svg') 20 20, pointer;
}
.bm-carousel.is-paused .bm-carousel__playpause { cursor: url('../img/cursor-play.svg') 20 20, pointer; }
.bm-carousel__playpause:focus { outline: none; }
.bm-carousel__bullets {
  position: absolute; z-index: 70; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; font-size: 0; line-height: 0;
}
.bm-bullet {
  position: relative; display: block; width: 12px; height: 12px; margin: 0 2px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; box-shadow: inset 0 0 0 1px #fff; cursor: pointer; transition: background .2s;
}
.bm-bullet:hover { background: rgba(255,255,255,.5); }
.bm-bullet.is-active { background: #fff; box-shadow: none; }
.bm-bullet__thumb {
  position: absolute; bottom: 17px; left: 50%; width: 87px; height: 50px; margin-left: -43px;
  border: 1px solid #fff; background-color: #fff; background-size: cover; background-position: center;
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; pointer-events: none;
}
.bm-bullet__thumb::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; margin-left: -5px; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #fff;
}
.bm-bullet:hover .bm-bullet__thumb, .bm-bullet:focus-visible .bm-bullet__thumb { visibility: visible; opacity: 1; }
@media (max-width: 400px) { .bm-carousel__bullets, .bm-carousel__prev, .bm-carousel__next { display: none; } }

/* ------------------------------------------------------------ Section titles */
.bm-section-title { font-size: 2rem; line-height: 1.5; margin-bottom: 2rem; text-align: left; color: inherit; }

/* ------------------------------------------------------------ Video */
.bm-videos__grid { display: grid; gap: 1.5rem 2rem; }
.bm-videos.layout-featured .bm-videos__grid { max-width: 83.333%; margin: 1.5rem auto 0; }
.bm-videos.layout-grid2 .bm-videos__grid { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
.bm-videos.layout-grid3 .bm-videos__grid { grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
@media (max-width: 767.98px) {
  .bm-videos.layout-featured .bm-videos__grid { max-width: none; }
  .bm-videos.layout-grid2 .bm-videos__grid, .bm-videos.layout-grid3 .bm-videos__grid { grid-template-columns: 1fr; }
}
.bm-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.bm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------ Gallery + frames */
.bm-grid { display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
@media (min-width: 768px) { .bm-grid { grid-template-columns: repeat(min(var(--cols), 2), 1fr); } }
@media (min-width: 992px) { .bm-grid { grid-template-columns: repeat(var(--cols), 1fr); } }
.bm-item { margin: 0 0 2rem; display: flex; flex-direction: column; }
.bm-frame {
  --bw: 0px; --bc: transparent;
  position: relative; display: block; width: 100%; overflow: hidden; padding: var(--bw); background: var(--bc);
  text-decoration: none; isolation: isolate;
}
.bm-frame img, .bm-frame__empty { display: block; width: 100%; height: 100%; object-fit: cover; }
.bm-frame__empty { background: repeating-linear-gradient(45deg, #eee 0 10px, #f6f6f6 10px 20px); min-height: 120px; }
.bm-frame.is-natural img { height: auto; }
.bm-frame:not(.is-natural):not([style*="aspect-ratio"]) { aspect-ratio: 1 / 1; }
a.bm-frame, .js-lightbox { cursor: pointer; }

.frame-square, .frame-square img { border-radius: 0; }
.frame-rounded { border-radius: 4px; }
.frame-rounded img { border-radius: max(0px, calc(4px - var(--bw))); }
.frame-soft { border-radius: 16px; }
.frame-soft img { border-radius: max(0px, calc(16px - var(--bw))); }
.frame-circle, .frame-circle img { border-radius: 50%; }
.frame-circle { aspect-ratio: 1 / 1; }
.frame-squircle, .frame-squircle img { clip-path: url(#bm-squircle); -webkit-clip-path: url(#bm-squircle); }

.bm-hover-icon {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%);
  border: 2px solid #fff; border-radius: 50%; background: #1b1b1b; opacity: 0; transition: opacity .2s; pointer-events: none;
  z-index: 2;
}
.bm-hover-icon::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bm-hover-icon.is-link::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}
.bm-frame:hover .bm-hover-icon, .bm-frame:focus-visible .bm-hover-icon { opacity: .7; }
.bm-overlay-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; text-align: center;
  opacity: 0; transition: opacity .25s;
}
.bm-frame:hover .bm-overlay-caption, .bm-frame:focus-visible .bm-overlay-caption { opacity: 1; }
.bm-caption { padding: .5rem 1rem; text-align: center; font-size: 1.2rem; line-height: 1.5; color: inherit; }

/* ------------------------------------------------------------ Text sections */
.bm-text__col { max-width: 83.333%; margin: 0 auto; }
@media (max-width: 991.98px) { .bm-text__col { max-width: none; } }
.bm-text__title { font-size: 2rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.5rem; }
.bm-text__body { font-size: 1.2rem; line-height: 1.5; }
.theme-light .bm-text__body { color: var(--ink); }
.theme-dark .bm-text__body { color: var(--muted); }
.bm-text__body a { color: inherit; text-decoration: underline; }

/* ------------------------------------------------------------ Contact */
.bm-contact { background: var(--dark); color: var(--muted); }
.bm-contact__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 8%; }
.bm-contact__faq { flex: 0 1 280px; }
.bm-contact__formcol { flex: 0 1 50%; min-width: 300px; }
@media (max-width: 991.98px) { .bm-contact__faq, .bm-contact__formcol { flex-basis: 100%; } }
.bm-contact__tag { font-size: 2rem; color: #adadad; margin-bottom: 1rem; }
.bm-contact__subtitle { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
.bm-contact__text { font-size: 1.1rem; color: var(--muted); }
.bm-contact__form-wrapper { background: var(--darker); padding: 110px 40px; }
@media (max-width: 767.98px) { .bm-contact__form-wrapper { padding: 3rem 1.5rem; } }
.bm-contact__title { font-size: 3rem; line-height: 1.1; color: #fff; margin-bottom: 1.5rem; }
.bm-contact__lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.5rem; }
.bm-form input, .bm-form textarea {
  display: block; width: 100%; margin-bottom: 1rem; padding: 1rem 0; font: inherit; font-size: 1.1rem; color: #fff;
  background: transparent; border: 0; border-bottom: 2px solid #c7c7c7; border-radius: 0; outline: none; transition: border-color .2s;
}
.bm-form textarea { min-height: 7rem; resize: vertical; }
.bm-form input::placeholder, .bm-form textarea::placeholder { color: var(--muted); }
.bm-form input:focus, .bm-form textarea:focus { border-bottom-color: #fff; }
.bm-form .is-invalid { border-bottom-color: #ff9966; }
.bm-hp { position: absolute !important; left: -9999px; }
.bm-form__btn {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .6rem 1.2rem; font: inherit; font-size: 1.1rem;
  font-weight: 600; color: #fafafa; background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer;
  transition: all .3s;
}
.bm-form__btn svg { width: 1.2rem; height: 1.2rem; fill: currentColor; order: 2; }
.bm-form__btn:hover { color: var(--ink); background: #fff; }
.bm-form__btn[disabled] { opacity: .6; cursor: wait; }
.bm-form__alert { padding: .9rem 1.2rem; margin-bottom: 1rem; border-radius: 4px; color: #fff; background: #40b0bf; }
.bm-form__alert.is-error { background: #ff9966; }

/* ------------------------------------------------------------ Footer */
.bm-footer { background: var(--footer); color: var(--muted); padding-top: 2rem; }
.bm-footer__row { display: flex; flex-wrap: wrap; text-align: center; }
.bm-footer__col { flex: 0 0 25%; padding: 0 16px; margin-bottom: 2rem; }
@media (max-width: 991.98px) { .bm-footer__col { flex-basis: 50%; } }
@media (max-width: 767.98px) { .bm-footer__col { flex-basis: 100%; } .bm-footer__logo { flex-basis: 50%; margin: 0 auto 2rem; } }
.bm-footer__logo img { display: block; width: 100%; height: auto; }
.bm-footer__heading { font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }
.bm-footer__text { font-size: 1.1rem; margin-bottom: 1.5rem; }
.bm-footer__list { list-style: none; margin: 0; padding: 0; font-size: 1.1rem; }
.bm-footer__list a { color: var(--muted); text-decoration: none; }
.bm-footer__list a:hover { color: #fff; }
.bm-footer__social { display: flex; flex-wrap: wrap; justify-content: center; }
.bm-soc {
  display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: .5rem; margin: 0 .5rem 1rem 0;
  border-radius: 50%; background: #fff; transition: transform .2s;
}
.bm-soc:hover { transform: translateY(-2px); }
.bm-soc svg { width: 1.2rem; height: 1.2rem; fill: #000; }

/* ------------------------------------------------------------ Lightbox */
.bm-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.9); }
.bm-lightbox[hidden] { display: none; }
.bm-lightbox figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.bm-lightbox img { max-width: 90vw; max-height: 80vh; display: block; margin: 0 auto; }
.bm-lightbox figcaption { color: #fff; margin-top: .8rem; font-weight: 600; letter-spacing: .02em; }
.bm-lightbox button {
  position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.5);
  color: #fff; opacity: .6; cursor: pointer; transition: opacity .3s;
}
.bm-lightbox button:hover { opacity: 1; background: #000; }
.bm-lightbox button::before { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: solid #fff; border-width: 0 2px 2px 0; }
.bm-lightbox__close { top: 2.5rem; right: 2.5rem; }
.bm-lightbox__close::before { border: 0 !important; width: 22px !important; height: 22px !important;
  background: linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #fff 45% 55%, transparent 55%); }
.bm-lightbox__prev { left: 2.5rem; top: 50%; margin-top: -30px; }
.bm-lightbox__prev::before { transform: translateX(3px) rotate(135deg); }
.bm-lightbox__next { right: 2.5rem; top: 50%; margin-top: -30px; }
.bm-lightbox__next::before { transform: translateX(-3px) rotate(-45deg); }
@media (max-width: 767.98px) { .bm-lightbox__prev, .bm-lightbox__next { top: auto; bottom: 1rem; margin: 0; } .bm-lightbox__close { top: 1rem; right: 1rem; } }

@media (prefers-reduced-motion: reduce) {
  .bm-nav__inner, .bm-nav__logo img, .bm-nav__menu { transition: none; }
}

/* Phones/tablets: the menu bar is much shorter than the desktop one, so trim the
   top spacing that the first section uses to clear it. */
@media (max-width: 991.98px) {
  main > .bm-carousel-section:first-child { padding-top: 1.5rem !important; }
  main > section.bm-text:first-child, main > section.bm-contact:first-child, main > section.bm-gallery:first-child { padding-top: 4rem !important; }
}
