/* ===========================================================
   city-page.css — shared styles for /[city]/ pages
   Used by: /sacramento, /citrus-heights, /roseville,
            /orangevale, /folsom
   Design: two-pane editorial — full-width hero, sticky map+CTA
   rail, prose right pane. Intentional break from the service-
   page chassis used on /residential, /broken-springs, etc.
   =========================================================== */

.city-page {
  background: var(--paper);
  padding: 36px 0 80px;
}

/* Top crumb / location tag */
.city-tagbar {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: 36px;
}
.city-tagbar .crumbs-light {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.city-tagbar .crumbs-light a { color: var(--ink-soft); text-decoration: none; }
.city-tagbar .crumbs-light a:hover { color: var(--rust); }
.city-tagbar .crumbs-light .sep { margin: 0 8px; color: var(--ink-line); }
.city-tag {
  margin-left: auto;
  font-family: var(--font-display, 'Roboto Slab', serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
}

/* Full-container-width hero — spans both rail and main pane */
.city-hero-photo {
  position: relative;
  aspect-ratio: 16/5;
  background-size: cover;
  background-position: center;
  margin-bottom: 36px;
  background-color: var(--cream);
}
.city-hero-photo-caption {
  position: absolute;
  bottom: 14px; left: 16px;
  background: rgba(10, 10, 10, 0.72);
  color: var(--paper);
  padding: 6px 12px;
  font-family: var(--font-italic, 'Fraunces', serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-left: 2px solid var(--gold);
}
@media (max-width: 720px) {
  .city-hero-photo { aspect-ratio: 16/10; margin-bottom: 28px; }
}

/* Two-pane grid */
.city-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) {
  .city-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Left rail — sticky on desktop, bottom on mobile */
.city-rail { position: sticky; top: 96px; }
@media (max-width: 980px) {
  .city-rail { position: static; top: auto; order: 2; }
  .city-main { order: 1; }
  .city-rail-cta { display: none; }
}

.city-rail-map {
  aspect-ratio: 4/3;
  width: 100%;
  border: 1px solid var(--ink-line);
  overflow: hidden;
  background: var(--cream);
}
.city-rail-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

.city-rail-facts {
  margin-top: 18px;
  border: 1px solid var(--ink-line);
  background: var(--cream);
}
.city-rail-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-line);
}
.city-rail-fact:last-child { border-bottom: 0; }
.city-rail-fact-label {
  font-size: 13px;
  color: var(--ink-soft);
}
.city-rail-fact-value {
  font-family: var(--font-display, 'Roboto Slab', serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}
.city-rail-fact-value em {
  font-style: italic;
  color: var(--gold-deep);
}

.city-rail-cta {
  margin-top: 18px;
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
}
.city-rail-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.city-rail-cta-phone {
  display: block;
  font-family: var(--font-display, 'Roboto Slab', serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.city-rail-cta-phone:hover { color: var(--gold); }
.city-rail-cta-meta {
  font-size: 13px;
  color: rgba(245, 240, 230, 0.7);
  margin-top: 4px;
}
.city-rail-cta-secondary {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 240, 230, 0.35);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.city-rail-cta-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Right pane */
.city-main { min-width: 0; }

.city-title {
  font-family: var(--font-display, 'Roboto Slab', serif);
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 460;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 16ch;
}
.city-title em {
  font-family: var(--font-italic, 'Fraunces', serif);
  font-style: italic;
  color: var(--gold-deep);
}
.city-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 58ch;
  margin: 0 0 36px;
}
.city-lede strong { font-weight: 600; }

/* H2 + section spacing */
.city-h2 {
  font-family: var(--font-display, 'Roboto Slab', serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 56px 0 20px;
  max-width: 22ch;
}
.city-h2 em {
  font-family: var(--font-italic, 'Fraunces', serif);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}

/* Prose body */
.city-prose { max-width: 60ch; }
.city-prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 18px;
}
.city-prose p strong { font-weight: 600; }
.city-prose p a {
  color: var(--rust);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--ink-line);
}
.city-prose p a:hover { border-bottom-color: var(--rust); }

/* Inline pull-quote — typographic break between sections */
.city-quote {
  max-width: 58ch;
  margin: 36px 0 36px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--gold);
}
.city-quote-body {
  font-family: var(--font-italic, 'Fraunces', serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.city-quote-attr {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.city-quote-attr strong { color: var(--ink); font-weight: 600; }
.city-quote-stars { color: var(--gold); letter-spacing: 1px; margin-right: 8px; }

/* Neighborhoods — 2-col grid */
.city-neighborhoods-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  max-width: 60ch;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.city-neighborhoods-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 16px;
  color: var(--ink);
}
.city-neighborhoods-note {
  max-width: 60ch;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 560px) {
  .city-neighborhoods-list { grid-template-columns: 1fr; }
}

/* Reviews — arrow-controlled carousel */
.city-reviews-block { margin-top: 4px; }
.city-reviews-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.city-reviews-controls .city-reviews-position {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.city-reviews-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink-line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  font-family: inherit;
}
.city-reviews-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--rust);
}
.city-reviews-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.city-reviews-carousel {
  margin: 0 -16px;
  padding: 4px 16px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(340px, 80%);
  gap: 16px;
  scrollbar-width: none;
}
.city-reviews-carousel::-webkit-scrollbar { display: none; }
.city-review-card {
  scroll-snap-align: start;
  background: var(--cream);
  border: 1px solid var(--ink-line);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
}
.city-review-card .stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
}
.city-review-card-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
  flex: 1;
}
.city-review-card-attr {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
}
.city-review-card-attr strong { color: var(--ink); font-weight: 600; }
