/* City / service-area landing pages */

.city-page {
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-body: 'Inter', system-ui, sans-serif;
  background: #f7f6f4 !important;
  color: #1c2340;
  font-family: var(--f-body);
}

/* Kill the service-page #app top pad: it left a dark strip under the fixed
   header (body is forced #0E1219 via home-sections !important). Hero clears
   the header itself, homepage-style. */
.city-page.service-page #app {
  padding-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Hero ─────────────────────────────────────────────── */

.city-hero {
  position: relative;
  background: #0E1219;
  color: #fff;
  /* Clear the fixed site-header (top:12px + ~58-70px bar) */
  padding: calc(var(--sticky-header-height, 58px) + 28px) var(--content-gutter, 16px) clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.city-hero__blueprint,
.city-cta__blueprint,
.city-index-hero__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(232, 200, 114, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 200, 114, 0.45) 1px, transparent 1px);
  background-size: 72px 72px;
}

.city-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .city-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.city-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.city-hero__crumbs a {
  color: inherit;
  text-decoration: none;
}

.city-hero__crumbs a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.city-hero__overline,
.city-services__overline,
.city-local__overline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a35a;
}

.city-local__overline {
  color: #6b5220;
}

.city-hero__overline {
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
}

.city-hero__overline-line,
.city-services__overline-line,
.city-local__overline-line {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: #c4a35a;
  flex-shrink: 0;
}

.city-hero__title {
  margin: 0 0 1rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}

.city-hero__h1-lead {
  display: block;
  margin: 0 0 0.85rem;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a35a;
}

.city-hero__title-line {
  display: block;
}

.city-hero__subline {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.city-hero__trust {
  margin: 0 0 0.85rem;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.city-hero__trust-accent {
  color: #c4a35a;
}

.city-hero__phone {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.city-hero__phone:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* ── Quote panel ──────────────────────────────────────── */

.city-quote-panel {
  background: #fff;
  border: 1px solid rgba(28, 35, 64, 0.12);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  color: #1c2340;
}

.city-quote-panel__title {
  margin: 0 0 0.75rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.25;
  color: #141a26;
}

.city-quote-panel__text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(28, 35, 64, 0.78);
}

.city-quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.city-quote-form .city-quote-form__field,
.city-quote-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
}

.city-quote-form .city-quote-form__field > span,
.city-quote-form__field > span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 35, 64, 0.72);
}

.city-quote-form .quote-form__req {
  color: #b8860b;
}

.city-quote-form .city-quote-form__field input,
.city-quote-form .city-quote-form__field select,
.city-quote-form__field input,
.city-quote-form__field select {
  width: 100%;
  box-sizing: border-box;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(28, 35, 64, 0.18);
  border-radius: 2px !important;
  background: #fff;
  font-size: 0.95rem;
  color: #1c2340;
  box-shadow: none;
}

.city-quote-form .city-quote-form__field input::placeholder,
.city-quote-form__field input::placeholder {
  color: rgba(28, 35, 64, 0.35);
}

.city-quote-form .city-quote-form__field select option {
  background: #fff;
  color: #1c2340;
}

.city-quote-form .city-quote-form__field input:focus,
.city-quote-form .city-quote-form__field select:focus,
.city-quote-form__field input:focus,
.city-quote-form__field select:focus {
  outline: none;
  border-color: #c4a35a;
  background: #fff;
}

