/* Shared accessibility, mobile navigation, and conversion refinements. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header .contact-link {
  white-space: nowrap;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.button:focus-visible,
.map-link:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 8px;
  border: 1px solid #d7e0e8;
  border-radius: 6px;
  color: #172033;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.site-nav {
  flex-wrap: wrap;
}

.carousel-dot {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dot.is-active {
  background: transparent;
}

.carousel-dot.is-active::before {
  background: #74d7c6;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex: 1 0 100%;
    width: 100%;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid #e3e8ef;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f5;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 0;
  }

  .site-header .brand {
    flex: 1 1 160px;
  }

  .site-header .contact-link {
    flex: 0 0 auto;
  }

  .site-nav {
    order: 4;
  }

  .carousel-dot {
    width: 40px;
  }

  .carousel-dot::before {
    top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide {
    transition: none;
  }
}
