/* ========================================
   FOOTER TOP — верхний блок перед футером
======================================== */

.footer-top {
  position: relative;
  width: 100%;
  padding: 64px 32px;
  background: linear-gradient(
    91.4deg,
    #f07e1b 0.01%,
    #c02030 50%,
    #1c1b17 99.99%
  );
  color: #ffffff;
}

.footer-top__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top__content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 9rem;
}

.footer-top__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.footer-top__logo {
  flex: 0 0 100px;
  width: 100px;
  height: 115px;
}

.footer-top__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-top__description {
  max-width: 466px;
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
}

.footer-top__action {
  width: 100%;
}

.footer-top__button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;

  padding: 10px 25px;

  background: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 20px;

  color: #1c1b17;
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 22.4px;
  line-height: 29px;
  text-decoration: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.footer-top__button::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-right: 0.5rem;

  background-color: #fa5305;

  -webkit-mask: url("../icons/right-arrow.svg") center / contain no-repeat;
  mask: url("../icons/right-arrow.svg") center / contain no-repeat;

  transition: background-color 0.25s ease;
}

.footer-top__button:hover {
  background-color: #f7f7f7;
  border-color: #f7f7f7;
  color: #1c1b17;
}

.footer-top__button:hover svg {
  transform: translateX(5px);
}

/* ========================================
   Адаптивность
======================================== */

@media (max-width: 1200px) {
  .footer-top__content {
    flex-direction: column;
    gap: 4rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    padding: 32px 24px;
  }
  .footer-top__info {
    flex-direction: column;
    align-items: flex-start;
  }
}
