/* hero */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--blue);
  isolation: isolate;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(4, 29, 42, 0.85) 0%,
      rgba(4, 29, 42, 0.58) 44%,
      rgba(4, 29, 42, 0.12) 100%
    ),
    url("../img/site/hero-gate.jpg") center 75% / cover;
  z-index: -1;
  transform: scale(1.01);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
  z-index: -1;
}
.hero-content {
  padding: 90px 0 115px;
  max-width: 760px;
}
.hero .eyebrow {
  color: #fff;
}
.hero h1 {
  font: 700 clamp(45px, 7vw, 65px) / 1.02 var(--font-display);
  letter-spacing: -1.8px;
  margin: 20px 0;
  color:#fff;
}
.hero h1 em {
  color: #fff;
  font-weight: 700;
  font-style:normal;
}
.hero p {
    max-width: 700px;
    color: #fff;
    font-size: 16px;
    margin: 25px 0;
    line-height: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 112, 171, 0.77);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-stat {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}
.hero-stat:last-child {
  border: 0;
}
.hero-stat strong {
  display: block;
  font: 600 19px var(--font-display);
  color: #fff;
}
.hero-stat span {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}
.WHY-PROSPERITY {
    margin-top: 60px;
}
.WHY-PROSPERITY strong {
    color: #333;
    font-size: 20px;
    letter-spacing: -0.5px;
}
.WHY-PROSPERITY span {
    color: #333;
}
.WHY-PROSPERITY .hero-stat {
    background: #f5f7f2;
}
.WHY-PROSPERITY .hero-stats{
  gap:10px;
  margin-top:20px;
}
.WHY-PROSPERITY h2 {
    font-size: 35px;
}
.WHY-PROSPERITY small.signature {
    margin: 5px 0 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}



