.studyworks-hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #190402;
  color: #ffffff;
}

.studyworks-hero__background {
  position: absolute;
  inset: 0;
}

.studyworks-hero__background picture,
.studyworks-hero__background img {
  width: 100%;
  height: 100%;
}

.studyworks-hero__background picture {
  display: block;
}

.studyworks-hero__background img {
  object-fit: cover;
  object-position: right top;
}

.studyworks-hero__background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(25, 4, 2, 0.9) 0%,
    rgba(25, 4, 2, 0.76) 42%,
    rgba(25, 4, 2, 0.36) 72%,
    rgba(25, 4, 2, 0.18) 100%
  );
}

.studyworks-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 72px;
}

.studyworks-hero__mark {
  margin: 0 0 38px;
  padding: 12px 16px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.studyworks-hero__label {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.studyworks-hero h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-family: "PT Serif", Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 71px;
  letter-spacing: -1px;
}

.studyworks-hero__text {
  max-width: 760px;
  margin: 28px 0 0;
  color: #f2f2f2;
  font-size: 22px;
  line-height: 30px;
}

.studyworks-hero__text strong {
  font-weight: 500;
}

.studyworks-hero__datos {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.studyworks-hero__datos span {
  flex: 1;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  border-left: 2px solid #e9bd59;
  background-color: rgba(25, 4, 2, 0.58);
  backdrop-filter: blur(8px);
  color: #f2f2f2;
  font-size: 17px;
  line-height: 24px;
  white-space: nowrap;
}

.studyworks-hero__button {
  margin-top: 34px;
  padding: 15px 28px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9bd59;
  background-color: #e9bd59;
  color: #190402;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.studyworks-hero__button:hover,
.studyworks-hero__button:focus-visible {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1360px) {
  .studyworks-hero h2 {
    font-size: 66px;
    line-height: 67px;
  }
}

@media (max-width: 1180px) {
  .studyworks-hero {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 980px) {
  .studyworks-hero {
    min-height: 100vh;
    padding: 126px 28px 86px;
  }

  .studyworks-hero__background img {
    object-position: 67% top;
  }

  .studyworks-hero__background::before {
    background: linear-gradient(
      90deg,
      rgba(25, 4, 2, 0.9),
      rgba(25, 4, 2, 0.42)
    );
  }

  .studyworks-hero__mark {
    margin-bottom: 36px;
  }

  .studyworks-hero h2 {
    font-size: 50px;
    line-height: 51px;
  }

  .studyworks-hero__label {
    font-size: 19px;
    line-height: 25px;
  }

  .studyworks-hero__text {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 760px) {
  .studyworks-hero {
    align-items: center;
    padding: 128px 24px 62px;
  }

  .studyworks-hero__container {
    max-width: 540px;
    padding-top: 42px;
  }

  .studyworks-hero h2 {
    max-width: 520px;
    font-size: 44px;
    line-height: 46px;
  }

  .studyworks-hero__text {
    max-width: 520px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 25px;
  }

  .studyworks-hero__datos {
    max-width: 520px;
    gap: 8px;
  }

  .studyworks-hero__datos span {
    padding: 16px 18px;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .studyworks-hero {
    min-height: 100vh;
    padding: 152px 20px 72px;
  }

  .studyworks-hero__background img {
    object-position: 68% top;
  }

  .studyworks-hero__background::before {
    background: linear-gradient(
      90deg,
      rgba(25, 4, 2, 0.92),
      rgba(25, 4, 2, 0.48)
    );
  }

  .studyworks-hero__label {
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 2px;
  }

  .studyworks-hero h2 {
    font-size: 40px;
    line-height: 42px;
  }

  .studyworks-hero__text {
    font-size: 18px;
    line-height: 25px;
  }

  .studyworks-hero__datos {
    width: 100%;
  }

  .studyworks-hero__datos span {
    min-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .studyworks-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .studyworks-hero h2 {
    font-size: 36px;
    line-height: 38px;
  }

  .studyworks-hero__text {
    font-size: 16px;
    line-height: 23px;
  }
}