.city-quote-form .city-quote-form__submit,
.city-quote-form__submit,
.city-page .quote-form__submit,
.city-page .svc-quote-form__submit {
  width: 100%;
  margin-top: 0.35rem;
  height: 3rem;
  border: none;
  border-radius: 2px !important;
  background: linear-gradient(135deg, #e8c872 0%, #b8860b 100%);
  color: #141a26;
  font-family: var(--f-display, 'Archivo', system-ui, sans-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
}

.city-quote-form .city-quote-form__submit:hover,
.city-quote-form__submit:hover,
.city-page .quote-form__submit:hover,
.city-page .svc-quote-form__submit:hover {
  filter: brightness(1.04);
  background: linear-gradient(135deg, #e8c872 0%, #b8860b 100%);
}

.city-quote-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.city-quote-form__note {
  margin: 0.35rem 0 0;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(28, 35, 64, 0.72);
}

.city-quote-form .quote-form__status {
  margin: 0;
  font-size: 0.85rem;
}

/* ── AEO summary ──────────────────────────────────────── */

.city-aeo {
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--content-gutter, 16px);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.65;
  color: rgba(28, 35, 64, 0.82);
  border-bottom: 1px solid rgba(28, 35, 64, 0.08);
}

/* ── Services rows ────────────────────────────────────── */

.city-services {
  background: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) var(--content-gutter, 16px);
}

.city-services__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.city-services__overline {
  color: rgba(28, 35, 64, 0.72);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.city-services__overline-line {
  background: rgba(28, 35, 64, 0.25);
}

.city-services__list {
  border-top: 1px solid rgba(28, 35, 64, 0.1);
}

.city-services__row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  grid-template-areas:
    'num name arrow'
    'num blurb arrow';
  gap: 0.15rem 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(28, 35, 64, 0.1);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.city-services__row:hover {
  background: rgba(28, 35, 64, 0.02);
}

.city-services__num {
  grid-area: num;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(28, 35, 64, 0.65);
  align-self: start;
  padding-top: 0.2rem;
}

.city-services__name {
  grid-area: name;
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #141a26;
}

.city-services__blurb {
  grid-area: blurb;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(28, 35, 64, 0.72);
}

.city-services__arrow {
  grid-area: arrow;
  color: rgba(28, 35, 64, 0.35);
  display: flex;
  align-items: center;
}

.city-services__row:hover .city-services__arrow {
  color: #c4a35a;
}

@media (min-width: 768px) {
  .city-services__row {
    grid-template-columns: 3rem minmax(10rem, 16rem) minmax(0, 1fr) 2rem;
    grid-template-areas: 'num name blurb arrow';
    gap: 1rem 1.5rem;
    padding: 1.35rem 0;
  }

  .city-services__num {
    align-self: center;
    padding-top: 0;
  }
}

/* ── Local block ──────────────────────────────────────── */

.city-local {
  background: #f7f6f4;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--content-gutter, 16px);
  border-top: 1px solid rgba(28, 35, 64, 0.08);
}

.city-local__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.city-local__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .city-local__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.city-local__title {
  margin: 0 0 1.25rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #141a26;
}

.city-local__prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.city-local__prose p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(28, 35, 64, 0.8);
}

.city-local__figure {
  margin: 0;
}

.city-local__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.city-local__neighbors,
.city-local__zips {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(28, 35, 64, 0.7);
}

.city-local__neighbors-label,
.city-local__zips-label {
  display: inline-block;
  margin-right: 0.5rem;
  font-family: var(--f-body, 'Inter', system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 35, 64, 0.72);
}

.city-local__neighbors a {
  color: #141a26;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.city-local__neighbors span:not(.city-local__neighbors-label):not(.city-local__zips-label) {
  color: rgba(28, 35, 64, 0.72);
}

.city-local__sep {
  margin: 0 0.45rem;
  color: rgba(28, 35, 64, 0.25);
}

/* ── City CTA band ────────────────────────────────────── */

.city-cta {
  position: relative;
  background: #0E1219;
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--content-gutter, 16px);
  overflow: hidden;
}

.city-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.city-cta__title {
  margin: 0 0 1rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.city-cta__text {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.city-cta__text a {
  color: #e8c872;
  text-decoration: none;
}

.city-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.city-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 2px !important;
  background: #c4a35a;
  color: #141a26;
  font-family: var(--f-display, 'Archivo', system-ui, sans-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
}

.city-cta__btn:hover {
  background: #d4b56a;
}

.city-cta__phone {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.city-cta__phone:hover {
  color: #fff;
}

/* ── Index page ───────────────────────────────────────── */

.city-index-hero {
  position: relative;
  background: #0E1219;
  color: #fff;
  padding: calc(var(--sticky-header-height, 58px) + 28px) var(--content-gutter, 16px) clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.city-index-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
}

.city-index-hero__title {
  margin: 0 0 1rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.city-index-hero__subline {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.city-index {
  padding: clamp(2.5rem, 5vw, 4rem) var(--content-gutter, 16px);
  background: #f7f6f4;
}

.city-index__inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .city-index__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .city-index__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.city-index__region {
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(28, 35, 64, 0.12);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a35a;
}

.city-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.city-index__list a {
  color: #141a26;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.city-index__list a:hover {
  border-bottom-color: rgba(28, 35, 64, 0.25);
}

.city-index__empty {
  color: rgba(28, 35, 64, 0.55);
}

/* === City unique sections (SEO uniquifier) ===
   Sit on the light city-page canvas (#f7f6f4). Always dark ink for contrast.
   Do NOT use --color-text white defaults from dark service-page theme. */
.city-unique {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: #f7f6f4;
  color: #141a26;
  border-top: 1px solid rgba(28, 35, 64, 0.08);
}
.city-unique__inner {
  max-width: var(--content-max, 56rem);
  margin: 0 auto;
  padding: 0 var(--content-gutter, 1.5rem);
}
.city-unique__title {
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: #141a26;
}
.city-unique__prose {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(28, 35, 64, 0.88);
}
.city-unique__prose p { margin: 0 0 1rem; color: inherit; }
.city-unique__prose li { color: inherit; }
.city-unique__prose strong,
.city-unique__prose b { color: #141a26; font-weight: 650; }
.city-unique__prose a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.city-unique__prose a:hover { color: #1e3a8a; }
.city-unique__table { margin-top: 1.5rem; overflow-x: auto; }
.city-unique__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #141a26;
  background: transparent;
}
.city-unique__table th,
.city-unique__table td {
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(28, 35, 64, 0.12);
  color: #141a26;
}
.city-unique__table th {
  font-weight: 600;
  white-space: nowrap;
  color: #141a26;
}
.city-unique__table td { color: rgba(28, 35, 64, 0.88); }
.city-unique__table tr:last-child th,
.city-unique__table tr:last-child td { border-bottom: none; }
