/*
 * Hero right panel: the Jobs & Opportunities logo sits on a dark stage
 * (matching the black logo background) with a warm spotlight, and the
 * WhatsApp action floats at the bottom on a gradient scrim.
 */
.jobs-widget {
  --jobs-whatsapp: #25d366;
  --jobs-whatsapp-hover: #20bd5a;
  --jobs-scrim: 0, 0, 0;

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Pure black so the logo's own black square blends in seamlessly */
  background: #000;
}

/* Subtle dotted texture so the dark stage isn't flat */
.jobs-widget__visual {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  /* Fade the dots out behind the logo area so its square stays invisible */
  -webkit-mask-image: radial-gradient(
    70% 55% at 50% 42%,
    transparent 0%,
    transparent 45%,
    #000 75%
  );
  mask-image: radial-gradient(
    70% 55% at 50% 42%,
    transparent 0%,
    transparent 45%,
    #000 75%
  );
  pointer-events: none;
}

.jobs-widget__logo {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 300px);
  height: auto;
  object-fit: contain;
}

.jobs-widget__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 5rem 1.5rem 1.625rem;
  background: linear-gradient(
    to top,
    rgba(var(--jobs-scrim), 0.95) 0%,
    rgba(var(--jobs-scrim), 0.85) 30%,
    rgba(var(--jobs-scrim), 0.5) 60%,
    rgba(var(--jobs-scrim), 0.15) 85%,
    rgba(var(--jobs-scrim), 0) 100%
  );
}

.jobs-widget__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: min(280px, 100%);
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.jobs-widget__btn:hover {
  transform: translateY(-2px);
}

.jobs-widget__btn:active {
  transform: translateY(0);
}

.jobs-widget__btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.jobs-widget__btn--whatsapp {
  background: var(--jobs-whatsapp);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.jobs-widget__btn--whatsapp:hover {
  background: var(--jobs-whatsapp-hover);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

@media (max-width: 767px) {
  .jobs-widget {
    height: 380px;
  }
}
