.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 64px 28px;
}

.footer__box {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(320px, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 24px;
  min-height: 124px;
  padding: 18px 34px;
  overflow: visible;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 245, 163, 0.55) 0 52px, transparent 54px),
    radial-gradient(circle at 46% 88%, rgba(255, 245, 163, 0.42) 0 42px, transparent 44px),
    radial-gradient(circle at 78% 12%, rgba(255, 245, 163, 0.38) 0 62px, transparent 64px),
    #ffc533;
}

.footer__dog {
  position: absolute;
  z-index: 2;
  top: -20px;
  bottom: 0;
  left: -30px;
  width: 260px;
  height: auto;
  transform: translateY(-22px);
}

.footer__cta {
  position: relative;
  z-index: 1;
  grid-column: 2;
}

.footer__cta h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-accent);
  font-size: clamp(28px, 2.7vw, 44px);
  font-weight: 400;
  line-height: 0.92;
}

.footer__heart {
  position: absolute;
  top: -10px;
  right: -34px;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__action {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.footer__button img {
  display: block;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.footer__arrow {
  width: 35px;
}

.footer__features {
  display: grid;
  grid-column: 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.footer__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 244, 166, 0.76);
}

.footer__icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer__feature p {
  margin: 0;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.22;
}

.footer__copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
}

.footer__copyright a {
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer__copyright img {
  display: block;
  width: 16px;
  height: 16px;
}

@media (max-width: 1180px) {
  .footer {
    padding: 28px 28px 24px;
  }

  .footer__box {
    grid-template-columns: 120px minmax(260px, 1fr);
    gap: 18px;
    padding: 22px 26px 24px;
  }

  .footer__dog {
    left: 22px;
    width: 124px;
  }

  .footer__features {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-left: auto;
  }

  .footer__heart {
    display: none;
  }
}

@media (max-width: 700px) {
  .footer {
    padding: 22px 16px;
  }

  .footer__box {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding: 96px 18px 24px;
    text-align: center;
  }

  .footer__dog {
    top: -20px;
    bottom: auto;
    left: 50%;
    width: 132px;
    transform: translateX(-50%);
  }

  .footer__cta,
  .footer__features {
    grid-column: auto;
  }

  .footer__cta h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .footer__action {
    justify-content: center;
  }

  .footer__features {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    gap: 14px;
  }

  .footer__feature {
    width: min(100%, 152px);
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .footer__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .footer__copyright {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .footer {
    padding: 107px 12px 20px;
  }

  .footer__box {
    padding: 88px 14px 22px;
    border-radius: 24px;
  }

  .footer__dog {
    top: -149px;
    width: 188px;
  }

  .footer__button {
    min-height: 46px;
    padding: 13px 22px;
    font-size: 14px;
  }

  .footer__arrow {
    width: 46px;
  }
}
