.steps {
  padding-block: 64px;
}

.steps__container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "left"
    "right";
  gap: 32px;
}

.steps__left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.steps__head--wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.steps__title {
  font-size: var(--title-l);
  margin-bottom: 16px;
}

.steps__text {
  font-size: var(--text-m);
  margin-bottom: 32px;
}

.steps__button {
  margin-bottom: 32px;
}

.steps__contact-cards--wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.steps__contact-title {
  font-size: 20px;
  font-weight: 600;
  align-self: flex-start;
}

.steps__right {
  grid-area: right;
}

.steps__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card__title--container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.step-card {
  gap: 8px;
  background: var(--grey-border-secondary);
  border: 2px solid var(--grey-background);
  padding: 16px;
}

.step-card__icon {
  width: 32px;
  height: 32px;
}

.step-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
}

.step-card__desc {
  font-size: 16px;
}

.steps__contact-cards--wrapper {
  background: var(--grey-background);
  border: 2px solid var(--grey-border-secondary);
  padding: 16px;
  gap: 16px;
  border-radius: 24px;
}

/* CONTACT CARD */
.contact__card {
  gap: 12px;
  align-items: start;
  width: 100%;
  flex: 1 1 auto;
  border-radius: 24px;
}

.cc--fp {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 16px;
}

.cc--sp {
  justify-content: space-between;
  gap: 8px;
}

.cc--languages {
  order: 2;
}

.cc--position {
  order: 3;
  flex: 1 0 100%;
}

.cc--email-link {
  padding: 10px;
}
.cc--email-link .btn__label {
  display: none;
}

.steps__button {
  width: 100%;
}
.steps-button {
  width: 100%;
}

@media (width >= 590px) {
  .contact__card {
    flex-flow: row nowrap;
    justify-content: space-between;
  }
  .cc--sp {
    flex: 1 0 auto;
  }
}

@media (width >= 678px) {
  .steps {
    padding-block: 80px;
  }

  .step-card {
    padding: 32px;
  }

  .steps__title {
    font-size: 32px;
  }

  .steps__text {
    font-size: 17px;
  }

  .steps__button {
    margin-bottom: 48px;
  }
  .steps-button {
    width: auto;
  }
}
@media (width <= 1248px) {
  .steps__right,
  .steps__left {
    max-width: 768px;
    margin-inline: auto;
  }
}

@media (width >= 1248px) {
  .steps {
    padding-block: 120px;
  }

  .steps__container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "left right";
    gap: 40px;
  }

  .steps__left {
    gap: 32px;
  }

  .steps__title {
    font-size: 40px;
  }

  .steps__contact-title {
    font-size: 22px;
  }

  .contact__card {
    max-width: 606px;
    max-height: 166px;
  }
}
