:root {
  --home-radius-sm: 14px;
  --home-radius: 22px;
  --home-radius-lg: 30px;
  --home-pill: 999px;
  --jas-wide-content-max: 1805px;
}

body.home-landing-body,
body.candidate-body,
body.companies-directory-body {
  --jas-panel-accent: #a1bfda;
  --jas-footer-background: #102a40;
}

body.home-landing-body {
  background: #ffffff;
  color: #123154;
  font-family: "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
}

body.home-landing-body::before {
  display: none;
}

.home-landing-body .sr-only,
.home-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--home-radius-sm);
  background: #ffffff;
  color: #123154;
  box-shadow: 0 12px 30px rgba(18, 49, 84, 0.2);
}

.home-hero {
  position: relative;
  min-height: 930px;
  padding: 2rem 1.5rem 13rem;
  overflow: hidden;
  background: #f2f2f2 url('/assets/img/fotogramas%20hero%20index/desktop-1920/frame_0018.webp') center / cover no-repeat;
}

.home-hero-scroll {
  position: relative;
  background: #f2f2f2;
}

.home-hero-scroll.is-sequence-enabled {
  height: 220svh;
  min-height: 1540px;
}

.home-hero-scroll.is-sequence-enabled .home-hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
}

.home-hero-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.home-hero-scroll.is-sequence-ready .home-hero-canvas {
  opacity: 1;
}

.home-hero-scroll.is-sequence-enabled .home-floating-header {
  translate: 0 var(--hero-sequence-scroll-offset, 0px);
  will-change: translate;
}

@media (min-width: 1800px) {
  .home-hero {
    background-position: center 18%;
  }
}

.home-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(4, 28, 48, 0.48) 0%, rgba(4, 28, 48, 0.28) 38%, rgba(4, 28, 48, 0.06) 72%),
    linear-gradient(180deg, rgba(4, 28, 48, 0.12) 0%, transparent 48%, rgba(4, 28, 48, 0.3) 100%);
  pointer-events: none;
}

.home-floating-header,
.home-hero-inner,
.home-scroll-cue {
  position: relative;
  z-index: 2;
}

.home-floating-header {
  z-index: 10000;
  overflow: visible;
}

body .home-floating-header.is-scroll-detached {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  width: min(calc(100% - 3rem), 1520px);
  margin: 0;
  transform: translateX(-50%);
  translate: 0 calc(-100% - 3rem);
  visibility: hidden;
  transition: translate 220ms ease, visibility 220ms;
  animation: none;
  z-index: 11000;
}
body .home-floating-header.is-scroll-detached.is-scroll-visible {
  translate: 0 0;
  visibility: visible;
}
@media (max-width: 640px) {
  body .home-floating-header.is-scroll-detached { width: calc(100% - 1.5rem); top: max(.75rem, env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) {
  body .home-floating-header.is-scroll-detached { transition: none; }
}

.home-header-actions {
  position: relative;
  z-index: 10001;
}

.home-floating-header {
  display: flex;
  width: min(100%, 1520px);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(18, 49, 84, 0.18);
  backdrop-filter: blur(18px);
  animation: homeHeaderDrop 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes homeHeaderDrop {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-logo {
  display: inline-flex;
  align-items: center;
}

.home-logo img {
  width: 172px;
  height: auto;
  display: block;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.home-icon-action,
.home-tool-button,
.home-send-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: #1f63b1;
}

.home-icon-action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2f7;
  text-decoration: none;
}

.home-header-actions .locale-switcher__toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: #eef2f7;
  color: #1f63b1;
  box-shadow: none;
}

.home-header-actions .locale-switcher__toggle:hover,
.home-header-actions .locale-switcher__toggle[aria-expanded='true'] {
  background: #e0e9f4;
}

.home-icon-action:hover,
.home-tool-button:hover {
  background: #e0e9f4;
}

.home-auth-action.is-authenticated {
  background: #1f63b1;
  color: #ffffff;
}

.home-auth-action span {
  font-weight: 900;
  line-height: 1;
}

.home-icon-action svg,
.home-header-actions .locale-switcher__toggle svg,
.home-tool-button svg,
.home-send-button svg,
.home-scroll-cue svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero-inner {
  width: min(100%, 1520px);
  margin: 1.6rem auto 0;
}

.home-hero-copy {
  max-width: 1120px;
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(8, 22, 34, 0.35);
  animation: homeHeroCopyIn 680ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

@keyframes homeHeroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero-copy h1 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-hero-copy h1 span {
  display: inline;
}

.home-hero-copy p {
  max-width: 760px;
  margin: 1.15rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.48rem;
  font-weight: 550;
  line-height: 1.2;
  text-wrap: pretty;
}

.home-hero-copy p span {
  display: inline;
}

.home-agent {
  width: 100%;
}

.home-agent-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 760px);
  min-height: 64px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem 0.5rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--home-pill);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 49, 84, 0.22);
  backdrop-filter: blur(16px);
  animation: homeAgentBarIn 680ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

@keyframes homeAgentBarIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-agent-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #123154;
  font-size: 1.02rem;
  font-weight: 600;
}

.home-agent-bar input::placeholder {
  color: #8f897c;
}

