
.color-black {
  color: var(--black);
}

.margin-bottom-12 {
  margin-bottom: 12px;
}

/* GRID */

.contact-grid {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CONTACT CARDS */

.contact-block {
  border-radius: 32px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.contact-block-illustration-wrapper {
  flex: 0 0 auto;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contact-block-illustration {
  z-index: 1;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.contact-block-highlight-circle {
  z-index: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .18);
  position: absolute;
}

.contact-block-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* FORM */

.contact-form-wrapper {
  background-color: var(--accent-yellow);
  border-radius: 32px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.max-width-400 {
  max-width: 400px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-inputs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input,
.form-area {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(21, 19, 4, 0.12);
  padding: 12px 16px;
  background-color: #fff;
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 14px;
  line-height: 144%;
  text-transform: none;
  outline: none;
}

.form-area {
  min-height: 120px;
  border-radius: 20px;
  resize: vertical;
}

.form-input:focus,
.form-area:focus {
  border-color: var(--accent-orange);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 144%;
  color: var(--black);
  text-transform: none;
}

.form-checkbox {
  margin-top: 4px;
}

.form-checkbox-label a {
  color: var(--black);
  text-decoration: underline;
}

.form-button {
  background-color: var(--black);
  color: var(--accent-yellow);
  border-radius: 999px;
  padding-left: 32px;
  padding-right: 32px;
  margin-top: 4px;
}

/* CONTACT VIDEO */

.contact-video {
  border-radius: 32px;
  min-height: 420px;
  overflow: hidden;
}

/* CONTACT FAQ OVERRIDE (чтобы секция выглядела компактнее) */

.contact-faq-items .faq-answer {
  background-color: var(--black-opacity--5);
}

/* CTA (если ещё не добавлена) */

.cta-section {
  background-color: var(--black);
  border-top: 1px solid var(--accent-yellow);
  padding-top: 80px;
  padding-bottom: 80px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-description {
  max-width: 420px;
  text-transform: uppercase;
}

.cta-button {
  flex-shrink: 0;
}

/* RESPONSIVE */

@media screen and (max-width: 991px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .contact-video {
    min-height: 360px;
  }
}

@media screen and (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-block {
    flex-direction: row;
  }

  .contact-video {
    min-height: 320px;
  }

  .cta-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .contact-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-block-illustration-wrapper {
    width: 140px;
    height: 140px;
  }

  .contact-video {
    min-height: 260px;
  }
}
