:root {
  --bb-page-bg: #fdf7f0;
  --bb-text-color: #5c5c5d;

  --bb-menu-bg: rgba(255, 255, 255, 0.86);
  --bb-menu-border-color: rgba(28, 28, 28, 0.08);

  --bb-btn-primary-bg: #f69e40;
  --bb-btn-primary-bg-hover: #ed654a;
  --bb-btn-primary-text: #ffffff;

  --bb-btn-bg: rgba(255, 255, 255, 0.6);
  --bb-btn-bg-hover: rgba(255, 255, 255, 0.9);
  --bb-btn-border-color: rgba(28, 28, 28, 0.12);
  --bb-btn-border-color-hover: rgba(28, 28, 28, 0.22);

  --bb-home-left-bg-opacity: 0.8;
  --bb-home-hero-card-bg: rgba(255, 255, 255, 0.72);
  --bb-home-hero-slide-bg: #f5f5f5;
  --bb-home-hero-dot-bg: rgba(28, 28, 28, 0.14);
  --bb-home-hero-dot-bg-active: rgba(28, 28, 28, 0.42);

  --bb-home-logo-max-width: 360px;

  --bb-radius: 18px;
  --bb-font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bb-font-family);
  color: var(--bb-text-color);
  background: var(--bb-page-bg);
}

html.bb-no-scroll,
body.bb-no-scroll {
  overflow: hidden;
}

.bb-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 22px;
}

.bb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0.72);
}

.bb-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: var(--bb-radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 26px 26px 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.bb-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(28, 28, 28, 0.06);
  color: var(--bb-text-color);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bb-modal__close:hover {
  background: rgba(28, 28, 28, 0.10);
}

.bb-modal__title {
  margin: 0;
  padding-right: 44px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.bb-modal__text {
  margin: 12px 0 0;
  color: rgba(92, 92, 93, 0.86);
  line-height: 1.55;
}

.bb-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.bb-header {
  position: relative;
}

.bb-mnav {
  display: none;
}

.bb-mnav__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: 58px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  background: #2c2c2c;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
}

.bb-mnav__toggle {
  width: 58px;
  height: 58px;
  border: 0;
  background: transparent;
  color: #ffffff;
}

.bb-mnav__toggle-icon {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  position: relative;
}

.bb-mnav__toggle-icon::before,
.bb-mnav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

.bb-mnav__toggle-icon::before {
  top: -7px;
}

.bb-mnav__toggle-icon::after {
  top: 7px;
}

.bb-mnav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bb-mnav__logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.bb-mnav__spacer {
  width: 58px;
  height: 58px;
}

.bb-mnav__overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: #2c2c2c;
  color: #ffffff;
}

.bb-mnav__overlay-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  padding: calc(72px + env(safe-area-inset-top, 0px)) 18px 26px;
}

.bb-mnav__close {
  position: absolute;
  top: calc(8px + env(safe-area-inset-top, 0px));
  left: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.bb-mnav__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
}

.bb-mnav__meta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.bb-mnav__meta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bb-mnav__links {
  display: grid;
  align-content: start;
  justify-items: center;
}

.bb-mnav__link {
  width: min(420px, 92vw);
  padding: 18px 12px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.bb-mnav__link:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.bb-header__top {
  background: #fdf7f0;
  color: var(--bb-text-color);
}

.bb-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  padding: 4px 0px;
}

.bb-header__top-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bb-text-color);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.bb-header__top-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.bb-header__top-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bb-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  text-decoration: none;
}

.bb-header__social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bb-header__nav {
  position: relative;
}

.bb-header__nav-inner {
  background: #336086;
}

.bb-header__nav-inner.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.bb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 14px 0 10px;
}

.bb-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.bb-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.bb-nav__link:hover::after,
.bb-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.bb-nav__link:focus-visible {
  outline: none;
}

#bb-snow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 900;
  opacity: 0.9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bb-home {
  background: var(--bb-page-bg);
}

.bb-home__top {
  padding: 28px 0 18px;
}

.bb-home__left {
  position: relative;
  border-radius: var(--bb-radius);
  overflow: hidden;
  min-height: 380px;
  padding: 22px;
  background: var(--bb-page-bg);
}

