.component-oferta-nivel {
  position: relative;
  overflow-x: clip;

  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100vw;
    height: 150dvh;
    background: var(--secondary-color);
    z-index: -1;

    @media (min-width: 1024px) {
      height: 100dvh;
    }
  }
}

.component-oferta-nivel h1 {
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--color-primary-hover);

  display: block;
  margin: 0 0 12px;
}

.component-oferta-nivel p {
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-content-mid);

  margin: 0 0 24px;

  @media (min-width: 1024px) {
    margin: 0 0 32px;
  }
}

.component-oferta-nivel .buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .component-oferta-nivel h2 {
    max-width: 1000px;
  }

  .component-oferta-nivel .buttons-wrapper {
    flex-direction: row;
    gap: 24px;
  }
}

.btn-oferta {
  width: 100%;
  padding: 24px;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;

  font-size: 22px;
  font-weight: 500;
  line-height: 30px;

  border: unset;

  flex-direction: column;
  align-items: start;

  background: var(--primary-color);
  color: #FFFFFF;

  transition: all .3s ease-in-out;

  &:visited {
    color: #FFFFFF !important;
  }

  &:hover {
    opacity: .8;
    background: var(--color-primary-mid);
    color: #FFFFFF;
  }

  &:focus,
  &:active {
    opacity: 1;
    background: #1441B9;
  }

  span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2px;

    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -1%;

    img {
      display: block;
      filter: brightness(0) invert(1);
    }
  }
}

.secondary-buttons {
  display: grid;
  gap: 16px;

  margin: 32px 0 0;

  @media (min-width: 1024px) {
    display: flex;
    gap: 24px;
  }
}

.btn-oferta-secondary {
  width: 100%;

  padding: 14px 24px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;

  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;

  border: 2px solid #0017451A;
  background: #FFFFFF;

  transition: all 0.3s ease;

  &:visited {
    color: var(--primary-color);
  }

  &:hover {
    background: #0017450D;
    opacity: .8;
    color: var(--color-primary-mid);
    border: 2px solid #00174540;

    img {
      filter: brightness(0) saturate(100%) invert(32%) sepia(67%) saturate(4510%) hue-rotate(217deg) brightness(89%) contrast(99%);
    }
  }

  &:focus,
  &:active {
    opacity: 1;
    background: #F0F4FF;
    border: 2px solid #00174540;

    img {
      filter: brightness(0) saturate(100%) invert(32%) sepia(67%) saturate(4510%) hue-rotate(217deg) brightness(89%) contrast(99%);
    }
  }

  span {
    display: block;
    width: 100%;
  }
}