* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  font-family: 'Manrope', sans-serif;
  margin: 0px;
  min-height: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.bambu-page {
  --bambu-container-max-width: 1290px;
  --bambu-container-gutter: clamp(16px, max(24px, calc((100vw - 1290px) / 2)), 315px);
}

@media (max-width: 767px) {
  .bambu-page {
    --bambu-container-gutter: 16px;
  }
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}
.primary-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation li {
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  color: inherit;
}

.breadcrumb {
  color: #94A3B8;
}

.breadcrumb a {
  color: #94A3B8;
}

.breadcrumb .breadcrumb-sep {
  color: #475569;
}

.breadcrumb .breadcrumb-cur {
  color: #CBD5E1;
}

/* Shared hero section used by the public pages and single templates. */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bambu-hero-art, none) right center / cover no-repeat;
  pointer-events: none;
}

.hero[style*="background-image"]::before,
.hero-decor {
  display: none;
}

.hero-inner {
  width: calc(100% - (2 * var(--bambu-container-gutter, 24px)));
  max-width: var(--bambu-container-max-width, 1290px);
  margin-inline: auto;
  padding: 56px 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* One line on every screen: the current page is cut with an ellipsis. */
.hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.hero .breadcrumb a {
  flex: none;
  font-size: 12px;
  text-decoration: none;
}

.hero .breadcrumb-sep {
  flex: none;
  font-size: 12px;
  padding-left: 8px;
}

.hero .breadcrumb-sep + a {
  padding-left: 8px;
}

.hero .breadcrumb-cur {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  padding-left: 8px;
  text-overflow: ellipsis;
}

.hero-title {
  width: fit-content;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  font-size: 60px;
  font-weight: 800;
  background: linear-gradient(90deg, #43b263 0%, #3ba295 25%, #3b7ab5 55%, #7147a7 80%, #814272 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-page .hero-title-accent {
  background: linear-gradient(90deg, #43B263 0%, #3BA295 25%, #3B7AB5 50%, #7147A7 75%, #814272 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-keep {
  white-space: nowrap;
}

.hero-sub {
  max-width: 619px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: #66758B;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.btn-grad-pill,
.btn-outline-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn-grad-pill {
  padding: 12px 28px;
  border: none;
  background: linear-gradient(90deg, rgba(67, 178, 99, 0.99) 0%, #3ba295 25%, #3b7ab5 50%, #7147a7 75%, #814272 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(2, 44, 34, 0.3), 0 4px 6px -4px rgba(2, 44, 34, 0.3);
}

.btn-outline-pill {
  padding: 13px 29px;
  border: 1px solid #334155;
  background: rgba(7, 17, 39, 0.9);
  color: #e2e8f0;
  font-weight: 500;
}

@media (max-width: 760px) {
  .hero-inner {
    padding-block: 40px 56px;
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 60px);
  }

  .hero-ctas {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: clamp(48px, 8vw, 60px);
  }
}

@media (max-width: 767px) {
  .hero::before {
    opacity: 0.55;
    background-position: 80% center;
  }

  .hero-inner {
    width: calc(100% - (2 * var(--bambu-container-gutter, 16px)));
  }

  .hero-title {
    font-size: clamp(42px, 14vw, 60px);
  }

  .hero-sub {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-ctas {
    align-items: stretch;
    width: 100%;
  }

  .hero-ctas a {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-inner {
    width: calc(100% - 32px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .btn-grad-pill,
  .btn-outline-pill {
    justify-content: center;
    width: 100%;
  }
}

/* Shared filter dropdown component used by the Hub pages. */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  position: relative;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #fff;
  color: #08162d;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn.active {
  border-color: #3ba295;
  background: #f0fdfa;
  color: #042f2e;
  font-weight: 600;
}

.filter-caret {
  display: inline-flex;
  flex: 0 0 auto;
  transform: rotate(180deg);
  transition: transform 160ms ease;
}

.filter-btn[aria-expanded="true"] .filter-caret {
  transform: rotate(0deg);
}

.filter-btn:disabled,
.dropdown-wrap.is-disabled .filter-btn {
  cursor: not-allowed;
  opacity: 0.5;
}

.dropdown-wrap {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: flex;
  width: 256px;
  max-height: 320px;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

.dropdown::-webkit-scrollbar {
  width: 6px;
}

.dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.dropdown.is-collapsed {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  display: flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce5ee;
  border-radius: 4px;
  background: #fff;
}

.custom-checkbox.checked {
  border-color: #3ba295;
  background: #3ba295;
}

.custom-checkbox.checked::after {
  content: '✓';
  color: #fff;
  font-size: 10px;
}
