/* =============================================================
   EMPLEO — estilos adicionales
   Hereda variables, reset, botones, nav, footer de ../styles.css
   ============================================================= */

/* ── Botones de compartir ─────────────────────────────────── */
.job-detail__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .875rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: .75rem 0 1.25rem;
}

.share-label {
  font-size: .8125rem;
  color: var(--ink-mute);
  margin-right: .25rem;
  white-space: nowrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 500;
  padding: .375rem .875rem;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  transition: background .15s, border-color .15s, color .15s;
}

.share-btn:hover                 { background: var(--bg-2); border-color: var(--ink-soft); }
.share-btn--wa                   { color: #128c7e; border-color: #128c7e22; }
.share-btn--wa:hover             { background: #128c7e12; border-color: #128c7e; }
.share-btn--li                   { color: #0077b5; border-color: #0077b522; }
.share-btn--li:hover             { background: #0077b512; border-color: #0077b5; }
.share-btn--tw                   { color: var(--ink); }
.share-btn--copy.is-copied       { color: var(--ink-mute); }

/* ── Cargando ofertas ─────────────────────────────────────── */
.jobs-loading {
  padding: 2rem 1.5rem;
  font-size: .9375rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ── Hero empleo ──────────────────────────────────────────── */
.empleo-hero {
  background: var(--bg-dark);
  color: var(--paper);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Foto de fondo */
.empleo-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero-empleo.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Overlay degradado — texto legible sobre la foto */
.empleo-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17,17,16,.88) 0%,
    rgba(17,17,16,.72) 50%,
    rgba(17,17,16,.35) 100%
  );
}

.empleo-hero > * { position: relative; z-index: 1; }
.empleo-hero__bg { position: absolute; inset: 0; z-index: 0; }

.empleo-hero__badge {
  display: inline-block;
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}

.empleo-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--paper);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.empleo-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.65);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ── Buscador ─────────────────────────────────────────────── */
.search-box {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: .5rem;
  display: flex;
  gap: .5rem;
  max-width: 780px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.search-box__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .875rem;
}

.search-box__field svg { flex-shrink: 0; color: var(--ink-mute); }

.search-box__input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: .9375rem;
  color: var(--ink);
  background: transparent;
  line-height: 1.5;
}

.search-box__input::placeholder { color: var(--ink-mute); }

.search-box__divider {
  width: 1px;
  background: var(--line);
  margin: .4rem 0;
  flex-shrink: 0;
}

.search-box__submit {
  flex-shrink: 0;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 6px;
  padding: .75rem 1.5rem;
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease-out), transform .18s var(--ease-out);
}

.search-box__submit:hover,
.search-box__submit:focus-visible {
  background: var(--bg-dark-2);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .search-box {
    flex-direction: column;
  }
  .search-box__divider { width: auto; height: 1px; margin: 0 .4rem; }
  .search-box__submit { border-radius: var(--radius-md); padding: .875rem; }
}

/* ── Layout principal ─────────────────────────────────────── */
.empleo-main {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.empleo-main__inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Barra de chips (sticky) ──────────────────────────────── */
.filter-chips-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: .75rem var(--gutter);
}

.filter-chips {
  display: flex;
  gap: .5rem;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip-wrap { position: relative; flex-shrink: 0; }

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}

.filter-chip:hover { border-color: var(--ink-soft); }

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.filter-chip.is-active svg { stroke: var(--paper); }

.filter-chip--clear {
  border-color: transparent;
  color: var(--ink-mute);
  background: none;
}
.filter-chip--clear:hover { color: var(--ink); border-color: var(--line); }
.filter-chip--clear[hidden] { display: none; }

.chip-drop {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  min-width: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(17,17,16,.12);
  z-index: 60;
  list-style: none;
  padding: .375rem 0;
  margin: 0;
}
.chip-drop[hidden] { display: none; }

.chip-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: .5rem 1rem;
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .1s, color .1s;
}
.chip-opt:hover { background: var(--bg-2); color: var(--ink); }
.chip-opt.is-selected { color: var(--ink); font-weight: 600; }

/* ── Layout split ─────────────────────────────────────────── */
.empleo-split {
  display: grid;
  grid-template-columns: 460px 1fr;
  height: calc(100dvh - var(--nav-h) - 49px);
}

