/* Canonical site header. All selectors are intentionally isolated from legacy Elementor menus. */
.rs-site-header,
.rs-site-header *,
.rs-site-header *::before,
.rs-site-header *::after {
  box-sizing: border-box;
}

.rs-site-header {
  --rs-header-accent: #12b8c7;
  --rs-header-accent-dark: #008da4;
  --rs-header-text: #111827;
  --rs-header-muted: #718096;
  --rs-header-line: #dce8ec;
  position: sticky;
  top: 0;
  z-index: 99990;
  width: 100%;
  min-height: 72px;
  margin: 0;
  color: var(--rs-header-text);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e8eef1;
  box-shadow: 0 3px 14px rgba(17, 40, 56, 0.08);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
  isolation: isolate;
}

.rs-header-inner {
  display: flex;
  align-items: center;
  width: min(100%, 1500px);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 32px;
}

.rs-header-brand,
.rs-header-brand:hover,
.rs-header-brand:focus {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: var(--rs-header-text);
  text-decoration: none;
  background: transparent;
  outline-offset: 4px;
}

.rs-header-brand img {
  display: block;
  flex: 0 0 49px;
  width: 49px;
  height: 41px;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

.rs-header-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rs-header-brand-copy strong,
.rs-header-brand-copy small {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: nowrap;
}

.rs-header-brand-copy strong {
  color: var(--rs-header-text);
  font-size: 15px;
  font-weight: 750;
}

.rs-header-brand-copy small {
  color: var(--rs-header-muted);
  font-size: 11px;
  font-weight: 500;
}

.rs-header-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0 18px;
}

.rs-header-menu,
.rs-header-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.rs-header-item {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}

.rs-header-item > a,
.rs-header-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 0 11px;
  color: var(--rs-header-text);
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

.rs-header-item > a:hover,
.rs-header-item > a:focus-visible,
.rs-header-submenu-toggle:hover,
.rs-header-submenu-toggle:focus-visible,
.rs-header-item > a.is-current,
.rs-header-has-submenu.has-current > .rs-header-submenu-toggle {
  color: var(--rs-header-accent-dark);
  background: #eefbfd;
  outline: none;
}

.rs-header-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease, margin 160ms ease;
}

.rs-header-has-submenu.is-open > .rs-header-submenu-toggle .rs-header-arrow {
  margin-top: 3px;
  transform: rotate(225deg);
}

.rs-header-submenu {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  z-index: 20;
  width: 286px;
  padding: 7px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid var(--rs-header-line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 40, 56, 0.16);
  transform: translate(-50%, -6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  pointer-events: none;
}

.rs-header-has-submenu:hover > .rs-header-submenu,
.rs-header-has-submenu:focus-within > .rs-header-submenu,
.rs-header-has-submenu.is-open > .rs-header-submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.rs-header-subitem {
  display: block;
  margin: 0;
  padding: 0;
}

.rs-header-subitem + .rs-header-subitem {
  margin-top: 2px;
}

.rs-header-subitem > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 11px;
  color: var(--rs-header-text);
  background: transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
}

.rs-header-subitem > a:hover,
.rs-header-subitem > a:focus-visible,
.rs-header-subitem > a.is-current {
  color: #006f82;
  background: #e8fafd;
  outline: none;
}

