/*
 * City / location service pages (location-service.php + includes/location-modules/*) and the
 * /locations/{state|city} hubs (includes/location-hub.php). Everything is scoped under .lsx so it
 * cannot leak into the navbar, footer or other pages. Loaded from <head> via $extraHead.
 * Redesign 5 Nov 2026: light house style (Plus Jakarta Sans headings, Inter body, Lucide icons).
 */
.lsx { --ink: #0f172a; --ink-2: #334155; --ink-3: #5b6474; --line: #e2e8f0; --line-2: #cbd5e1;
  --paper: #f8fafc; --card: #fff; --accent: #1d4ed8; --accent-ink: #1e3a8a; --accent-soft: #eff6ff;
  --ok: #047857; --ok-soft: #ecfdf5; --warn: #b45309; --bad: #b91c1c; --bad-soft: #fef2f2;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  background: var(--paper); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; overflow-x: clip; }
.lsx *, .lsx *::before, .lsx *::after { box-sizing: border-box; }
.lsx :where(h1, h2, h3, h4) { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.lsx :where(p, ul, ol, dl, figure, address, blockquote) { margin: 0; }
.lsx :where(ul, ol) { padding: 0; list-style: none; }
.lsx :where(a) { color: var(--accent); text-decoration: none; }
.lsx :where(a:hover) { text-decoration: underline; text-underline-offset: 3px; }
.lsx a:focus-visible, .lsx button:focus-visible, .lsx summary:focus-visible, .lsx input:focus-visible, .lsx textarea:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.lsx-i { display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.lsx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lsx-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lsx-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.lsx-sec--white { background: var(--card); }
.lsx-sec--tint { background: #f1f5f9; }
.lsx-head { max-width: 720px; margin-bottom: 28px; }
.lsx-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.lsx-head p { margin-top: 10px; color: var(--ink-2); }
.lsx-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lsx-muted { color: var(--ink-3); }
.lsx-small { font-size: .875rem; }

/* Buttons */
.lsx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 700 15px/1 var(--display); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.lsx-btn:hover { text-decoration: none; }
.lsx-btn--primary { background: var(--accent); color: #fff; }
.lsx-btn--primary:hover { background: var(--accent-ink); color: #fff; }
.lsx-btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.lsx-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.lsx-btn[disabled] { opacity: .7; cursor: progress; }

/* Breadcrumb */
.lsx-crumbs { background: var(--card); border-bottom: 1px solid var(--line); font-size: .8125rem; }
.lsx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 12px 0; }
.lsx-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); min-width: 0; }
.lsx-crumbs li + li::before { content: "/"; color: var(--line-2); }
.lsx-crumbs a { color: var(--ink-2); }
.lsx-crumbs [aria-current] { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

/* Hero */
.lsx-hero { background: var(--card); padding: 40px 0 48px; }
.lsx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.lsx-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px; overflow-wrap: break-word; }
.lsx-hero h1 em { font-style: normal; color: var(--accent); }
.lsx-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 620px; }
.lsx-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0; }
.lsx-price strong { font: 800 1.6rem/1.1 var(--display); color: var(--ink); }
.lsx-price span { color: var(--ink-3); font-size: .9375rem; }
.lsx-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lsx-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .875rem; color: var(--ink-2); }
.lsx-trust li { display: inline-flex; align-items: center; gap: 6px; }
.lsx-trust .lsx-i { color: var(--ok); }
.lsx-answer { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; background: var(--paper); font-size: .9375rem; color: var(--ink-2); }
.lsx-answer h2 { font-size: .8125rem; font-family: var(--mono); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.lsx-visit { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border: 1px solid #a7f3d0; background: var(--ok-soft); border-radius: 10px; font-size: .9375rem; color: #064e3b; }
.lsx-visit .lsx-i { color: var(--ok); margin-top: 2px; }
.lsx-visual { display: grid; gap: 16px; }
.lsx-art { border-radius: 16px; overflow: hidden; background: var(--accent-soft); border: 1px solid var(--line); }
.lsx-art svg { display: block; width: 100%; height: auto; }
.lsx-glance { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 1px 0 rgba(15,23,42,.03), 0 18px 40px -28px rgba(15,23,42,.35); }
.lsx-glance-top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.lsx-tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.lsx-tile--sm { width: 40px; height: 40px; border-radius: 10px; }
.lsx-glance-top b { display: block; font: 700 1.05rem/1.3 var(--display); }
.lsx-glance-top small { color: var(--ink-3); font-size: .8125rem; }
.lsx-glance dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9375rem; }
.lsx-glance dl div:last-child { border-bottom: 0; }
.lsx-glance dt { color: var(--ink-3); }
.lsx-glance dd { margin: 0; font-weight: 600; text-align: right; }

/* Cards & grids */
.lsx-grid { display: grid; gap: 16px; }
.lsx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lsx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lsx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lsx-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.lsx-card h3 { font-size: 1.0625rem; font-weight: 700; margin: 14px 0 6px; }
.lsx-card p { color: var(--ink-2); font-size: .9375rem; }
a.lsx-card { display: block; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.lsx-card:hover { border-color: var(--accent); text-decoration: none; box-shadow: 0 10px 24px -18px rgba(29,78,216,.6); }
a.lsx-card:hover h3 { color: var(--accent); }
.lsx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: .875rem; color: var(--accent); }

/* Scope + price */
.lsx-scope { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lsx-list { display: grid; gap: 14px; }
.lsx-list li { display: flex; gap: 14px; align-items: flex-start; }
.lsx-list b { display: block; font-family: var(--display); color: var(--ink); }
.lsx-list span { color: var(--ink-2); font-size: .9375rem; }
.lsx-tiers { display: grid; gap: 0; }
.lsx-tiers li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lsx-tiers li:last-child { border-bottom: 0; }
.lsx-tiers b { display: block; font-size: .9375rem; }
.lsx-tiers small { display: block; color: var(--ink-3); font-size: .8125rem; line-height: 1.45; }
.lsx-tiers strong { white-space: nowrap; font-family: var(--display); }
.lsx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lsx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
a.lsx-chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.lsx-chip--plain { background: transparent; }

/* Steps */
.lsx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: lsxstep; }
.lsx-steps li { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.lsx-steps li::before { counter-increment: lsxstep; content: "0" counter(lsxstep); position: absolute; top: 18px; right: 18px; font: 600 12px/1 var(--mono); color: var(--ink-3); }
.lsx-steps h3 { font-size: 1.0625rem; margin: 14px 0 6px; }
.lsx-steps p { color: var(--ink-2); font-size: .9375rem; }

/* Facts band */
.lsx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.lsx-facts div { padding: 22px; border-right: 1px solid var(--line); }
.lsx-facts div:last-child { border-right: 0; }
.lsx-facts strong { display: block; font: 800 1.75rem/1.1 var(--display); color: var(--ink); }
.lsx-facts span { display: block; margin-top: 4px; font-weight: 600; font-size: .9375rem; }
.lsx-facts small { display: block; margin-top: 2px; color: var(--ink-3); font-size: .8125rem; }

/* Team */
.lsx-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lsx-person { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.lsx-avatar { display: block; width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); }
.lsx-avatar--initials { display: flex; align-items: center; justify-content: center; font: 800 1.6rem/1 var(--display); color: var(--accent); }
.lsx-person h3 { font-size: 1rem; }
.lsx-person p { color: var(--ink-3); font-size: .875rem; }

/* Reviews */
.lsx-review { display: flex; flex-direction: column; gap: 12px; }
.lsx-stars { display: inline-flex; gap: 2px; color: #d97706; }
.lsx-stars .lsx-i { fill: currentColor; }
.lsx-review blockquote { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.lsx-review figcaption b { display: block; font-family: var(--display); }
.lsx-review figcaption span { color: var(--ink-3); font-size: .8125rem; }

/* Local */
.lsx-local { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.lsx-office address { font-style: normal; color: var(--ink-2); }
.lsx-office li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .9375rem; }
.lsx-office .lsx-i { color: var(--accent); margin-top: 3px; }
.lsx-map { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #e8eef7; }
.lsx-map-ph { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 16px; text-align: center;
  background: radial-gradient(circle at 30% 40%, rgba(29,78,216,.10) 0 18%, transparent 19%), radial-gradient(circle at 70% 65%, rgba(4,120,87,.10) 0 14%, transparent 15%),
    linear-gradient(transparent 39px, rgba(15,23,42,.06) 40px) 0 0 / 100% 40px, linear-gradient(90deg, transparent 39px, rgba(15,23,42,.06) 40px) 0 0 / 40px 100%, #eef3fa; }
.lsx-map-ph small { font-size: .8125rem; color: var(--ink-2); }
.lsx-map-ph .lsx-tile { background: #fff; }
.lsx-map iframe { display: block; width: 100%; height: 360px; border: 0; }
.lsx-mainlink { border-left: 4px solid var(--accent); }
.lsx-corridor { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lsx-town { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: .875rem; }
.lsx-town b { font-weight: 700; }
.lsx-town small { color: var(--ink-3); font: 500 .75rem/1.4 var(--mono); }
a.lsx-town:hover { border-color: var(--accent); text-decoration: none; }
a.lsx-town:hover b { color: var(--accent); }

/* FAQ */
.lsx-faq { max-width: 860px; border-top: 1px solid var(--line); }
.lsx-faq details { border-bottom: 1px solid var(--line); }
.lsx-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font: 700 1.0625rem/1.4 var(--display); color: var(--ink); }
.lsx-faq summary::-webkit-details-marker { display: none; }
.lsx-faq summary .lsx-i { color: var(--ink-3); transition: transform .2s; }
.lsx-faq details[open] summary .lsx-i { transform: rotate(180deg); color: var(--accent); }
.lsx-faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 760px; }

/* Contact + form */
.lsx-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.lsx-contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lsx-contact-list small { display: block; color: var(--ink-3); font-size: .8125rem; }
.lsx-contact-list a, .lsx-contact-list b { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.lsx-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 18px 40px -30px rgba(15,23,42,.4); }
.lsx-form h3 { font-size: 1.25rem; font-weight: 800; }
.lsx-form > p { color: var(--ink-3); font-size: .875rem; margin: 6px 0 18px; }
.lsx-form form { display: grid; gap: 14px; }
.lsx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lsx-field label { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.lsx-field input, .lsx-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: 500 1rem/1.4 'Inter', system-ui, sans-serif; }
.lsx-field input:focus, .lsx-field textarea:focus { border-color: var(--accent); outline: 2px solid rgba(29,78,216,.18); outline-offset: 0; }
.lsx-form .lsx-btn { width: 100%; }
.lsx-alert { padding: 12px 14px; border-radius: 10px; border: 1px solid; font-weight: 600; font-size: .9375rem; margin-bottom: 14px; }
.lsx-alert[data-state="ok"] { background: var(--ok-soft); border-color: #a7f3d0; color: #065f46; }
.lsx-alert[data-state="error"] { background: var(--bad-soft); border-color: #fecaca; color: var(--bad); }
.lsx-alert a { color: inherit; text-decoration: underline; }
.lsx-note { margin-top: 12px; color: var(--ink-3); font-size: .8125rem; }

/* Hub pages */
.lsx-price-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.lsx-price-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lsx-price-table tr:last-child td { border-bottom: 0; }
.lsx-price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.lsx-price-table td:last-child span { font-weight: 400; color: var(--ink-3); }
.lsx-bullets li { position: relative; padding-left: 18px; margin: 6px 0; color: var(--ink-2); font-size: .9375rem; }
.lsx-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1023px) {
  .lsx-hero-grid, .lsx-scope, .lsx-local, .lsx-contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lsx-grid--4, .lsx-steps, .lsx-team, .lsx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsx-facts div:nth-child(2) { border-right: 0; }
  .lsx-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lsx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsx-corridor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .lsx-wrap { padding: 0 16px; }
  .lsx-sec { padding: 40px 0; }
  .lsx-hero { padding: 28px 0 36px; }
  .lsx-grid--2, .lsx-grid--3, .lsx-grid--4, .lsx-steps, .lsx-row { grid-template-columns: minmax(0, 1fr); }
  .lsx-corridor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsx-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lsx-avatar { width: 72px; height: 72px; }
  .lsx-cta .lsx-btn { flex: 1 1 100%; }
  .lsx-form { padding: 20px; }
  .lsx-map-ph { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .lsx *, .lsx *::before, .lsx *::after { transition: none !important; }
}
.lsx-bigprice { display: block; margin: 6px 0 4px; font: 800 1.6rem/1.1 var(--display); color: var(--ink); }
.lsx-tools { margin-top: 28px; }
.lsx-tools > p { margin-bottom: 10px; }
.lsx-note .lsx-i { vertical-align: -2px; }
.lsx-mt { margin-top: 16px; }
.lsx-mt-l { margin-top: 24px; }
.lsx .lsx-mt-0 { margin-top: 0; }
.lsx-gap-b { margin: 6px 0 16px; }
.lsx-h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.lsx .lsx-h3 { font-size: 1.125rem; font-weight: 700; margin: 14px 0 6px; }
