.contacts-section {
  background-color: var(--graphite);
  color: var(--paper);
  padding: 84px 0;
}

.contacts-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: stretch;
}

.contacts-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contacts-info__person {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--graphite-line);
}

.contacts-info__person-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 4px;
}

.contacts-info__person-role {
  font-size: 14px;
  color: var(--brand);
}

.contacts-info__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.contacts-info__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contacts-info__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-light-muted);
}

.contacts-info__link {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  width: fit-content;
}

.contacts-info__link:hover {
  color: var(--brand);
}

.contacts-info__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-light);
}



.contacts-form-card {
  background-color: var(--graphite-soft);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.contacts-form-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contacts-form-card__inner form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contacts-form-card__inner form .btn {
  margin-top: auto;
}

.contacts-form-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 10px;
}

.contacts-form-card__subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-light-muted);
  margin-bottom: 24px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.contact-form__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-light-muted);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background-color: var(--graphite);
  border: 1px solid var(--graphite-line);
  border-radius: 0;
  padding: 12px 14px;
  color: var(--paper);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition), background-color var(--transition);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--logo-gray);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--brand);
  background-color: var(--surface-dark-alt);
}

.contact-form__textarea {
  min-height: 84px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox__input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox__label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-light-muted);
}

.contacts-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  height: 100%;
}

.contacts-success__icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contacts-success__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 8px;
}

.contacts-success__text {
  font-size: 14px;
  color: var(--ink-light-muted);
  margin-bottom: 24px;
}

@media (max-width: 980px) {
  .contacts-section {
    padding: 64px 0;
  }

  .contacts-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacts-form-card {
    padding: 28px 24px;
  }
}

@media (max-width: 560px) {
  .contacts-section {
    padding: 48px 0;
  }

  .contacts-form-card {
    padding: 22px 18px;
  }
}