.rs-header-contact {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.rs-header-phone,
.rs-header-phone:hover,
.rs-header-phone:focus {
  color: var(--rs-header-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.rs-header-cta,
.rs-header-cta:hover,
.rs-header-cta:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 42px;
  padding: 8px 16px;
  color: #fff;
  background: var(--rs-header-accent);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.rs-header-cta:hover,
.rs-header-cta:focus-visible {
  background: #079dac;
  outline: none;
}

.rs-header-toggle,
.rs-header-mobile-contact {
  display: none;
}

@media (max-width: 1320px) {
  .rs-header-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .rs-header-nav {
    margin-right: 10px;
    margin-left: 10px;
  }

  .rs-header-item > a,
  .rs-header-submenu-toggle {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }

  .rs-header-contact {
    gap: 8px;
  }
}

@media (max-width: 1160px) and (min-width: 1025px) {
  .rs-header-phone {
    display: none;
  }

  .rs-header-brand {
    min-width: 176px;
  }
}

@media (max-width: 1024px) {
  body.rs-header-menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .rs-site-header {
    min-height: 72px;
  }

  .rs-header-inner {
    justify-content: space-between;
    min-height: 72px;
    padding: 0 16px;
  }

  .rs-header-brand {
    min-width: 0;
  }

  .rs-header-brand img {
    flex-basis: 45px;
    width: 45px;
    height: 38px;
  }

  .rs-header-brand-copy strong {
    font-size: 14px;
  }

  .rs-header-brand-copy small {
    font-size: 10.5px;
  }

  .rs-header-contact {
    display: none;
  }

  body.home .elementor-element.elementor-element-66e8a936 {
    --margin-top: 24px;
    margin-top: 24px !important;
  }

  .rs-header-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    flex: 0 0 46px;
    place-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    color: var(--rs-header-text);
    background: #fff;
    border: 1px solid #bfe8ee;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(17, 40, 56, 0.06);
    cursor: pointer;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  .rs-site-header .rs-header-toggle:hover,
  .rs-site-header .rs-header-toggle:focus,
  .rs-site-header .rs-header-toggle:active {
    color: var(--rs-header-text) !important;
    background: #fff !important;
    border-color: #bfe8ee !important;
  }

  .rs-site-header .rs-header-toggle:focus-visible {
    outline: 2px solid var(--rs-header-accent);
    outline-offset: 2px;
  }

  .rs-header-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 0;
    background: var(--rs-header-text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .rs-site-header.is-menu-open .rs-header-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .rs-site-header.is-menu-open .rs-header-toggle span:nth-child(2) {
    opacity: 0;
  }

  .rs-site-header.is-menu-open .rs-header-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .rs-header-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 12px calc(24px + env(safe-area-inset-bottom));
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    background: #fff;
    transform: translateY(-7px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    overscroll-behavior: contain;
    pointer-events: none;
  }

  .rs-site-header.is-menu-open .rs-header-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .rs-header-menu {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid var(--rs-header-line);
  }

  .rs-header-item {
    width: 100%;
    border-bottom: 1px solid var(--rs-header-line);
  }

  .rs-header-item > a,
  .rs-header-submenu-toggle {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    color: var(--rs-header-text);
    background: #fff;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
  }

  .rs-header-submenu-toggle {
    justify-content: space-between;
  }

  .rs-header-item > a:hover,
  .rs-header-item > a:focus-visible,
  .rs-header-submenu-toggle:hover,
  .rs-header-submenu-toggle:focus-visible,
  .rs-header-item > a.is-current,
  .rs-header-has-submenu.has-current > .rs-header-submenu-toggle {
    color: #006f82;
    background: #effbfd;
  }

  .rs-header-has-submenu.is-open > .rs-header-submenu-toggle {
    color: #fff;
    background: var(--rs-header-accent);
  }

  .rs-header-arrow {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 2px;
  }

  .rs-header-submenu {
    position: static;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 14px;
    visibility: visible;
    overflow: hidden;
    opacity: 1;
    background: #f9fcfd;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: max-height 220ms ease, padding 220ms ease;
    pointer-events: none;
  }

  .rs-header-has-submenu:hover > .rs-header-submenu,
  .rs-header-has-submenu:focus-within > .rs-header-submenu {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: none;
    pointer-events: none;
  }

  .rs-header-has-submenu.is-open > .rs-header-submenu,
  .rs-header-has-submenu.is-open:hover > .rs-header-submenu,
  .rs-header-has-submenu.is-open:focus-within > .rs-header-submenu {
    max-height: 620px;
    padding-top: 5px;
    padding-bottom: 5px;
    pointer-events: auto;
  }

  .rs-header-subitem + .rs-header-subitem {
    margin-top: 0;
  }

  .rs-header-subitem > a {
    min-height: 46px;
    padding: 9px 14px 9px 20px;
    border-bottom: 1px solid #e1ebee;
    border-radius: 0;
    font-size: 15px;
    font-weight: 550;
  }

  .rs-header-subitem:last-child > a {
    border-bottom: 0;
  }

  .rs-header-mobile-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 760px;
    margin: 18px auto 0;
  }

  .rs-header-mobile-phone,
  .rs-header-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .rs-header-mobile-phone,
  .rs-header-mobile-phone:hover,
  .rs-header-mobile-phone:focus {
    color: var(--rs-header-text);
    background: #fff;
    border: 1px solid #bddfe5;
  }

  .rs-header-mobile-cta,
  .rs-header-mobile-cta:hover,
  .rs-header-mobile-cta:focus {
    color: #fff;
    background: var(--rs-header-accent);
    border: 1px solid var(--rs-header-accent);
  }
}

@media (max-width: 390px) {
  .rs-header-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .rs-header-brand {
    gap: 7px;
  }

  .rs-header-brand img {
    flex-basis: 40px;
    width: 40px;
    height: 34px;
  }

  .rs-header-brand-copy strong {
    font-size: 13px;
  }

  .rs-header-brand-copy small {
    font-size: 10px;
  }

  .rs-header-mobile-contact {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-site-header *,
  .rs-site-header *::before,
  .rs-site-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
