.hero-grid {
  opacity: 0.025;
  background-image: 
    linear-gradient(var(--cbs-blue) 1px, transparent 1px), 
    linear-gradient(90deg, var(--cbs-blue) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
}

.stats-bar { background-color: #1a3a5c; border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); padding: 4rem 0; position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; opacity: 0.04; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%); background-size: 20px 20px; pointer-events: none; }
.stat-number { font-size: clamp(3rem, 6vw, 3.75rem); font-weight: 500; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.stat-sub { font-size: 0.7rem; color: rgba(255,255,255,0.45); margin-top: 0.1rem; }
@media (min-width: 992px) {
  .stat-col + .stat-col { border-left: 1px solid rgba(255,255,255,0.15); }
}

.hero-image-group {
  --transition: all 0.7s ease-out;
  max-width: 500px; 
  margin: 0 auto;  
}

.hero-image-card {
  aspect-ratio: 4/5;
  transform: rotate(-1deg);
  transition: var(--transition);
  max-height: 600px;
}

.hero-image {
  transform: scale(1.05);
  transition: transform 1s ease-out;
}

.hero-glow {
  transition: var(--transition);
}

.hero-image-group:hover .hero-image-card {
  transform: rotate(0deg);
}

.hero-image-group:hover .hero-image {
  transform: scale(1);
}

.hero-image-group:hover .hero-glow {
  filter: blur(32px);
}

@media (min-width: 992px) {
  .hero-image-card {
    aspect-ratio: 5/6;
  }
}

.hero-badge {
  bottom: -1.5rem;
  left: -1.5rem;
  max-width: 200px;
  background: var(--cbs-surface, #fff);
  animation: float 3s ease-in-out infinite;
}

@media (min-width: 992px) {
  .hero-badge {
    left: -2.5rem;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

  #neighborhoods {
    background-color: var(--cbs-blue);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
  }

  #neighborhoods::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 24px 24px;
    pointer-events: none;
  }

  /* Neighborhood card */
  .nbhd-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    aspect-ratio: 4 / 5;
  }

  .nbhd-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .nbhd-card:hover img {
    transform: scale(1.05);
  }

  /* Gradient overlay */
  .nbhd-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
  }

  /* Content layer */
  .nbhd-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
  }

  /* Top row */
  .nbhd-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .nbhd-walk-badge {
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
  }

  .nbhd-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* Bottom content */
  .nbhd-bottom {
    transform: translateY(8px);
    transition: transform 0.5s ease;
  }

  .nbhd-card:hover .nbhd-bottom {
    transform: translateY(0);
  }

  .nbhd-subtitle {
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .nbhd-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .nbhd-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255,255,255,0);
    transition: color 0.5s ease;
    margin-bottom: 0.6rem;
  }

  .nbhd-card:hover .nbhd-desc {
    color: rgba(255,255,255,0.8);
  }

  .nbhd-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0);
    transition: color 0.5s ease;
    text-decoration: none;
  }

  .nbhd-card:hover .nbhd-cta {
    color: #fff;
  }

  .nbhd-cta svg {
    transition: transform 0.3s ease;
  }

  .nbhd-card:hover .nbhd-cta svg {
    transform: translateX(4px);
  }

  /* Accent colors */
  .accent-orange { color: #fb923c; }
  .accent-blue   { color: #93c5fd; }
  .accent-green  { color: #4ade80; }
  .accent-amber  { color: #fbbf24; }
/*
  .heritage-section {
background: #f8f9fa;
}
*/
.heritage-img-wrapper {
width: 280px;
height: 280px;
border-radius: 50%;
overflow: hidden;
border: 8px solid #fff;
box-shadow: 0 8px 32px rgba(24, 95, 165, 0.12);
position: relative;
z-index: 10;
}

.heritage-img-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}

.spin-ring {
position: absolute;
border-radius: 9999px;
border: 2px dashed var(--cbs-orange);
opacity: 0.3;
width: 360px;
height: 360px;
animation: spin 18s linear infinite;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.static-ring {
position: absolute;
border-radius: 9999px;
border: 2px solid var(--cbs-blue);
opacity: 0.1;
width: 320px;
height: 320px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

@keyframes spin {
to { transform: translate(-50%, -50%) rotate(360deg); }
}

.img-frame {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 280px;
height: 280px;
}

.badge-card {
position: absolute;
background: #fff;
border: 1px solid #dee2e6;
border-radius: 1rem;
padding: 1.25rem;
box-shadow: var(--shadow-color) 0 10px 15px -3px, var(--shadow-color) 0 4px 6px -4px;
z-index: 20;
}

.badge-card.bottom-right {
bottom: 0;
right: -.5rem;
max-width: 220px;
}

.badge-card.top-left {
top: 0;
left: -.5em;
}

.timeline-dot {
	background: var(--cbs-blue);
	flex-shrink: 0;
	margin-top: .375rem;
	width: .5rem;
	height: .5rem;
	border-radius: 9999px;
}

.timeline-year-label {
	flex-shrink: 0;
	width: 4em;
	font-weight: 600;
	color: var(--cbs-orange);
	min-width: 50px;
	text-align: right;
	font-family: 'Fraunces', serif;
	font-size: 1rem;
	line-height: 1.5rem;
}

.timeline-text {
	font-size: .875rem;
	line-height: 1.625;
	color: rgb(107 114 128/1);
}

.feature-icon {
color: var(--cbs-orange);
width: 16px;
height: 16px;
flex-shrink: 0;
}

    .testimonials-section {
      background: #FDF1EB;
    }

    .testimonial-card {
      background: #fff;
      border: 1px solid #e9ecef;
      border-radius: 16px;
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }

    .star-icon {
      color: var(--cbs-orange);
      width: 14px;
      height: 14px;
    }

    .avatar {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .75rem;
  	  line-height: 1rem;
      font-weight: 700;
      color: #fff;
      flex-shrink: 0;
    }

    .avatar-blue      { background: var(--cbs-blue); }
    .avatar-orange    { background: var(--cbs-orange); }
    .avatar-blue-light { background: var(--cbs-blue-light); }

    .card-divider {
      border-top: 1px solid #f0f0f0;
      margin-top: 1.75rem;
      padding-top: 1.25rem;
    }

	    .cta-section {
      background-color: var(--cbs-blue);
      position: relative;
      overflow: hidden;
    }

    /* Decorative blobs */
    .cta-blob-tr {
      position: absolute;
      top: -8rem;
      right: -8rem;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      opacity: 0.1;
      background: radial-gradient(circle, var(--cbs-orange) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-blob-bl {
      position: absolute;
      bottom: -6rem;
      left: -6rem;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      opacity: 0.08;
      background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Contact links row */
    .contact-links a,
    .contact-links span {
      color: rgba(255,255,255,0.5);
      font-size: 13px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s ease;
    }

    .contact-links a:hover {
      color: #fff;
    }

    .contact-links .dot {
      color: rgba(255,255,255,0.3);
    }

    .legal-text {
      color: rgba(255,255,255,0.3);
      font-size: 12px;
      line-height: 1.7;
    }



/* ------------------------------------------------------------
   SM — Small  |  ≥ 576px  |  phones (landscape)
   ------------------------------------------------------------ */
@media (min-width: 576px) {
.spin-ring {
width: 440px;
height: 440px;
}

.static-ring {
width: 400px;
height: 400px;
}

.img-frame {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%
/*
width: 340px;
height: 340px;
*/
}

}


/* ------------------------------------------------------------
   LG — Large  |  ≥ 992px  |  desktops
   ------------------------------------------------------------ */

@media (min-width: 992px) {
.badge-card.bottom-right {
right: -2rem;
}

.badge-card.top-left {
top: 0;
left: -1.5em;
}
}