body {
  overflow-x: hidden;
}

.hero-container > *,
.problem-container > * {
  min-width: 0;
}

.hero-cta,
.hero-form .form-submit,
.cost-cta,
.projects-cta,
.process-cta-btn,
.why-cta,
.problem-cta,
.cta-button,
.home-cta-1 .cta-button,
.neighborhoods-cta .cta-button,
.floating-call-button {
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: 700 !important;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
  box-shadow: 0 14px 30px rgba(11, 61, 44, 0.18) !important;
}

.hero-cta:hover,
.hero-form .form-submit:hover,
.cost-cta:hover,
.projects-cta:hover,
.process-cta-btn:hover,
.why-cta:hover,
.problem-cta:hover,
.cta-button:hover,
.home-cta-1 .cta-button:hover,
.neighborhoods-cta .cta-button:hover,
.floating-call-button:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-background-dark) !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 36px rgba(11, 61, 44, 0.24) !important;
}

.hero-cta,
.hero-form .form-submit,
.cost-cta,
.projects-cta,
.process-cta-btn,
.why-cta,
.problem-cta,
.cta-button,
.home-cta-1 .cta-button,
.neighborhoods-cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.why-cta {
  width: fit-content;
  min-width: 0;
  padding-inline: 28px;
}

.hero-form .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.cost-cta .cta-icon,
.problem-cta .cta-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-primary);
  flex-shrink: 0;
}

.cost-cta .cta-icon svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 1023px) {
  .hero-1 {
    padding: 32px 24px 48px;
    margin-top: 24px;
    margin-bottom: 48px;
    overflow: clip;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-heading {
    font-size: 48px;
    text-align: left;
    margin-bottom: 24px;
  }

  .hero-eyebrow,
  .hero-description {
    text-align: left;
  }

  .hero-cta {
    display: inline-flex;
    margin: 0;
  }

  .hero-form .form-submit {
    align-self: stretch;
  }

  .hero-form {
    padding: 32px 28px;
  }

  .problem-section {
    padding: 64px 24px;
    overflow: clip;
  }

  .problem-container {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .problem-content {
    padding-right: 0;
  }

  .problem-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
  }

  .problem-eyebrow .eyebrow-text {
    margin: 0;
  }

  .problem-visual {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .hero-1,
  .problem-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-heading {
    font-size: 36px;
  }

  .hero-form {
    padding: 24px 20px;
  }
}