.home-agent-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.38rem;
}

.home-tool-button,
.home-send-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.home-send-button {
  background: #b53a7f;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(181, 58, 127, 0.32);
}

.home-send-button:hover {
  background: #9f2d6d;
}

.home-agent-quick {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  justify-content: center;
  gap: 0.35rem;
  margin-inline: auto;
  margin-top: clamp(20rem, 30vh, 30rem);
  padding: 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--home-pill);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 34px rgba(8, 22, 34, 0.18);
  backdrop-filter: blur(16px);
}

.home-agent-quick a,
.home-agent-thread-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 1.45rem;
  border: 1px solid rgba(31, 99, 177, 0.18);
  border-radius: var(--home-pill);
  background: #eef2f7;
  color: #1f63b1;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 49, 84, 0.1);
}

.home-agent-quick a:hover,
.home-agent-thread-actions button:hover {
  border-color: #1f63b1;
  background: #e0e9f4;
  text-decoration: none;
}

.home-agent-quick a {
  min-width: 148px;
  min-height: 54px;
  padding: 0.78rem 1.65rem;
  font-size: 1.12rem;
  background: rgba(255, 255, 255, 0.92);
}

.home-agent-expanded {
  display: grid;
  grid-template-columns: minmax(520px, 760px) minmax(520px, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 1.55rem 0 0.75rem;
}

.home-agent-expanded[data-has-preview="false"] {
  grid-template-columns: minmax(0, 760px);
  width: min(100%, 760px);
}

.home-agent-expanded[hidden] {
  display: none;
}

.home-agent-preview[hidden] {
  display: none;
}

.home-agent-chat,
.home-agent-preview {
  height: clamp(500px, 48vh, 560px);
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--home-radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(18, 49, 84, 0.18);
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-color: var(--jas-panel-accent, #c6bdad) transparent;
  scrollbar-width: thin;
}

.home-agent-chat::-webkit-scrollbar,
.home-agent-preview::-webkit-scrollbar {
  width: 8px;
}

.home-agent-chat::-webkit-scrollbar-track,
.home-agent-preview::-webkit-scrollbar-track {
  background: transparent;
}

.home-agent-chat::-webkit-scrollbar-thumb,
.home-agent-preview::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--jas-panel-accent, #c6bdad);
}

.home-agent-chat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem;
}

