/* ======================================= */
/* NEIGHBORHOODS LANDING PAGE (INDEX)      */
/* neighborhoods-landing.css               */
/* For: /neighborhoods.html                */
/* ======================================= */

/* ======================================= */
/* Hero (match About/Team/Contact)         */
/* ======================================= */

.neighborhoods-hero {
  background: var(--treg-cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.neighborhoods-hero .section-header {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
  text-align: left;
}

.neighborhoods-hero .eyebrow {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--treg-slate);
  margin: 0 0 0.4rem;
}

.neighborhoods-hero .section-title {
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  text-transform: lowercase;
  margin: 0 0 0.4rem;
  color: var(--treg-charcoal);
  line-height: 1.12;
}

.neighborhoods-hero .section-intro {
  max-width: 100%;
  margin: 0.4rem 0 0;
  color: var(--treg-slate);
  line-height: 1.6;
  text-align: left;
  text-wrap: normal;
}

.neighborhoods-hero .section-intro-secondary {
  margin-top: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.92;
}

.neighborhoods-hero .section-intro a {
  color: var(--treg-charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--treg-bronze);
  padding-bottom: 1px;
}

.neighborhoods-hero .section-intro a:hover {
  border-bottom-color: var(--treg-charcoal);
}

@media (max-width: 640px) {
  .neighborhoods-hero .section-header {
    padding: 2.1rem 1.1rem 2.1rem;
  }
  .neighborhoods-hero .section-title {
    font-size: 2.15rem;
  }
}

/* ======================================= */
/* Full-width visual divider (match home)  */
/* ======================================= */

.neighborhoods-visual img {
  width: 100%;
  height: clamp(220px, 30vw, 420px);
  object-fit: cover;
  object-position: center 58%; /* 👈 pans the crop downward */
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

.neighborhoods-visual img {
  width: 100%;
  height: clamp(220px, 30vw, 420px);
  object-fit: cover;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

@media (max-width: 640px) {
  .neighborhoods-visual img {
    height: 220px;
  }
}

/* ======================================= */
/* Grid + tiles                            */
/* ======================================= */

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 980px) {
  .neighborhoods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .neighborhoods-grid {
    grid-template-columns: 1fr;
  }
}

.neighborhood-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--treg-charcoal);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.neighborhood-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.12);
}

.neighborhood-tile-header {
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: 1.1rem;
  text-transform: lowercase;
  padding: 0.95rem 1.05rem 0.6rem;
}

.neighborhood-tile-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.neighborhood-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.22s ease, filter 0.22s ease;
  filter: brightness(1.02) contrast(1.03) saturate(1.04);
}

.neighborhood-tile:hover .neighborhood-thumb {
  transform: scale(1.06);
}

.neighborhood-tile-body {
  padding: 0.95rem 1.05rem 1.15rem;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--treg-slate);
}

/* ======================================= */
/* CTA spacing polish (landing page only)  */
/* ======================================= */

.main .section-cta-text {
  margin-bottom: 1.4rem; /* breathing room above buttons */
}

.main .section-cta .btn-row {
  margin-top: 0; /* keep buttons visually grouped */
}
