.hero--local { --hero-glass: rgba(14, 20, 37, .86); --hero-glass-edge: rgba(213, 218, 255, .2); --hero-glass-shadow: rgba(0, 0, 0, .4); background: var(--bg); color: var(--text); padding-block: 48px 40px; position: relative; overflow: hidden; isolation: isolate; }
html[data-theme="light"] .hero--local { --hero-glass: rgba(255, 255, 255, .86); --hero-glass-edge: rgba(255, 255, 255, .96); --hero-glass-shadow: rgba(39, 35, 88, .18); }
.hero-ambient-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .38; filter: saturate(.65); pointer-events: none; transform: scale(1.025); }
.hero-ambient-wash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 12% 18%, rgba(108, 92, 231, .2), transparent 55%), linear-gradient(180deg, transparent 35%, var(--bg) 100%); }
.hero--local::before, .hero--local::after { content: ''; position: absolute; width: 38vw; height: 38vw; max-width: 540px; max-height: 540px; pointer-events: none; border: 1px solid var(--hero-glass-edge); border-radius: 64px; background: linear-gradient(135deg, rgba(150, 130, 255, .09), transparent); transform: rotate(-18deg); }
.hero--local::before { inset-inline-start: -12vw; top: 9%; }
.hero--local::after { inset-inline-end: -17vw; top: 35%; transform: rotate(24deg); }
.hero--local .hero-bg-video, .hero--local .hero-overlay { display: none; }
.hero--local .hero-container { display: block; max-width: 1056px; margin-inline: auto; position: relative; z-index: 1; padding-inline: 24px; }
.hero--local .hero-content { box-sizing: border-box; width: 100%; max-width: none; transform: none !important; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--hero-glass-edge); border-radius: 32px; background: var(--hero-glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 32px 80px var(--hero-glass-shadow), 0 6px 18px var(--hero-glass-shadow), inset 0 1px 0 var(--hero-glass-edge); }
.hero--local .hero-title { max-width: 24ch; font-size: clamp(2.1rem, 5.5vw, 4.4rem); line-height: 1.08; color: var(--text); text-transform: none; text-shadow: none; overflow-wrap: anywhere; min-block-size: 4.6em; }
.hero--local .hero-brand-line { display: block; max-width: none; margin-block-end: .4em; font-size: clamp(.95rem, 2vw, 1.2rem); font-weight: 600; line-height: 1.35; letter-spacing: .01em; color: var(--accent); text-wrap: balance; }
.hero--local .hero-rotator-line { display: block; }
.hero--local .hero-title::after { display: none; }
.hero--local .subtitle { color: var(--text); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 62ch; min-block-size: 4.5em; }
.hero--local .hero-note { color: var(--text); min-block-size: 3em; }
.hero--local .hero-feed { margin-block: 40px 20px; }
.local-uptrade { padding-block: 48px; background: var(--surface); }
.hero--local .hero-feed { background: var(--surface-2); }
.hf-distance-bar { display: none; }
.hf-distance-bar p { flex: 1 1 200px; margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.hf-distance-bar button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; font-size: .9rem; background: var(--surface); color: var(--text); cursor: pointer; }
.hero--local .hf-card { background: var(--surface); border-color: var(--border-strong); }
.hero--local .hf-card-title, .hero--local .hf-card-cat, .hero--local .hf-card-dist { color: var(--text); }
.hero--local .hf-card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hero--local .hf-card-cat { max-width: 100%; }
.hero--local .hf-card-dist { font-size: .8rem; line-height: 1.35; white-space: normal; }
.hero--local [hidden] { display: none !important; }
@media (max-width: 480px) {
  .hero--local { padding-top: 48px; }
  .hero--local .hero-container { padding-inline: 12px; }
  .hero--local .hero-content { padding: 18px; border-radius: 24px; }
  .hero--local .hero-title { min-block-size: 4.4em; }
}

.hero-place-input { position: relative; max-width: 620px; margin-block: 0 24px; text-align: start; }
#hero-place-form { position: relative; }
#hero-place-form > label { display: block; margin-block-end: 8px; font-weight: 700; color: var(--text); }
.hero-place-field { display: flex; align-items: center; min-height: 56px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); color: var(--text); }
.hero-place-field:focus-within { outline: 2px solid var(--text); outline-offset: 3px; }
#hero-place-query { flex: 1 1 auto; min-width: 0; width: 100%; min-height: 56px; padding: 14px; border: 0; border-radius: 16px; background: transparent; color: var(--text); font: inherit; font-size: 16px; text-align: start; }
#hero-place-query::placeholder { color: var(--text); opacity: .85; }
#hero-place-query:focus { outline: none; }
.hero-place-field button { display: grid; place-items: center; flex: 0 0 48px; width: 48px; min-height: 48px; padding: 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; font: inherit; }
#hero-reset-place { font-size: 26px; }
#hero-place-panel { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 8px); border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 16px 40px var(--hero-glass-shadow); padding: 8px; }
#hero-place-status { margin: 6px 8px; font-size: .85rem; color: var(--text); }
#hero-place-results { display: grid; list-style: none; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 0; margin: 0; }
#hero-place-results li { display: flex; align-items: center; min-height: 52px; padding: 12px; box-sizing: border-box; border-radius: 10px; text-align: start; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; cursor: pointer; }
#hero-place-results li:hover, #hero-place-results li[aria-selected="true"] { background: var(--surface-2); outline: 2px solid var(--text); outline-offset: -2px; }
.hero-place-help, .hero-place-privacy, #hero-feed-range { font-size: .8rem; line-height: 1.5; color: var(--text); }
.hero-place-help { margin: 10px 0 0; }
#hero-feed-range { min-height: 1.5em; margin: 2px 0; }
.hero-place-privacy summary { cursor: pointer; min-height: 32px; padding-block: 4px; }
.hero-place-privacy p { font-size: .8rem; margin-block: 8px; }
.hero-place-sources { font-size: .75rem; margin: 8px; }
.hero-place-input a { color: var(--text); text-decoration: underline; }
.hero--local button:focus-visible, .hero--local a:focus-visible, .hero--local summary:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
