/* ============================================================
   John's Property — Location Pages Stylesheet
   ============================================================ */

/* ---- Location Hero ---- */
.location-hero {
  padding-bottom: 4rem;
}
.location-hero-sub {
  max-width: 680px;
  margin: 1.25rem auto 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  text-align: center;
}

/* ---- Why Section ---- */
.loc-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.loc-why-text p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.loc-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.loc-badge {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-gold);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 2px;
}

/* ---- CTA Card ---- */
.loc-cta-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 4px;
  position: sticky;
  top: 120px;
}
.loc-cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.loc-cta-card p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- FAQ ---- */
.loc-faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 3rem;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--color-gold); }
.faq-q[aria-expanded="true"] { color: var(--color-gold); }
.faq-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding-bottom: 1.25rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ---- Nearby / Pills ---- */
.loc-nearby .section-title { text-align: center; }
.loc-nearby .section-tag  { text-align: center; display: block; }
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.location-pill {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.location-pill:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201,169,110,0.06);
}
.location-pill--all {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ---- Locations Index ---- */
.loc-index-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.loc-index-county {
  margin-bottom: 3.5rem;
}
.loc-index-county-name {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .loc-why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .loc-cta-card {
    position: static;
  }
}
@media (max-width: 600px) {
  .location-hero-sub {
    font-size: 1rem;
  }
  .loc-cta-card {
    padding: 2rem 1.5rem;
  }
}
