/* Standalone replacement styles for Webflow's now-removed runtime. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
/* Webflow's page uses inline opacity:0 until its proprietary animation script runs. */
[data-w-id][style*="opacity:0"], [data-w-id][style*="opacity: 0"] { opacity: 1 !important; }

/* Navigation is controlled by app.js; no Webflow JS dependency. */
@media (max-width: 991px) {
  .navbar .nav-menu.w-nav-menu[data-nav-menu-open] {
    display: block !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    width: 100%; background: #fff;
    z-index: 100;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    padding: 4px 24px;
  }
  .navbar .nav-menu.w-nav-menu[data-nav-menu-open] .nav-menu-list { display: flex; }
}

/* Native testimonial carousel: one slide at a time and accessible pager buttons. */
.w-slider.sh-slider-ready .w-slide { display: none; width: 100%; }
.w-slider.sh-slider-ready .w-slide.sh-slide-active { display: inline-block; }
.w-slider .w-slider-arrow-left,
.w-slider .w-slider-arrow-right { cursor: pointer; }
.sh-slider-dot { display: inline-block; border: 0; padding: 0; margin: 0 3px;
  width: 10px; height: 10px; border-radius: 50%; vertical-align: middle;
  background: rgba(0,0,0,.22); cursor: pointer; }
.sh-slider-dot.is-active { background: #ff5722; }
.sh-slider-dot:focus-visible { outline: 2px solid #ff5722; outline-offset: 3px; }

/* Video lightbox using YouTube embeds; replaces Webflow Lightbox entirely. */
.sh-lightbox[hidden] { display: none !important; }
.sh-lightbox { position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; padding: 64px 20px 28px;
  background: rgba(0,0,0,.9); }
.sh-lightbox-inner { width: min(960px, 100%); aspect-ratio: 16 / 9; position: relative; }
.sh-lightbox-inner iframe { border: 0; width: 100%; height: 100%; background: #000; }
.sh-lightbox-close { position: absolute; right: -8px; top: -53px;
  width: 45px; height: 45px; font-size: 32px; font-weight: 400;
  color: #fff; background: transparent; cursor: pointer; }
.sh-lightbox-close:focus-visible { outline: 2px solid #fff; }
body.sh-lightbox-open { overflow: hidden; }

/* Video playback fallback. YouTube requires an HTTP Referer for embeds. */
.sh-lightbox-inner iframe[hidden] { display: none !important; }
.sh-lightbox-fallback { position: absolute; top: calc(100% + 10px); left: 0;
  right: 0; text-align: center; font: 500 14px/1.4 Arial,sans-serif;
  color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sh-lightbox-fallback:focus-visible { outline: 2px solid #fff; }
.sh-lightbox-local-tip[hidden] { display: none !important; }
.sh-lightbox-local-tip { position: absolute; inset: 0; background: #151515;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 22px; padding: 24px; text-align: center; color: #fff;
  font: 500 17px/1.5 Arial,sans-serif; }
.sh-lightbox-local-tip p { margin: 0; max-width: 640px; }
.sh-lightbox-local-tip a { padding: 12px 20px; border-radius: 999px;
  background: #fff; color: #151515; text-decoration: none; font-size: 15px; }


/* Standalone mobile nav v3: normal button + CSS icon, no Webflow icon font. */
.navbar.w-nav { z-index: 1000; isolation: isolate; }
.sh-menu-toggle { border: 0; cursor: pointer; background: transparent; }
.sh-menu-icon { display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px; width: 24px; height: 24px; }
.sh-menu-icon > span { display: block; width: 24px; height: 2.5px;
  border-radius: 3px; background: #ff5722; transform-origin: center;
  transition: transform .2s ease, opacity .2s ease; }
.sh-menu-toggle.w--open .sh-menu-icon > span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sh-menu-toggle.w--open .sh-menu-icon > span:nth-child(2) { opacity: 0; }
.sh-menu-toggle.w--open .sh-menu-icon > span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.sh-menu-toggle:focus-visible { outline: 2px solid #ff5722; outline-offset: 2px; }
@media (max-width: 991px) {
  .navbar .sh-menu-toggle.w-nav-button { width: 48px; height: 48px; padding: 12px;
    display: flex; align-items: center; justify-content: center; border-radius: 9px; }
  .navbar .sh-menu-toggle.w-nav-button.w--open { background: #fff; color: #ff5722; }
  .navbar .nav-menu.w-nav-menu { z-index: 1100; }
  .navbar.sh-nav-open .nav-menu.w-nav-menu {
    display: block !important; position: absolute; left: 0; right: 0;
    top: calc(100% - 1px); width: 100%; background: #fff;
    box-shadow: 0 16px 26px rgba(0,0,0,.12); border-top: 1px solid #eee;
    max-height: calc(100vh - 72px); overflow-y: auto; padding: 4px 24px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .navbar.sh-nav-open .nav-menu-list { display: flex; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .navbar.sh-nav-open .nav-menu-list > a {
    display: block; width: 100%; text-align: left; padding: 15px 12px;
    font-size: 16px; line-height: 1.3; }
  .navbar.sh-nav-open .nav-menu-list > .primary-btn.mobile { text-align: center;
    margin-top: 12px; padding: 14px 20px; }
}
@media (min-width: 992px) {
  .navbar .sh-menu-toggle { display: none !important; }
}

/* Freshchat floating chat widget dimensions. */
#fc_frame, #fc_frame.fc-widget-small { min-width: 175px; }

/* Replace legacy Webflow slider icon glyphs with CSS arrows. */
.w-slider .w-icon-slider-left, .w-slider .w-icon-slider-right {font-size:0!important; position:absolute;top:50%;left:50%;width:15px;height:15px;border-top:3px solid currentColor;border-right:3px solid currentColor;}
.w-slider .w-icon-slider-left {transform:translate(-35%,-50%) rotate(-135deg)}
.w-slider .w-icon-slider-right {transform:translate(-65%,-50%) rotate(45deg)}
.w-slider .w-icon-slider-left::before, .w-slider .w-icon-slider-right::before {content:none!important;}
@media(max-width:991px) { .navbar:not(.sh-nav-open) .nav-menu.w-nav-menu {display:none!important;} }

/* Consistent hamburger/X geometry at every mobile breakpoint. */
.sh-menu-icon { position: relative; display: block; width: 24px; height: 24px; }
.sh-menu-icon > span {
  position: absolute; left: 0; top: calc(50% - 1.25px);
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  transform: none; opacity: 1;
}
.sh-menu-toggle:not(.w--open) .sh-menu-icon > span:nth-child(1) { transform: translateY(-7px); }
.sh-menu-toggle:not(.w--open) .sh-menu-icon > span:nth-child(3) { transform: translateY(7px); }
.sh-menu-toggle.w--open .sh-menu-icon > span:nth-child(1) { transform: rotate(45deg); }
.sh-menu-toggle.w--open .sh-menu-icon > span:nth-child(2) { opacity: 0; transform: none; }
.sh-menu-toggle.w--open .sh-menu-icon > span:nth-child(3) { transform: rotate(-45deg); }
