:root {
  --color-card-bg: #f0f6ef;
  --color-primary: #427f51;
  --color-white: #ffffff;
  --color-text: #494c4a;
  --color-button-bg: #1f6166;
  --color-button-text: #ffffff;
  --shadow-strong: rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Gilroy", sans-serif;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
  padding: 0 16px;
}

.contact-card {
  background: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
}

.contact-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 63px;
  cursor: pointer;
  padding: 0 14px;
}

.contact-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card__title h3 {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 600;
}

.contact-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card__icon img {
  width: 24px;
  height: 24px;
}

.contact-card__arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.contact-card__content {
  padding: 0 1.5rem;
  color: var(--color-text);
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

.contact-card__text {
  font-size: 16px;
  font-weight: 200;
}

.contact-card__text strong {
  font-weight: 550;
}

.contact-card__highlight p {
  font-size: 17px;
  color: var(--color-primary);
  font-weight: 400;
}

.contact-card__highlight strong {
  font-weight: 550;
}

.info_card__container-btn {
  display: flex;
  justify-content: flex-end;
}

.info_card__btn {
  background: var(--color-button-bg);
  color: var(--color-button-text);
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  margin-top: 0.5rem;
  width: 181px;
  height: 41px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info_card__btn span {
  display: flex;
  gap: 5px;
  height: 47px;
  align-items: center;
}

.info_card__btn img {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0;
  padding: 0;
  object-fit: contain;
}

.contact-card.active .contact-card__content {
  max-height: 1000px;
  padding-bottom: 1.5rem;
}

.contact-card.active .contact-card__arrow {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 0 41px;
    min-height: 283px;
    gap: 32px;
  }

  .contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 17px;
  }

  .contact-card__header {
    cursor: default;
    padding: 0;
  }

  .contact-card__content {
    display: grid;
    gap: 5px;
    height: 100%;
    max-height: none;
    grid-template-rows: 1fr 40px;
    padding: 0;
    padding-top: 10px;
  }

  .info_card__container-btn {
    align-items: end;
  }

  .info_card__btn span {
    height: auto;
    align-items: normal;
  }

  .contact-card__arrow {
    display: none;
  }

  .contact-card__title h3 {
    font-size: 20px;
  }

  .contact-card__text {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .contact-card__highlight {
    display: grid;
    gap: 5px;
  }

  .contact-card__highlight p {
    font-size: 16px;
  }

  .contact-card__icon {
    width: 50px;
    height: 50px;
  }

  .contact-card__icon img {
    width: 32px;
    height: 32px;
  }
}
@media (min-width: 1024px) {
  .contact-cards {
    padding: 0 55px;
    min-height: 241px;
    gap: 53px;
  }

  .info_card__btn:hover {
    background-color: var(--color-primary);
  }

  .contact-card__title h3 {
    font-size: 24px;
  }

  .contact-card__text {
    font-size: 16px;
  }

  .contact-card__highlight p {
    font-size: 18px;
  }
}

@media (min-width: 1300px) {
  .contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 260px;
  }
  .contact-card__title h3 {
    font-size: 24px;
  }

  .contact-card__text {
    font-size: 16px;
  }

  .contact-card__highlight p {
    font-size: 18px;
  }
}

@media (min-width: 1440px) {
  .contact-cards {
    padding: 0;
    padding-right: 64px;
    gap: 37px;
  }

  .contact-card {
    min-height: 260px;
  }
}
