/* =============================================================
   City page layout for DEMO C.
   Loads after style.css and only adds location-specific blocks.
   ============================================================= */

html { scroll-padding-top: 92px; }
@media (max-width: 680px) { html { scroll-padding-top: 82px; } }

/* ---------- breadcrumb ---------- */
.crumb { padding: 18px 0 22px; font-size: 13px; color: var(--text-faint); }
.crumb a:hover { color: var(--accent-deep); text-decoration: underline; }
.crumb span { margin: 0 7px; opacity: .5; }

/* ---------- local hero ---------- */
.lhero { background: linear-gradient(170deg, #f0f9f6 0%, #f7fbfa 55%, #ffffff 100%); padding: 20px 0 76px; }
.lhero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.lhero h1 { font-size: clamp(34px, 4.8vw, 52px); font-weight: 800; }
.lhero h1 .in { color: var(--accent-deep); }
.lhero .lede { margin-top: 20px; font-size: 16.5px; color: var(--text-dim); line-height: 1.7; }
.lhero .lede strong { color: var(--ink); font-weight: 700; }

/* ---------- ZIP + neighborhood chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chips span {
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  border: 1px solid var(--border); background: #fff;
  padding: 5px 11px; border-radius: var(--r-pill);
}
.chips span.zip { font-variant-numeric: tabular-nums; color: var(--accent-dark); border-color: var(--accent-line); background: var(--accent-soft); }

/* ---------- "what breaks here" cards ---------- */
.local { background: var(--panel); }
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.local-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.local-card .li { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 16px; }
.local-card .li svg { width: 21px; height: 21px; }
.local-card h3 { font-size: 17px; margin-bottom: 10px; }
.local-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; margin-bottom: 12px; }
.local-card .tell { margin-top: auto; font-size: 13px; color: var(--accent-dark); font-weight: 600; background: var(--accent-soft); border-radius: var(--r-sm); padding: 10px 13px; }

/* ---------- neighborhood coverage ---------- */
.hoods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hood { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px 24px; }
.hood h3 { font-size: 16px; margin-bottom: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hood h3 .zips { font-size: 11.5px; font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.hood .built { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 11px; }
.hood p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 11px; }
.hood .names { font-size: 13px; color: var(--text-dim); }
.hood .names b { color: var(--ink); font-weight: 600; }

/* ---------- pricing ---------- */
.price-wrap { max-width: 900px; margin: 0 auto; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.price-table th, .price-table td { padding: 13px 18px; border-bottom: 1px solid var(--border-soft); font-size: 14.5px; text-align: left; }
.price-table thead th { background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td.amt { text-align: right; font-weight: 700; color: var(--accent-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 16px; font-size: 13.5px; color: var(--text-faint); text-align: center; }

/* ---------- inline CTA band ---------- */
.inline-cta {
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r);
  padding: 26px 30px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-top: 34px;
}
.inline-cta h3 { font-size: 20px; margin-bottom: 5px; }
.inline-cta p { font-size: 14px; color: var(--text-dim); }

/* ---------- nearby cities ---------- */
.nearby { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.nearby a {
  font-size: 13.5px; font-weight: 600; color: var(--text-dim); background: #fff;
  border: 1px solid var(--border); padding: 9px 16px; border-radius: var(--r-pill);
}
.nearby a:hover { border-color: var(--accent); color: var(--accent-deep); }

@media (max-width: 900px) {
  .lhero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .local-grid { grid-template-columns: 1fr; }
  .hoods { grid-template-columns: 1fr; }
}
