:root {
  --bahia: #1b4965;
  --bahia-deep: #10354d;
  --bahia-soft: #dbe8ef;
  --oro: #c9a227;
  --oro-light: #eadb91;
  --arena: #f2ede4;
  --parcela: #5a7247;
  --terracota: #c96f27;
  --tinta: #14181b;
  --muted: #59636a;
  --line: #d7d9d9;
  --surface: #ffffff;
  --background: #f7f7f5;
  --max: 1180px;
  --header-height: 72px;
  --z-dropdown: 20;
  --z-sticky: 30;
  --z-backdrop: 40;
  --z-dialog: 50;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--tinta);
  font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: calc(var(--z-dialog) + 1);
  padding: 10px 14px;
  background: var(--tinta);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
}

.section-wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--oro);
  color: var(--bahia-deep);
}

.button-gold:hover {
  background: var(--oro-light);
}

.button-ink {
  background: var(--tinta);
  color: #fff;
}

.button-outline {
  border: 1px solid var(--bahia);
  background: transparent;
  color: var(--bahia);
}

.text-link,
.text-button {
  color: var(--bahia);
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-button {
  padding: 8px 0;
  background: transparent;
  text-decoration: underline;
}

.demo-banner {
  position: relative;
  z-index: var(--z-sticky);
  padding: 7px 20px;
  background: var(--terracota);
  color: var(--tinta);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  background: color-mix(in srgb, #fff 94%, transparent);
  border-bottom: 1px solid rgba(20, 24, 27, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 32px), 1280px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bahia-deep);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-pin {
  width: 29px;
  height: 29px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  background: var(--oro);
  transform: rotate(-45deg);
}

.brand-pin span {
  color: var(--bahia-deep);
  font-size: 0.82rem;
  transform: rotate(45deg);
}

.brand-name {
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.desktop-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin-left: auto;
}

.desktop-nav > a,
.zones-menu > summary {
  padding-block: 24px;
  color: #2f3c44;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"],
.zones-menu > summary:hover {
  color: var(--bahia);
}

.desktop-nav > a[aria-current="page"] {
  box-shadow: inset 0 -3px var(--oro);
}

.zones-menu {
  position: relative;
}

.zones-menu > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.zones-menu > summary::-webkit-details-marker {
  display: none;
}

.zones-menu[open] > summary span {
  transform: rotate(180deg);
}

.zones-menu ul {
  position: absolute;
  top: calc(100% - 4px);
  right: -20px;
  z-index: var(--z-dropdown);
  min-width: 260px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  list-style: none;
}

.zones-menu li a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.zones-menu li a:hover {
  background: var(--bahia-soft);
}

.zones-menu li small {
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link {
  padding: 8px;
  color: var(--bahia);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.header-whatsapp {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 50%;
  background: var(--bahia-deep);
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: #fff;
}

.mobile-menu {
  width: min(100%, 460px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 24px;
  border: 0;
  background: var(--bahia-deep);
  color: #fff;
}

.mobile-menu::backdrop,
.map-dialog::backdrop,
.gallery-dialog::backdrop {
  background: rgba(20, 24, 27, 0.7);
  backdrop-filter: blur(5px);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.mobile-menu .brand {
  color: #fff;
}

.mobile-menu-head button,
.map-dialog-head button,
.gallery-dialog > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.mobile-menu nav > a,
.mobile-menu summary {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .zones-menu ul {
  position: static;
  min-width: 0;
  border: 0;
  background: transparent;
}

.mobile-menu .zones-menu li a {
  color: #fff;
}

.mobile-menu .zones-menu li small {
  color: var(--oro-light);
}

.site-footer {
  padding: clamp(56px, 8vw, 96px) 0 24px;
  background: var(--tinta);
  color: #e9eeef;
}

.footer-grid {
  width: min(calc(100% - 40px), var(--max));
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(32px, 6vw, 80px);
  margin-inline: auto;
}

.brand-footer {
  color: #fff;
}

.footer-grid p {
  max-width: 38ch;
  margin-top: 18px;
  color: #bac5ca;
  font-size: 0.9rem;
}

.footer-grid nav,
.footer-grid > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.footer-grid strong {
  margin-bottom: 7px;
  color: #fff;
}

.footer-grid a {
  color: #bac5ca;
  font-size: 0.9rem;
  text-underline-offset: 3px;
}

.footer-grid a:hover {
  color: var(--oro-light);
}

.footer-base {
  width: min(calc(100% - 40px), var(--max));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 64px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8f9da3;
  font-size: 0.72rem;
}

.home-hero {
  position: relative;
  min-height: min(810px, calc(100svh - var(--header-height)));
  display: grid;
  overflow: hidden;
  background: var(--bahia-deep);
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 34, 49, 0.94) 0%, rgba(11, 34, 49, 0.66) 42%, rgba(11, 34, 49, 0.1) 75%),
    linear-gradient(0deg, rgba(11, 34, 49, 0.54) 0%, transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin-inline: auto;
  padding: 96px 0 64px;
}

.hero-coordinate,
.coordinate-line,
.folio-line {
  margin-bottom: 18px;
  color: var(--oro-light);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-inner h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8.6vw, 5.75rem);
  letter-spacing: -0.04em;
}

.hero-inner > p:not(.hero-coordinate) {
  max-width: 58ch;
  margin-bottom: 34px;
  color: #e1eaee;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-search {
  width: min(100%, 1000px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1px;
  padding: 7px;
  border-radius: 14px;
  background: #fff;
  color: var(--tinta);
}

.hero-search label {
  min-width: 0;
  padding: 8px 16px;
  border-right: 1px solid var(--line);
}

.hero-search label > span,
.listing-filters label > span,
.inquiry-form label > span {
  display: block;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-search select,
.hero-search input[type="text"] {
  width: 100%;
  padding: 4px 24px 4px 0;
  border: 0;
  background: #fff;
  font-family: inherit;
  font-weight: 600;
}

.hero-search .button {
  align-self: stretch;
  padding-inline: 30px;
  border-radius: 10px;
}

.featured-section {
  padding-block: clamp(72px, 10vw, 120px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2,
.owner-band h2 {
  margin-bottom: 8px;
  color: var(--bahia-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-head p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms var(--ease-out);
}

.property-card:hover,
.property-card.is-highlighted {
  border-color: var(--bahia);
  transform: translateY(-5px);
}

.property-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--arena);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.property-card:hover .card-image img {
  transform: scale(1.035);
}

.status-chip,
.tour-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--parcela);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour-chip {
  right: 12px;
  left: auto;
  background: var(--tinta);
  color: var(--oro-light);
}

.card-copy {
  flex: 1;
  padding: 20px;
}

.card-price {
  margin-bottom: 9px;
  color: var(--parcela);
  font-size: 1.08rem;
  font-weight: 700;
}

.card-copy h3 {
  margin-bottom: 8px;
  color: var(--bahia-deep);
  font-size: 1.28rem;
}

.card-zone {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card-facts div {
  min-width: 56px;
}

.card-facts dt {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.card-facts dd {
  margin: 2px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.zones-section {
  padding-block: clamp(72px, 10vw, 120px);
  background: var(--bahia);
  color: #fff;
}

.section-head.light h2,
.section-head.light .text-link {
  color: #fff;
}

.section-head.light p {
  color: #c8dae4;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.zone-card {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
}

.zone-map,
.zone-map::after {
  position: absolute;
  inset: 0;
}

.zone-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
  transition: transform 500ms var(--ease-out);
}

.zone-map::after {
  content: "";
  background: linear-gradient(0deg, rgba(16, 53, 77, 0.95), rgba(16, 53, 77, 0.05) 72%);
}

.zone-card:hover .zone-map img {
  transform: scale(1.04);
}

.zone-card > div:last-child {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
}

.zone-card h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.zone-card span {
  color: #d7e6ee;
  font-size: 0.84rem;
  white-space: nowrap;
}

.owner-band {
  padding-block: clamp(72px, 10vw, 112px);
  background: var(--oro);
}

.owner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.owner-grid > div {
  max-width: 720px;
}

.owner-band p {
  max-width: 62ch;
  margin-bottom: 0;
  color: #293c41;
  font-size: 1.06rem;
}

.page-title {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-title h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--bahia-deep);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  letter-spacing: -0.04em;
}

.page-title > p:last-child {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-title .coordinate-line,
.sell-hero .coordinate-line {
  color: var(--parcela);
}

.filter-shell {
  position: sticky;
  top: var(--header-height);
  z-index: calc(var(--z-sticky) - 1);
  padding-block: 14px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--background) 94%, transparent);
  backdrop-filter: blur(12px);
}

.listing-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 8px;
}

.listing-filters label {
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.listing-filters select,
.listing-filters input[type="text"] {
  width: 100%;
  padding: 3px 20px 3px 0;
  border: 0;
  background: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.filter-submit {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--bahia);
  color: #fff;
  font-weight: 700;
}

.listing-shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 30px;
  padding-block: 36px clamp(80px, 10vw, 120px);
}

.results-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.results-head p {
  margin: 0;
  color: var(--muted);
}

.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-map {
  position: sticky;
  top: calc(var(--header-height) + 102px);
  height: calc(100svh - var(--header-height) - 126px);
  min-height: 560px;
}

.map-surface {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 14px;
  background: #d9e3e5;
}

.map-surface > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 34px;
  background:
    linear-gradient(145deg, transparent 18%, rgba(27, 73, 101, 0.2) 19%, transparent 20%),
    #dce5df;
  color: rgba(27, 73, 101, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.map-surface.map-error > img,
.property-map.map-error > img,
.zone-map.map-error > img {
  display: none;
}

.map-pin {
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--oro);
  color: var(--bahia-deep);
  font-weight: 800;
  text-decoration: none;
  transform: translate(-50%, -100%) rotate(-45deg);
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin:hover,
.map-pin.is-highlighted {
  z-index: 4;
  background: #fff;
  transform: translate(-50%, -100%) rotate(-45deg) scale(1.25);
}

.map-pin.is-approximate {
  border-style: dashed;
}

.map-precision-note {
  position: absolute;
  bottom: 5px;
  left: 6px;
  z-index: 4;
  max-width: calc(100% - 190px);
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #364850;
  font-size: 0.58rem;
  font-weight: 700;
}

.map-attribution {
  position: absolute;
  right: 6px;
  bottom: 5px;
  z-index: 4;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.86);
  color: #415159;
  font-size: 0.55rem;
}

.map-mobile-button {
  display: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bahia);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.map-dialog {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

.map-dialog-head {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  background: var(--bahia-deep);
  color: #fff;
}

.map-dialog .map-surface {
  height: calc(100dvh - 64px);
  border-radius: 0;
}

.empty-state {
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.empty-state h2 {
  color: var(--bahia-deep);
}

.property-page {
  padding: 34px 0 clamp(80px, 10vw, 128px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.75rem;
}

.crumbs a {
  text-underline-offset: 3px;
}

.property-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  margin-bottom: 36px;
}

.property-heading h1 {
  max-width: 880px;
  margin-bottom: 12px;
  color: var(--bahia-deep);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
}

.property-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.property-heading .folio-line {
  color: var(--parcela);
}

.property-price {
  margin-bottom: 0;
  color: var(--parcela);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  white-space: nowrap;
}

.property-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: min(58vw, 580px);
  min-height: 420px;
  margin-bottom: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--arena);
}

.property-gallery > button:not(.gallery-dialog button) {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--arena);
}

.property-gallery > button:nth-of-type(n + 4) {
  display: none;
}

.gallery-lead {
  grid-row: 1 / -1;
}

.property-gallery > button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease-out);
}

.property-gallery > button:hover img {
  transform: scale(1.02);
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(20, 24, 27, 0.84);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.gallery-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 56px;
  border: 0;
  background: rgba(14, 17, 19, 0.98);
}

.gallery-dialog > button {
  position: fixed;
  top: 18px;
  right: 18px;
}

.gallery-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.property-content {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.72fr);
  align-items: start;
  gap: clamp(42px, 7vw, 84px);
}

.property-section {
  padding-block: 38px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.property-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.property-section h2,
.record-panel h2 {
  margin-bottom: 24px;
  color: var(--bahia-deep);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin: 0;
}

.feature-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list dt {
  color: var(--muted);
}

.feature-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-list li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
}

.description-copy p {
  max-width: 72ch;
  color: #38444a;
  font-size: 1.02rem;
}

.property-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 14px;
  background: #dce5df;
}

.property-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.location-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
}

.location-summary > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-summary strong {
  color: var(--parcela);
  font-size: 0.82rem;
  font-weight: 700;
}

.location-summary span {
  max-width: 64ch;
  color: var(--muted);
  font-size: 0.84rem;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.model-level {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--arena);
  color: var(--terracota);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour-launch {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(rgba(20, 24, 27, 0.4), rgba(20, 24, 27, 0.82)),
    var(--tour-poster) center / cover;
  color: #fff;
}

.tour-launch-copy {
  max-width: 590px;
  padding: 36px;
  text-align: center;
}

.tour-launch-copy h3 {
  margin: 20px 0 14px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.tour-launch-copy p {
  color: #dce5e8;
}

.tour-compass {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--oro-light);
  font-weight: 700;
}

.tour-launch iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--tinta);
}

.property-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advisor-panel,
.record-panel,
.legal-note {
  padding: 24px;
  border-radius: 14px;
}

.advisor-panel {
  background: var(--bahia-deep);
  color: #fff;
}

.advisor-panel > p {
  margin-bottom: 18px;
  color: #a9c0cd;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.advisor {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.advisor-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--oro);
  color: var(--bahia-deep);
  font-weight: 800;
}

.advisor small,
.advisor-panel > small {
  display: block;
  color: #b8cad4;
}

.advisor-panel .button {
  width: 100%;
  margin-bottom: 12px;
}

.record-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.record-panel dl {
  margin: 0 0 20px;
}

.record-panel dl > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.record-panel dt {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.record-panel dd {
  margin: 3px 0 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.record-panel > p,
.legal-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-note {
  background: color-mix(in srgb, var(--terracota) 11%, #fff);
  color: #613112;
}

.legal-note strong {
  display: block;
  margin-bottom: 8px;
}

.zone-index {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: clamp(80px, 10vw, 120px);
}

.zone-index-row {
  min-height: 290px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.zone-index-map {
  min-height: 290px;
  overflow: hidden;
  background: #dce5df;
}

.zone-index-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.zone-index-row:hover .zone-index-map img {
  transform: scale(1.035);
}

.zone-index-row > div:last-child {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 5vw, 56px);
}

.zone-index-row span {
  color: var(--parcela);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.zone-index-row h2 {
  margin: 8px 0 12px;
  color: var(--bahia-deep);
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.zone-index-row p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
}

.map-page-shell {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.6fr);
  background: #fff;
}

.map-page-copy {
  max-height: calc(100svh - var(--header-height));
  overflow: auto;
  padding: clamp(40px, 6vw, 80px);
}

.map-page-copy .coordinate-line {
  color: var(--parcela);
}

.map-page-copy h1 {
  color: var(--bahia-deep);
  font-size: clamp(3rem, 7vw, 5.2rem);
}

.map-page-copy > p:not(.coordinate-line) {
  color: var(--muted);
}

.map-page-copy ol {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.map-page-copy li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.map-page-copy li span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--oro);
  color: var(--bahia-deep);
  font-weight: 800;
}

.map-page-copy li strong,
.map-page-copy li small {
  display: block;
}

.map-page-copy li strong {
  color: var(--bahia-deep);
}

.map-page-copy li small {
  color: var(--parcela);
}

.map-page-shell > .map-surface {
  min-height: calc(100svh - var(--header-height));
  border-radius: 0;
}

.sell-hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bahia-deep);
  color: #fff;
}

.sell-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sell-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(13, 41, 58, 0.94), rgba(13, 41, 58, 0.08) 80%);
}

