.app-download-cta {
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding-right: 60px;
  padding-left: 60px;
  color: #242127;
  background: transparent;
  position: relative;
}

.app-download-cta__inner {
  display: flex;
  align-items: center;
  width: min(420px, 100%);
  margin: 0 auto;
  justify-content: center;
}

.app-download-cta__stores {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.app-download-cta__store {
  display: block;
  border-radius: 10px;
  transition: transform .18s ease, filter .18s ease;
}

.app-download-cta__store:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 18px rgba(72, 46, 99, .2));
}

.app-download-cta__store:focus-visible {
  outline: 3px solid #ffb14f;
  outline-offset: 5px;
}

.app-download-cta__store img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* One viewport contains the fixed navigation, purple hero and white company strip. */
.hero-postulantes {
  --company-band-height: clamp(158px, 21svh, 190px);
  --character-overlap: 52px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  gap: 0;
  min-height: 600px;
  height: 100svh;
  padding: 0;
  background: #f8f2ff;
}

.hero-postulantes__main {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 0;
  gap: clamp(18px, 3svh, 30px);
  padding: 92px 0 28px;
  background: #f8f2ff url('../images/Vector-4.svg') no-repeat right 28%;
  background-size: clamp(160px, 18vw, 305px) auto;
}

.hero-postulantes__character {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: calc(-1 * var(--character-overlap));
  display: block;
  width: clamp(220px, 22vw, 360px);
  height: auto;
  max-height: calc(100svh - var(--company-band-height) - 40px);
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
  user-select: none;
}

.hero-postulantes .container-hero {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: min(780px, calc(100% - clamp(220px, 22vw, 360px) * 2));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-postulantes .heading-11 {
  margin: 0 0 clamp(20px, 3svh, 32px);
  color: #242833;
  font-size: clamp(44px, 4.1vw, 64px);
  font-weight: 700;
  line-height: 1.16;
}

.hero-postulantes .form-block,
.hero-postulantes .form {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-postulantes .text-field {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.hero-postulantes .button-6 {
  flex: 0 0 auto;
}

.hero-postulantes .app-download-cta__store img {
  width: clamp(140px, 12vw, 180px);
  aspect-ratio: 835 / 300;
  object-fit: contain;
}

.hero-postulantes:has(> .company-carousel[hidden]) {
  --company-band-height: 0px;
  --character-overlap: 0px;
}

@media screen and (max-width: 991px) {
  .hero-postulantes {
    --company-band-height: 174px;
    --character-overlap: 28px;
    min-height: 720px;
    height: auto;
  }

  .hero-postulantes__main {
    flex: 0 0 auto;
    min-height: 570px;
    gap: 24px;
    padding: 116px 0 140px;
    background-position: right 18%;
    background-size: 160px auto;
  }

  .hero-postulantes__character {
    width: 170px;
    max-height: none;
  }

  .hero-postulantes .container-hero {
    width: min(680px, 100%);
    padding: 0 24px;
  }

  .hero-postulantes .heading-11 {
    font-size: clamp(34px, 5vw, 48px);
  }
}

@media screen and (max-width: 479px) {
  .hero-postulantes__main {
    min-height: 580px;
    padding-bottom: 150px;
    background-position: right 16%;
    background-size: 110px auto;
  }

  .hero-postulantes__character {
    width: 145px;
  }

  .hero-postulantes .container-hero {
    padding: 0 16px;
  }

  .hero-postulantes .heading-11 {
    font-size: 34px;
    padding: 0;
  }

  .app-download-cta {
    padding: 0 20px;
  }

  .app-download-cta__stores {
    flex: 1 1 auto;
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }

  .hero-postulantes .app-download-cta__store img {
    width: 140px;
  }

  .hero-postulantes .button-6 {
    min-width: 72px;
    padding-inline: 14px;
  }
}
