/* Job CTA */

.j-cta {
  container-type: inline-size;
  container-name: j-cta;
}

.j-cta__wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-4xl);
  align-items: start;
}

.j-cta__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.j-cta__title {
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--text-title);
  margin: 0;
}

.j-cta__title em {
  font-style: normal;
  font-weight: 500;
}

.j-cta__description {
  font-size: var(--text-ml);
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.j-cta__checklist {
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-m);
  padding: var(--space-xl);
}

.j-cta__checklist-title {
  font-size: var(--text-m);
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 var(--space-m);
}

.j-cta__checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-s);
}

.j-cta__checklist-list li {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: var(--text-s);
  color: var(--text-body);
}

.j-cta__checklist-list .lucide,
.j-cta__checklist-list svg {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}

.j-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
}

/* Contact Card */
.j-cta__contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-m);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--space-2xl) + 80px);
}

.j-cta__contact-header {
  margin-bottom: var(--space-l);
  padding-bottom: var(--space-m);
  border-bottom: 1px solid var(--border-primary);
}

.j-cta__contact-label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}

.j-cta__contact-person {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  margin-bottom: var(--space-l);
}

.j-cta__contact-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-10);
  border-radius: var(--radius-full);
}

.j-cta__contact-avatar .lucide,
.j-cta__contact-avatar svg {
  width: 2.8rem;
  height: 2.8rem;
  color: var(--primary);
}

.j-cta__contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.j-cta__contact-name {
  font-size: var(--text-m);
  font-weight: 600;
  color: var(--text-title);
}

.j-cta__contact-role {
  font-size: var(--text-s);
  color: var(--text-muted);
}

.j-cta__contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  margin-bottom: var(--space-l);
}

.j-cta__contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: var(--text-s);
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.3s ease;
}

.j-cta__contact-link:hover {
  color: var(--primary);
}

.j-cta__contact-link .lucide,
.j-cta__contact-link svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--primary);
}

.j-cta__contact-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  padding-top: var(--space-m);
  border-top: 1px solid var(--border-primary);
}

/* Tablet Large */
@container j-cta (max-width: 968px) {
  .j-cta__wrapper {
    grid-template-columns: 1fr 320px;
    gap: var(--space-3xl);
  }
}

/* Tablet */
@container j-cta (max-width: 768px) {
  .j-cta__wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .j-cta__title {
    font-size: var(--text-xl);
  }

  .j-cta__contact-card {
    position: relative;
    top: 0;
  }
}

/* Mobile Large */
@container j-cta (max-width: 640px) {
  .j-cta__description {
    font-size: var(--text-m);
  }

  .j-cta__checklist {
    padding: var(--space-l);
  }

  .j-cta__checklist-list {
    grid-template-columns: 1fr;
  }

  .j-cta__actions {
    flex-direction: column;
  }

  .j-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@container j-cta (max-width: 480px) {
  .j-cta__contact-card {
    padding: var(--space-m);
  }

  .j-cta__contact-avatar {
    width: 48px;
    height: 48px;
  }

  .j-cta__contact-avatar .lucide,
  .j-cta__contact-avatar svg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .j-cta__contact-name {
    font-size: var(--text-s);
  }

  .j-cta__contact-role {
    font-size: var(--text-xs);
  }
}
