/* Кастомный футер — видеофон, 4 колонки (референс Cubitts) */
.rb-footer.rb-footer-custom {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 5.5rem;
  color: #fff;
  background: #000;
  border-top: none;
}

.rb-footer-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rb-footer-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-footer-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.rb-footer-custom .rb-container {
  position: relative;
  z-index: 1;
}

.rb-footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, 1.15fr);
  gap: 2.75rem 3rem;
  align-items: start;
}

.rb-footer-col {
  min-width: 0;
}

.rb-footer-copyright {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.rb-footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.rb-footer-logo-link img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.rb-footer-brand-note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 22ch;
}

.rb-footer-about {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38ch;
}

.rb-footer-contacts-title,
.rb-footer-nav-title {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.rb-footer-contacts-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Разделы — в 2 колонки, чтобы колонка не вытягивала футер вниз */
.rb-footer-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
}

.rb-footer-contacts-list a,
.rb-footer-nav-list a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.45;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.rb-footer-contacts-list a:hover,
.rb-footer-nav-list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-footer-statement {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 30ch;
}

.rb-footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.375rem;
  background: #186aff;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-bottom: 0.85rem;
}

.rb-footer-telegram:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.rb-footer-telegram-gif {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.rb-footer-cta-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-footer-cta-link:hover {
  color: #fff;
}

@media (max-width: 1199px) {
  .rb-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }
}

@media (max-width: 767px) {
  .rb-footer.rb-footer-custom {
    padding: 3.5rem 0 4rem;
  }

  .rb-footer-columns {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .rb-footer-nav-list {
    max-width: 320px;
  }

  .rb-footer-about,
  .rb-footer-statement,
  .rb-footer-brand-note {
    max-width: none;
  }
}
