.wta-site-cta,
.wta-site-promo {
  box-sizing: border-box;
  direction: rtl;
  font-family: inherit;
}

.wta-site-cta *,
.wta-site-promo * {
  box-sizing: border-box;
}

.wta-site-cta {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 760px);
  padding: 13px 14px;
  border: 1px solid rgba(34, 158, 217, 0.22);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.075), rgba(255, 255, 255, 0.96));
  box-shadow: 0 8px 24px rgba(20, 46, 78, 0.07);
}

.wta-site-cta__icon,
.wta-site-promo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #229ed9;
  color: #fff;
  flex: 0 0 auto;
}

.wta-site-cta__icon svg,
.wta-site-promo__icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.wta-site-cta__copy {
  display: block;
  min-width: 0;
}

.wta-site-cta__copy strong {
  display: block;
  margin: 0 0 3px;
  color: var(--ink, #172033);
  font-size: 15px;
  line-height: 1.5;
}

.wta-site-cta__copy > span {
  display: block;
  color: var(--muted, #667085);
  font-size: 13px;
  line-height: 1.6;
}

.wta-site-cta__button,
.wta-site-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: #229ed9;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(34, 158, 217, 0.20);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.wta-site-cta__button:hover,
.wta-site-promo__button:hover {
  background: #1689c2;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(34, 158, 217, 0.25);
}

.wta-site-cta__button:focus-visible,
.wta-site-promo__button:focus-visible,
.wta-site-promo__close:focus-visible {
  outline: 3px solid rgba(34, 158, 217, .28);
  outline-offset: 3px;
}

.wta-site-promo[hidden] {
  display: none !important;
}

.wta-site-promo {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(460px, calc(100vw - 36px));
  padding: 15px 16px 15px 44px;
  border: 1px solid rgba(20, 46, 78, .12);
  border-radius: 17px;
  background: rgba(255, 255, 255, .98);
  color: #172033;
  box-shadow: 0 18px 55px rgba(20, 46, 78, .20);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .24s ease, transform .24s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wta-site-promo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wta-site-promo__content {
  min-width: 0;
}

.wta-site-promo__content strong {
  display: block;
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.45;
}

.wta-site-promo__content span {
  display: block;
  color: #667085;
  font-size: 12.5px;
  line-height: 1.55;
}

.wta-site-promo__close {
  position: absolute;
  top: 7px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7a8494;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.wta-site-promo__close:hover {
  background: #f2f4f7;
  color: #344054;
}

@media (max-width: 700px) {
  .wta-site-cta {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .wta-site-cta__icon {
    width: 40px;
    height: 40px;
  }

  .wta-site-cta__copy strong {
    font-size: 14px;
  }

  .wta-site-cta__copy > span {
    font-size: 12.5px;
  }

  .wta-site-cta__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .wta-site-promo {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 14px 13px 42px;
    border-radius: 15px;
  }

  .wta-site-promo__icon {
    width: 40px;
    height: 40px;
  }

  .wta-site-promo__button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wta-site-cta__button,
  .wta-site-promo,
  .wta-site-promo__button {
    transition: none;
  }
}

/* 1.3.9: contextual Telegram card follows the site's page background and is centered. */
.wta-site-cta-zone {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 0 0;
  background: #f7f9fc;
}

.wta-site-cta-zone .wta-site-cta {
  margin-inline: auto;
}

/* The company section inherits the theme's large .section spacing; tighten it only when
   the Telegram card sits directly above it so the page reads as one continuous block. */
.company-hero + .wta-site-cta-zone + .company-jobs {
  padding-top: 20px;
}

@media (max-width: 700px) {
  .wta-site-cta-zone {
    padding-top: 14px;
  }

  .company-hero + .wta-site-cta-zone + .company-jobs {
    padding-top: 14px;
  }
}
