.contact-hero {
  position: relative;
  padding: clamp(7.5rem, 10vw, 9rem) 0 clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at top left, rgba(221, 55, 57, 0.1), transparent 34%),
    linear-gradient(180deg, #fff7f4 0%, #ffffff 55%, #ffffff 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 244, 0.78));
  border: 1px solid rgba(221, 55, 57, 0.08);
  box-shadow: 0 24px 60px rgba(13, 13, 13, 0.05);
  pointer-events: none;
}

.contact-hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.88fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}

.contact-hero__content {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.contact-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #111111;
}

.contact-hero__desc {
  margin: 0;
  max-width: 620px;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.68);
}

.contact-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-hero__chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: #303030;
  font-size: 0.92rem;
  font-weight: var(--fw-medium);
}

.contact-hero__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  padding-top: 0.1rem;
}

.contact-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 28px rgba(13, 13, 13, 0.04);
}

.contact-detail:last-child {
  grid-column: 1 / -1;
}

.contact-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-detail__body {
  display: grid;
  gap: 0.25rem;
}

.contact-detail__label {
  color: #6b6b6b;
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-detail__value {
  color: #111111;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: var(--fw-medium);
}

.contact-hero__form-card {
  padding: clamp(1.2rem, 1.8vw, 1.5rem);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 28px 60px rgba(13, 13, 13, 0.09);
}

.contact-hero__form-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.contact-hero__form-kicker {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero__form-title {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.15;
  color: #111111;
}

.contact-hero__form-text {
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-page-form {
  display: grid;
  gap: 0.8rem;
}

.contact-page-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-page-form__field {
  display: grid;
  gap: 0.38rem;
}

.contact-page-form__field label {
  color: #515151;
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
}

.contact-page-form__field input,
.contact-page-form__field select,
.contact-page-form__field textarea {
  width: 100%;
  border: 1px solid #d9ddd7;
  border-radius: 12px;
  padding: 0.88rem 0.95rem;
  background: #fff;
  color: #111111;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-page-form__field textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-page-form__field input:focus,
.contact-page-form__field select:focus,
.contact-page-form__field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(221, 55, 57, 0.12);
}

.contact-page-form__submit {
  width: 100%;
  min-height: 52px;
  margin-top: 0.3rem;
}

.contact-support {
  background: #ffffff;
  padding-block: clamp(4rem, 6vw, 5.5rem);
}

.contact-support__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-support__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.support-card {
  min-height: 240px;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--color-gray-200);
  background: linear-gradient(180deg, #ffffff 0%, #faf7f6 100%);
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.support-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}

.support-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #111111;
}

.support-card__text {
  margin: 0;
  color: rgba(17, 17, 17, 0.65);
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .contact-hero__container {
    grid-template-columns: 1fr;
  }

  .contact-hero__content {
    padding-bottom: 0;
  }

  .contact-hero__form-card {
    max-width: 760px;
  }

  .contact-support__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding-top: 7.2rem;
  }

  .contact-hero::before {
    inset: 10px;
    border-radius: 22px;
  }

  .contact-hero__title {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  .contact-hero__details,
  .contact-page-form__row {
    grid-template-columns: 1fr;
  }

  .contact-hero__form-card {
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .contact-hero__content,
  .contact-hero__form-card {
    padding-inline: 0;
  }

  .contact-hero__form-card {
    padding: 1.15rem;
  }

  .contact-detail {
    padding: 1rem;
    border-radius: 18px;
  }

  .support-card {
    min-height: auto;
    padding: 1.25rem;
    border-radius: 20px;
  }
}