.bb-home__left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/home_bg_1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: var(--bb-home-left-bg-opacity);
  pointer-events: none;
}

.bb-home__left-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.bb-home__left-row {
  border-radius: calc(var(--bb-radius) - 6px);
  background: transparent;
}

.bb-home__left-row--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  padding-top: 50px;
}

.bb-home__logo {
  width: 70%;
  max-width: var(--bb-home-logo-max-width);
}

.bb-home__left-row--headline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  padding-top: 50px;
}

.bb-home__headline {
  text-align: center;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.12;
}

.bb-home__left-row--info {
  padding: 10px 48px 8px;
}

.bb-home__info {
  display: grid;
  gap: 16px;
}

.bb-home__info-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
}

.bb-home__info-icon {
  width: 54px;
  height: auto;
  object-fit: contain;
}

.bb-home__info-text {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  color: rgba(92, 92, 93, 0.9);
}

.bb-home__info-text strong {
  font-weight: 700;
}

.bb-home__subheadline {
  margin-top: 12px;
  max-width: 40ch;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.92;
  line-height: 1.12;
}

.bb-home__right {
  height: 100%;
  border-radius: var(--bb-radius);
  overflow: hidden;
  background: var(--bb-home-hero-card-bg);
  padding: 16px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
}

.bb-home__hero {
  height: 100%;
  border-radius: var(--bb-radius);
  background: var(--bb-home-hero-card-bg);
  padding: 16px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
}

.bb-home__hero-viewport {
  border-radius: calc(var(--bb-radius) - 6px);
  overflow: hidden;
  background: var(--bb-home-hero-slide-bg);
  aspect-ratio: 4 / 3;
}

.bb-home__hero-track {
  height: 100%;
  display: flex;
  transition: transform 350ms ease;
  will-change: transform;
}

.bb-home__hero-slide {
  flex: 0 0 100%;
  height: 100%;
}

.bb-home__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-home__hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2px 0;
}

.bb-home__hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--bb-radius);
  border: 0;
  padding: 0;
  background: var(--bb-home-hero-dot-bg);
}

.bb-home__hero-dot.is-active {
  background: var(--bb-home-hero-dot-bg-active);
}

.bb-about {
  --bb-about-icon-size: 56px;
  padding: 56px 0;
  background: var(--bb-page-bg);
}

.bb-about__panel {
  height: 100%;
  border-radius: var(--bb-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
}

.bb-about__title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
}

.bb-about__subtitle {
  margin-top: 10px;
  color: rgba(92, 92, 93, 0.75);
  font-size: 14px;
  line-height: 1.4;
}

.bb-about__grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.bb-about__item {
  display: grid;
  grid-template-columns: var(--bb-about-icon-size, 46px) 1fr;
  gap: 18px;
  align-items: start;
}

.bb-about__icon {
  width: var(--bb-about-icon-size, 46px);
  height: var(--bb-about-icon-size, 46px);
  object-fit: contain;
}

.bb-about__item-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
}

.bb-about__item-text {
  margin-top: 4px;
  color: rgba(92, 92, 93, 0.75);
  font-size: 14px;
  line-height: 1.4;
}

.bb-about__text p {
  margin: 12px 0 0;
  color: rgba(92, 92, 93, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.bb-about__text p:first-child {
  margin-top: 14px;
}

.bb-programs {
  padding: 56px 0;
  background: var(--bb-page-bg);
}

.bb-programs__panel {
  height: 100%;
  border-radius: var(--bb-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
}

.bb-programs__title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
}

.bb-programs__bullets {
  margin-top: 20px;
  display: grid;
  gap: 22px;
}

.bb-programs__bullet-head {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.bb-programs__bullet-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bb-btn-primary-bg);
  line-height: 1;
}

.bb-programs__bullet-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
}

