
.footer {
  --white:  #F0F0F0;
  --yellow: #F8FF13;
  --grey:   #9E9E9E;
  --dark:   #020307;

  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  font-family: 'Euclid Circular A', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer__panel {
  position: relative;
  flex: none;
  width: 1440px;
  height: 800px;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(240, 240, 240, 0.08);
}

.footer__bg {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 800px;
  pointer-events: none;
}
.footer__bg--main  { z-index: 0; }
.footer__bg--light { z-index: 1; }
.footer__bg--dots  { z-index: 2; }

.footer__phone {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 800px;
  pointer-events: none;
  z-index: 3;
}

.footer__bg-mobile,
.footer__phone-mobile {
  display: none;
}

.footer__content {
  position: absolute;
  left: 87px;
  top: 50%;
  transform: translateY(-50%);
  width: 528px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 5;
}

.footer__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer__logo {
  width: 120px;
  height: auto;
}

.footer__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__title {
  margin: 0;
  font-weight: 600;
  font-size: 72px;
  line-height: 76px;
  letter-spacing: -5.3px;
  color: var(--white);
}
.footer__title b { font-weight: 600; color: var(--yellow); }
.footer__subtitle {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.18px;
  color: var(--grey);
  font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 441px;
}

  @media (max-width: 767px) {

    .footer__panel {
      width: 100%;
      max-width: 375px;
      min-height: 812px;
      margin: 0 auto;
      border-radius: 32px;
      border: none;
    }

    .footer__bg { display: none; }
    .footer__phone { display: none; }

    .footer__bg-mobile,
    .footer__phone-mobile {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      pointer-events: none;
    }
    .footer__bg-mobile--main  { z-index: 0; }
    .footer__bg-mobile--light { z-index: 1; }
    .footer__bg-mobile--dots  { z-index: 2; }
    .footer__phone-mobile     { z-index: 3; }

    .footer__content {
      left: 50%;
      top: 48px;
      transform: translateX(-50%);
      width: 343px;
      max-width: calc(100% - 32px);
      gap: 32px;
      z-index: 4;
    }
    .footer__text { align-items: center; }

    .footer__logo {
      width: 108px;
      height: 108px;
    }

    .footer__head {
      align-items: center;
      gap: 12px;
      text-align: center;
    }
    .footer__title-break { display: none; }
    .footer__title {
      width: 100%;
      min-height: 36px;
      font-size: 36px;
      line-height: 36px;
      letter-spacing: -3px;
    }
    .footer__subtitle br { display: none; }
    .footer__subtitle {
      width: 100%;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: -0.16px;
    }

    .footer__cta {
      width: 343px;
      max-width: 100%;
    }
  }