/* ── Columna izquierda: lista ─────────────────────────────── */
.empleo-list-col {
  border-right: 1px solid var(--line);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.results-count {
  font-size: .875rem;
  color: var(--ink-mute);
  padding: 1rem 1.5rem .625rem;
  flex-shrink: 0;
}

.jobs-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Tarjeta de oferta (estilo home) ──────────────────────── */
.job-card {
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background .15s, border-left-color .15s;
  text-align: left;
  background: none;
  width: 100%;
  font-family: var(--sans);
}

.job-card:hover { background: var(--bg-2); }
.job-card.is-selected { background: var(--paper); border-left-color: var(--ink); }

/* Tag de área — idéntico al .split-card__tag del home */
.job-card__area-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .5rem;
}

/* Título — idéntico al .split-card__title del home */
.job-card__title {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: .3rem;
}

/* Empresa — mismo tamaño que .split-card p */
.job-card__company {
  font-size: .9375rem;
  color: var(--ink-soft);
  margin-bottom: .625rem;
}

/* Descripción recortada */
.job-card__desc {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .625rem;
}

.job-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .2rem .65rem;
  white-space: nowrap;
}
.job-card.is-selected .job-card__tag { background: var(--bg); }

.job-card__date {
  font-size: .8125rem;
  color: var(--ink-mute);
}

/* ── Columna derecha: detalle ─────────────────────────────── */
.empleo-detail-col {
  overflow-y: auto;
  background: var(--paper);
}

.job-detail-panel { height: 100%; }

.job-detail__placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  color: var(--ink-mute);
  text-align: center;
  padding: 2rem;
}
.job-detail__placeholder svg { opacity: .3; }
.job-detail__placeholder p { font-size: .9375rem; }

.job-detail__content { padding: 2rem 2.5rem 3rem; max-width: 720px; }

.job-detail__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.job-detail__title {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: .3rem;
}

.job-detail__company {
  font-size: .9375rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.job-detail__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.job-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.75rem;
}

.job-detail__tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-2);
  border-radius: 99px;
  padding: .28rem .7rem;
}

.job-detail__section { margin-bottom: 1.5rem; }

.job-detail__section-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .625rem;
  padding-bottom: .375rem;
  border-bottom: 1px solid var(--line);
}

.job-detail__section p {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.job-detail__section ul {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-left: 1.25rem;
  margin: 0;
}
.job-detail__section li { margin-bottom: .35rem; }

.job-detail__cita {
  display: block;
  font-size: .875rem;
  color: var(--ink-mute);
  text-decoration: none;
  margin-top: .5rem;
  padding: .35rem;
  border-radius: .5rem;
  transition: color .15s;
  text-align: center;
}
.job-detail__cita:hover { color: var(--ink); }

.job-detail__full-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-mute);
  text-decoration: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  transition: color .15s;
}
.job-detail__full-link:hover { color: var(--ink); }

/* ── Detail panel InfoJobs-style ─────────────────────────── */
.jd-meta-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin: 1.125rem 0 1.5rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.jd-meta-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.jd-meta-row svg { flex-shrink: 0; color: var(--ink-mute); }

.jd-apply-btn {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  padding: .875rem 1.5rem;
  border-radius: .625rem;
  text-decoration: none;
  margin-bottom: .625rem;
  transition: opacity .15s, transform .1s;
  cursor: pointer;
}
.jd-apply-btn:hover { opacity: .85; transform: translateY(-1px); color: var(--paper); }
.jd-apply-btn--disabled {
  background: var(--bg-2);
  color: var(--ink-soft);
  cursor: default;
  opacity: .7;
}
.jd-apply-btn--disabled:hover { opacity: .7; transform: none; color: var(--ink-soft); }

.jd-share-row {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: .75rem 0 1.5rem;
}
.jd-share-label {
  font-size: .8125rem;
  color: var(--ink-mute);
  margin-right: .25rem;
}
.jd-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  padding: 0;
}
.jd-share-icon:hover { border-color: var(--ink-soft); color: var(--ink); }

