*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0d10;
  --bg-soft: #11141a;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #14161b;
  --ink-soft: #4a4f58;
  --ink-mute: #6d7380;
  --line: rgba(20, 22, 27, 0.1);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.78);
  --white-mute: rgba(255, 255, 255, 0.52);
  --rule: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 50px rgba(10, 12, 16, 0.18);
  --radius: 18px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 48;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
  padding: 0 36px;
  background: rgba(11, 13, 16, 0.92);
  border-bottom: 0;
  isolation: isolate;
  overflow: visible;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar.is-scrolled {
  background: rgba(11, 13, 16, 0.78);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.topbar__cluster {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: 1;
  gap: 2rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 3px auto;
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 1.15rem;
}

.nav a,
.nav__item > a {
  color: var(--white-soft);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a.is-active,
.nav__item:hover > a,
.nav__item.is-open > a { color: var(--white); }

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__item::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 18px;
}

.nav > a { display: flex; align-items: center; }

.mega-dim {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 78px;
  z-index: 1200;
  background: rgba(11, 13, 16, 0.46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

body.mega-open .mega-dim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega {
  display: none;
  position: fixed;
  left: 18px;
  right: 18px;
  top: 86px;
  z-index: 1210;
  grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
  justify-content: start;
  gap: 1.6rem 3rem;
  padding: 28px 36px 32px;
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(8, 10, 14, 0.32);
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.mega.is-open { display: grid; }

.mega__col { display: grid; align-content: start; gap: 0.38rem; }

.mega__head,
.mega a.mega__head {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.mega a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: normal;
  line-height: 1.35;
}

.mega a:hover { color: var(--ink); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang button {
  min-width: 36px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.lang button.is-on {
  background: #fff;
  color: #14161b;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn--outline {
  color: #14161b;
  background: #fff;
  border: 1.5px solid #14161b;
}

.btn--outline:hover {
  background: #14161b;
  color: #fff;
}

.btn--solid {
  color: var(--ink);
  background: var(--white);
}

.btn--solid:hover { background: #f3f3f3; }

.btn--dark {
  color: var(--white);
  background: var(--ink);
}

.btn--dark:hover { background: #000; }

.btn--whatsapp {
  color: #128c4a;
  background: #fff;
  border-color: #19a85a;
}

.btn--whatsapp:hover { background: #edf8f1; }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 48px 88px;
  overflow: hidden;
  color: #fff;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero__slide.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 78% 68% at 50% 42%, rgba(11, 13, 16, 0.58) 0%, rgba(11, 13, 16, 0.4) 58%, rgba(11, 13, 16, 0.62) 100%),
    linear-gradient(180deg, rgba(11, 13, 16, 0.38) 0%, rgba(11, 13, 16, 0.28) 42%, rgba(11, 13, 16, 0.55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  margin-bottom: 1.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero__kicker::before,
.hero__kicker::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.hero__kicker span,
.hero__kicker em {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-style: normal;
  letter-spacing: inherit;
}

.hero__kicker span { font-weight: 650; }
.hero__kicker em { font-weight: 500; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  word-spacing: 0.04em;
  line-height: 1.15;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin: 1.05rem auto 0;
  max-width: 34rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
}

.search-card {
  position: relative;
  z-index: 20;
  width: 100%;
  margin-top: 1.55rem;
  padding: 10px 10px 12px;
  border-radius: 28px;
  color: #14161b;
  background-color: rgba(248, 246, 242, 0.78);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(248, 246, 242, 0.64) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 48px rgba(8, 10, 14, 0.28);
  backdrop-filter: blur(40px) saturate(1.55);
  -webkit-backdrop-filter: blur(40px) saturate(1.55);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.search-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0) 46%
  );
}

.search-card > * { position: relative; z-index: 1; }

.intent {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 4px;
  margin: 0 0 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 22, 27, 0.08);
  border: 1px solid rgba(20, 22, 27, 0.06);
}

.intent button,
.intent a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
  min-height: 40px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3a3f47;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.intent svg { width: 16px; height: 16px; flex-shrink: 0; }

.intent .is-on {
  background: rgba(255, 255, 255, 0.94);
  color: #14161b;
  box-shadow: 0 2px 10px rgba(20, 22, 27, 0.1);
}

.combo-dim {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(11, 13, 16, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.combo-open .combo-dim {
  opacity: 1;
  pointer-events: auto;
}

body.combo-open .hero { overflow: visible; }

body.combo-open .search-card,
body.combo-open .filters,
body.combo-open .map-filters,
body.combo-open .advanced {
  position: relative;
  z-index: 4010;
}

.deals {
  display: inline-flex;
  align-self: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 2px 0 8px;
  padding: 4px;
  border-radius: 999px;
  background: #eceae4;
}

.deals button {
  min-height: 36px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5c616a;
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.deals button.is-on {
  background: #fff;
  color: #14161b;
  box-shadow: 0 2px 8px rgba(20, 22, 27, 0.12);
}

.search { margin-top: 0; }

.search__shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 62px;
  padding: 6px 8px 6px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search__pick {
  flex-shrink: 0;
  min-width: 108px;
  z-index: 2;
}

.search__pick .combo__label { display: none; }

.search__pick .combo__btn {
  min-height: 46px;
  padding: 0 0.7rem;
  border: 1px solid rgba(20, 22, 27, 0.08);
  border-radius: 14px;
  background: #fff;
  color: #14161b;
  box-shadow: 0 1px 4px rgba(20, 22, 27, 0.06);
}

.search__grow {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search__split {
  width: 1px;
  height: 28px;
  background: rgba(20, 22, 27, 0.16);
  flex-shrink: 0;
}

.search__glyph {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #3a3f47;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search__glyph svg { width: 22px; height: 22px; }

.search__field {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
  height: 48px;
}

.search__field::-webkit-search-cancel-button { display: none; }

.search__hint {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #4a4f58;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  text-align: left;
  transition: opacity 320ms ease;
}

.search__tools {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  position: relative;
  z-index: 1;
}

.search__tool {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2c3036;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.search__tool:hover,
.search__tool.is-on { background: rgba(20, 22, 27, 0.06); color: #14161b; }

.search__tool svg { width: 18px; height: 18px; }

.search__tool.is-listen { color: #c45c26; }

.search__tool--text {
  width: auto;
  padding: 0 0.85rem;
  border-radius: 999px;
  gap: 0.4rem;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(20, 22, 27, 0.08);
  box-shadow: 0 1px 4px rgba(20, 22, 27, 0.06);
  color: #14161b;
}

.search__tool--text em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 750;
}

.advanced {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  margin: 0.65rem 8px 4px;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  text-align: left;
}

.advanced[hidden] { display: none; }

.shortcuts {
  display: none;
}

.shortcuts--mobile {
  display: none;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.sheet[hidden] { display: none; }
.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, 0.42);
  backdrop-filter: blur(8px);
}
.sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 40px rgba(10, 12, 16, 0.18);
  padding: 22px 22px 28px;
  overflow: auto;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.sheet__head h2 { font-size: 1.15rem; letter-spacing: -0.03em; }
.sheet__grid { display: grid; gap: 0.85rem; }

.map-page .crumb-back {
  position: relative;
  top: auto;
  margin: 8px 16px 0;
  width: max-content;
  flex-shrink: 0;
}

.crumb-back {
  position: sticky;
  top: 78px;
  z-index: 28;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 0.85rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: #14161b;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(10, 12, 16, 0.08);
  backdrop-filter: blur(12px);
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.tags button {
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.tags button:hover { background: rgba(255, 255, 255, 0.26); }

.search__hint.is-out,
.search__shell.is-filled .search__hint { opacity: 0; }

.hero__maplink {
  margin-top: 1.05rem;
}

.hero__maplink a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hero__maplink a:hover { color: #fff; }

.home-map {
  display: none;
  padding: 48px 48px 24px;
  scroll-margin-top: 90px;
}

.home-map.is-on { display: block; }

.home-map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.home-map__head h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.home-map__head p { color: var(--ink-soft); margin-top: 0.3rem; }

.home-map__canvas {
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: #d7e0e6;
}

.beg-price-pin {
  background: transparent !important;
  border: 0 !important;
}

.beg-price {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #14161b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid rgba(20, 22, 27, 0.08);
  box-shadow: 0 10px 22px rgba(10, 12, 16, 0.28);
}

.beg-price-pin.is-on .beg-price,
.beg-price-pin:hover .beg-price {
  background: #14161b;
  color: #fff;
  border-color: #14161b;
}

.beg-cluster-wrap { background: transparent !important; border: 0 !important; }

.beg-cluster {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #14161b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(10, 12, 16, 0.28);
  border: 3px solid #fff;
}

.beg-pin { background: transparent !important; border: 0 !important; }

.beg-pin__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.beg-pin__dot {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: #fff;
  border: 2.5px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.beg-pin--listing .beg-pin__dot { background: #14161b; }
.beg-pin--branch .beg-pin__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: none;
  background: #c45c26;
}
.beg-pin__dot svg { transform: rotate(45deg); }

.beg-pin--user .beg-pin__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: none;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.22);
}

.beg-pin__dist {
  padding: 2px 7px;
  border-radius: 999px;
  background: #18181b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.beg-popup { min-width: 180px; }
.beg-popup .btn { margin-top: 0.7rem; }
.leaflet-popup-content-wrapper {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.thread {
  display: none;
  margin-top: 1.35rem;
  text-align: left;
}

.thread.is-on { display: grid; gap: 0.7rem; }

.bubble {
  max-width: 92%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bubble--user {
  justify-self: end;
  background: #fff;
  color: var(--ink);
}

.bubble--ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border: 1px solid var(--line);
}

.results {
  display: none;
  background: var(--paper);
  padding: 56px 48px 72px;
  scroll-margin-top: 90px;
}

.results.is-on { display: block; }

.seek {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 220px;
  text-align: center;
}

.seek:not([hidden]) { display: flex; }

.seek p {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.seek__pulse {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(20, 22, 27, 0.12);
  border-top-color: var(--ink);
  animation: seek-spin 0.8s linear infinite;
}

@keyframes seek-spin { to { transform: rotate(360deg); } }

.results__panel[hidden] { display: none; }

.results__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.filters {
  margin-bottom: 1.6rem;
}

.filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 0;
  margin-bottom: 0.85rem;
}

.filters__chips:empty { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0 0.45rem 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 27, 0.06);
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
}

.chip button:hover { background: rgba(20, 22, 27, 0.12); }

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.7rem;
}

.filters__field {
  display: grid;
  gap: 0.3rem;
  min-width: 168px;
}

.filters__field--sort { margin-left: auto; }

.combo {
  position: relative;
  min-width: 168px;
}

.combo__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.combo__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  min-height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.combo.is-open .combo__btn { border-color: var(--ink); }

.combo__btn em {
  font-style: normal;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 4020;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 12, 16, 0.22);
  overflow: hidden;
}

.combo__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-mute);
}

.combo__search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  min-width: 0;
}

.combo__list {
  list-style: none;
  max-height: calc(5 * 40px);
  overflow: auto;
}

.combo__list li {
  padding: 0 0.9rem;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
}

.combo__list li:hover,
.combo__list li.is-on { background: #f4f1ea; }

.combo__empty { color: var(--ink-mute); cursor: default; }

.filters__clear {
  min-height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.filters__clear:hover { border-color: var(--ink); }

.results__head h2 {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.results__head p { color: var(--ink-soft); margin-top: 0.35rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 22, 27, 0.04);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  background: #d8d3c8;
  overflow: hidden;
}

.card__track {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.card__track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.card__track img.is-on { opacity: 1; }

.card__nav,
.card__dots { opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.card__media:hover .card__nav,
.card__media:hover .card__dots { opacity: 1; pointer-events: auto; }

.card__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #14161b;
  font-size: 1.1rem;
  transform: translateY(-50%);
  cursor: pointer;
}
.card__nav.is-prev { left: 10px; }
.card__nav.is-next { right: 10px; }
.card__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.card__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.card__dot.is-on { background: #fff; }
.card__fresh {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #14161b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card__deal,
.card__type {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card__deal {
  left: 12px;
  background: var(--ink);
  color: var(--white);
}

.card__media:has(.card__fresh) .card__deal { left: 68px; }

.card__type {
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.card__body { padding: 1rem 1.05rem 1.15rem; }

.card__place {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__title {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card__title a:hover { text-decoration: underline; }

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 0.7rem;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.card__foot {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.card__price {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card__ago {
  margin-top: 0.2rem;
  color: #8b909a;
  font-size: 0.75rem;
}

.card__vitrine {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.card__portrait {
  position: relative;
  width: 52px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #ece8e1;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(10, 12, 16, 0.14);
}

.card__portrait img,
.card__portrait span {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.card__portrait img[src$=".png"] {
  object-fit: contain;
  background: transparent;
}

.card__vitrine-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.card__vitrine-meta em {
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__vitrine-meta small {
  color: #8b909a;
  font-size: 0.7rem;
  line-height: 1.3;
}

.card__vitrine--side {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.85rem;
  align-items: center;
  margin: 0.4rem 0 0.85rem;
}

.card__vitrine--side .card__portrait {
  width: 92px;
  border-radius: 16px;
}

.empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
}

.page {
  background: var(--paper);
  min-height: calc(100vh - 78px);
}

.page__wrap {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.page__title {
  font-size: 2.2rem;
  letter-spacing: -0.035em;
}

.page__lead {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  max-width: 36rem;
  line-height: 1.6;
}

.crumbs,
.tree {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 1.4rem 0 0.7rem;
}

.tree__step {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.tree__step.is-on {
  background: var(--ink);
  color: #fff;
}

.tree__sep { color: var(--ink-mute); }

.tree__here {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin: 0 0 2.25rem;
}

.cats[hidden] { display: none; }

.cat {
  display: block;
  padding: 1.2rem 1rem;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
}

.cat:hover,
.cat.is-on {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.cat strong { display: block; font-size: 1.02rem; }
.cat span { display: block; margin-top: 0.3rem; color: var(--ink-mute); font-size: 0.82rem; }

.map-page {
  height: 100vh;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.map-filters {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(10, 12, 16, 0.12);
  z-index: 21;
  flex-shrink: 0;
  position: relative;
}

.map-filters .combo { min-width: 140px; flex: 1; }

.map-filters__more {
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.map-filters__more.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.beg-map--muted .leaflet-tile-pane {
  filter: grayscale(0.45) saturate(0.55) contrast(1.02) brightness(1.04);
}

.leaflet-line-pane,
.leaflet-area-pane,
.leaflet-iso-pane {
  overflow: visible !important;
}
.leaflet-line-pane svg,
.leaflet-area-pane svg,
.leaflet-overlay-pane svg {
  overflow: visible !important;
  background: none;
  border: 0;
  outline: none;
  box-shadow: none;
}
.leaflet-area-pane svg > rect,
.leaflet-overlay-pane svg > rect {
  fill: none !important;
  stroke: none !important;
}
.leaflet-area-pane path.beg-poly {
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.map-gate {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: grid;
  place-items: center;
  background: rgba(11, 13, 16, 0.42);
  backdrop-filter: blur(10px);
  padding: 24px;
}
.map-gate[hidden] { display: none; }
.map-gate__card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 1.6rem 1.5rem 1.45rem;
  box-shadow: 0 28px 70px rgba(10, 12, 16, 0.24);
  text-align: left;
}
.map-gate__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8b909a;
}
.map-gate__card h2 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.map-gate__card p { color: #5c616a; }
.map-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.15rem;
}
.map-gate__card .btn { width: 100%; margin-top: 0; min-height: 48px; font-weight: 750; }

.beg-geo-tip {
  background: #14161b;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  font-weight: 700;
}

.map-poi {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 520;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.map-poi button {
  min-height: 36px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 22, 27, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 12, 16, 0.1);
}

.map-poi button.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, 0.38);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 40px rgba(10, 12, 16, 0.18);
  padding: 22px 22px 28px;
  overflow: auto;
  transform: translateX(0);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.drawer__head h2 { font-size: 1.15rem; letter-spacing: -0.03em; }
.drawer__grid { display: grid; gap: 0.85rem; }
.drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f4f1ea;
  cursor: pointer;
}

.beg-poi { background: transparent !important; border: 0 !important; }
.beg-stop { background: transparent !important; border: 0 !important; }
.beg-stop span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(10, 12, 16, 0.28);
}
.map-iso-legend {
  position: absolute;
  left: 16px;
  bottom: 18px;
  z-index: 530;
  display: grid;
  gap: 0.28rem;
  min-width: 168px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(10, 12, 16, 0.16);
  color: #14161b;
  font-size: 0.74rem;
  font-weight: 700;
}
.map-iso-legend[hidden] { display: none; }
.map-iso-legend strong { font-size: 0.78rem; }
.map-iso-legend span { display: flex; align-items: center; gap: 0.4rem; color: #4a4f58; font-weight: 650; }
.map-iso-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.map-iso-legend i.is-walk { background: rgba(59, 130, 246, 0.7); }
.map-iso-legend i.is-drive { background: rgba(196, 92, 38, 0.55); box-shadow: inset 0 0 0 1px #c45c26; }

.map-app,
.map-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  flex: 1;
  min-height: 0;
  height: auto;
  background: var(--paper);
}

.map-rail,
.map-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: #f7f4ee;
}

.map-sheet-handle { display: none; }

.map-rail__head,
.map-list h1 {
  padding: 18px 20px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
}

.map-rail__head h1,
.map-list h1 {
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.map-rail__head p { color: var(--ink-soft); margin-top: 0.25rem; font-size: 0.82rem; }

.map-rail__head .combo { min-width: 148px; }

.map-rail__cards,
.map-list #map-cards {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 24px;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 8px;
}

.map-rail__cards .card,
.map-list .card {
  margin-bottom: 0.9rem;
  scroll-snap-align: start;
}

.map-rail .card__portrait { width: 44px; border-radius: 10px; }
.map-rail .card__vitrine-meta small { display: none; }

.map-stage {
  position: relative;
  min-height: 0;
  height: 100%;
  background: #d7e0e6;
}

.map-stage__canvas,
.map-stage__canvas .leaflet-container,
.map-stage__canvas .gm-style {
  width: 100%;
  height: 100%;
}

.map-stage__canvas {
  position: absolute;
  inset: 0;
}

.map-stage__canvas .leaflet-container {
  width: 100%;
  height: 100%;
}

.map-area-btn {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: #c45c26;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(196, 92, 38, 0.35);
}

.map-area-btn[hidden] { display: none !important; }
.map-area-btn:hover { transform: translateX(-50%) translateY(-2px); }

.map-label {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20, 22, 27, 0.28);
  pointer-events: none;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.map-pin.is-on { transform: scale(1.35); background: #c45c26; }

.map-float {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.map-float h3 { font-size: 1rem; }
.map-float p { color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.3rem; }

.auth {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(244, 241, 234, 0.88)),
    url("/hero-air.jpg") center / cover no-repeat;
}

.auth__card {
  width: min(440px, 100%);
  background: var(--white);
  border-radius: 22px;
  padding: 2rem 2rem 1.7rem;
  box-shadow: var(--shadow);
}

.auth__card h1 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.auth__card p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.form { margin-top: 1.4rem; display: grid; gap: 0.85rem; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 0.85rem;
  border: 1px solid #d8d5ce;
  border-radius: 12px;
  background: #fff;
}

.field input:focus {
  outline: none;
  border-color: var(--ink);
}

.form .btn { width: 100%; min-height: 46px; }

.form-note {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.banner {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #eef6ea;
  color: #1f4d28;
  font-size: 0.9rem;
}

.banner.is-on { display: block; }

.map-sat {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 530;
  min-height: 36px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #14161b;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 12, 16, 0.1);
}
.map-sat.is-on { background: #14161b; color: #fff; }

.listing { background: #f7f4ee; }
.listing__back {
  position: sticky;
  top: 78px;
  z-index: 28;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 14px 16px 0;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: #14161b;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(10, 12, 16, 0.08);
  backdrop-filter: blur(12px);
}
.listing__mapwrap { position: relative; }
.map-dir {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 530;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #14161b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  display: inline-grid;
  place-items: center;
}
.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0.7rem;
}
.dash-tabs button {
  min-height: 34px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: #eceae4;
  color: #4a4f58;
  font-weight: 750;
  cursor: pointer;
}
.dash-tabs button.is-on { background: #14161b; color: #fff; }
.dash-list { list-style: none; display: grid; gap: 0.45rem; }
.dash-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #fff;
  font-size: 0.88rem;
}
.dash-list span { color: #6d7380; font-weight: 750; }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}
.demo-grid div {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: #fff;
}
.demo-grid em { display: block; color: #8b909a; font-size: 0.72rem; font-style: normal; font-weight: 750; }
.demo-grid strong { display: block; margin-top: 0.25rem; font-size: 1.05rem; }
.price-chart { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.price-chart text { font-size: 10px; fill: #6d7380; }
.price-chart__val { font-size: 9px; fill: #14161b; font-weight: 700; }
.price-chart__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  list-style: none;
  margin-top: 0.85rem;
}
.price-chart__list li {
  padding: 0.55rem 0.5rem;
  border-radius: 12px;
  background: #fff;
}
.price-chart__list em {
  display: block;
  font-style: normal;
  color: #8b909a;
  font-size: 0.7rem;
  font-weight: 750;
}
.price-chart__list strong { display: block; margin-top: 0.2rem; font-size: 0.82rem; }

.beg-popup-wrap .leaflet-popup-content { margin: 0; }
.beg-popcard { width: 240px; }
.beg-popcard__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}
.beg-popcard__body { padding: 0.75rem 0.85rem 0.9rem; }
.beg-popcard__body .btn { width: 100%; margin-top: 0.65rem; }
.card.is-pin { outline: 2px solid #14161b; }

.leaflet-bottom.leaflet-right { margin: 0 12px 18px 0; }
.listing__map .leaflet-bottom.leaflet-right { margin: 0 10px 10px 0; }
.listing__map .map-sat { display: none; }
.map-dir { right: 12px; top: 12px; }
.listing__mapwrap .leaflet-control-zoom { margin-bottom: 10px; }
.similar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}
.listing__gallery {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 8px;
  height: min(58vh, 620px);
  padding: 12px 16px 0;
}
.listing__hero,
.listing__thumbs button {
  position: relative;
  border: 0;
  padding: 0;
  background: #d8d3c8;
  overflow: hidden;
  cursor: zoom-in;
}
.listing__hero { border-radius: 22px 0 0 22px; }
.listing__hero img,
.listing__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 280ms ease;
}
.listing__hero:hover img,
.listing__thumbs button:hover img { filter: brightness(0.9); transform: scale(1.02); }
.listing__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.listing__thumbs button:nth-child(2) { border-radius: 0 22px 0 0; }
.listing__thumbs button:nth-child(4) { border-radius: 0 0 22px 0; }
.listing__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 13, 16, 0.52);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0.8rem;
  text-align: center;
}
.listing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.7fr);
  gap: 40px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 88px;
  align-items: start;
}
.listing__main h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -0.045em;
  margin: 0.45rem 0 0.45rem;
}
.listing__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  color: #6d7380;
  font-size: 0.86rem;
  font-weight: 650;
}
.listing__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(20, 22, 27, 0.05);
}
.listing__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.2rem 0 1.5rem;
}
.listing__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #eceae4;
  font-size: 0.88rem;
  font-weight: 750;
}
.listing__facts em { font-style: normal; }
.listing__fact-icon {
  width: 18px;
  height: 18px;
  color: #4a4f58;
}
.listing__fact-icon svg { width: 18px; height: 18px; display: block; }
.listing__highlight {
  margin: 0 0 1.25rem;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #ece8de;
  box-shadow: 0 10px 28px rgba(16, 18, 22, 0.06);
  max-width: 42rem;
}
.listing__highlight p {
  color: #8b909a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.listing__highlight strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.listing__copy {
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 42rem;
}
.listing__copy--side { margin-top: 1rem; font-size: 0.86rem; }
.listing__block { margin-top: 2.2rem; }
.listing__block h2 { font-size: 1.2rem; letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.listing__map {
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #d7e0e6;
  position: relative;
}
.listing__map .gm-style,
.listing__map .leaflet-container {
  width: 100%;
  height: 100%;
}
.listing__side {
  position: sticky;
  top: 96px;
  background: #fff;
  border-radius: 24px;
  padding: 1.45rem 1.4rem 1.5rem;
  box-shadow: 0 22px 50px rgba(10, 12, 16, 0.12);
}
.listing__side .card__price { font-size: 1.7rem; margin: 0.2rem 0 0.7rem; letter-spacing: -0.03em; }
.listing__proof--side { margin: 0 0 1rem; }
.listing__side .card__vitrine { margin-bottom: 0.35rem; }
.listing__side .btn { width: 100%; margin-top: 0.55rem; }
.listing__side .btn--ghost {
  color: var(--ink);
  border-color: #d8d5ce;
}
.listing__crumbs { color: var(--ink-mute); font-size: 0.86rem; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  background: rgba(8, 10, 14, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 86vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
}
.lightbox__nav {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  transform: translateY(-50%);
}
.lightbox__nav.is-prev { left: 18px; }
.lightbox__nav.is-next { right: 18px; }
.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 750;
}

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 27, 0.88);
  color: #fff;
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: 0 12px 28px rgba(10, 12, 16, 0.22);
}
.totop.is-on { display: grid; }
.totop svg { width: 18px; height: 18px; }

.site-footer {
  background: #0b0d10;
  color: var(--white-soft);
  padding: 64px 48px 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.footer__brand img { width: 150px; margin-bottom: 1rem; }

.footer__brand p {
  max-width: 22rem;
  line-height: 1.65;
  color: var(--white-mute);
  font-size: 0.92rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--white-mute); font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  color: var(--white-mute);
  font-size: 0.8rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 980px) {
  .topbar {
    padding: 0 16px;
    gap: 1rem;
  }

  .brand img { width: 132px; }

  .menu-toggle { display: block; }

  .topbar__cluster {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    background: #11141a;
    border: 1px solid var(--rule);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .topbar.is-open .topbar__cluster { display: flex; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav a,
  .nav__item > a {
    padding: 0.7rem 0.4rem;
    border-radius: 10px;
  }

  .mega {
    left: 12px;
    right: 12px;
    top: 86px;
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .nav__item::after { display: none; }
  .map-filters { flex-wrap: wrap; }

  .topbar__actions {
    justify-content: space-between;
  }

  .hero {
    min-height: calc(100svh - 70px);
    padding: 36px 16px 48px;
  }

  .hero h1 { font-size: 2rem; }

  .search-card { border-radius: 22px; padding: 6px; }

  .search__shell {
    min-height: 56px;
    padding: 6px;
    flex-wrap: wrap;
  }

  .search__glyph { display: none; }
  .search__hint { font-size: 0.82rem; color: #3a3f47; }
  .search__pick { min-width: calc(50% - 6px); flex: 1 1 calc(50% - 6px); }
  .search__split { display: none; }
  .search__grow {
    flex: 1 1 100%;
    min-width: 100%;
    order: 3;
  }
  .search__tools { order: 4; margin-left: auto; }
  .intent { max-width: 100%; }
  .intent button,
  .intent a { font-size: 0.76rem; padding: 0 0.55rem; }

  .hero__inner { padding-bottom: 7.5rem; }

  .search-card {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    margin: 0;
    max-height: min(78svh, 620px);
    overflow: visible;
  }

  body.search-focus .search-card {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    overflow: auto;
  }

  .shortcuts--mobile {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.7rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .shortcuts--mobile::-webkit-scrollbar { display: none; }
  .shortcut {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(20, 22, 27, 0.08);
    color: #14161b;
    font-size: 0.78rem;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
  }

  .sheet__panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 86svh;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 40px rgba(10, 12, 16, 0.18);
  }

  .map-page { height: 100svh; overflow: hidden; }
  .map-app,
  .map-layout {
    position: relative;
    display: block;
    flex: 1;
    height: auto;
    min-height: 0;
  }
  .map-stage {
    position: absolute;
    inset: 0;
    order: unset;
    height: 100%;
    min-height: 0;
  }
  .map-rail,
  .map-list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    order: unset;
    max-height: 34%;
    border-right: 0;
    border-top: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -16px 40px rgba(10, 12, 16, 0.2);
    transition: max-height 240ms ease;
  }
  .map-rail.is-open,
  .map-list.is-open { max-height: 78%; }
  .map-sheet-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    padding: 10px 16px 4px;
    border: 0;
    background: transparent;
    color: #14161b;
    font-weight: 750;
    font-size: 0.82rem;
    cursor: pointer;
  }
  .map-sheet-handle i {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: #d5d0c6;
  }

  .search__tool { width: 34px; height: 34px; }

  .search__tool--text em { display: none; }

  .advanced { grid-template-columns: 1fr; }

  .deals { padding: 3px; }

  .deals button { padding: 0 0.7rem; font-size: 0.78rem; }

  .shortcut { min-width: 64px; }

  .filters__field,
  .filters__field--sort,
  .combo { min-width: calc(50% - 0.4rem); margin-left: 0; }

  .filters__clear { width: 100%; }

  .home-map { padding: 28px 16px; }

  .home-map__head { flex-direction: column; align-items: flex-start; }

  .home-map__canvas { height: 360px; }

  .results { padding: 36px 18px 48px; }

  .results__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid { grid-template-columns: 1fr; }

  .page__wrap {
    width: auto;
    margin: 0;
    padding: 28px 18px 48px;
  }

  .page__title { font-size: 1.7rem; }

  .cats { grid-template-columns: 1fr 1fr; }

  .map-page { height: 100svh; overflow: hidden; }

  .map-float {
    position: static;
    width: auto;
    margin: 16px;
  }

  .listing__gallery {
    grid-template-columns: 1fr;
    height: auto;
    padding: 10px;
  }
  .listing__hero { height: 240px; border-radius: 16px; }
  .listing__thumbs { grid-template-columns: repeat(4, 1fr); height: 72px; }
  .card__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .card__track img {
    position: relative;
    flex: 0 0 100%;
    opacity: 1;
    scroll-snap-align: start;
  }
  .card__nav { display: none; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .listing__thumbs button { border-radius: 10px !important; }
  .listing__more { font-size: 0.72rem; padding: 0.4rem; }
  .lightbox__nav { display: none; }
  .listing__grid { grid-template-columns: 1fr; width: auto; padding: 18px 16px 56px; }
  .listing__side { position: static; }

  .site-footer { padding: 36px 18px 22px; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer__bar { flex-direction: column; }
}

@media (max-width: 640px) {
  .cats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .search__field { font-size: 0.95rem; }
}