.sell-hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding-bottom: clamp(48px, 8vw, 88px);
}

.sell-hero-copy h1 {
  max-width: 950px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 5.75rem);
  letter-spacing: -0.04em;
}

.sell-hero-copy > p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
  color: #dbe7ed;
  font-size: 1.08rem;
}

.sell-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(52px, 8vw, 100px);
  padding-block: clamp(72px, 10vw, 120px);
}

.sell-story h2,
.inquiry-form h2,
.prose-layout h2 {
  color: var(--bahia-deep);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.process-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.process-list li > span {
  color: var(--oro);
  font-size: 1.4rem;
  font-weight: 800;
}

.process-list p {
  margin: 5px 0 0;
  color: var(--muted);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 14px;
  background: var(--bahia-deep);
  color: #fff;
}

.inquiry-form h2,
.inquiry-form .form-wide {
  grid-column: 1 / -1;
}

.inquiry-form h2 {
  margin-bottom: 14px;
  color: #fff;
}

.inquiry-form label > span {
  color: #b9ccd5;
}

.inquiry-form input,
.inquiry-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.inquiry-form option {
  color: var(--tinta);
}

.inquiry-form input::placeholder {
  color: #c2d0d6;
  opacity: 1;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-label input {
  width: 22px;
  min-height: 22px;
  margin: 0;
}

.checkbox-label span {
  margin: 0 !important;
  text-transform: none !important;
}

.form-note {
  margin: 0;
  color: #a9bdc7;
  font-size: 0.78rem;
}

.content-title {
  padding-bottom: 56px;
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.6fr);
  gap: clamp(48px, 8vw, 100px);
  padding-bottom: clamp(80px, 12vw, 140px);
}

.prose-layout > div {
  max-width: 72ch;
}

.prose-layout h2:not(:first-child) {
  margin-top: 52px;
}

.prose-layout p {
  color: #3f4a50;
  font-size: 1.05rem;
}

.prose-layout aside {
  align-self: start;
  padding: 28px;
  border-radius: 14px;
  background: var(--arena);
}

.prose-layout aside strong {
  color: var(--bahia-deep);
  font-size: 1.3rem;
}

.prose-layout aside p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.not-found {
  min-height: 70svh;
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
}

.not-found > span {
  color: var(--oro);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
}

.not-found h1 {
  color: var(--bahia-deep);
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: flex;
  }

  .listing-filters {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-submit {
    min-height: 58px;
  }

  .listing-shell {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .section-wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-name {
    display: none;
  }

  .header-inner {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-whatsapp {
    min-height: 38px;
    padding-inline: 13px;
  }

  .language-link {
    padding-inline: 6px;
  }

  .home-hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(11, 34, 49, 0.94) 0%, rgba(11, 34, 49, 0.62) 58%, rgba(11, 34, 49, 0.22)),
      linear-gradient(90deg, rgba(11, 34, 49, 0.35), transparent);
  }

  .hero-inner {
    justify-content: flex-end;
    padding-bottom: 28px;
  }

  .hero-inner h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

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

  .hero-search label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-search .button {
    border-radius: 9px;
  }

  .section-head,
  .owner-grid {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

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

  .filter-shell {
    position: static;
  }

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

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

  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-map {
    display: none;
  }

  .map-mobile-button {
    display: block;
  }

  .property-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .property-price {
    white-space: normal;
  }

  .property-gallery {
    height: 72vw;
    min-height: 360px;
  }

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

  .property-aside {
    position: static;
  }

  .map-page-shell {
    grid-template-columns: 1fr;
  }

  .map-page-copy {
    max-height: none;
  }

  .map-page-shell > .map-surface {
    min-height: 70svh;
  }

  .sell-grid,
  .prose-layout {
    grid-template-columns: 1fr;
  }

  .zone-index-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .demo-banner {
    padding-inline: 12px;
    font-size: 0.66rem;
  }

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

  .hero-search label {
    padding: 7px 12px;
  }

  .hero-search .button {
    min-height: 50px;
  }

  .property-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .zone-card {
    min-height: 220px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

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

  .property-gallery {
    display: flex;
    height: 68vw;
    min-height: 280px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .property-gallery > button:not(.gallery-dialog button) {
    min-width: 100%;
    display: block;
    scroll-snap-align: center;
  }

  .gallery-count {
    position: sticky;
    right: 12px;
    align-self: flex-end;
    flex: 0 0 auto;
    margin: 0 0 12px -105px;
  }

  .gallery-dialog {
    padding: 20px;
  }

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

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

  .tour-launch {
    min-height: 580px;
  }

  .tour-launch-copy {
    padding: 24px;
  }

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

  .inquiry-form > * {
    grid-column: 1 !important;
  }

  .sell-hero {
    min-height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
