/*
 * neighbourhood-pages.css
 * Page-specific styles for all 5 neighbourhood landing pages.
 * Upload alongside global.css in public_html root.
 * Each page links: global.css THEN neighbourhood-pages.css
 */

/* ===== HERO ===== */
.nbhd-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 80px 28px;
  background: var(--surface);
}

.nbhd-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
}

.nbhd-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--ink);
  margin-bottom: 18px;
}

.nbhd-hero p.lead {
  font-size: 17px; color: var(--ink3);
  max-width: 500px; line-height: 1.8; margin-bottom: 30px;
}

/* Hero gradient visual */
.nbhd-visual { position: relative; }
.nbhd-grad-block {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--r-2xl);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.nbhd-grad-block::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.nbhd-grad-inner {
  position: relative; z-index: 1;
  text-align: center; color: #fff; padding: 32px;
}
.nbhd-grad-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 24px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; backdrop-filter: blur(10px);
}
.nbhd-grad-icon i { font-size: 36px; color: #fff; }
.nbhd-grad-inner h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.nbhd-grad-inner p  { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* Floating chips */
.nbhd-chip {
  position: absolute;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 13px 16px;
  box-shadow: 0 8px 32px rgba(109,40,217,0.18);
  display: flex; align-items: center; gap: 10px;
  animation: kh-fadeUp 0.6s var(--ease) both;
}
.nbhd-chip--1 { bottom: 40px; left: -24px; animation-delay: 0.6s; }
.nbhd-chip--2 { top: 22px; right: -24px; animation-delay: 0.8s; }
.nbhd-chip-icon {
  width: 34px; height: 34px; background: var(--g-brand);
  border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nbhd-chip-icon i { color: #fff; font-size: 13px; }
.nbhd-chip strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.nbhd-chip span   { font-size: 11px; color: var(--ink3); }

/* Google badge */
.g-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 8px 18px;
  box-shadow: var(--shadow-soft); margin-bottom: 20px;
}
.g-badge .g-logo {
  font-size: 18px; font-weight: 800;
  background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC05, #34A853);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.g-badge .stars { display: flex; gap: 2px; }
.g-badge .stars i { color: #f59e0b; font-size: 13px; }
.g-badge strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.g-badge span   { font-size: 12px; color: var(--ink3); }

/* ===== WHY STRIP ===== */
.why-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-soft);
}
.why-item {
  padding: 22px 16px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--t-base) var(--ease);
}
.why-item:last-child { border-right: none; }
.why-item:hover { background: var(--v6); }
.why-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--v5), #fce7f3); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.why-icon i { color: var(--v2); font-size: 20px; }
.why-item h3 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.why-item p  { font-size: 11.5px; color: var(--ink3); line-height: 1.4; }

/* ===== AMENITIES ===== */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: var(--sp-12); }
.amenity { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px 18px; transition: all var(--t-base) var(--ease); position: relative; overflow: hidden; }
.amenity::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--g-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease); }
.amenity:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(109,40,217,0.2); }
.amenity:hover::before { transform: scaleX(1); }
.a-icon { width: 46px; height: 46px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--v5), #fce7f3); border: 1px solid rgba(109,40,217,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.a-icon i { color: var(--v2); font-size: 19px; }
.amenity h3 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.amenity p  { font-size: 12.5px; color: var(--ink3); line-height: 1.55; }
.amenity-cat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v2); margin-bottom: 12px; display: block; grid-column: 1 / -1; margin-top: var(--sp-4); font-family: var(--font-display); }

/* ===== SOCIAL PROOF ===== */
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; margin-top: var(--sp-12);
}
.proof-item { padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); }
.proof-item:last-child { border-right: none; }
.proof-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; background: var(--g-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; display: block; margin-bottom: 6px; }
.proof-label { font-size: 13px; color: var(--ink3); font-weight: 500; }