.jd-disclaimer {
  background: var(--bg-2);
  border-radius: .625rem;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.jd-disclaimer p {
  font-size: .8125rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 .5rem;
}
.jd-disclaimer p:last-child { margin-bottom: 0; }
.jd-promo { border-top: 1px solid var(--line); padding-top: .625rem; margin-top: .5rem; }
.jd-promo__link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ── Promo banner (fuera del disclaimer) ─────────────────── */
.jd-promo-banner {
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--ink);
  border-radius: .75rem;
  text-align: center;
}
.jd-promo-banner__title {
  font-family: var(--display, 'Playfair Display', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.35;
  margin: 0 0 .375rem;
}
.jd-promo-banner__sub {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.jd-promo-banner__btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: .9375rem;
  padding: .75rem 1.625rem;
  border-radius: .5rem;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.jd-promo-banner__btn:hover { opacity: .9; transform: translateY(-1px); color: var(--ink); }
.jd-promo__link:hover { color: var(--accent); }

/* ── Estado vacío / sin ofertas ───────────────────────────── */
.empty-state {
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.empty-state__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
}
.empty-state__text {
  font-size: .875rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.no-jobs-state {
  padding: 3rem 1.25rem;
  text-align: center;
}
.no-jobs-state__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .875rem;
}
.no-jobs-state__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .625rem;
}
.no-jobs-state__text {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.no-jobs-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .empleo-split {
    grid-template-columns: 1fr;
    height: auto;
  }
  .empleo-list-col {
    border-right: none;
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
  .empleo-detail-col { display: none; }
}

/* ── Mobile job detail drawer ─────────────────────────────── */
.job-mobile-drawer { display: none; }

@media (max-width: 860px) {
  .job-mobile-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 500;
  }
  .job-mobile-drawer[hidden] { display: none !important; }

  .job-mobile-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
  }

  .job-mobile-drawer__sheet {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--paper);
    border-radius: 1.25rem 1.25rem 0 0;
    max-height: 90dvh;
    overflow-y: auto;
    animation: drawerUp .3s cubic-bezier(.32,.72,0,1) both;
  }
  @keyframes drawerUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  .job-mobile-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem .75rem;
    position: sticky;
    top: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 2;
  }
  .job-mobile-drawer__handle {
    width: 36px; height: 4px;
    background: var(--line);
    border-radius: 2px;
    margin: 0 auto;
  }
  .job-mobile-drawer__close {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
    flex-shrink: 0;
  }
  .job-mobile-drawer__body { padding: 0; }
  .job-mobile-drawer__body .job-detail__content {
    padding: 1.5rem 1rem 3rem;
  }
}

/* ── Sección: Tu próxima oportunidad ─────────────────────── */
.section-pro-cta {
  background: var(--bg-2);
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}

.pro-cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 860px) {
  .pro-cta-cards { grid-template-columns: 1fr; }
}

.pro-cta-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.pro-cta-card__icon {
  width: 40px; height: 40px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.pro-cta-card__icon svg { color: var(--paper); }

.pro-cta-card__title {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .625rem;
}

.pro-cta-card__text {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* ── Sección: Empresas ────────────────────────────────────── */
.section-company-cta {
  background: var(--bg-dark);
  color: var(--paper);
  padding: 6rem 0;
}

.company-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 720px) {
  .company-cta__inner { grid-template-columns: 1fr; }
}

.company-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--paper);
  margin-bottom: .875rem;
}

.company-cta__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  max-width: 55ch;
  line-height: 1.75;
}

.company-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}

.btn--primary-inv {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
}

.btn--primary-inv:hover, .btn--primary-inv:focus-visible {
  background: var(--bg-2);
  border-color: var(--bg-2);
  transform: translateY(-1px);
}

.btn--outline-inv {
  background: transparent;
  color: var(--paper);
  border: 2px solid rgba(255,255,255,.35);
}

.btn--outline-inv:hover, .btn--outline-inv:focus-visible {
  border-color: var(--paper);
  background: rgba(255,255,255,.08);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.section-empleo-faq {
  background: var(--paper);
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}

.faq-list { margin-top: 3rem; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.375rem 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}

.faq-item__trigger:hover { color: var(--ink-soft); }

.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  color: var(--ink-mute);
}

.faq-item.is-open .faq-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.faq-icon svg { transition: transform .25s var(--ease-out); }
.faq-item.is-open .faq-icon svg { transform: rotate(45deg); }

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease-out);
}

.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__inner {
  overflow: hidden;
}

.faq-item__inner p {
  padding-bottom: 1.375rem;
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 72ch;
}

/* ── FAQ + CTA en fila ─────────────────────────────────────── */
.faq-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.faq-cta-row .section-empleo-faq {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.faq-cta-row .faq-list {
  grid-template-columns: 1fr !important;
}

@media (max-width: 860px) {
  .faq-cta-row {
    grid-template-columns: 1fr;
  }
  .faq-cta-row .section-empleo-faq {
    border-right: none;
  }
}

/* ── CTA final ─────────────────────────────────────────────── */
.section-empleo-final-cta {
  background: var(--bg-2);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.final-cta__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--ink);
  margin-bottom: .875rem;
}

.final-cta__text {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  align-items: center;
}

.final-cta__link {
  font-size: .9375rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}

.final-cta__link:hover { color: var(--ink); }

/* ── WhatsApp flotante ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  width: 52px; height: 52px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s var(--ease-out), box-shadow .2s;
  color: #fff;
}

.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,.25); }

/* ── Sección intro ─────────────────────────────────────────── */
.section-empleo-intro {
  background: var(--paper);
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.empleo-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 720px) {
  .empleo-intro__inner { grid-template-columns: 1fr; gap: 2rem; }
}

