:root {
  --compas-ink: #20223a;
  --compas-muted: #63677d;
  --compas-purple: #6a7fdb;
  --compas-purple-dark: #4f63bd;
  --compas-purple-soft: #eef0ff;
  --compas-green: #1a936f;
  --compas-green-soft: #e6f6ef;
  --compas-line: #dfe3ef;
  --compas-danger: #c73b46;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ── Fixed header with auto-hide ── */
.compas-header-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9990 !important;
  transition: transform .3s ease;
}

.compas-header-hidden {
  transform: translateY(-100%) !important;
}

body.compas-dialog-open,
body.compas-menu-open {
  overflow: hidden !important;
}

.compas-defs {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.compas-seo-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#compas-page {
  display: block;
  min-height: 100vh;
}

[data-anchor="testimonials"] .bz-gallery.compas-reviews-gallery {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
}

[data-anchor="testimonials"] .compas-reviews-gallery .masonry_3EK,
[data-anchor="testimonials"] .compas-reviews-gallery .masonry__inner_3Ib {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

[data-anchor="testimonials"] .compas-reviews-marquee {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  height: 560px !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

[data-anchor="testimonials"] .compas-reviews-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  will-change: transform;
}

.compas-review-card {
  flex-shrink: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--compas-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(44, 73, 76, 0.08) !important;
  font-family: Rubik, "Open Sans", Arial, sans-serif !important;
  text-align: left !important;
  cursor: zoom-in !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
}

.compas-review-card:hover,
.compas-review-card:focus-visible {
  border-color: var(--compas-green) !important;
  box-shadow: 0 8px 22px rgba(26, 147, 111, 0.16) !important;
  outline: none !important;
}

.compas-review-card__badge {
  display: inline-block !important;
  margin-bottom: 10px !important;
  padding: 3px 10px !important;
  border-radius: 99px !important;
  background: var(--compas-purple-soft) !important;
  color: var(--compas-purple-dark) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

.compas-review-card__text {
  margin: 0 0 14px !important;
  color: var(--compas-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.compas-review-card__author {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.compas-review-card__avatar {
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--compas-green) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.compas-review-card__name {
  color: var(--compas-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.compas-review-card__view {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: var(--compas-green) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.compas-reviews-nav {
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 14px auto !important;
  padding: 0 !important;
  border: 1px solid rgba(26, 147, 111, 0.32) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--compas-green) !important;
  box-shadow: 0 5px 16px rgba(44, 73, 76, 0.14) !important;
  cursor: pointer !important;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease !important;
}

.compas-reviews-nav:hover {
  background: var(--compas-green) !important;
  color: #fff !important;
  transform: scale(1.06) !important;
}

.compas-reviews-nav:focus-visible {
  outline: 3px solid rgba(26, 147, 111, 0.46) !important;
  outline-offset: 3px !important;
}

@media (max-width: 1023px) {
  [data-anchor="testimonials"] .compas-reviews-marquee {
    grid-template-columns: 1fr 1fr !important;
  }
  [data-anchor="testimonials"] .compas-reviews-col--lg {
    display: none !important;
  }
}

@media (max-width: 639px) {
  [data-anchor="testimonials"] .compas-reviews-marquee {
    grid-template-columns: 1fr !important;
    height: 500px !important;
  }
  [data-anchor="testimonials"] .compas-reviews-col--md {
    display: none !important;
  }
}

.compas-modal,
.compas-lightbox {
  box-sizing: border-box !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  overflow: auto !important;
  padding: 24px !important;
  background: rgba(28, 31, 55, 0.72) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: compas-fade-in 180ms ease-out both;
}

.compas-modal *,
.compas-lightbox * {
  box-sizing: border-box !important;
}

.compas-modal__card {
  position: relative !important;
  isolation: isolate;
  width: min(100%, 720px) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  margin: auto !important;
  padding: 48px !important;
  border: 1px solid rgba(106, 127, 219, 0.2) !important;
  border-radius: 28px !important;
  background: #fff !important;
  color: var(--compas-ink) !important;
  box-shadow: 0 30px 80px rgba(20, 25, 55, 0.28) !important;
  font-family: Rubik, "Open Sans", Arial, sans-serif !important;
  animation: compas-card-in 220ms ease-out both;
  scrollbar-width: thin;
  scrollbar-color: #bec7eb transparent;
}

.compas-modal__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 8px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--compas-purple), #8e77d8 52%, #7bc5a4);
}

.compas-modal__close {
  position: absolute !important;
  z-index: 2 !important;
  top: 16px !important;
  right: 16px !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--compas-purple-soft) !important;
  color: var(--compas-purple-dark) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font: 400 30px/1 Arial, sans-serif !important;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease !important;
}

.compas-modal__close:hover {
  background: var(--compas-purple) !important;
  color: #fff !important;
  transform: rotate(4deg) !important;
}

.compas-modal__close span {
  display: block !important;
  margin-top: -2px !important;
}

.compas-modal__eyebrow {
  margin: 0 52px 10px 0 !important;
  color: var(--compas-green) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.compas-modal__title,
.compas-quiz h2,
.compas-success h2 {
  margin: 0 44px 14px 0 !important;
  color: var(--compas-ink) !important;
  font-size: clamp(27px, 4vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
}

.compas-modal__lead,
.compas-quiz__intro > p,
.compas-quiz__question > p,
.compas-success p {
  margin: 0 0 26px !important;
  color: var(--compas-muted) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.compas-form {
  display: grid !important;
  gap: 17px !important;
  margin: 0 !important;
}

.compas-form label {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  color: var(--compas-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.compas-form input:not(.compas-honey) {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  border: 1px solid var(--compas-line) !important;
  border-radius: 14px !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--compas-ink) !important;
  box-shadow: none !important;
  font: 400 17px/1.2 Rubik, "Open Sans", Arial, sans-serif !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
}

.compas-form input:not(.compas-honey):hover {
  border-color: #b7bfda !important;
}

.compas-form input:not(.compas-honey):focus {
  border-color: var(--compas-purple) !important;
  box-shadow: 0 0 0 4px rgba(106, 127, 219, 0.14) !important;
}

.compas-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.compas-primary,
.compas-secondary {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 13px 25px !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  font: 700 16px/1.2 Rubik, "Open Sans", Arial, sans-serif !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease !important;
}

.compas-primary {
  border: 1px solid var(--compas-purple) !important;
  background: var(--compas-purple) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(79, 99, 189, 0.24) !important;
}

.compas-primary:hover:not(:disabled) {
  background: var(--compas-purple-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 13px 27px rgba(79, 99, 189, 0.32) !important;
}

.compas-secondary {
  border: 1px solid #cbd1e6 !important;
  background: #fff !important;
  color: var(--compas-purple-dark) !important;
  box-shadow: none !important;
}

.compas-secondary:hover {
  background: var(--compas-purple-soft) !important;
}

.compas-primary:disabled {
  cursor: wait !important;
  opacity: 0.62 !important;
}

.compas-primary:focus-visible,
.compas-secondary:focus-visible,
.compas-modal__close:focus-visible,
.compas-options label:has(input:focus-visible) {
  outline: 3px solid rgba(26, 147, 111, 0.5) !important;
  outline-offset: 3px !important;
}

.compas-form small {
  display: block !important;
  margin: -3px 0 0 !important;
  color: #777b8d !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.compas-form small a {
  color: var(--compas-purple-dark) !important;
  text-decoration: underline !important;
}

.compas-form__error,
.compas-form-status {
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 1px solid #f0b9be !important;
  border-radius: 11px !important;
  background: #fff0f1 !important;
  color: var(--compas-danger) !important;
  font: 600 14px/1.4 Rubik, "Open Sans", Arial, sans-serif !important;
}

.compas-quiz__progress {
  width: calc(100% - 52px) !important;
  height: 7px !important;
  overflow: hidden !important;
  margin: 0 52px 28px 0 !important;
  border-radius: 99px !important;
  background: var(--compas-purple-soft) !important;
}

.compas-quiz__progress span {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, var(--compas-purple), #78bf9e) !important;
  transition: width 220ms ease !important;
}

.compas-quiz__intro ul {
  display: grid !important;
  gap: 11px !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  list-style: none !important;
}

.compas-quiz__intro li {
  position: relative !important;
  margin: 0 !important;
  padding: 13px 15px 13px 47px !important;
  border-radius: 13px !important;
  background: var(--compas-green-soft) !important;
  color: #1e5d4b !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.compas-quiz__intro li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 11px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--compas-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.compas-quiz__intro .compas-primary {
  width: 100% !important;
}

.compas-options {
  display: grid !important;
  gap: 11px !important;
  margin: 25px 0 !important;
}

.compas-options label {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  border: 1px solid var(--compas-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--compas-ink) !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease !important;
}

.compas-options label:hover {
  border-color: #aab5df !important;
  background: #f9faff !important;
  transform: translateX(2px) !important;
}

.compas-options label.is-selected {
  border-color: var(--compas-purple) !important;
  background: var(--compas-purple-soft) !important;
}

.compas-options input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.compas-radio {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  border: 2px solid #aab2cb !important;
  border-radius: 50% !important;
  background: #fff !important;
}

.compas-options label.is-selected .compas-radio {
  border-color: var(--compas-purple) !important;
}

.compas-options label.is-selected .compas-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--compas-purple);
}

.compas-quiz__actions {
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-end !important;
  margin-top: 22px !important;
}

.compas-quiz__actions .compas-secondary {
  min-width: 120px !important;
}

.compas-quiz__actions .compas-primary {
  min-width: 160px !important;
}

.compas-form--quiz {
  margin-top: 23px !important;
}

.compas-form--quiz .compas-quiz__actions {
  margin-top: 4px !important;
}

.compas-success {
  display: grid !important;
  justify-items: center !important;
  padding: 16px 0 4px !important;
  text-align: center !important;
}

.compas-success h2 {
  margin-right: 0 !important;
}

.compas-success p {
  max-width: 500px !important;
}

.compas-success__icon {
  display: grid !important;
  place-items: center !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 0 22px !important;
  border-radius: 50% !important;
  background: var(--compas-green-soft) !important;
  color: var(--compas-green) !important;
  font-size: 38px !important;
  font-weight: 700 !important;
}

.compas-success .compas-primary {
  min-width: 180px !important;
}

.compas-lightbox {
  grid-template-rows: minmax(0, 1fr) !important;
  cursor: zoom-out !important;
}

.compas-lightbox img {
  display: block !important;
  max-width: min(1200px, 92vw) !important;
  max-height: 90vh !important;
  border-radius: 12px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42) !important;
  object-fit: contain !important;
  cursor: default !important;
}

.compas-lightbox button {
  position: fixed !important;
  z-index: 1 !important;
  top: 18px !important;
  right: 22px !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #30334a !important;
  cursor: pointer !important;
  font: 400 34px/1 Arial, sans-serif !important;
}

[data-component="video"] iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

[data-accordion-item].compas-accordion-open [data-accordion-icon],
[data-accordion-item].compas-accordion-open [class*="icon_"] {
  transform: rotate(45deg) !important;
}

@keyframes compas-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes compas-card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .compas-modal {
    place-items: end center !important;
    padding: 0 !important;
  }

  .compas-modal__card {
    width: 100% !important;
    max-height: calc(100dvh - 12px) !important;
    padding: 38px 20px 24px !important;
    border-width: 1px 0 0 !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .compas-modal__card::before {
    border-radius: 24px 24px 0 0;
  }

  .compas-modal__close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .compas-modal__title,
  .compas-quiz h2,
  .compas-success h2 {
    margin-right: 34px !important;
    font-size: 27px !important;
  }

  .compas-modal__lead,
  .compas-quiz__intro > p,
  .compas-quiz__question > p,
  .compas-success p {
    margin-bottom: 20px !important;
    font-size: 15px !important;
  }

  .compas-quiz__progress {
    width: calc(100% - 42px) !important;
    margin-right: 42px !important;
    margin-bottom: 22px !important;
  }

  .compas-options {
    gap: 9px !important;
    margin: 19px 0 !important;
  }

  .compas-options label {
    min-height: 54px !important;
    padding: 11px 13px !important;
    font-size: 14px !important;
  }

  .compas-quiz__actions {
    display: grid !important;
    grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1.3fr) !important;
    gap: 9px !important;
  }

  .compas-quiz__actions .compas-primary,
  .compas-quiz__actions .compas-secondary {
    min-width: 0 !important;
    padding-inline: 13px !important;
  }

  .compas-lightbox {
    padding: 12px !important;
  }

}

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

  .compas-modal,
  .compas-modal__card {
    animation: none !important;
  }

  .compas-modal *,
  .compas-lightbox * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

[data-component="video"] {
  cursor: pointer;
}

[data-component="video"] iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  border: 0 !important;
  background: #111 !important;
}

/* Video testimonials use a regular grid; the source masonry offsets leave
   large empty columns once the original runtime is removed. */
[data-anchor="testimonials"] .bz-grid__inner:has([data-component="video"]) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: end !important;
}

[data-anchor="testimonials"] .bz-grid__inner:has([data-component="video"]) > .bz-grid__item {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

[data-anchor="testimonials"] [data-component="video"] {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

[data-anchor="testimonials"] [data-component="video"] .placeholder-wrapper_1Zc,
[data-anchor="testimonials"] [data-component="video"] .video-preview_1fU {
  width: 100% !important;
  height: 100% !important;
}

[data-anchor="testimonials"] [data-component="video"] > video,
[data-anchor="testimonials"] [data-component="video"] > iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: #111 !important;
}

[data-anchor="testimonials"] .compas-video-testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 34px !important;
  align-items: end !important;
}

[data-anchor="testimonials"] .compas-video-testimonials-grid > .bz-grid__item {
  display: block !important;
  grid-column: span 2;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

@media (min-width: 768px) {
  [data-anchor="testimonials"] .compas-video-testimonials-grid > .bz-grid__item:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  [data-anchor="testimonials"] .compas-video-testimonials-grid > .bz-grid__item:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }
}

[data-anchor="testimonials"] .compas-video-testimonials-grid .bz-grid__item-inner,
[data-anchor="testimonials"] .compas-video-testimonials-grid .bz-picture-wrapper {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex-basis: auto !important;
}

@media (max-width: 767px) {
  [data-anchor="testimonials"] .compas-video-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  [data-anchor="testimonials"] .compas-video-testimonials-grid > .bz-grid__item {
    grid-column: auto;
  }

  [data-anchor="testimonials"] .bz-grid__inner:has([data-component="video"]) {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Contact popups follow the original full-screen green branded treatment. */
.compas-modal {
  padding: 24px !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.compas-modal__card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(100%, 770px) !important;
  max-width: none !important;
  height: auto !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  padding: 60px 22px 60px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: #1a936f !important;
  background-image: url('/assets/res/670d08b57469e6d5ec517466/67111ffbbf4b6124f9739ba5_optimized_1920.webp') !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-blend-mode: normal !important;
  color: #fff !important;
  box-shadow: none !important;
}

.compas-modal__card::before,
.compas-modal__eyebrow {
  display: none !important;
}

.compas-modal__close {
  top: 16px !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #b9e5c9 !important;
  font-size: 31px !important;
}

.compas-modal__close:hover {
  background: transparent !important;
  color: #fff !important;
  transform: none !important;
}

.compas-modal__title,
.compas-quiz h2,
.compas-success h2 {
  width: min(100%, 760px) !important;
  margin: 0 auto 48px !important;
  color: #fff !important;
  font-size: clamp(32px, 5vw, 42px) !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

.compas-modal__lead,
.compas-quiz__intro > p,
.compas-quiz__question > p,
.compas-success p {
  width: min(100%, 760px) !important;
  margin: 0 auto 56px !important;
  color: #fff !important;
  font-size: clamp(18px, 2.4vw, 21px) !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.compas-form {
  width: min(100%, 485px) !important;
  gap: 24px !important;
  margin-inline: auto !important;
}

.compas-form label {
  gap: 11px !important;
  color: #111 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

.compas-form input:not(.compas-honey) {
  height: 52px !important;
  padding-inline: 40px !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
}

.compas-primary {
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #4b4b4b !important;
  box-shadow: none !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
}

.compas-primary:hover:not(:disabled) {
  background: #f1f1f1 !important;
  color: #222 !important;
  transform: none !important;
  box-shadow: none !important;
}

.compas-form small {
  color: #d9f2df !important;
}

.compas-form small a {
  color: #fff !important;
}

@media (max-width: 767px) {
  .compas-modal__card {
    padding: 64px 16px 28px !important;
  }

  .compas-modal__title {
    margin-bottom: 42px !important;
  }

  .compas-modal__lead {
    margin-bottom: 40px !important;
  }

  .compas-form label {
    font-size: 18px !important;
  }
}

/* ── Hero: flush left, JS aligns right edge with КОНСУЛЬТАЦІЯ ── */
@media (min-width: 768px) {
  [data-anchor="cover"] .bz-grid__item {
    justify-content: flex-start !important;
  }
}

/* ── Mobile: header, burger, logo, full-width buttons ── */
@media (max-width: 767px) {
  .compas-header-fixed {
    overflow: visible !important;
  }

  [data-anchor="header"] [class*="header__topper"] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 16px !important;
  }

  [data-anchor="header"] .bz-logo {
    display: flex !important;
    align-items: center !important;
  }

  [data-anchor="header"] .bz-logo__content {
    max-width: 210px !important;
  }

  [data-anchor="header"] .bz-logo__content > span {
    height: 90px !important;
  }

  [data-anchor="header"] .bz-logo__content img {
    max-width: 100% !important;
    height: 90px !important;
    width: auto !important;
  }

  [data-anchor="header"] .bz-burger {
    flex-shrink: 0 !important;
    margin-right: 0 !important;
  }

  #compas-page .bz-grid__item-inner > .bz-btns-group {
    padding-top: 40px !important;
    margin: 0 !important;
  }

  #compas-page .bz-btns-group {
    display: block !important;
    width: 100% !important;
  }

  #compas-page .bz-btns-group__inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #compas-page .bz-btns-group__item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 22px 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

}

/* ── Contact widget (left) ── */
.compas-contact-widget {
  position: fixed;
  left: 16px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.compas-contact-widget__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: compas-fade-up .25s ease-out;
}

@keyframes compas-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.compas-contact-widget__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .15s;
}

.compas-contact-widget__link:hover {
  transform: scale(1.12);
}

.compas-contact-widget__link svg {
  width: 24px;
  height: 24px;
}

.compas-contact-widget__link--tg { background: #229ED9; }
.compas-contact-widget__link--viber { background: #7360F2; }
.compas-contact-widget__link--wa { background: #25D366; }

.compas-contact-widget__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--compas-purple);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(106,127,219,.4);
  transition: transform .15s, background .15s;
}

.compas-contact-widget__toggle:hover {
  background: var(--compas-purple-dark);
  transform: scale(1.08);
}

.compas-contact-widget__toggle svg {
  width: 26px;
  height: 26px;
}

/* ── Scroll-to-top (right, above callback) ── */
.compas-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 86px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--compas-ink);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: transform .15s, opacity .25s, visibility .25s;
  opacity: 0;
  visibility: hidden;
}

.compas-scroll-top--visible {
  opacity: 1;
  visibility: visible;
}

.compas-scroll-top:hover {
  transform: scale(1.1);
}

.compas-scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ── Callback button (right) ── */
.compas-callback-btn {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--compas-green);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(26,147,111,.4);
  transition: transform .15s, background .15s;
  animation: compas-pulse 2s ease-in-out infinite;
}

.compas-callback-btn:hover {
  transform: scale(1.08);
  animation: none;
}

.compas-callback-btn svg {
  width: 26px;
  height: 26px;
}

@keyframes compas-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26,147,111,.5); }
  70% { box-shadow: 0 0 0 14px rgba(26,147,111,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,147,111,0); }
}