/* ===== TESTIMONIALS ===== */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: var(--sp-12); }
.t-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; transition: all var(--t-base) var(--ease); display: flex; flex-direction: column; gap: var(--sp-4); }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.t-stars { display: flex; gap: 2px; }
.t-stars i { color: #f59e0b; font-size: 13px; }
.t-quote { font-size: 13.5px; color: var(--ink2); line-height: 1.75; flex: 1; font-style: italic; }
.t-footer { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: var(--sp-4); }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name  { font-size: 13px; font-weight: 600; color: var(--ink); }
.t-meta  { font-size: 11px; color: var(--ink3); }
.t-since { font-size: 11px; color: var(--v3); font-weight: 500; margin-top: 1px; }

/* ===== NEARBY PAGES GRID ===== */
.nearby-pages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: var(--sp-10);
}

.nearby-page-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; transition: all var(--t-base) var(--ease);
  position: relative; overflow: hidden;
}

.nearby-page-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--g-brand);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--t-base) var(--ease);
}

.nearby-page-card:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: rgba(109,40,217,0.2); }
.nearby-page-card:hover::before { transform: scaleY(1); }

.np-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--g-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.np-icon i { color: #fff; font-size: 18px; }
.np-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.np-desc { font-size: 12px; color: var(--ink3); }
.np-arrow { margin-left: auto; color: var(--v3); font-size: 14px; flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; font-family: var(--font-body); transition: color var(--t-fast); line-height: 1.5;
}
.faq-q:hover { color: var(--v1); }
.faq-q.open  { color: var(--v1); }
.faq-q .faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--v6); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: all var(--t-base) var(--ease); }
.faq-q .faq-icon i { color: var(--v2); font-size: 10px; transition: transform var(--t-base) var(--ease); }
.faq-q.open .faq-icon { background: var(--g-brand); border-color: transparent; }
.faq-q.open .faq-icon i { color: #fff; transform: rotate(45deg); }
.faq-a { font-size: 14.5px; color: var(--ink3); line-height: 1.85; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.2s; }
.faq-a.open { max-height: 600px; padding-bottom: 20px; }

/* ===== LOCATION SECTION ===== */
.location-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; margin-top: var(--sp-12); }
.map-wrap { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 320px; border: none; display: block; }
.metro-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.metro-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--white); transition: all var(--t-base) var(--ease); }
.metro-item:hover { border-color: var(--border-strong); background: var(--v6); transform: translateX(4px); }
.metro-badge { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--g-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.metro-badge i { color: #fff; font-size: 14px; }
.metro-item h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.metro-item p  { font-size: 12px; color: var(--ink3); }

/* ===== SAFETY DARK SECTION ===== */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; position: relative; z-index: 2; }

/* ===== IG STRIP ===== */
.ig-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: var(--sp-8); }
.ig-card { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; position: relative; cursor: pointer; text-decoration: none; display: block; }
.ig-card-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: transform var(--t-base) var(--ease); font-size: 32px; }
.ig-card:hover .ig-card-bg { transform: scale(1.06); }
.ig-card-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; font-size: 12px; font-weight: 600; padding: 20px 12px 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nbhd-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .nbhd-hero p.lead { max-width: 100%; margin: 0 auto 30px; }
  .nbhd-hero .btn-group { justify-content: center; }
  .nbhd-hero .hero-stats { margin: 0 auto; }
  .nbhd-chip--1, .nbhd-chip--2 { display: none; }
  .nbhd-grad-block { max-width: 420px; margin: 0 auto; aspect-ratio: 3/2; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; gap: 32px; }
  .location-layout { grid-template-columns: 1fr; }
  .nearby-pages-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .why-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .nbhd-hero { padding: 56px 16px 44px; min-height: auto; }
  .nbhd-hero h1 { font-size: clamp(32px, 9vw, 50px); }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .why-strip { grid-template-columns: repeat(2, 1fr); }
  .ig-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
