.home-hero-3 {
  width: 100%;
  overflow-x: hidden;
  padding: 76px 0 88px;
  background: var(--hero-surface);
}

.home-hero-3__container {
  display: grid;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 0 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 48px;
  align-items: start;
}

.home-hero-3__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-hero-3__eyebrow {
  margin: 0 0 24px;
  color: var(--hero-accent);
  font-family: var(--font-family-display);
  font-size: var(--font-size-small);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.home-hero-3__heading {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-family-display);
  font-size: var(--hero-heading-size);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 620px;
}

.home-hero-3__divider {
  width: 348px;
  max-width: 100%;
  margin: 46px 0 32px;
  border-top: 4px dotted var(--color-dotted);
}

.home-hero-3__body {
  width: 100%;
  max-width: 560px;
  color: var(--color-text-dark);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  font-weight: 400;
}

.home-hero-3__body p {
  margin: 0 0 34px;
}

.home-hero-3__body p:last-child {
  margin-bottom: 0;
}

.home-hero-3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  min-width: 240px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  text-decoration: none;
  font-family: var(--font-family-display);
  font-size: var(--font-size-body);
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(var(--color-text-dark-rgb), 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero-3__cta:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.home-hero-3__form-card {
  min-width: 0;
  width: 100%;
  padding: 40px 32px 34px;
  background: var(--hero-form-surface);
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(var(--color-text-dark-rgb), 0.12);
}

.home-hero-3__form-title {
  margin: 0 0 20px;
  color: var(--color-text-dark);
  font-family: var(--font-family-display);
  font-size: var(--subsection-heading-size);
  line-height: 1.3;
  font-weight: 700;
}

.home-hero-3__form-copy {
  margin: 0 0 32px;
  color: var(--color-text-dark);
  font-size: var(--font-size-body);
  line-height: 1.5;
  font-weight: 400;
}

.home-hero-3__form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.home-hero-3__field {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-hero-3__field span {
  color: var(--hero-field-label);
  font-family: var(--font-family-display);
  font-size: var(--font-size-body);
  font-weight: 600;
}

.home-hero-3__field input,
.home-hero-3__field textarea {
  width: 100%;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid var(--hero-field-border);
  background: transparent;
  color: var(--hero-field-text);
  font-size: var(--font-size-body);
  font-family: var(--font-family);
  outline: none;
}

.home-hero-3__field textarea {
  min-height: 82px;
  resize: vertical;
}

.home-hero-3__field input:focus,
.home-hero-3__field textarea:focus {
  border-bottom-color: var(--hero-field-focus-border);
}

.home-hero-3__submit {
  align-self: flex-end;
  min-width: 200px;
  margin-top: 16px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  font-family: var(--font-family-display);
  font-size: var(--font-size-body);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(var(--color-text-dark-rgb), 0.15);
}

@media (max-width: 1400px) {
  .home-hero-3__form-card {
    padding: 56px 44px 48px;
  }
}

@media (max-width: 1100px) {
  .home-hero-3 {
    padding: 72px 0 88px;
  }

  .home-hero-3__container {
    padding: 0 36px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .home-hero-3__heading {
    font-size: var(--hero-heading-size);
  }

  .home-hero-3__body {
    font-size: var(--font-size-body);
    max-width: none;
  }

  .home-hero-3__form-card {
    max-width: 860px;
  }
}

@media (max-width: 767px) {
  .home-hero-3 {
    padding: 52px 0 68px;
  }

  .home-hero-3__container {
    padding: 0 24px;
  }

  .home-hero-3__eyebrow {
    margin-bottom: 18px;
    font-size: var(--font-size-body);
  }

  .home-hero-3__heading {
    font-size: var(--hero-heading-size);
  }

  .home-hero-3__divider {
    margin: 26px 0 20px;
  }

  .home-hero-3__body {
    font-size: var(--font-size-body);
  }

  .home-hero-3__cta,
  .home-hero-3__submit {
    align-self: stretch;
    width: 100%;
    min-width: 0;
    font-size: var(--font-size-body);
    padding: 18px 24px;
  }

  .home-hero-3__form-card {
    padding: 32px 22px 30px;
    border-radius: 32px;
  }

  .home-hero-3__form-title {
    font-size: var(--subsection-heading-size);
    margin-bottom: 16px;
  }

  .home-hero-3__form-copy {
    font-size: var(--font-size-body);
    margin-bottom: 28px;
  }

  .home-hero-3__field span {
    font-size: 20px;
  }

  .home-hero-3__field input,
  .home-hero-3__field textarea {
    font-size: var(--font-size-body);
  }
}
