/* ================================================================
   Spolton Mortgages — Location (area) pages
   Builds on service-single.css; adds the local stats panel,
   service cross-links and nearby chips.
   ================================================================ */

/* --- Overview + stats ------------------------------------------ */
.spm-loc-overview { background: #fff; }

.spm-loc-overview-grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .spm-loc-overview-grid { grid-template-columns: 1fr; gap: 36px; }
}

.spm-loc-stats {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  position: sticky;
  top: 96px;
}

.spm-loc-stats-head {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 14px;
}

.spm-loc-stats-list { margin: 0 0 20px; display: grid; gap: 0; }

.spm-loc-stat {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spm-loc-stat:last-child { border-bottom: none; }

.spm-loc-stat dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 4px;
}

.spm-loc-stat-i { display: inline-flex; color: var(--brand); }

.spm-loc-stat dd {
  margin: 0;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.spm-loc-sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 4px 0 8px;
}

.spm-loc-prices {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 0;
}

.spm-loc-prices li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.spm-loc-prices li:last-child { border-bottom: none; }

.spm-loc-price-type { color: var(--slate); }

.spm-loc-price-val {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--brand-strong);
  white-space: nowrap;
}

.spm-loc-develops {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.spm-loc-develops li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--slate);
}

.spm-loc-develops svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }

.spm-loc-develops a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.spm-loc-develops a:hover { color: var(--brand-strong); }

.spm-loc-stats-cta { width: 100%; justify-content: center; margin-top: 4px; }

/* --- Property & prices ----------------------------------------- */
.spm-loc-property { background: #fff; }

.spm-loc-property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 760px) { .spm-loc-property-grid { grid-template-columns: 1fr; } }

.spm-loc-property-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 28px 26px;
}

.spm-loc-property-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 16px;
}

.spm-loc-property-head svg { color: var(--brand); flex-shrink: 0; }

.spm-loc-property-note {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 0 0;
}

.spm-loc-property-cta { width: 100%; justify-content: center; margin-top: 18px; }

/* --- Service cross-links --------------------------------------- */
.spm-loc-services { background: var(--surface); }

.spm-loc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

@media (max-width: 760px) { .spm-loc-services-grid { grid-template-columns: 1fr; } }

.spm-loc-services-all { text-align: center; margin: 28px 0 0; }

.spm-loc-service {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.spm-loc-service:hover {
  border-color: var(--purple-200);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.spm-loc-service-i {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spm-loc-service-name {
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}

.spm-loc-service > svg:last-child { color: var(--brand); flex-shrink: 0; }

/* --- Nearby chips ---------------------------------------------- */
.spm-loc-nearby { background: #fff; }

.spm-loc-nearby-chips {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.spm-loc-nearby-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-tint);
  border: 1px solid var(--purple-100);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

a.spm-loc-nearby-chip:hover {
  background: var(--purple-100);
  border-color: var(--purple-200);
}

.spm-loc-nearby-chip svg { color: var(--brand); flex-shrink: 0; }
