.hero {
  padding: 300px 120px;
  text-align: center;
}

.hero__inner {
  max-width: 2000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  margin-bottom: 150px;
}

.hero__logo img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeUp 0.6s ease 0.2s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subTitle {
  font-size: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 60px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 120px;
}

.categoryGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 80px;
  column-gap: 100px;
  width: 100%;
}

.categoryCard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  min-height: 220px;
  padding: 32px 24px;

  border: 1px solid #8d8d8d;
  background: #fff;

  gap: 18px;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.categoryCard__title {
  font-size: 45px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.categoryCard__sub {
  display: block;
  font-size: 13px;
}

/* hover */
.categoryCard:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

@media (max-width: 800px) {
  .hero {
    padding: 140px 20px 100px;
  }

  .hero__logo {
    margin-bottom: 90px;
  }

  .hero__logo img {
    width: 46px;
  }

  .hero__subTitle {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 44px;
  }

  .categoryGrid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    column-gap: 0;
  }

  .categoryCard {
    min-height: 125px;
    padding: 24px 20px;
    gap: 12px;
  }

  .categoryCard__title {
    font-size: 24px;
  }

  .categoryCard__sub {
    font-size: 12px;
  }
}