/* Соціальна відповідальність: не ламати довге слово в заголовку на мобілці */
#social { scroll-margin-top: 130px; }
#social .bz-hero-title { overflow-wrap: normal; word-break: normal; }
@media (max-width: 480px) {
  #social .bz-hero-title { font-size: 30px; }
}

/* Десктоп-меню в один ряд після додавання пункту «Соціальна місія» */
@media (min-width: 901px) {
  .bz-section--header .bz-nav li.bz-nav__item { margin-left: 9px; margin-right: 9px; }
  .bz-section--header .bz-nav a.bz-nav__link { font-size: 13px !important; }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .bz-section--header .bz-nav li.bz-nav__item { margin-left: 6px; margin-right: 6px; }
  .bz-section--header .bz-nav a.bz-nav__link { font-size: 12px !important; }
  .bz-section--header a.ui-button { padding-left: 18px !important; padding-right: 18px !important; white-space: nowrap !important; font-size: 13px !important; }
}

/* Останній крок квіза (контактна форма) — вміщується без вертикального скролу */
.compas-modal__card:has(.compas-form--quiz) {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.compas-modal__card:has(.compas-form--quiz) .compas-quiz__progress { margin-bottom: 16px !important; }
.compas-modal__card:has(.compas-form--quiz) h2 {
  font-size: clamp(24px, 3.4vh, 30px) !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
}
.compas-modal__card:has(.compas-form--quiz) .compas-quiz__question > p {
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;
}
.compas-modal__card:has(.compas-form--quiz) .compas-form { margin-top: 8px !important; }
.compas-form--quiz label { font-size: 14px !important; }
.compas-form--quiz input:not(.compas-honey) { padding-top: 11px !important; padding-bottom: 11px !important; }
.compas-form--quiz .compas-quiz__actions { margin-top: 10px !important; }
@media (max-width: 480px) {
  .compas-modal__card:has(.compas-form--quiz) { padding-top: 18px !important; padding-bottom: 18px !important; }
  .compas-modal__card:has(.compas-form--quiz) .compas-quiz__progress { margin-bottom: 10px !important; }
  .compas-modal__card:has(.compas-form--quiz) h2 { font-size: 22px !important; margin-bottom: 8px !important; }
  .compas-modal__card:has(.compas-form--quiz) .compas-quiz__question > p { font-size: 15px !important; line-height: 1.35 !important; margin-bottom: 10px !important; }
  .compas-form--quiz label { font-size: 13px !important; }
  .compas-form--quiz input:not(.compas-honey) { padding-top: 9px !important; padding-bottom: 9px !important; font-size: 15px !important; }
  .compas-form--quiz .compas-quiz__actions { margin-top: 8px !important; }
  .compas-form--quiz .compas-quiz__actions .compas-primary,
  .compas-form--quiz .compas-quiz__actions .compas-secondary { padding-top: 12px !important; padding-bottom: 12px !important; min-height: 0 !important; }
  .compas-form--quiz small { margin-top: 6px !important; }
  .compas-form--quiz { gap: 14px !important; }
  .compas-form--quiz label { gap: 6px !important; }
}

/* Ціни в картках тарифів (Слухач / Учасник) */
.compas-tariff-price {
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(26, 147, 111, 0.3) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}
