.home-neighborhoods-3 {
  padding: 82px 20px 96px;
  background: #ffffff;
}

.home-neighborhoods-3__container {
  max-width: 1560px;
  margin: 0 auto;
}

.home-neighborhoods-3__header {
  max-width: 1440px;
  margin: 0 auto 66px;
  text-align: center;
}

.home-neighborhoods-3__eyebrow {
  margin: 0 0 18px;
  color: #83a93d;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-neighborhoods-3__heading {
  margin: 0;
  color: #2f313a;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.home-neighborhoods-3__divider {
  width: min(640px, 100%);
  margin: 28px auto 28px;
  border-top: 4px dotted #9bb55a;
}

.home-neighborhoods-3__intro {
  max-width: 1320px;
  margin: 0 auto;
  color: #4d4f58;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  line-height: 1.34;
}

.home-neighborhoods-3__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 62px;
  align-items: start;
}

.home-neighborhoods-3__areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 54px;
  align-content: start;
}

.home-neighborhoods-3__area h3 {
  margin: 0 0 16px;
  color: #83a93d;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 800;
}

.home-neighborhoods-3__area p {
  margin: 0;
  color: #4d4f58;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  line-height: 1.34;
}

.home-neighborhoods-3__area--full {
  grid-column: 1 / 2;
}

.home-neighborhoods-3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 312px;
  min-height: 84px;
  padding: 18px 42px;
  border-radius: 999px;
  background: #88a93c;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(61, 78, 22, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-neighborhoods-3__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(61, 78, 22, 0.24);
}

.home-neighborhoods-3__media {
  position: relative;
  min-height: 720px;
  padding-top: 110px;
}

.home-neighborhoods-3__main-frame {
  margin-left: auto;
  max-width: 720px;
  border: 12px solid #1f4d39;
  border-radius: 58px 220px 58px 58px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(18, 28, 18, 0.12);
  background: #eff5e8;
}

.home-neighborhoods-3__main-image,
.home-neighborhoods-3__inset-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.home-neighborhoods-3__inset-frame {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 388px;
  border: 12px solid #1f4d39;
  border-radius: 34px 34px 180px 34px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(18, 28, 18, 0.12);
  background: #eff5e8;
}

@media (max-width: 1279px) {
  .home-neighborhoods-3__content {
    gap: 40px;
  }

  .home-neighborhoods-3__areas {
    gap: 42px 34px;
  }

  .home-neighborhoods-3__media {
    min-height: 640px;
  }

  .home-neighborhoods-3__inset-frame {
    width: 300px;
  }
}

@media (max-width: 1023px) {
  .home-neighborhoods-3 {
    padding: 58px 20px 72px;
  }

  .home-neighborhoods-3__header {
    margin-bottom: 42px;
  }

  .home-neighborhoods-3__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-neighborhoods-3__areas {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-neighborhoods-3__area--full {
    grid-column: auto;
  }

  .home-neighborhoods-3__cta {
    width: 260px;
  }

  .home-neighborhoods-3__media {
    min-height: auto;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 70px;
  }

  .home-neighborhoods-3__inset-frame {
    width: 280px;
    left: 8px;
    bottom: -10px;
  }
}

@media (max-width: 767px) {
  .home-neighborhoods-3__eyebrow {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .home-neighborhoods-3__heading {
    font-size: 2rem;
    letter-spacing: -0.03em;
  }

  .home-neighborhoods-3__divider {
    margin: 22px auto 24px;
    border-top-width: 3px;
  }

  .home-neighborhoods-3__intro,
  .home-neighborhoods-3__area p {
    font-size: 16px;
  }

  .home-neighborhoods-3__area h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .home-neighborhoods-3__cta {
    width: 240px;
    min-height: 72px;
    font-size: 17px;
  }

  .home-neighborhoods-3__main-frame {
    border-width: 8px;
    border-radius: 36px 130px 36px 36px;
  }

  .home-neighborhoods-3__inset-frame {
    width: 210px;
    border-width: 8px;
    border-radius: 26px 26px 120px 26px;
  }
}