.bb-programs__bullet-text p {
  margin: 10px 0 0;
  color: rgba(92, 92, 93, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.bb-programs__lead {
  margin-top: 14px;
  color: rgba(92, 92, 93, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.bb-programs__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bb-programs__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(92, 92, 93, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.bb-programs__li-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bb-btn-primary-bg);
  line-height: 1;
}

.bb-programs__closing {
  margin-top: 18px;
  font-weight: 600;
  color: rgba(92, 92, 93, 0.92);
  font-size: 14px;
  line-height: 1.6;
}

.bb-gallery {
  padding: 56px 0;
  background: var(--bb-page-bg);
}

.bb-gallery__hero {
  padding: 20px;
}

.bb-gallery__hero .bb-home__hero-viewport {
  aspect-ratio: 16 / 10;
}

.bb-gallery__panel {
  height: 100%;
  border-radius: var(--bb-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
  display: flex;
  align-items: center;
}

.bb-gallery__text {
  color: rgba(92, 92, 93, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.bb-faq {
  padding: 56px 0;
  background: var(--bb-page-bg);
}

.bb-faq__panel {
  border-radius: var(--bb-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
}

.bb-faq__title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
}

.bb-faq__subtitle {
  margin-top: 10px;
  color: rgba(92, 92, 93, 0.75);
  font-size: 14px;
  line-height: 1.5;
}

.bb-faq__items {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.bb-faq__item {
  border: 1px solid rgba(28, 28, 28, 0.10);
  border-radius: calc(var(--bb-radius) - 6px);
  background: rgba(255, 255, 255, 0.55);
  padding: 12px 14px;
}

.bb-faq__question {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}

.bb-faq__question::-webkit-details-marker {
  display: none;
}

.bb-faq__answer p {
  margin: 10px 0 0;
  color: rgba(92, 92, 93, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.bb-faq__item[open] {
  background: rgba(255, 255, 255, 0.75);
}

.bb-contact {
  padding: 56px 0 70px;
  background: var(--bb-page-bg);
}

.bb-contact__panel {
  border-radius: var(--bb-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 34px 32px;
}

.bb-contact__title {
  margin: 0;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.12;
}

.bb-contact__subtitle {
  margin: 12px 0 0;
  color: rgba(92, 92, 93, 0.75);
  font-size: 16px;
  line-height: 1.5;
}

.bb-contact__form {
  margin-top: 22px;
}

.bb-contact__row {
  margin-top: 14px;
}

.bb-contact__row input,
.bb-contact__row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(28, 28, 28, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--bb-text-color);
}

.bb-contact__row textarea {
  resize: vertical;
}

.bb-contact__row input:focus,
.bb-contact__row textarea:focus {
  outline: none;
  border-color: rgba(246, 158, 64, 0.75);
  box-shadow: 0 0 0 3px rgba(246, 158, 64, 0.25);
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}

.bb-btn-primary {
  margin-top: 18px;
  background: var(--bb-btn-primary-bg);
  color: var(--bb-btn-primary-text);
  min-width: 180px;
}

.bb-btn-primary:hover {
  background: var(--bb-btn-primary-bg-hover);
}

.bb-footer {
  background: #2c2c2c;
  color: rgba(255, 255, 255, 0.92);
}

.bb-footer__top {
  padding: 44px 0 36px;
}

.bb-footer__title {
  margin: 0 0 18px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.bb-footer__items {
  display: grid;
  gap: 14px;
}

.bb-footer__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}

.bb-footer__item:hover {
  color: #ffffff;
}

.bb-footer__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-top: 2px;
}

.bb-footer__links {
  display: grid;
  gap: 10px;
}

.bb-footer__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13px;
}

.bb-footer__link:hover {
  color: #ffffff;
}

.bb-footer__social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.bb-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.bb-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.10);
}

.bb-footer__social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bb-footer__bottom {
  padding: 22px 0 28px;
}

.bb-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bb-footer__logo {
  width: 64px;
  height: auto;
  object-fit: contain;
}

.bb-footer__year {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
  body {
    padding-top: 58px;
  }

  .bb-mnav {
    display: block;
  }

  .bb-header__top,
  .bb-header__nav {
    display: none;
  }

  .bb-home__left,
  .bb-home__right {
    min-height: unset;
  }

  .bb-home__hero-viewport {
    aspect-ratio: 16 / 10;
  }

  .bb-home__left-row--logo {
    padding-top: 26px;
  }

  .bb-home__left-row--headline {
    padding-top: 22px;
  }

  .bb-home__left-row--info {
    padding-left: 28px;
    padding-right: 28px;
  }

  .bb-footer__top {
    padding: 38px 0 30px;
  }
}

@media (min-width: 576px) {
  .bb-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 34px;
  }
}
