*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Gilroy, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  color: #ffffff;
  background-color: #000000;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  padding: 40px 24px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    url("./assets/background-42b8c9.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.hero__logo {
  width: 100%;
  max-width: 472px;
  height: auto;
  display: block;
}

.hero__title {
  margin: 0;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 64px;
  border-radius: 60px;
  background-color: #f9b510;
  color: #231f20;
  font-size: 30px;
  font-weight: 300;
  text-decoration: none;
  gap: 16px;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background-color 0.15s ease-out;
}

.hero__button-icon {
  width: 28px;
  height: 29px;
  flex-shrink: 0;
}

.hero__button:hover {
  background-color: #ffbe1a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.hero__button:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-footer {
  flex-shrink: 0;
  background-color: #ffffff;
  color: #000000;
}

.page-footer__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 36px 53px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  font-size: 30px;
}

.page-footer__address {
  justify-self: start;
}

.page-footer__phone {
  font-size: 30px;
  font-weight: 300;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  justify-self: center;
}

.page-footer__phone:hover {
  text-decoration: underline;
}

.page-footer__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.page-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  text-decoration: none;
}

.page-footer__social:hover {
  text-decoration: underline;
}

.page-footer__social-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.page-footer__logo-small {
  width: 28px;
  height: 28px;
  display: block;
}

@media (max-width: 960px) {
  .hero {
    padding: 32px 16px;
  }

  .hero__content {
    gap: 24px;
  }

  .hero__logo {
    max-width: 320px;
  }

  .hero__title {
    font-size: 20px;
    width: 100%;
  }

  .hero__button {
    padding: 18px 48px;
    font-size: 24px;
    width: 100%;
    max-width: 320px;
  }

  .page-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-footer__address,
  .page-footer__phone,
  .page-footer__right {
    width: 100%;
  }

  .page-footer__right {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-footer__inner {
    padding-inline: 16px;
    font-size: 16px;
  }

  .page-footer__phone {
    font-size: 16px;
  }
}
