/* Contact CTA Block — стили под rab2 (тёмная тема, rb-section) */
.rb-section.contact-cta-section {
  padding: 4rem 0;
  background: #0d0d0d;
}

.contact-cta-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3rem 3.5rem;
  border-radius: 24px;
  background: #1a1a1a;
  border: 1px solid rgba(99, 91, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.contact-cta-content {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta-content .contact-cta-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-cta-content .contact-cta-title .rb-accent {
  color: #635bff;
}

.contact-cta-content .contact-cta-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  background: #2d9cdb;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 156, 219, 0.4);
  align-self: flex-start;
  width: auto;
}

.contact-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 156, 219, 0.5);
  color: #fff;
}

.contact-cta-btn .btn-cta-gif {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.contact-cta-visual {
  flex: 1 1 45%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 220px;
}

.contact-cta-visual img {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 991px) {
  .contact-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }

  .contact-cta-content .contact-cta-btn {
    align-self: center;
  }

  .contact-cta-content .contact-cta-title {
    font-size: 1.75rem;
  }

  .contact-cta-visual {
    order: -1;
    justify-content: center;
    width: 100%;
  }

  .contact-cta-visual img {
    max-width: 280px;
  }
}

@media (max-width: 767px) {
  .rb-section.contact-cta-section {
    padding: 2.5rem 0;
  }

  .contact-cta-card {
    padding: 2rem 1.5rem;
  }

  .contact-cta-content .contact-cta-title {
    font-size: 1.5rem;
  }

  .contact-cta-visual img {
    max-width: 240px;
  }
}