.home-agent-thread {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.home-agent-message {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.home-agent-message-user {
  justify-content: flex-end;
}

.home-agent-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #eef2f7;
  color: #1f63b1;
}

.home-agent-avatar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-agent-copy {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
}

.home-agent-copy:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.home-agent-copy svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-agent-bubble {
  display: flex;
  position: relative;
  max-width: 84%;
  margin: 0;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.95rem 1.08rem;
  border-radius: 18px;
  font-weight: 750;
  line-height: 1.42;
}

.home-agent-bubble-text {
  min-width: 0;
}

.home-agent-bubble-user {
  align-self: flex-end;
  background: #6f89ae;
  color: #ffffff;
  border-top-right-radius: 8px;
}

.home-agent-bubble-assistant {
  align-self: flex-start;
  background: #2f56ad;
  color: #ffffff;
  border-top-left-radius: 8px;
}

.home-agent-thinking {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 18px;
  background: #eef5fb;
  color: #385f7f;
  font-size: 0.92rem;
}

.home-agent-thinking[hidden] {
  display: none;
}

.home-agent-thinking span {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(31, 99, 177, 0.18);
  border-top-color: #1f63b1;
  border-radius: 50%;
  animation: homeAgentSpin 800ms linear infinite;
}

.home-agent-thinking em {
  font-style: normal;
}

@keyframes homeAgentSpin {
  to {
    transform: rotate(360deg);
  }
}

.home-agent-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.home-agent-preview {
  position: relative;
  padding: 1.75rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.home-agent-resize-handle {
  display: none;
  position: sticky;
  z-index: 5;
  right: 0;
  bottom: 0;
  width: 54px;
  height: 24px;
  margin: -0.65rem 0 0 auto;
  place-items: center;
  border: 1px solid rgba(31, 99, 177, 0.16);
  border-radius: 999px 999px 10px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f63b1;
  cursor: ns-resize;
  box-shadow: 0 10px 24px rgba(18, 49, 84, 0.16);
}

.home-agent-resize-handle::before {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
  content: "";
  opacity: 0.7;
}

.home-agent-resize-handle:hover {
  border-color: rgba(31, 99, 177, 0.36);
  background: #ffffff;
}

.home-agent-resize-handle:focus-visible {
  outline: 3px solid rgba(31, 99, 177, 0.28);
  outline-offset: 3px;
}

.home-agent-resize-handle.is-resizing {
  background: #ffffff;
  color: #b53a7f;
}

body.is-agent-resizing {
  cursor: ns-resize;
  user-select: none;
}

.home-agent-preview-card {
  min-height: 100%;
  padding: 1.75rem;
  border: 1px solid #dce6ee;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(31, 99, 177, 0.2) 0 28%, rgba(255, 255, 255, 0) 28%),
    #f7fbfe;
}

.preview-document-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.preview-avatar {
  display: block;
  width: 92px;
  aspect-ratio: 1;
  border: 8px solid #ffffff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 34%, #f2cab5 0 18%, transparent 19%),
    radial-gradient(circle at 50% 72%, #28466f 0 32%, transparent 33%),
    #d9eef2;
  box-shadow: 0 10px 22px rgba(18, 49, 84, 0.12);
}

.preview-kicker {
  margin: 0 0 0.35rem;
  color: #5a788e;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-agent-preview h2 {
  margin: 0;
  color: #26364d;
  font-family: "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.home-agent-preview p {
  margin: 0.7rem 0 0;
  color: #445b70;
}

.preview-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.preview-document-grid div {
  min-height: 86px;
  padding: 0.9rem;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.preview-document-grid span {
  display: block;
  color: #6f8598;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-document-grid strong {
  display: block;
  margin-top: 0.35rem;
  color: #123154;
  line-height: 1.2;
}

.preview-selectable-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.preview-selectable-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.3rem 0.85rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #123154;
  text-align: left;
  cursor: pointer;
}

.preview-selectable-item:hover {
  border-color: rgba(31, 99, 177, 0.55);
  background: #ffffff;
}

.preview-selectable-item span {
  grid-row: 1 / span 2;
  color: #6f89ae;
  font-size: 1rem;
  font-weight: 850;
}

.preview-selectable-item strong {
  color: #1f63b1;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.preview-selectable-item em {
  color: #385f7f;
  font-style: normal;
  line-height: 1.25;
}

.home-scroll-cue {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 1.1rem auto 0;
  color: #ffffff;
  filter: drop-shadow(0 6px 12px rgba(8, 22, 34, 0.32));
  animation: homeScrollCueBounce 1800ms ease-in-out 900ms infinite;
}

@keyframes homeScrollCueBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.home-hero.home-agent-active .home-scroll-cue {
  margin-top: 1rem;
}

.home-hero.home-agent-active .home-agent-quick {
  margin-top: 1.15rem;
}

@media (min-width: 861px) {
  .home-hero.home-agent-active .home-agent {
    --home-agent-active-stack-height: clamp(500px, 48vh, 560px);
    --home-agent-active-input-height: 68px;
    --home-agent-active-stack-gap: 0.85rem;
    display: grid;
    grid-template-columns: minmax(520px, 760px) minmax(520px, 1fr);
    gap: var(--home-agent-active-stack-gap) 2rem;
    align-items: start;
  }

  .home-hero.home-agent-active .home-agent-expanded {
    display: contents;
  }

  .home-hero.home-agent-active .home-agent-chat {
    grid-column: 1;
    grid-row: 1;
    height: calc(var(--home-agent-active-stack-height) - var(--home-agent-active-input-height) - var(--home-agent-active-stack-gap));
    min-height: 0;
  }

  .home-hero.home-agent-active .home-agent-preview {
    grid-column: 2;
    grid-row: 1 / 3;
    height: var(--home-agent-active-stack-height);
    min-height: 0;
  }

  .home-hero.home-agent-active .home-agent-resize-handle {
    display: grid;
  }

  .home-hero.home-agent-active .home-agent-bar {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-height: var(--home-agent-active-input-height);
  }

  .home-hero.home-agent-active .home-agent-quick {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 1rem;
  }
}

.home-scroll-cue svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.4;
}

.home-job-board-section {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: clamp(2rem, 3vw, 3.5rem) 1.5rem 1.4rem;
  background: #f2f2f2;
}

.home-job-board {
  width: min(100%, 1520px);
  margin: 0 auto;
}

.home-job-board-split {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 0.9fr) minmax(260px, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

@media (min-width: 1920px) {
  .home-job-board {
    width: min(100%, var(--jas-wide-content-max));
    max-width: var(--jas-wide-content-max);
  }

  .home-job-board-split {
    grid-template-columns: minmax(320px, 520px) minmax(360px, 720px) minmax(320px, 520px);
    justify-content: center;
  }
}

@media (max-width: 1600px) {
  .home-job-board-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-board-panel:first-of-type {
    order: 1;
  }

  .home-board-photo {
    order: 2;
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .home-board-panel:last-of-type {
    order: 3;
  }
}

.home-job-column {
  display: grid;
  gap: 0.85rem;
}

.home-board-column-cta {
  display: inline-flex;
  min-width: 144px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(31, 99, 177, 0.18);
  border-radius: var(--home-pill);
  background: #eef2f7;
  color: #1f63b1;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 49, 84, 0.12);
}

.home-board-column-cta:hover {
  border-color: #1f63b1;
  background: #e0e9f4;
  text-decoration: none;
}

.home-mini-job {
  position: relative;
}

.home-mini-job[data-job-card] {
  cursor: pointer;
}

.home-mini-job__body {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.85rem;
  min-height: 142px;
  align-items: start;
  padding: 1.05rem 2.65rem 1.05rem 1.05rem;
  border: 1px solid #dce6ee;
  border-radius: 18px;
  background: #f2f2f2;
  color: #1f63b1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(18, 49, 84, 0.06);
}

.home-mini-job:hover .home-mini-job__body {
  border-color: rgba(31, 99, 177, 0.5);
  background: #eef5fb;
  box-shadow: 0 14px 30px rgba(18, 49, 84, 0.1);
}

.mini-job-favorite {
  position: absolute;
  top: 0.74rem;
  right: 0.72rem;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #1f63b1;
  cursor: pointer;
}

.mini-job-favorite:hover {
  background: #e4ecfb;
  color: #b53a7f;
}

.mini-job-favorite svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-job-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #1f63b1;
}

.mini-job-icon-link {
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mini-job-icon-link:hover,
.mini-job-icon-link:focus-visible {
  background: #e4ecfb;
  color: #153b70;
  text-decoration: none;
  transform: translateY(-1px);
}

.mini-job-icon-link:focus-visible {
  outline: 3px solid rgba(31, 99, 177, 0.3);
  outline-offset: 3px;
}

.mini-job-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-job-main {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
}

.mini-job-company {
  color: #64758a;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.mini-job-title {
  color: #153b70;
  text-decoration: none;
}

.mini-job-title:hover {
  color: #1f63b1;
  text-decoration: none;
}

.mini-job-main strong {
  color: #153b70;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.18;
}

.mini-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem 0.8rem;
  color: #385f7f;
}

.mini-job-meta>span {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  color: #385f7f;
  font-size: 0.78rem;
  line-height: 1.25;
}

.mini-job-meta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-job-chips {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.28rem;
  overflow: visible;
}

.mini-job-footer {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.home-job-empty {
  display: grid;
  min-height: 142px;
  place-items: center;
  margin: 0;
  padding: 1.1rem;
  border: 1px dashed rgba(31, 99, 177, 0.24);
  border-radius: 18px;
  background: #f8fafc;
  color: #66758a;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.mini-job-detail.jas-btn.jas-btn-small {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 0.48rem;
  color: #1f63b1;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.mini-job-detail.jas-btn.jas-btn-small:hover {
  color: #123154;
  text-decoration: none;
}

.mini-job-chip {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 0.48rem;
  border-radius: var(--home-pill);
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.mini-job-chip-contract {
  background: #6f89ae;
  color: #ffffff;
}

.mini-job-chip-featured {
  background: #1f63b1;
  color: #ffffff;
}

.mini-job-chip-priority {
  background: #b53a7f;
  color: #ffffff;
}

.mini-job-chip-category {
  background: #e5ecf6;
  color: #31517e;
}

.mini-job-chip-candidate {
  background: #496f9e;
  color: #ffffff;
}

.home-board-photo {
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.home-board-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-section {
  padding: 3.8rem 1.5rem;
  background: #f2f2f2;
}

.home-section-inner {
  width: min(100%, 1520px);
  max-width: 1520px;
  margin: 0 auto;
}

@media (min-width: 1920px) {
  .home-section-inner {
    width: min(100%, var(--jas-wide-content-max));
    max-width: var(--jas-wide-content-max);
  }
}

.home-showcase-panel,
.home-board-panel {
  overflow: hidden;
  border: 1px solid var(--jas-panel-accent, #c6bdad);
  border-radius: var(--home-radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 49, 84, 0.08);
}

.home-companies--embedded {
  width: min(100%, 1520px);
  margin: 1.8rem auto 0;
  padding: 0;
}

.home-companies--embedded .home-section-inner {
  width: 100%;
  max-width: none;
}

.home-showcase-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--jas-panel-accent, #c6bdad);
  color: #ffffff;
}

.home-board-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--jas-panel-accent, #c6bdad);
  color: #ffffff;
}

.home-board-header h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.08;
  text-align: center;
}

.home-showcase-body {
  padding: 2.2rem 1.5rem;
  background: #ffffff;
}

.home-board-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.4rem;
}

.home-board-header {
  margin: -1.4rem -1.4rem 0;
}

.home-companies h2,
.home-demanded h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: #ffffff;
  font-family: "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.08;
  text-align: left;
}

.home-companies .home-showcase-header {
  justify-content: space-between;
  gap: 1rem;
}

.home-companies .home-showcase-header h2 {
  min-width: 0;
}

.home-companies-toggle {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #1f63b1;
  background: #ffffff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(18, 49, 84, 0.12);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.home-companies-toggle:hover {
  color: #b53a7f;
  background: #f7f9fc;
  box-shadow: 0 10px 22px rgba(18, 49, 84, 0.16);
}

.home-companies-toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.home-companies-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-company-carousel[hidden],
.home-company-grid[hidden] {
  display: none;
}

.home-company-grid {
  display: grid;
  max-height: min(640px, 65vh);
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 1.4rem 1.5rem;
  overflow-y: auto;
  padding: 0.1rem 0.65rem 0.55rem 0.1rem;
  overscroll-behavior: contain;
  scrollbar-color: rgba(31, 99, 177, 0.48) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.home-company-grid::-webkit-scrollbar {
  width: 9px;
}

.home-company-grid::-webkit-scrollbar-thumb {
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: rgba(31, 99, 177, 0.48);
}

.home-company-grid::-webkit-scrollbar-track {
  background: transparent;
}

.home-company-grid .home-company-card {
  min-width: 0;
}

.home-carousel-viewport {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.home-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.home-carousel-viewport.is-dragging a {
  pointer-events: none;
}

.home-carousel-viewport.is-dragging .home-carousel-track {
  transition: none;
}

.home-carousel-track {
  display: flex;
  width: max-content;
  gap: var(--home-carousel-gap, 1.4rem);
  transform: translate3d(0, 0, 0);
  transition: transform 580ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

  .home-hero-scroll.is-sequence-enabled {
    height: auto;
    min-height: 0;
  }

  .home-hero-scroll.is-sequence-enabled .home-hero {
    position: relative;
    height: auto;
    min-height: 930px;
  }

  .home-floating-header,
  .home-hero-copy,
  .home-agent-bar,
  .home-scroll-cue,
  .home-carousel-track {
    animation: none;
    transition: none;
  }

  .home-carousel-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.home-company-track .home-company-card {
  flex: 0 0 var(--home-company-card-width, 196px);
}

.home-company-track {
  --home-carousel-gap: 3.5rem;
}

.home-company-card a {
  display: grid;
  height: 272px;
  align-content: start;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(18, 49, 84, 0.08);
  border-radius: 20px;
  background: #f0f1f1;
  color: #1f63b1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(18, 49, 84, 0.07);
}

.home-company-card a:hover {
  background: #e5edf4;
  box-shadow: 0 16px 34px rgba(18, 49, 84, 0.11);
}

.home-company-logo {
  display: grid;
  width: min(112px, 100%);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 0.48rem;
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(18, 49, 84, 0.1);
}

.home-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-company-logo span {
  color: #1f63b1;
  font-size: 2rem;
  font-weight: 900;
}

.home-company-logo img[hidden]+.home-company-logo-fallback {
  display: grid;
}

.home-company-card strong {
  display: -webkit-box;
  min-height: 3.45em;
  overflow: hidden;
  color: #1f63b1;
  font-size: 1.05rem;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-company-zone {
  display: inline-flex;
  min-height: 2.4em;
  max-width: 100%;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  overflow: hidden;
  color: #385f7f;
  font-size: 0.9rem;
  line-height: 1.2;
}

.home-company-zone svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 0.06rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-company-zone span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-demanded {
  padding-top: 1.4rem;
  padding-bottom: 4.8rem;
}

.home-demanded-track {
  --home-carousel-gap: 3rem;
}

.home-demanded-track .home-demanded-item {
  flex: 0 0 var(--home-demanded-item-width, 130px);
}

.home-demanded-item {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  color: #1f63b1;
  text-align: center;
  text-decoration: none;
}

.home-demanded-item:hover {
  color: #b53a7f;
}

.home-demanded-icon {
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  color: currentColor;
}

.home-demanded-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-demanded-item strong {
  max-width: 180px;
  color: currentColor;
  font-size: 1.12rem;
  line-height: 1.05;
}

.home-human-banner {
  overflow: hidden;
  background: #a6ddec;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.home-human-banner img {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 520px;
  object-fit: cover;
  object-position: center bottom;
}

@media (min-width: 1800px) {
  .home-human-banner img {
    height: clamp(560px, 18vw, 720px);
    max-height: none;
    object-position: center top;
  }
}

.home-footer {
  padding: 3rem 1.5rem 3.4rem;
  background: var(--jas-footer-background, #c6bdad);
  color: #ffffff;
}

.home-footer-inner {
  width: min(100%, 1520px);
  margin: 0 auto;
}

:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg, #102a40c9, #102a4040),
    linear-gradient(125deg, #102a40, #264860 62%, #497081);
}

:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer::before,
:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(740px, 70vw, 1600px);
  height: 420px;
  right: -200px;
  bottom: -310px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: rotate(-13deg);
  pointer-events: none;
}

:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer::after {
  width: calc(clamp(740px, 70vw, 1600px) + 56px);
  height: 476px;
  right: -228px;
  bottom: -338px;
  border-color: rgba(255, 255, 255, 0.13);
}

.home-footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2.6rem;
}

.home-footer-logo img {
  width: 210px;
  height: auto;
}

.home-footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-bottom: 0;
}

.home-footer-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #ffffff;
}

.home-footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

.home-footer-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

.home-footer-columns nav {
  display: grid;
  align-content: start;
  gap: 0.32rem;
}

.home-footer h2 {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-family: "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.65rem;
  font-weight: 850;
}

.home-footer a {
  color: #ffffff;
  text-decoration: none;
}

.home-footer a:hover {
  text-decoration: underline;
}

.home-footer-social a:hover {
  text-decoration: none;
}

.home-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .home-hero {
    min-height: 820px;
  }

  .home-hero-copy h1 {
    font-size: 3rem;
  }

  .home-hero-copy p {
    font-size: 1.35rem;
  }
}

@media (max-width: 860px) {
  .home-hero-scroll.is-sequence-enabled {
    height: 190svh;
    min-height: 1080px;
  }

  .home-hero {
    min-height: auto;
    padding: 1rem 1rem 1.2rem;
    overflow: hidden;
    background: #f2f2f2;
  }

  .home-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 auto;
    height: min(820px, 86vh);
    background: url('/assets/img/fotogramas%20hero%20index/mobile-1280/frame_0018.webp') center / cover no-repeat;
  }

  .home-hero-scroll.is-sequence-enabled .home-hero {
    height: 100svh;
    min-height: 0;
  }

  .home-hero-scroll.is-sequence-enabled .home-hero::before {
    height: 100%;
  }

  .home-floating-header {
    min-height: 60px;
    padding: 0.6rem 0.75rem;
  }

  .home-logo img {
    width: 142px;
  }

  .home-icon-action {
    width: 40px;
    height: 40px;
  }

  .home-hero-inner {
    margin-top: 1.4rem;
  }

  .home-hero-copy h1 {
    font-size: 2.24rem;
    line-height: 0.98;
    white-space: normal;
  }

  .home-hero-copy h1 span {
    display: block;
  }

  .home-hero-copy p {
    max-width: 23rem;
    margin-top: 0.8rem;
    font-size: 1.08rem;
    text-wrap: pretty;
  }

  .home-hero-copy p span {
    display: block;
  }

  .home-agent {
    margin-top: clamp(12rem, 30vh, 20rem);
  }

  .home-agent-bar {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem;
    min-height: 60px;
    padding: 0.45rem 0.5rem 0.45rem 1rem;
  }

  .home-agent-bar input {
    min-height: 38px;
    padding: 0;
  }

  .home-agent-tools {
    justify-content: flex-end;
  }

  .home-agent-quick {
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.5rem;
    border-color: rgba(31, 99, 177, 0.18);
    background: #ffffff;
    backdrop-filter: none;
  }

  .home-agent-quick a {
    min-height: 48px;
    padding: 0.68rem 1.4rem;
    font-size: 1.05rem;
    background: #ffffff;
  }

  .home-agent-expanded {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .home-agent-chat,
  .home-agent-preview {
    height: auto;
    min-height: 0;
    max-height: 520px;
  }

  .home-agent-preview {
    order: 1;
  }

  .home-agent-chat {
    order: 2;
    min-height: 420px;
  }

  .home-agent-expanded[data-has-preview="false"] .home-agent-chat {
    order: 1;
  }

  .preview-document-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-scroll-cue {
    margin-top: 1.2rem;
    color: #1f63b1;
    filter: none;
  }

  .home-job-board-section {
    margin-top: 0;
    padding: 1rem 1rem 1.4rem;
    background: #f2f2f2;
  }

  .home-companies h2,
  .home-demanded h2 {
    justify-content: flex-start;
    gap: 0.55rem;
    font-size: clamp(1.05rem, 5vw, 1.28rem);
    text-align: left;
    text-wrap: balance;
  }

  .home-job-board-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .home-board-panel {
    padding: 1rem;
  }

  .home-board-photo {
    order: 2;
    grid-column: auto;
    min-height: 260px;
    border-radius: var(--home-radius);
  }

  .home-board-panel:first-of-type {
    order: 1;
  }

  .home-board-panel:last-of-type {
    order: 3;
  }

  .home-board-panel .home-mini-job:nth-of-type(n + 3) {
    display: none;
  }

  .home-board-header {
    min-height: 68px;
    margin: -1rem -1rem 0;
    padding: 0.9rem 1rem;
  }

  .home-board-header h2 {
    font-size: clamp(1.05rem, 5vw, 1.55rem);
    text-align: center;
    text-wrap: balance;
  }

  .home-carousel-track {
    gap: 1.65rem;
  }

  .home-company-track .home-company-card {
    flex-basis: min(320px, calc(100vw - 5rem));
  }

  .home-demanded-track .home-demanded-item {
    flex-basis: 124px;
  }

  .home-demanded {
    padding-bottom: 3.8rem;
  }

  .home-showcase-header {
    min-height: 68px;
    padding: 0.9rem 1rem;
  }

  .home-companies .home-showcase-header {
    align-items: center;
    gap: 0.6rem;
  }

  .home-companies-toggle {
    min-height: 36px;
    gap: 0.3rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.74rem;
  }

  .home-companies-toggle svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .home-showcase-body {
    padding: 1.15rem;
  }

  .home-company-grid {
    max-height: min(600px, 62vh);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-company-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .home-floating-header {
    gap: 0.5rem;
  }

  .home-logo img {
    width: 132px;
  }

  .home-header-actions {
    gap: 0.4rem;
  }

  .home-icon-action {
    width: 36px;
    height: 36px;
  }

  .home-hero-copy h1 {
    font-size: 2.08rem;
  }

  .home-hero-copy p {
    max-width: 18.5rem;
    font-size: 1rem;
  }

  .home-agent {
    margin-top: clamp(11rem, 28vh, 18rem);
  }

  .home-tool-button,
  .home-send-button {
    width: 40px;
    height: 40px;
  }

  .home-agent-tools {
    gap: 0.25rem;
  }

  .home-agent-quick {
    gap: 0.25rem;
    padding: 0.32rem;
  }

  .home-agent-quick a {
    min-height: 46px;
    padding: 0.62rem 1.18rem;
  }

  .home-agent-bubble {
    max-width: 100%;
  }

  .preview-document-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-agent-preview h2 {
    font-size: 1.8rem;
  }

  .home-board-header {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    margin: -1rem -1rem 0;
    padding: 0.85rem 1rem;
  }

  .home-board-header h2 {
    font-size: 1.25rem;
    line-height: 1.05;
    text-align: center;
    text-wrap: balance;
  }

  .home-board-photo {
    border-radius: var(--home-radius);
  }

  .mini-job-chips {
    flex-wrap: wrap;
  }

  .home-footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-company-track .home-company-card {
    flex-basis: min(320px, calc(100vw - 3.5rem));
  }

  .home-demanded-track .home-demanded-item {
    flex-basis: 118px;
  }

  .home-company-card a {
    height: 276px;
  }

  .home-companies .home-showcase-header {
    gap: 0.6rem;
  }

  .home-companies-toggle {
    min-height: 36px;
    gap: 0.3rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.74rem;
  }

  .home-companies-toggle svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .home-company-grid {
    max-height: min(560px, 64vh);
    gap: 0.85rem;
    padding-right: 0.45rem;
  }

  .home-demanded-icon {
    width: 96px;
    height: 96px;
  }
}

/* Shared hero motion study. Scoped to the three existing frame sequences.
   The JS supplies one eased timeline; transforms never change document flow. */
/* Keep the same mobile cue even before frames load or the agent expands.
   Only sequence mode animates it; reduced motion retains a static ring. */
@media (max-width: 860px) {
  [data-hero-scroll-sequence] :is(.home-scroll-cue, .candidate-scroll-cue, .companies-scroll-cue) {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(18, 49, 84, 0.18);
    animation: none;
  }

  [data-hero-scroll-sequence] :is(.home-scroll-cue, .candidate-scroll-cue, .companies-scroll-cue)::before {
    content: "";
    position: absolute;
    inset: -3px;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(#ffffff calc(var(--hero-sequence-progress, 0) * 1turn), rgba(255, 255, 255, 0.25) 0);
    mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
    pointer-events: none;
  }

  [data-hero-scroll-sequence] :is(.home-scroll-cue, .candidate-scroll-cue, .companies-scroll-cue) svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-hero-scroll-sequence].is-sequence-enabled {
    --hero-motion-distance: 1;
  }

  [data-hero-scroll-sequence].is-sequence-enabled [data-hero-scroll-sticky] {
    border-radius: 0;
  }

  [data-hero-scroll-sequence].is-sequence-enabled [data-hero-scroll-canvas] {
    scale: calc(1.045 - var(--hero-motion-ease, 0) * 0.035);
    transform-origin: 50% 58%;
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-hero-copy, .candidate-hero-copy, .companies-hero__copy) {
    translate: calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * 18px) calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * -72px - var(--hero-copy-departure, 0) * 110svh);
    visibility: var(--hero-copy-visibility, visible);
    scale: calc(1 - var(--hero-motion-ease, 0) * 0.035);
    transform-origin: left top;
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-hero-copy, .candidate-hero-copy, .companies-hero__copy) p {
    translate: 0 calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * -8px);
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-agent-bar, .candidate-agent-bar) {
    translate: calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * 24px - var(--hero-bar-departure, 0) * 110vw) calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * -48px);
    visibility: var(--hero-bar-visibility, visible);
    scale: calc(1 - var(--hero-motion-ease, 0) * 0.015);
    transform-origin: left center;
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-agent-quick, .candidate-hero-pills, .companies-hero__actions) {
    translate: 0 calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * -64px + var(--hero-actions-departure, 0) * 110svh);
    visibility: var(--hero-actions-visibility, visible);
    scale: calc(1 - var(--hero-motion-ease, 0) * 0.025);
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-scroll-cue, .candidate-scroll-cue, .companies-scroll-cue) {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(18, 49, 84, 0.18);
    animation: none;
    translate: 0 calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * -52px + var(--hero-cue-departure, 0) * 110svh);
    visibility: var(--hero-cue-visibility, visible);
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-scroll-cue, .candidate-scroll-cue, .companies-scroll-cue)::before {
    content: "";
    position: absolute;
    inset: -3px;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(#ffffff calc(var(--hero-sequence-progress, 0) * 1turn), rgba(255, 255, 255, 0.25) 0);
    mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
    pointer-events: none;
  }

  [data-hero-scroll-sequence].is-sequence-enabled :is(.home-scroll-cue, .candidate-scroll-cue, .companies-scroll-cue) svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
  }

  [data-hero-scroll-sequence] :is(.home-agent-quick, .candidate-hero-pills, .companies-hero__actions) a {
    transition: translate 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  }

  [data-hero-scroll-sequence] :is(.home-agent-quick, .candidate-hero-pills, .companies-hero__actions) a:hover {
    translate: 0 -3px;
    box-shadow: 0 8px 20px rgba(18, 49, 84, 0.12);
  }

  [data-hero-scroll-sequence].is-agent-active :is(.home-agent-chat, .candidate-agent-chat) {
    animation: heroWorkspaceIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  [data-hero-scroll-sequence].is-agent-active :is(.home-agent-preview, .candidate-agent-preview) {
    animation: heroWorkspaceIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both;
  }

  @keyframes heroWorkspaceIn {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  @media (max-width: 860px) {
    [data-hero-scroll-sequence].is-sequence-enabled {
      --hero-motion-distance: 0.45;
    }

    [data-hero-scroll-sequence].is-sequence-enabled [data-hero-scroll-sticky] {
      border-radius: 0;
    }

    [data-hero-scroll-sequence].is-sequence-enabled :is(.home-agent-bar, .candidate-agent-bar) {
      translate: calc(var(--hero-bar-departure, 0) * -110vw) calc(var(--hero-motion-ease, 0) * -20px);
      scale: 1;
    }

    [data-hero-scroll-sequence].is-sequence-enabled :is(.home-agent-quick, .candidate-hero-pills, .companies-hero__actions) {
      translate: calc(var(--hero-actions-departure, 0) * 110vw) calc(var(--hero-motion-ease, 0) * var(--hero-motion-distance) * -64px);
    }
  }
}

@media (max-width: 860px) {
  .hero-title-line {
    display: block;
  }
}

/* Typography shared with the company profile: Manrope and restrained weights. */
body:is(.home-landing-body, .candidate-body, .companies-directory-body) {
  font-family: var(--jas-font, "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif);
  font-weight: 400;
}
body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(h1, h2, h3, h4, button, input, select, textarea) {
  font-family: inherit;
}
body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(#page-title, #candidate-page-title, #companies-page-title) {
  font-weight: 650;
  letter-spacing: -0.035em;
}
body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(h2, h3, h4):not(.company-profile-dialog *) {
  font-weight: 600;
  letter-spacing: -0.025em;
}
body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(button, .jas-btn, .home-agent-quick a, .candidate-hero-pill, .companies-hero__pill, .home-company-name, .home-demanded-item, .mini-job-title) {
  font-weight: 600;
}
body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(.home-hero-copy, .candidate-hero-copy, .companies-hero__copy) > p {
  font-weight: 400;
}

:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer-bottom {
  border-top: 0;
}

/* Every top-level content container uses the same title token and header
   metrics. Keeping this rule late in the shared sheet makes it win over the
   page-specific legacy selectors that style candidate/company summaries. */
body:is(.home-landing-body, .candidate-body, .companies-directory-body) {
  --jas-section-title-size: clamp(1.25rem, 1.8vw, 1.8rem);
  --jas-section-title-weight: 600;
  --jas-section-title-line-height: 1.08;
}

body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(
  .home-board-header .jas-section-title,
  .home-showcase-header .jas-section-title,
  .candidate-public-summary .jas-section-title,
  .companies-accordion__summary .jas-section-title
) {
  min-width: 0;
  margin: 0;
  color: #ffffff;
  font-family: var(--jas-font, "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif);
  font-size: var(--jas-section-title-size);
  font-weight: var(--jas-section-title-weight);
  letter-spacing: -0.025em;
  line-height: var(--jas-section-title-line-height);
  white-space: nowrap;
}

body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(
  .home-board-header,
  .home-showcase-header,
  .candidate-public-summary,
  .companies-accordion__summary
) {
  min-height: 76px;
  padding: 1rem 1.5rem;
}

body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(
  .home-showcase-header .jas-section-title,
  .candidate-public-summary .jas-section-title,
  .companies-accordion__summary .jas-section-title
) {
  flex: 1 1 auto;
}

@media (max-width: 860px) {
  body:is(.home-landing-body, .candidate-body, .companies-directory-body) {
    --jas-section-title-size: clamp(1rem, 4.5vw, 1.16rem);
    --jas-section-title-line-height: 1;
  }

  body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(
    .home-board-header,
    .home-showcase-header,
    .candidate-public-summary,
    .companies-accordion__summary
  ) {
    min-height: 64px;
    padding: 0.85rem 1rem;
  }

  body:is(.home-landing-body, .candidate-body, .companies-directory-body) :is(
    .home-board-header .jas-section-title,
    .home-showcase-header .jas-section-title,
    .candidate-public-summary .jas-section-title,
    .companies-accordion__summary .jas-section-title
  ) {
    white-space: nowrap;
  }

  body.companies-directory-body .home-companies--embedded {
    margin-top: 1rem;
  }
}

@media (min-width: 1920px) {
  body.companies-directory-body .home-companies--embedded {
    width: min(100%, var(--jas-wide-content-max, 1805px));
  }
}

@media (max-width: 380px) {
  body:is(.home-landing-body, .candidate-body, .companies-directory-body) {
    --jas-section-title-size: 1rem;
  }

  body:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-companies-toggle {
    min-height: 32px;
    gap: 0.25rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.68rem;
  }

  body:is(.home-landing-body, .candidate-body, .companies-directory-body) .home-companies-toggle svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }
}

html.home-listing-dialog-open body:is(.home-landing-body, .candidate-body, .companies-directory-body) {
  overflow: hidden;
}
@media (min-width: 861px) {
  :is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer::before {
    bottom: -250px;
  }
  :is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer::after {
    bottom: -278px;
  }
}
@media (max-width: 860px) {
  :is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer-bottom {
    justify-content: flex-end;
  }
  :is(.home-landing-body, .candidate-body, .companies-directory-body) .home-footer-social {
    justify-content: flex-end;
    margin-left: auto;
  }
}
