/* Modern mobile header and off-canvas navigation. */
.mobile-header,
.mobile-menu {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.contact-icon {
  display: inline-block;
  margin-right: .45em;
  font-style: normal;
}

@media (max-width: 767px) {
  #top {
    height: min(72vh, 620px);
    min-height: 480px;
  }

  .mobile-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: max(10px, env(safe-area-inset-top)) 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(8, 20, 20, .72), rgba(8, 20, 20, .24));
    backdrop-filter: blur(14px) saturate(130%);
  }

  .mobile-header__logo {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
  }

  .mobile-menu-button,
  .mobile-menu__close {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
  }

  #trigger-overlay.mobile-menu-button {
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
  }

  .mobile-menu-button span {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
  }

  .mobile-menu-button span:nth-child(1) { top: 15px; }
  .mobile-menu-button span:nth-child(2) { top: 21px; width: 13px; }
  .mobile-menu-button span:nth-child(3) { top: 27px; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: block;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .35s;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(4, 12, 13, .5);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity .3s ease;
  }

  .mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }

  .mobile-menu__drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(90vw, 400px);
    height: 100%;
    padding: max(16px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #132522;
    background: #f8fbfa;
    box-shadow: -20px 0 60px rgba(4, 25, 22, .22);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-menu.is-open .mobile-menu__drawer { transform: translateX(0); }

  .mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin-bottom: 24px;
  }

  .mobile-menu__brand {
    color: #183a35;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .mobile-menu__close {
    border-color: #d6e4e1;
    background: #fff;
  }

  .mobile-menu__close span {
    position: absolute;
    top: 21px;
    left: 12px;
    width: 18px;
    height: 1.5px;
    background: #173b36;
  }

  .mobile-menu__close span:first-child { transform: rotate(45deg); }
  .mobile-menu__close span:last-child { transform: rotate(-45deg); }

  .mobile-nav__label {
    margin: 22px 0 8px;
    color: #78918d;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #dce8e5;
  }

  .mobile-nav li { border-bottom: 1px solid #dce8e5; }

  .mobile-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    color: #152d29;
    font-size: .96rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-nav li a i {
    color: #75a9a1;
    font-size: .76rem;
    transition: transform .2s ease;
  }

  .mobile-nav li a:hover i,
  .mobile-nav li a:focus-visible i { transform: translateX(4px); }

  .mobile-nav__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin-top: 24px;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    background: #238d7f;
    box-shadow: 0 12px 28px rgba(35, 141, 127, .24);
    text-decoration: none;
  }

  .mobile-nav__privacy {
    display: block;
    margin-top: 18px;
    color: #738985;
    font-size: .75rem;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .hero-slider__control {
    top: auto;
    bottom: 18px;
    width: 40px;
    height: 40px;
    font-size: 14px;
    transform: none;
  }

  .hero-slider__control--prev { left: 16px; }
  .hero-slider__control--next { right: 16px; }
  .hero-slider__dots { bottom: 34px; gap: 7px; }
  .hero-slider__dots button { width: 18px; }
  .hero-slider__dots button.is-active { width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide,
  .hero-slider__control,
  .hero-slider__dots button,
  .mobile-menu,
  .mobile-menu__backdrop,
  .mobile-menu__drawer {
    transition-duration: .01ms !important;
  }
}




@media (min-width: 768px) and (max-width: 900px) {
  body.site-subpage .mobile-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: max(10px, env(safe-area-inset-top)) 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(8, 20, 20, .72), rgba(8, 20, 20, .24));
    backdrop-filter: blur(14px) saturate(130%);
  }
  body.site-subpage .mobile-header__logo {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
  }
  body.site-subpage .mobile-menu-button,
  body.site-subpage .mobile-menu__close {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
  }
  body.site-subpage #trigger-overlay.mobile-menu-button {
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
  }
  body.site-subpage .mobile-menu-button span {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
  }
  body.site-subpage .mobile-menu-button span:nth-child(1) { top: 15px; }
  body.site-subpage .mobile-menu-button span:nth-child(2) { top: 21px; width: 13px; }
  body.site-subpage .mobile-menu-button span:nth-child(3) { top: 27px; }
  body.site-subpage .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: block;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .35s;
  }
  body.site-subpage .mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }
  body.site-subpage .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(4, 12, 13, .5);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity .3s ease;
  }
  body.site-subpage .mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
  body.site-subpage .mobile-menu__drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(90vw, 400px);
    height: 100%;
    padding: max(16px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #132522;
    background: #f8fbfa;
    box-shadow: -20px 0 60px rgba(4, 25, 22, .22);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  }
  body.site-subpage .mobile-menu.is-open .mobile-menu__drawer { transform: translateX(0); }
  body.site-subpage .mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin-bottom: 24px;
  }
  body.site-subpage .mobile-menu__brand {
    color: #183a35;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  body.site-subpage .mobile-menu__close {
    border-color: #d6e4e1;
    background: #fff;
  }
  body.site-subpage .mobile-menu__close span {
    position: absolute;
    top: 21px;
    left: 12px;
    width: 18px;
    height: 1.5px;
    background: #173b36;
  }
  body.site-subpage .mobile-menu__close span:first-child { transform: rotate(45deg); }
  body.site-subpage .mobile-menu__close span:last-child { transform: rotate(-45deg); }
  body.site-subpage .mobile-nav__label {
    margin: 22px 0 8px;
    color: #78918d;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  body.site-subpage .mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #dce8e5;
  }
  body.site-subpage .mobile-nav li { border-bottom: 1px solid #dce8e5; }
  body.site-subpage .mobile-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    color: #152d29;
    font-size: .96rem;
    font-weight: 600;
    text-decoration: none;
  }
  body.site-subpage .mobile-nav li a i {
    color: #75a9a1;
    font-size: .76rem;
    transition: transform .2s ease;
  }
  body.site-subpage .mobile-nav li a:hover i,
  body.site-subpage .mobile-nav li a:focus-visible i { transform: translateX(4px); }
  body.site-subpage .mobile-nav__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin-top: 24px;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    background: #238d7f;
    box-shadow: 0 12px 28px rgba(35, 141, 127, .24);
    text-decoration: none;
  }
  body.site-subpage .mobile-nav__privacy {
    display: block;
    margin-top: 18px;
    color: #738985;
    font-size: .75rem;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* Lower pages previously shipped a different mobile-menu implementation in site.css.
   These scoped resets ensure the home menu component behaves identically everywhere. */
@media (max-width: 900px) {
  body.site-subpage .navbar { display: none !important; }
  body.site-subpage .header { display: none !important; }
  body.site-subpage .mobile-menu {
    inset: 0;
    width: auto;
    height: auto;
    padding: 0;
    flex-direction: initial;
    background: transparent;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 901px) {
  body.site-subpage .navbar { display: flex !important; }
  body.site-subpage .mobile-header,
  body.site-subpage .mobile-menu { display: none !important; }
}
