.home-offer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: var(--secondary-background-color);
  height: fit-content;
}
.home-offer img {
  display: block;
  width: 50%;
  height: auto;
}
.home-offer-text {
  color: var(--secondary-text-color);
  width: 50%;
  padding: 0 8rem;
}
.home-offer-text h2 {
  margin: 0.5rem 0;
}
.our-offer-button {
  display: inline-block;
  color: var(--secondary-text-color);
  font-family: system-ui, sans-serif;
  font-weight: bold;
  padding: 0.4rem 0;
  margin-top: 1.5rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.our-offer-button:hover {
  transform: scale(1.1);
}
.our-offer-button:active {
  transform: translateY(-2px);
}
.our-offer-button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.2em;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  transition: transform 0.3s ease-out;
}
.our-offer-button:hover::after {
  transform: translateX(-100%);
}

.home-contact {
  width: 100%;
  height: 12rem;
  background-color: var(--primary-background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.home-contact p {
  color: var(--primary-text-color);
  font-size: 1.4rem;
}
.home-contact-button {
  display: inline-block;
  color: var(--active-link-color);
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.home-contact-button:hover {
  transform: scale(1.05);
}

.home-contact-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.home-contact-button:hover::after {
  width: 100%;
}

@media (max-width: 699px) {
  .home-offer {
    flex-direction: column;
    align-items: center;
  }
  .home-offer img {
    width: 100%;
    height: auto;
    order: 2;
  }
  .home-offer-text {
    width: 100%;
    padding: 0 1rem;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .home-offer-text {
    padding: 0 1rem;
  }
}