/* intro */
.intro {
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}
.intro-image {
  position: relative;
  padding: 0 0 25px 25px;
}
.intro-image:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 65%;
  background: #dce4d0;
  z-index: 0;
}
.intro-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 470px;
  object-fit: cover;
}
.intro-image .image-label {
  position: absolute;
  z-index: 2;
  right: -15px;
  bottom: 45px;
  background: white;
  padding: 17px 22px;
  box-shadow: var(--shadow);
  font: 600 16px var(--font-display);
  color: var(--blue);
}
.intro-copy h2 {
  font: 600 clamp(34px, 4vw, 50px) / 1.16 var(--font-display);
  margin: 16px 0 20px;
}
.intro-copy p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}
.signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
}
.signature span {
  height: 1px;
  width: 44px;
  background: var(--green);
}
/* vision strip */
.vision-strip {
  background: var(--blue);
  color: white;
  padding: 48px 0;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.vision-grid h2 {
  color:#fff;
  font: 600 clamp(30px, 4vw, 45px) / 1.16 var(--font-display);
}
.vision-grid p {
  color: #fff;
  font-size: 15px;
  line-height:25px;
}
.vision-grid .eyebrow {
  color: #fff;
  margin-bottom: 13px;
}
.vision-grid .eyebrow::before{
  background:#fff;
}
/* lifestyle */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.life-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #dce4e0;
}
.life-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.7s;
}
.life-card:hover img {
  transform: scale(1.05);
}
.life-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 28, 41, 0.78), transparent 66%);
}
.life-card-content {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: white;
}
.life-card-content small {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
}
.life-card-content h3 {
  font: 600 31px var(--font-display);
  margin: 5px 0;
  color:#fff;
}
.life-card-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 400px;
}
.life-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.life-side .life-card {
  min-height: 205px;
}
.life-side .life-card-content h3 {
  font-size: 24px;
}
/* amenities */
.amenities {
  background: #f5f7f2;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #dce4dc;
  border: 1px solid #dce4dc;
}
.amenity {
  background: #f5f7f2;
  padding: 27px 22px;
  min-height: 160px;
  transition: 0.25s;
}
.amenity:hover {
  background: white;
}
.amenity-icon {
  font-size: 35px;
  color: var(--blue);
  margin-bottom: 16px;
}
.amenity h3 {
  font: 600 18px var(--font-display);
  margin-bottom: 6px;
}
.amenity p {
  font-size: 13px;
}
/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 250px 250px;
  gap: 13px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #dfe7e0;
  padding: 0;
  text-align: left;
}
.gallery-item:first-child {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 35px 15px 13px;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.gallery-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 28, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 55px 20px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 25px;
}
.lb-close {
  top: 18px;
  right: 20px;
}
.lb-prev {
  left: 18px;
  top: 50%;
}
.lb-next {
  right: 18px;
  top: 50%;
}
/* master plan */
.master {
  background: var(--blue);
  color: white;
}
.master-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.master .eyebrow {
  color: #fff;
}
.master .eyebrow::before{
  background:#fff;
}
.master h2 {
  font: 600 clamp(34px, 4vw, 49px) / 1.13 var(--font-display);
  margin: 15px 0;
  color:#fff;
}
.master p {
  color: #fff;
  line-height:22px;
  font-size: 14px;
  margin-bottom: 24px;
}
.master-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 25px 0;
}
.master-point {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 11px;
  font-size: 12px;
  color: #fff;
}
.master-point:before {
  content: "✦";
  color: #fff;
  margin-right: 9px;
}
.master-image {
  background: white;
  padding: 9px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.master-image img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #f5f4ed;
}
/* location */
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}
.route-image {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #e0e5de;
}
.location-copy h2 {
  font: 600 clamp(34px, 4vw, 49px) / 1.13 var(--font-display);
  margin: 14px 0;
}
.location-copy > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.distance-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.distance {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #e4e9e4;
  font-size: 13px;
}
.distance span {
  color: #54656e;
}
.distance strong {
  white-space: nowrap;
  color: var(--blue);
}
/* CTA/contact */
.cta {
  background: var(--cream);
  padding: 0 0 90px;
}
.cta-box {
  background: linear-gradient(
      115deg,
      rgba(6, 39, 56, 0.92),
      rgba(0, 82, 163, 0.7)
    ),
    url("../img/site/entry-render.jpg") center/cover;
  padding: 65px 7%;  
  gap: 35px;
  color: white;
}
.cta-grid{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cta-box h2 {
  font: 600 clamp(30px, 4vw, 47px) / 1.13 var(--font-display);
  max-width: 650px;
  color:#fff;
}
.cta-box p {
  color: #fff;
  font-size: 14px;
  margin-top: 15px;
}
@media (max-width: 980px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 10px;
  }
  .nav > .btn {
    display: none;
  }
  .intro-grid,
  .master-grid,
  .location-grid {
    gap: 35px;
  }
  .amenity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero {
    min-height: 620px;
  }
  .gallery-grid {
    grid-template-rows: 190px 190px;
  }
}
@media (max-width: 720px) {
  .section {
    padding: 70px 0;
  }
  .header {
    height: 72px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .menu {
    display: block;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 5%;
    box-shadow: 0 12px 20px #00000012;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid #eef0ea;
    font-size: 12px;
  }
  .hero {
    min-height: 690px;
    align-items: flex-start;
  }
  .hero:before {
    background: linear-gradient(
        90deg,
        rgba(4, 29, 42, 0.83),
        rgba(4, 29, 42, 0.35)
      ),
      url("../img/site/hero-gate.jpg") 56% center/cover;
  }
  .hero-content {
    padding: 75px 0 145px;
  }
  .hero h1 {
    font-size: clamp(47px, 12vw, 69px);
  }
  .hero p {
    font-size: 14px;
  }
  .hero:after {
    inset: 10px;
  }
  .hero-stat {
    padding: 13px 8px;
  }
  .hero-stat strong {
    font-size: 15px;
  }
  .hero-stat span {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .intro-grid,
  .vision-grid,
  .lifestyle-grid,
  .master-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .intro-grid {
    gap: 35px;
  }
  .intro-image img {
    height: 340px;
  }
  .intro-image .image-label {
    right: -4px;
    bottom: 32px;
  }
  .vision-grid {
    gap: 20px;
  }
  .life-card {
    min-height: 350px;
  }
  .life-side .life-card {
    min-height: 200px;
  }
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amenity {
    padding: 22px 15px;
    min-height: 155px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 160px 160px;
    gap: 9px;
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .master-grid {
    gap: 30px;
  }
  .master-image img {
    height: 300px;
  }
  .distance-list {
    gap: 0 15px;
  }
  .route-image {
    height: 350px;
    order: 2;
  }
  .cta {
    padding-bottom: 65px;
  }
  .cta-box {
    padding: 40px 25px;
    align-items: flex-start;
    flex-direction: column;
  }
  .form {
    padding: 23px 17px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
}
