/* Migration layer: fixes for statically served Divi markup (scripts removed). Fidelity first. */
.migrated-module-link { color: inherit; display: block; }
@media (min-width: 1181px) {
  .et-l--header a[href*="dropbox.com/request"] {
    white-space: nowrap;
    font-size: clamp(12px, .99vw, 15px) !important;
    letter-spacing: 0 !important;
  }
}
/* Use the original compact header before its desktop navigation can wrap. */
@media (min-width: 981px) and (max-width: 1180px) {
  .et-l--header .et_pb_section_0_tb_header,
  .et-l--header .et_pb_section_1_tb_header { display: none !important; }
  .et-l--header .et_pb_section_2_tb_header { display: block !important; }
  .et-l--header .et_pb_row_0_tb_header,
  .et-l--header .et_pb_row_1_tb_header { display: none !important; }
  .et-l--header .et_pb_row_2_tb_header { display: block !important; }
  .et-l--header .et_pb_menu .et_pb_menu__menu { display: none !important; }
  .et-l--header .et_pb_menu .et_mobile_nav_menu { display: flex !important; }
  .et-l--header .et_pb_menu_1_tb_header .et_pb_menu__wrap { justify-content: center !important; }
}
html { scroll-padding-top: var(--mig-header-offset, 110px); }
[id] { scroll-margin-top: var(--mig-header-offset, 110px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Divi animations never run without scripts: force visible */
.et_animated, .et-waypoint, .et_pb_animation_off, .et_pb_animation_top, .et_pb_animation_bottom,
.et_pb_animation_left, .et_pb_animation_right, .et_pb_animation_fade_in, .et_pb_counter_amount,
.et_pb_circle_counter, .et_pb_number_counter, .et_pb_image .et_pb_image_wrap, .et_pb_blurb .et_pb_main_blurb_image,
[class*="et_pb_animation"], .et_pb_section, .et_pb_row, .et_pb_module {
  opacity: 1 !important; animation: none !important;
}
.et_animated, .et-waypoint, [class*="et_pb_animation"] { transform: none !important; visibility: visible !important; }
.et_pb_preload:before { display: none !important; }
.et_pb_preload > * { visibility: visible !important; }

/* Clickable modules */
.et_clickable, [data-module-link] { cursor: pointer; }
[data-module-link]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Menus ---------- */
.et_pb_menu nav.et-menu-nav li.menu-item-has-children:focus-within > .sub-menu {
  visibility: visible; opacity: 1; display: block;
}
.et_mobile_nav_menu .mobile_nav { position: relative; }
.et_mobile_nav_menu .mobile_menu_bar { position: relative; }
.mig-menu-toggle {
  position: absolute; inset: -6px; width: auto; height: auto; min-width: 44px; min-height: 44px;
  background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; z-index: 2;
}
.mig-menu-toggle:focus-visible { outline: 2px solid #52a85e; outline-offset: 2px; }
.et_mobile_nav_menu .mobile_nav .et_mobile_menu { display: none; }
.et_mobile_nav_menu .mobile_nav.opened .et_mobile_menu { display: block; }
.et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar:before { content: "\4d"; }
.et_mobile_menu { max-height: calc(100dvh - 120px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.et_mobile_menu li { position: relative; }
.et_mobile_menu li.menu-item-has-children > a { padding-right: 52px !important; font-weight: 700; }
.et_mobile_menu li .sub-menu { display: block !important; visibility: visible !important; opacity: 1 !important;
  position: static !important; width: 100% !important; box-shadow: none !important; border: 0 !important; padding-left: 0 !important; transform: none !important; }
.et_mobile_menu li.mig-sub-closed > .sub-menu { display: none !important; }
.et_mobile_menu li li a { padding-left: 30px !important; }
.mig-sub-toggle {
  position: absolute; top: 2px; right: 2px; width: 44px; height: 40px; border: 0; border-radius: 3px;
  background: rgba(0,0,0,.06); color: inherit; font: 700 22px/1 inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0; z-index: 1;
}
.mig-sub-toggle:hover { background: rgba(0,0,0,.12); }
.mig-sub-toggle:focus-visible { outline: 2px solid #52a85e; outline-offset: -2px; }
.et_mobile_menu li.menu-item-has-children > a:after { display: none !important; }

/* Landing page: no navigation */
body.mig-landing .et_pb_menu, body.mig-landing .et_mobile_nav_menu, body.mig-landing #top-menu-nav { display: none !important; }

/* ---------- Toggles: keep Divi colors, only add focus ring ---------- */
.et_pb_toggle_title { cursor: pointer; }
.et_pb_toggle_title:focus { outline: none; }
.et_pb_toggle_title:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.et_pb_toggle_close .et_pb_toggle_content { display: none; }
.et_pb_toggle_open .et_pb_toggle_content { display: block; }

/* ---------- Sliders: one slide at a time, fixed height ---------- */
.mig-slider .et_pb_slides { position: relative; overflow: hidden; }
.mig-slider .et_pb_slide { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
  opacity: 0; visibility: hidden; z-index: 0; transition: none; float: none !important; margin: 0 !important; }
.mig-slider .et_pb_slide.et-pb-active-slide { opacity: 1; visibility: visible; z-index: 1; animation: mig-slide-in .4s ease both !important; }
@keyframes mig-slide-in { from { opacity: 0; } to { opacity: 1; } }
.mig-slider .et_pb_slide.mig-measure { position: relative !important; height: auto !important; visibility: hidden; display: block !important; }
.mig-slider .et_pb_slide.mig-measure ~ .et_pb_slide.mig-measure { display: none !important; }
.mig-slider .et-pb-slider-arrows a { opacity: 1; z-index: 3; }
.mig-slider .et-pb-controllers { z-index: 3; }
@media (hover: none) { .mig-slider .et-pb-arrow-prev { left: 12px !important; } .mig-slider .et-pb-arrow-next { right: 12px !important; } }
@media (prefers-reduced-motion: reduce) { .mig-slider .et_pb_slide.et-pb-active-slide { animation: none !important; } }

/* ---------- Cards: no mid-word breaks, centered icons/buttons ---------- */
.et_pb_blurb .et_pb_module_header, .et_pb_blurb h3, .et_pb_blurb h4, .et_pb_pricing_title, .et_pb_promo_title {
  word-break: normal !important; overflow-wrap: normal !important; hyphens: manual !important;
}
.et_pb_blurb_position_top .et_pb_main_blurb_image { margin-left: auto; margin-right: auto; }
.et_pb_button_module_wrapper.et_pb_button_alignment_center, .et_pb_promo .et_pb_button_wrapper { text-align: center; }

/* ---------- Media ---------- */
img { max-width: 100%; height: auto; }
.et_pb_map, iframe { max-width: 100%; }
.migration-lightbox {
  border: 0; padding: 0; margin: auto; background: transparent;
  max-width: 92vw; max-height: 92dvh; overflow: visible;
}
.migration-lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.migration-lightbox img { display: block; max-width: 88vw; max-height: 86dvh; width: auto; height: auto; object-fit: contain; }
.migration-lightbox-close {
  position: absolute; right: -10px; top: -42px; width: 44px; height: 44px;
  color: white; background: transparent; border: 0; font: 32px/1 Arial, sans-serif; cursor: pointer;
}
.migration-lightbox-close:focus-visible { outline: 2px solid white; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .et_pb_row { width: 88% !important; }
  .et_pb_column { margin-bottom: 30px; }
  .et_pb_column:last-child { margin-bottom: 0; }
  .et_pb_menu .et_pb_menu__menu { display: none !important; }
  .et_pb_menu .et_mobile_nav_menu { display: flex !important; align-items: center; }
}
@media (min-width: 981px) {
  .et_pb_menu .et_mobile_nav_menu { display: none !important; }
}
@media (max-width: 767px) {
  .et_pb_row { width: 90% !important; }
  .et_pb_button { white-space: normal; max-width: 100%; }
  h1 { overflow-wrap: break-word; }
}

/* ---------- Native contact form (mirrors JotForm 250014932028144) ---------- */
.native-contact-form {
  --ncf-green: #52a85e; --ncf-err: #84c55d;
  background: var(--ncf-green); color: #000; max-width: 563px; margin: 0 auto; padding: 32px 38px;
  font-family: Poppins, Arial, sans-serif; font-size: 16px; line-height: 1.45; box-sizing: border-box; text-align: left;
}
.native-contact-form * { box-sizing: border-box; }
.ncf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ncf-field { margin: 7px 0; padding: 6px 10px; border: 0; min-width: 0; }
.ncf-row .ncf-field { padding-left: 10px; padding-right: 10px; }
.ncf-label { display: block; color: #fff; font-weight: 600; font-size: 1em; margin: 0 0 8px; padding: 0; }
.ncf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ncf-input::placeholder { color: #8894ab; opacity: 1; }
select.ncf-input:invalid, select.ncf-input option[value=""] { color: #8894ab; }
.ncf-sms .ncf-label { color: #000; font-weight: 400; font-size: .875em; line-height: 1.5; margin-bottom: 10px; }
.ncf-req { color: #000; margin-left: 4px; }
.ncf-input {
  width: 100%; display: block; background: #fff; color: #2c3345; border: 1px solid #fff; border-radius: 0;
  padding: 0 10px; height: 40px; font: inherit; font-size: 16px; margin: 0;
}
textarea.ncf-input { height: 163px; padding: 8px 10px; resize: vertical; }
select.ncf-input { appearance: auto; }
.ncf-input:focus { outline: 0; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.45); }
.ncf-choice { display: flex; gap: 10px; align-items: flex-start; color: #000; font-size: .875em; margin: 6px 0; cursor: pointer; }
.ncf-choice input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #000; }
.ncf-invalid .ncf-input { border: 1px solid var(--ncf-err); box-shadow: 0 0 3px var(--ncf-err); }
.ncf-error { display: inline-block; background: var(--ncf-err); color: #fff; font-size: .75em; padding: 3px 8px; margin: 6px 0 0; }
.ncf-error[hidden], .ncf-status[hidden] { display: none; }
.ncf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ncf-status { margin: 10px 10px 0; padding: 10px 12px; background: #fff; color: #9b2c2c; font-size: .875em; border-left: 4px solid #9b2c2c; }
.ncf-actions { text-align: center; padding: 14px 10px 0; }
.ncf-submit {
  min-width: 180px; min-height: 44px; padding: 10px 24px; background: #fff; color: #000; border: 1px solid #fff;
  border-radius: 0; font: 600 16px/1.2 inherit; cursor: pointer; transition: opacity .2s ease;
}
.ncf-submit:hover { opacity: .9; }
.ncf-submit:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.ncf-submit:disabled { opacity: .65; cursor: wait; }
.ncf-legal { margin: 18px 10px 0; color: #000; font-size: .875em; text-align: center; }
.ncf-legal a { color: #000; text-decoration: underline; }
@media (max-width: 767px) {
  .native-contact-form { padding: 24px 18px; }
  .ncf-row { grid-template-columns: 1fr; }
  .ncf-field { padding-left: 0; padding-right: 0; }
  .ncf-row .ncf-field { padding-left: 0; padding-right: 0; }
}
