.jw-neighborhood-guide {
  --bg: #ffffff;
  --card-bg: #ffffff;
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.12);
  --accent-warm: #ff9f0a;
  --text-main: #111111;
  --text-soft: #6e6e73;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.09);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text-main);
  background: #ffffff;
  max-width: 1120px;
  margin: 40px auto 64px;
  padding: 0 20px;
}

.jw-neighborhood-guide *,
.jw-neighborhood-guide *::before,
.jw-neighborhood-guide *::after {
  box-sizing: border-box;
}

/* HERO */
.jw-ng-hero {
  background: #ffffff;
  padding: 52px 28px 48px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin: 0 0 48px 0;
  overflow: hidden;
}

.jw-ng-hero-container {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.jw-ng-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.jw-ng-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.94);
  color: var(--text-soft);
  border: 1px solid rgba(0,0,0,0.40);
  backdrop-filter: blur(10px);
}

.jw-ng-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.jw-ng-hero-title {
  font-size: clamp(32px, 4.5vw, 44px); /* reduced from previous max 52px */
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 16px 0 14px 0;
  color: var(--text-main);
}

.jw-ng-hero-description {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 760px;
  margin-bottom: 32px;
}

.jw-ng-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.jw-ng-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(245,245,247,0.96);
  color: var(--text-soft);
  border: 1px solid rgba(0,0,0,0.40);
  backdrop-filter: blur(8px);
}

/* Layout & Cards */
.jw-ng-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 28px;
}

.jw-ng-card {
  background: var(--card-bg);
  border: 1px solid rgba(0,0,0,0.35);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-soft);
}

.jw-ng-card--fullwidth {
  grid-column: 1 / -1;
}

.jw-ng-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.jw-ng-card-title {
  font-size: 17px;
  font-weight: 600;
}

.jw-ng-card-subtitle {
  font-size: 13.5px;
  color: var(--text-soft);
}

.jw-ng-card-section {
  margin-bottom: 16px;
}

.jw-ng-card-section-title {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.jw-ng-card-section-body {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

.jw-ng-clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jw-ng-clean-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 7px;
}

.jw-ng-clean-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.jw-ng-btn {
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}

.jw-ng-btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.jw-ng-stat-card--sidebar {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 20px 18px;
  border: 1px solid rgba(0,0,0,0.40);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 32px;
}

.jw-ng-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 18px;
}

.jw-ng-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.jw-ng-stat-value {
  font-size: 14px;
  font-weight: 600;
}

.jw-ng-stat-footnote {
  margin-top: 18px;
  text-align: center;
  font-size: 0.75rem;
  color: #888;
}

.jw-ng-pill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 6px;
}

.jw-ng-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.40);
  background: rgba(245,245,247,0.96);
  font-size: 12.5px;
  color: var(--text-soft);
}

.jw-ng-chip-emphasis {
  border-color: rgba(10,132,255,0.7);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.jw-ng-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(10,132,255,0.7);
  font-weight: 600;
}

.jw-ng-badge-soft-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.jw-ng-note {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 6px;
  font-style: italic;
}

/* FULL-WIDTH CTA – FIXED POSITIONING, VISIBLE BLUE, BALANCED FONTS */
.jw-ng-cta-fullwidth {
  position: relative;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 80px 40px;
  text-align: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 100px;
  margin-bottom: 0;
  left: 0;
  right: auto;
  width: auto;
  box-sizing: border-box;
}

.jw-ng-cta-fullwidth::before,
.jw-ng-cta-fullwidth::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #60a5fa;
}
.jw-ng-cta-fullwidth::before { top: 0; }
.jw-ng-cta-fullwidth::after { bottom: 0; }

.jw-ng-cta-title {
  font-size: 2.6rem; /* balanced – not giant */
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.jw-ng-cta-text {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2.4rem;
  color: #e0f2fe;
}

.jw-ng-cta-highlight {
  font-weight: 900;
  text-transform: uppercase;
}

.jw-ng-cta-phone {
  font-weight: 900;
  font-size: 1.7rem;
  color: #ffffff;
}

.jw-ng-cta-subtext {
  display: block;
  margin-top: 1rem;
  font-size: 1.15rem;
  color: #bfdbfe;
}

.jw-ng-cta-form {
  max-width: 660px;
  margin: 0 auto;
}

.jw-ng-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.jw-ng-input {
  width: 100%;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 18px;
  font-size: 1.15rem;
  background: #ffffff;
  color: #111111;
  box-sizing: border-box;
}

.jw-ng-input:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.4);
}

.jw-ng-cta-button {
  width: 100%;
  background: #ffffff;
  color: #3b82f6;
  font-weight: 900;
  font-size: 1.7rem;
  padding: 24px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

.jw-ng-cta-button:hover {
  background: #f0f8ff;
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
}

.jw-ng-cta-footer {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: #bfdbfe;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* FIX LEFT CARD BORDER */
.jw-ng-layout > section.jw-ng-card:first-child {
  border-left: 2px solid rgba(0,0,0,0.45) !important;
}

/* KILL OPERA BLUE OUTLINES */
.jw-ng-cta-fullwidth * {
  outline-color: transparent !important;
}

/* Responsive */
@media (max-width: 960px) {
  .jw-ng-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .jw-ng-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .jw-ng-hero {
    padding: 40px 18px 36px;
  }
  .jw-ng-card {
    padding: 20px 18px;
  }
  .jw-ng-stat-grid {
    grid-template-columns: 1fr;
  }
  .jw-ng-cta-fullwidth {
    padding: 70px 24px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  .jw-ng-cta-title {
    font-size: 2.2rem;
  }
  .jw-ng-cta-text {
    font-size: 1.25rem;
  }
  .jw-ng-name-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jw-ng-cta-button {
    font-size: 1.55rem;
    padding: 22px;
  }
}