/* ============================================================
   Minnesota Bath Renewal — City Landing Page Styles
   Used by all /[city]/ pages. Requires main.css to load first.
   ============================================================ */

/* ── City hero (reuses .hero structure, adds city-specific overrides) ── */
.hero--city .hero__bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Left content needs readable text over the bright accessible side */
.hero--city .hero__content {
  background: linear-gradient(135deg, rgba(10,17,35,.82) 0%, rgba(10,17,35,.55) 100%);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(1px);
}

.hero--city .hero__eyebrow {
  font-size: .75rem;
  letter-spacing: .14em;
}

/* ── City split label strip (sits above form on hero) ── */
.city-split-label {
  display: flex;
  gap: 0;
  margin-bottom: .85rem;
  border-radius: 8px;
  overflow: hidden;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.city-split-label__acc {
  flex: 1;
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: .45rem .75rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}
.city-split-label__lux {
  flex: 1;
  background: rgba(249,158,11,.18);
  color: #fcd34d;
  padding: .45rem .75rem;
  text-align: center;
}

/* ── Neighborhood urgency offer block ── */
.city-offer {
  background: #0f172a;
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.city-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249,158,11,.12), transparent);
  pointer-events: none;
}
.city-offer__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: .65rem;
}
.city-offer__headline {
  font-family: 'Geologica', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.city-offer__sub {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.city-offer__deal {
  display: inline-block;
  background: rgba(249,158,11,.15);
  border: 1px solid rgba(249,158,11,.35);
  border-radius: 8px;
  padding: .85rem 1.75rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: #fcd34d;
  font-weight: 700;
}
.city-offer__deal s {
  color: #64748b;
  font-weight: 400;
  font-size: .9rem;
}
.city-offer__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.city-offer__fine {
  font-size: .72rem;
  color: #475569;
  margin-top: .85rem;
}

/* ── City services 2-col ── */
.city-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.city-services__sidebar {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.75rem;
  border-left: 4px solid #f59e0b;
  position: sticky;
  top: 7rem;
}
.city-services__sidebar h3 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: .75rem;
}

/* ── Nearby cities pill grid ── */
.city-nearby {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.city-nearby li {
  background: #e2e8f0;
  border-radius: 999px;
  padding: .25rem .85rem;
  font-size: .8rem;
  color: #334155;
  font-weight: 500;
}

/* ── City checklist (reuses site check-list if available, fallback here) ── */
.city-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.city-check li {
  padding: .3rem 0 .3rem 1.65rem;
  position: relative;
  font-size: .95rem;
  line-height: 1.5;
  color: #374151;
}
.city-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

/* ── Local context block ── */
.city-local {
  background: #f8fafc;
  padding: 3rem 1.5rem;
}
.city-local__inner {
  max-width: 860px;
  margin: 0 auto;
}
.city-local p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 1rem;
}
.city-local p:last-child { margin-bottom: 0; }

/* ── City FAQ ── */
.city-faq {
  max-width: 780px;
  margin: 0 auto;
}
.city-faq details {
  border-bottom: 1px solid #e2e8f0;
}
.city-faq details:last-child { border-bottom: none; }
.city-faq summary {
  padding: 1rem 0;
  font-weight: 700;
  font-size: .97rem;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.city-faq summary::-webkit-details-marker { display: none; }
.city-faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #f59e0b;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}
.city-faq details[open] summary::after { content: '−'; }
.city-faq details p {
  padding: 0 1rem 1rem 0;
  color: #4b5563;
  font-size: .94rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Cross-city links grid ── */
.city-crosslinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.city-crosslinks a {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.city-crosslinks a:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.city-crosslinks a span {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: #64748b;
  margin-top: .2rem;
}

/* ── Footer cities column ── */
.fc__cities {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .5rem;
}
.fc__cities a {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  white-space: nowrap;
}
.fc__cities a:hover { color: #f59e0b; }
.fc__cities a::after { content: ' ·'; color: rgba(255,255,255,.25); }
.fc__cities a:last-child::after { content: ''; }

/* ── Comparison Table — all styles here, zero inline bloat on pages ── */
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  table-layout: fixed;
}
.comp-table colgroup col:nth-child(1) { width: 28%; }
.comp-table colgroup col:nth-child(2) { width: 18%; }
.comp-table colgroup col:nth-child(3) { width: 27%; }
.comp-table colgroup col:nth-child(4) { width: 27%; }
.comp-table thead tr { background: #f1f5f9; }
.comp-table th {
  text-align: left;
  padding: .75rem 1rem .75rem 1.25rem;
  font-weight: 700;
  color: #0f172a !important;
  border-bottom: 2px solid #e2e8f0;
}
.comp-table th:first-child { padding-left: 1rem; }
.comp-table th.ct-onyx { background: #fff7ed !important; }
.comp-table td {
  padding: .7rem 1rem .7rem 1.25rem;
  color: #334155 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #f1f5f9;
}
.comp-table td:first-child { padding-left: 1rem; font-weight: 500; }
.comp-table td.ct-onyx { background: #fffbf5 !important; }
.comp-table tbody tr:nth-child(even) { background: #fafafa; }
.comp-table tbody tr:nth-child(even) td.ct-onyx { background: #fffbf5 !important; }
.comp-table tbody tr:hover td { background: inherit !important; }
.comp-table td a, .comp-table th a { color: #334155 !important; text-decoration: none !important; }
.comp-table tr.ct-highlight td:first-child { font-weight: 700; color: #0f172a !important; }
.comp-table tr.ct-highlight td.ct-onyx { color: #166534 !important; font-weight: 700; }
.comp-disclaimer { font-size: .75rem; color: #94a3b8; margin-top: 1rem; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .city-services { grid-template-columns: 1fr; }
  .city-services__sidebar { position: static; }
}
@media (max-width: 600px) {
  .city-offer { padding: 2rem 1rem; }
  .city-offer__deal { padding: .7rem 1.25rem; font-size: .95rem; }
  .comp-table { font-size: .78rem; }
  .comp-table th, .comp-table td { padding: .5rem .6rem; }
}