.empleo-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intro-stat {
  padding: 1.5rem;
  background: var(--bg-2);
  border-radius: var(--radius-md);
}

.intro-stat__num {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .35rem;
}

.intro-stat__label {
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* =============================================================
   MODAL — ¿Tu CV está listo?
   ============================================================= */

.postular-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.postular-modal[hidden] { display: none; }

.postular-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 16, .6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.postular-modal__box {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(17,17,16,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: pm-slide-up .28s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes pm-slide-up {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.postular-modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  cursor: pointer;
  color: var(--ink-mute);
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.postular-modal__close:hover { background: var(--bg-2); color: var(--ink); }

.postular-modal__icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--bg-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.postular-modal__eyebrow {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 .3rem;
}

.postular-modal__job-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .15rem;
  line-height: 1.3;
}

.postular-modal__company {
  font-size: .875rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.postular-modal__question {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 .875rem;
}

.postular-modal__body {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 36ch;
}

.postular-modal__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
}

.postular-modal__btn-cita {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
}

.postular-modal__btn-apply {
  font-size: .875rem;
  color: var(--ink-mute);
  text-decoration: none;
  padding: .4rem;
  border-radius: .5rem;
  transition: color .15s;
}
.postular-modal__btn-apply:hover { color: var(--ink); }

@media (max-width: 480px) {
  .postular-modal__box { padding: 2rem 1.25rem 1.5rem; }
  .postular-modal__question { font-size: 1.125rem; }
}

/* =============================================================
   NUEVA LAYOUT: SIDEBAR + TARJETAS (joblist_v5 style)
   ============================================================= */

/* ── Page wrapper ─────────────────────────────────────────── */
.empleo-page {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.empleo-sidebar {
  flex-shrink: 0;
  width: 260px;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.esb-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.esb-section:first-child { padding-top: 0; }

.esb-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-mute);
  margin-bottom: .75rem;
}

.esb-input-wrap {
  position: relative;
}
.esb-input-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  pointer-events: none;
}
.esb-input {
  width: 100%;
  padding: .6rem .75rem .6rem 2.25rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.esb-input:focus { border-color: var(--ink); }

.esb-select {
  width: 100%;
  padding: .6rem .875rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.25rem;
}
.esb-select:focus { border-color: var(--ink); }

.esb-checks {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.esb-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.esb-check input[type="radio"] {
  accent-color: var(--ink);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.esb-clear {
  margin-top: 1.25rem;
  width: 100%;
  padding: .55rem 1rem;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-size: .875rem;
  font-family: var(--sans);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.esb-clear:hover { border-color: var(--ink); color: var(--ink); }

/* ── Content area ─────────────────────────────────────────── */
.empleo-content {
  flex: 1;
  min-width: 0;
}

.empleo-content__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.results-count {
  font-size: .9375rem;
  color: var(--ink-soft);
}

/* ── Job cards (joblist_v5 style) ─────────────────────────── */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.job-card {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color .22s var(--ease-out), box-shadow .22s var(--ease-out), transform .2s var(--ease-out);
}
.job-card:hover {
  border-color: rgba(17,17,16,.22);
  box-shadow: 0 4px 20px rgba(17,17,16,.08);
  transform: translateY(-2px);
}

/* Company logo circle */
.job-card__logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--beige-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-card__logo span {
  font-size: .8125rem;
  font-weight: 700;
  font-family: var(--sans);
  color: var(--ink);
  letter-spacing: .03em;
}

/* Card body */
.job-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.job-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.job-card__company {
  font-size: .8125rem;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-card__date {
  font-size: .75rem;
  color: var(--ink-mute);
  white-space: nowrap;
  flex-shrink: 0;
}

.job-card__title {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}
.job-card:hover .job-card__title { color: var(--ink); }

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-top: .125rem;
}

.job-card__tag {
  font-size: .75rem;
  font-weight: 500;
  padding: .25rem .65rem;
  border-radius: 99px;
  background: var(--bg-2);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.job-card__tag--area {
  background: var(--beige);
  border-color: var(--beige-2);
  color: var(--ink);
}

/* ── Responsive: colapsa sidebar en móvil ─────────────────── */
@media (max-width: 860px) {
  .empleo-page {
    flex-direction: column;
    padding: 1.5rem 1rem 3rem;
  }
  .empleo-sidebar {
    width: 100%;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
  }
  .esb-section {
    padding: 0;
    border-bottom: none;
  }
  .esb-clear {
    grid-column: span 2;
    margin-top: 0;
  }
}
