/* =========================
   SUBDIVISION PAGE SYSTEM
   (6 Creeks + similar pages)
   ========================= */

/* Base / layout */
.page-wrap {
  width: 100%;
  padding-top: 110px;
}

.content-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   HEADER
   wider like original styles.css
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
  border-bottom: 0;
  transition: box-shadow 0.25s ease;
}

.topbar {
  position: relative;
  width: 100%;
  min-height: 90px;
  padding: 0 28px;
  box-sizing: border-box;
  transition: min-height 0.25s ease;
}

.logo-wrap,
.top-link,
.top-id,
.logo-mini {
  transition: all 0.25s ease;
}

.logo-wrap {
  position: absolute;
  top: -14px;
  left: 8px;
  margin: 0;
  text-align: left;
  z-index: 2;
}

.top-link {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.header-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-decoration: none;
  margin-right: -22px;
  color: inherit;
}

.header-action:last-child {
  margin-right: 0;
}

.action-icon {
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
}

.action-label {
  margin-top: -8px;
  font-family: "Hedvig Letters Serif", serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #111;
  text-align: center;
}

.match-btn {
  width: 80px;
}

.connect-btn {
  width: 90px;
}

.data-btn {
  width: 82px;
}

.top-id {
  position: absolute;
  top: 8px;
  right: 28px;
  text-align: right;
  font-size: 14px;
  line-height: 1.4;
  color: #111;
}

.logo-mini {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 132px;
  text-decoration: none;
  color: inherit;
}

.logo-mini:hover {
  opacity: 0.85;
}

.logo-mini img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateX(-15px);
}

.logo-mini-label {
  margin-top: -18px;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.8);
  white-space: nowrap;
  text-align: left;
  line-height: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header.shrink {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.site-header.shrink .logo-mini-label {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.site-header.shrink .topbar {
  min-height: 78px;
}

.site-header.shrink .top-link,
.site-header.shrink .top-id {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

/* =========================
   TOP META
   ========================= */

.page-top-meta {
  margin-bottom: 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #000;
  text-decoration: underline;
}

.page-updated {
  font-size: 12px;
  color: #666;
}

/* =========================
   SHARED SECTIONS
   ========================= */

.section,
.section-block {
  margin-top: 40px;
}

.section-block:first-of-type {
  margin-top: 0;
}

.section-title,
.map-heading {
  margin: 0 0 14px;
  font-family: "Hedvig Letters Serif", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: #000;
}

/* =========================
   HERO
   ========================= */

.hero-section {
  margin-top: 20px;
  margin-bottom: 28px;
  text-align: center;
}

.hero-section h1 {
  margin: 0 0 8px;
  font-family: "Hedvig Letters Serif", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  color: #555;
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  text-align: center;
}

.hero-copy p {
  margin: 0 0 16px;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

/* =========================
   GALLERIES / IMAGES
   ========================= */

.gallery-2,
.gallery-3,
.gallery-split {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.gallery-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card,
.feature-image {
  overflow: hidden;
  border-radius: 18px;
  background: #f4f4f4;
}

.gallery-card img,
.feature-image img,
.gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-img {
  height: 220px;
  border-radius: 14px;
}

/* =========================
   GRIDS
   ========================= */

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

/* =========================
   CARDS / CONTENT BLOCKS
   ========================= */

.market-card,
.info-card,
.info-block,
.nearby-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 20px;
}

.market-card {
  text-align: center;
}

.nearby-card {
  text-align: left;
}

.market-title,
.card-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

.market-value {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.market-note,
.fine-note {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}

.fine-note {
  margin-top: 12px;
  margin-bottom: 8px;
}

.info-card h2,
.info-card h3,
.info-block h3,
.nearby-card h3,
.nearby-title {
  margin: 0 0 10px;
  font-family: "Hedvig Letters Serif", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.info-card p,
.info-block p,
.nearby-card p,
.neighborhood-description p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.info-card ul,
.nearby-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.info-card li,
.nearby-card li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.quote {
  margin: 0 0 10px;
  font-style: italic;
  color: #333;
}

.traffic-badges {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #000;
}

.nearby-title {
  margin-top: 8px;
  font-size: 14px;
}

/* =========================
   DESCRIPTION / CTA
   ========================= */

.neighborhood-description {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.cta-stack {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.cta-stack a {
  color: #000;
  text-decoration: underline;
}

/* =========================
   IFRAMES
   ========================= */

.dashboard-wrap iframe,
.map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
}

.dashboard-wrap iframe {
  height: 280px;
}

.map-wrap iframe {
  height: 480px;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  margin-top: 60px;
  padding: 44px 0 18px;
  background: #fff;
  border-top: 1px solid #e8e8e8;
}

.footer-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 10px;
  font-family: "Hedvig Letters Serif", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.footer-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.footer-right-group {
  display: flex;
  align-items: flex-start;
  gap: 42px;
}

.footer-right-group .footer-col {
  min-width: 110px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #000;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-badge {
  flex: 0 0 auto;
}

.footer-badge a {
  display: block;
}

.footer-badge img {
  display: block;
  width: 108px;
  height: auto;
  border: 0;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .topbar {
    min-height: 140px;
    padding: 0 10px;
  }

  .logo-wrap {
    position: absolute;
    top: -4px;
    left: 0;
    text-align: left;
    transform: none;
  }

  .top-link {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 0;
  }

  .top-id {
    position: absolute;
    top: 8px;
    right: 6px;
    display: block;
    text-align: right;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
    max-width: 145px;
  }

  .logo-mini {
    width: 132px;
    align-items: flex-start;
  }

  .logo-mini img {
    transform: translateX(-15px);
  }

  .logo-mini-label {
    white-space: nowrap;
    width: auto;
    text-align: left;
    margin-top: -18px;
    margin-left: 8px;
    font-size: 10px;
    left: auto;
  }

  .site-header.shrink .topbar {
    min-height: 86px;
  }

  .site-header.shrink .logo-mini {
    width: 110px;
  }

  .page-wrap {
    padding-top: 190px;
  }

  .content-shell {
    max-width: 100%;
    padding: 0 14px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .gallery-2,
  .gallery-3,
  .gallery-split,
  .market-grid,
  .info-grid,
  .nearby-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-2,
  .gallery-3 {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .gallery-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }

  .dashboard-wrap iframe {
    height: 260px;
  }

  .map-wrap iframe {
    height: 360px;
  }

  .site-footer {
    margin-top: 44px;
    padding: 34px 0 18px;
  }

  .footer-right-group {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right-group .footer-col {
    min-width: 0;
  }

  .footer-badge img {
    width: 92px;
  }

  .footer-bottom {
    margin-top: 22px;
    padding-top: 14px;
  }
}
