.buttonBlock {
  padding: 112px 0; /* match figma: section large padding */
}

.buttonBlock--dark {
  background-color: #1c327c;
  color: #ffffff;
}

.buttonBlock--light {
  background-color: #3a53a8;
  color: #ffffff;
}

.buttonBlock__container {
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.buttonBlock__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.buttonBlock__title {
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: currentColor;
}

.buttonBlock__text {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: currentColor;
  max-width: 770px;
}

.buttonBlock__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.buttonBlock__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: transform 0.15s ease, opacity 0.15s ease,
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Figma: on dark background, white button with black text and white border */
.buttonBlock--dark .buttonBlock__button {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}
.buttonBlock--dark .buttonBlock__button:hover {
  transform: translateY(-1px);
  opacity: 0.5;
}

/* On light background, invert for contrast: deep blue button with white text */
.buttonBlock--light .buttonBlock__button {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}
.buttonBlock--light .buttonBlock__button:hover {
  transform: translateY(-1px);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .buttonBlock {
    padding: 50px 0;
  }
  .buttonBlock__title {
    font-size: 36px;
  }
  .buttonBlock__text {
    font-size: 16px;
  }
}

/* Optional responsive line break helpers for buttonBlock text */
br.buttonBlock__br--md-up {
  display: none;
}
@media (min-width: 769px) {
  br.buttonBlock__br--md-up {
    display: inline;
  }
}
br.buttonBlock__br--sm-only {
  display: inline;
}
@media (min-width: 769px) {
  br.buttonBlock__br--sm-only {
    display: none;
  }
}
