:root {
  --bg: #060606;
  --bg-soft: #0c0c0f;
  --surface: rgba(16, 16, 19, 0.92);
  --surface-strong: rgba(21, 21, 25, 0.98);
  --surface-soft: rgba(27, 27, 32, 0.84);
  --text: #f4efe5;
  --muted: #b5a994;
  --gold: #c8a86c;
  --gold-strong: #f1d49e;
  --gold-dark: #8d6a37;
  --line: rgba(200, 168, 108, 0.16);
  --line-strong: rgba(241, 212, 158, 0.28);
  --shadow-sm: 0 14px 30px rgba(0, 0, 0, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 38px 90px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --container: 1240px;
  --header-h: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 168, 108, 0.14), transparent 20%),
    radial-gradient(circle at 82% 12%, rgba(200, 168, 108, 0.08), transparent 18%),
    linear-gradient(180deg, #050505 0%, #0b0b0e 40%, #050505 100%);
  font-family: Georgia, "Times New Roman", serif;
  padding-top: var(--header-h);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

iframe {
  width: 100%;
  border: 0;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.94), rgba(7, 7, 9, 0.82));
  border-bottom: 1px solid rgba(200, 168, 108, 0.08);
  transform: translate3d(0, 0, 0);
  transition: transform 0.35s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.site-header.is-hidden {
  transform: translate3d(0, calc(-100% - 10px), 0);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold) 60%, var(--gold-dark));
  color: #121212;
  font-weight: 800;
  letter-spacing: 0.16em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 16px 34px rgba(200, 168, 108, 0.16);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: rgba(244, 239, 229, 0.82);
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(200, 168, 108, 0.08);
  transform: translateY(-1px);
}

.main-nav .nav-cta,
.btn-primary,
.admin-btn,
.admin-btn.small {
  border: 1px solid rgba(241, 212, 158, 0.24);
  background: linear-gradient(135deg, var(--gold-strong), var(--gold) 58%, var(--gold-dark));
  color: #121212;
  box-shadow: 0 16px 30px rgba(200, 168, 108, 0.2);
}

.btn-soft {
  background: rgba(200, 168, 108, 0.08);
  border-color: rgba(200, 168, 108, 0.18);
  color: var(--text);
  box-shadow: none;
}

.mobile-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 21, 0.96);
  color: var(--text);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0 38px;
  border-bottom: 1px solid rgba(200, 168, 108, 0.1);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.9) 38%, rgba(5, 5, 5, 0.58) 62%, rgba(5, 5, 5, 0.26) 100%),
    linear-gradient(180deg, rgba(16, 16, 19, 0.2), rgba(16, 16, 19, 0.08) 40%, rgba(16, 16, 19, 0.26) 100%),
    url("../img/hero.webp");
  background-position: center center, center center, center center;
  background-size: cover, cover, cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 26%, rgba(241, 212, 158, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(5, 5, 5, 0.5));
}

.hero-grid,
.about-grid,
.location-grid,
.property-detail-grid,
.detail-content-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  min-height: clamp(540px, 76vh, 760px);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.about-copy h2,
.location-section h2,
.detail-block h2,
.property-summary-card h1 {
  margin: 10px 0 12px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-content h1 {
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  max-width: 12ch;
}

.hero-content p,
.section-heading p,
.about-copy p,
.location-section p,
.property-short,
.detail-block p,
.muted-note,
.empty-inline,
.map-helper-text {
  color: var(--muted);
  line-height: 1.75;
}

.hero-content > p {
  max-width: 54ch;
  font-size: 1.02rem;
}

.hero-actions,
.card-actions,
.detail-actions,
.about-actions,
.proposal-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-secondary {
  background: rgba(15, 15, 18, 0.88);
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.metric-card,
.search-card,
.property-card,
.property-gallery-card,
.property-summary-card,
.detail-block,
.map-card,
.hero-panel,
.about-copy,
.about-frame {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.96), rgba(10, 10, 12, 0.98));
  border: 1px solid rgba(200, 168, 108, 0.12);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.hero-panel {
  max-width: 360px;
  padding: 28px;
}

.hero-panel-label,
.detail-label,
.region-map-chip,
.location-business-note,
.property-card-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-label,
.detail-label,
.region-map-chip,
.location-business-note {
  background: rgba(200, 168, 108, 0.1);
  color: var(--gold-strong);
  border: 1px solid rgba(200, 168, 108, 0.16);
}

.hero-panel strong {
  display: block;
  margin: 18px 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.hero-panel p {
  margin: 0 0 20px;
  color: var(--muted);
}

.hero-panel-stack {
  display: grid;
  gap: 14px;
}

.hero-panel-stack div {
  padding-top: 14px;
  border-top: 1px solid rgba(200, 168, 108, 0.12);
}

.hero-panel-stack small {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.search-section,
.property-section,
.about-section,
.location-section,
.property-detail-section {
  padding: 42px 0;
}

.alt-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(200, 168, 108, 0.03), rgba(255, 255, 255, 0.01));
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.center {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.location-section h2,
.detail-block h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.search-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 0.9fr)) auto;
  gap: 14px;
}

.field,
.admin-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label,
.admin-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea,
.admin-field input,
.admin-field select,
.admin-field textarea {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.92);
  color: var(--text);
  padding: 0 16px;
}

.field textarea,
.admin-field textarea {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

.search-btn {
  min-width: 144px;
}

.search-results {
  margin-top: 18px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.property-card {
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 212, 158, 0.22);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.38);
}

.property-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #0f0f11;
}

.property-card-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-card-media img {
  transform: scale(1.05);
}

.property-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.72) 100%);
}

.property-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold-strong);
  color: #121212;
}

.status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(8, 8, 10, 0.82);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-badge.disponivel {
  color: #8fdaa1;
}

.status-badge.reservado {
  color: #f0c669;
}

.status-badge.vendido {
  color: #f48f8f;
}

.status-badge.oculto {
  color: #b8b8b8;
}

.property-card-body,
.property-gallery-card,
.property-summary-card,
.detail-block {
  padding: 22px;
}

.property-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.property-card-location {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(200, 168, 108, 0.08);
  color: var(--muted);
  font-size: 0.76rem;
}

.property-card h3 {
  margin: 16px 0 10px;
  font-size: 1.46rem;
  line-height: 1.06;
}

.property-price,
.detail-price {
  color: var(--gold-strong);
  font-size: 1.36rem;
  white-space: nowrap;
}

.property-features,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.feature-pill,
.detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(200, 168, 108, 0.08);
  border: 1px solid rgba(200, 168, 108, 0.08);
  color: var(--text);
  font-size: 0.84rem;
}

.card-actions .btn {
  flex: 1 1 180px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.empty-state {
  padding: 28px;
  border-radius: 24px;
  border: 1px dashed rgba(200, 168, 108, 0.2);
  background: rgba(14, 14, 16, 0.82);
  color: var(--muted);
}

.about-grid,
.location-grid,
.property-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.about-copy {
  padding: 32px;
}

.about-lead {
  font-size: 1.04rem;
  color: rgba(244, 239, 229, 0.82);
}

.about-actions {
  margin-top: 28px;
}

.about-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 15, 18, 0.88);
}

.about-social-primary {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold) 58%, var(--gold-dark));
  color: #121212;
}

.about-frame {
  position: relative;
  min-height: 100%;
  padding: 22px 22px 56px 72px;
  overflow: hidden;
}

.about-frame::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 108, 0.14), rgba(200, 168, 108, 0));
}

.about-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(200, 168, 108, 0.14);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-main {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  aspect-ratio: 0.84;
  justify-self: end;
  transform: rotate(-3deg);
}

.about-photo-secondary {
  position: absolute;
  left: 24px;
  bottom: 0;
  z-index: 3;
  width: min(56%, 250px);
  aspect-ratio: 0.96;
  transform: rotate(5deg);
}

.about-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.78);
  color: var(--gold-strong);
  border: 1px solid rgba(200, 168, 108, 0.18);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

.map-card iframe {
  height: 100%;
  min-height: 440px;
}

.site-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(200, 168, 108, 0.12);
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.74), rgba(5, 5, 5, 0.98));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 26px 0;
}

.footer-col h4 {
  margin: 0 0 12px;
}

.footer-col p,
.footer-col a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--gold-strong);
}

.footer-bottom {
  text-align: center;
  padding: 0 0 24px;
}

.ulrich-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.72rem;
  opacity: 0.78;
}

.ulrich-link {
  position: relative;
}

.ulrich-underline {
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.ulrich-link:hover .ulrich-underline,
.ulrich-link:focus-visible .ulrich-underline {
  transform: scaleX(1);
}

.property-breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  color: var(--muted);
}

.detail-main-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #101012;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #101012;
}

.gallery-thumb.active {
  border-color: var(--gold-strong);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-label {
  margin-bottom: 12px;
}

.property-summary-card h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.detail-location {
  margin: 12px 0 0;
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.detail-feature {
  padding: 18px;
  border-radius: 18px;
  background: rgba(200, 168, 108, 0.08);
  border: 1px solid rgba(200, 168, 108, 0.08);
}

.detail-feature strong {
  display: block;
  color: var(--gold-strong);
  font-size: 1.48rem;
}

.detail-feature span {
  color: var(--muted);
}

.location-callout {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(200, 168, 108, 0.12), rgba(200, 168, 108, 0.04));
  border: 1px solid rgba(200, 168, 108, 0.14);
}

.location-callout strong {
  color: var(--gold-strong);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.detail-actions .btn {
  flex: 1 1 220px;
}

.detail-meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.detail-inline-action {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(200, 168, 108, 0.16);
  background: rgba(13, 13, 16, 0.92);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.detail-inline-action:hover {
  transform: translateY(-1px);
  border-color: rgba(241, 212, 158, 0.26);
  background: rgba(18, 18, 22, 0.98);
}

.detail-action-feedback {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-action-feedback[data-state="success"] {
  color: #8fdaa1;
}

.detail-action-feedback[data-state="error"] {
  color: #f48f8f;
}

.site-feedback-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 98;
  min-width: min(92vw, 320px);
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(200, 168, 108, 0.18);
  background: rgba(10, 10, 12, 0.94);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  text-align: center;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-feedback-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-feedback-toast[data-state="success"] {
  border-color: rgba(143, 218, 161, 0.24);
  color: #8fdaa1;
}

.site-feedback-toast[data-state="error"] {
  border-color: rgba(244, 143, 143, 0.22);
  color: #f4a1a1;
}
}

.detail-content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.detail-map-block {
  grid-column: 1 / -1;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.detail-block p,
.detail-list li,
.empty-inline,
.map-helper-text,
.detail-location,
.region-map-copy strong,
.region-map-copy span:last-child {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-block p {
  white-space: pre-wrap;
}

.detail-map-card {
  min-height: 460px;
}

.region-map-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.82fr);
}

.region-map-surface {
  --region-tone: 36;
  --region-density: 0.72;
  --region-grid-tilt: 0deg;
  --region-ridge: 0.24;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, hsla(var(--region-tone), 54%, 58%, 0.22), transparent 30%),
    radial-gradient(circle at 82% 72%, hsla(calc(var(--region-tone) + 48), 28%, 36%, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(20, 20, 24, 0.98), rgba(10, 10, 12, 1));
}

.region-map-wash,
.region-map-grid,
.region-map-ridge,
.map-region-overlay {
  position: absolute;
  inset: 0;
}

.region-map-wash {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.36));
}

.region-map-grid {
  opacity: calc(0.18 + (var(--region-density) * 0.22));
  background-image:
    linear-gradient(hsla(var(--region-tone), 18%, 38%, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, hsla(calc(var(--region-tone) + 12), 18%, 38%, 0.14) 1px, transparent 1px);
  background-size: calc(60px - (var(--region-density) * 24px)) calc(60px - (var(--region-density) * 24px));
  transform: rotate(var(--region-grid-tilt)) scale(1.04);
}

.region-map-ridge {
  background:
    linear-gradient(128deg, transparent 24%, hsla(calc(var(--region-tone) + 22), 42%, 52%, calc(var(--region-ridge) * 0.95)) 40%, transparent 54%),
    linear-gradient(38deg, transparent 58%, hsla(var(--region-tone), 32%, 42%, calc(var(--region-ridge) * 0.58)) 70%, transparent 84%);
}

.region-map-sector,
.region-map-line,
.region-map-node {
  position: absolute;
}

.region-map-sector {
  left: var(--sector-left);
  top: var(--sector-top);
  width: var(--sector-width);
  height: var(--sector-height);
  transform: rotate(var(--sector-rotate));
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    hsla(var(--region-tone), 42%, 64%, var(--sector-opacity));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.region-map-line.dynamic-line {
  left: var(--line-left);
  top: var(--line-top);
  width: var(--line-width);
  height: var(--line-thickness);
  transform: rotate(var(--line-rotate));
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 168, 108, 0.02), hsla(var(--region-tone), 56%, 42%, var(--line-opacity)), rgba(200, 168, 108, 0.02));
}

.region-map-node {
  left: var(--node-x);
  top: var(--node-y);
  width: var(--node-size);
  height: var(--node-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.76) 0%, hsla(var(--region-tone), 46%, 48%, var(--node-opacity)) 44%, rgba(255, 255, 255, 0) 100%);
}

.map-region-overlay {
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.06), rgba(5, 5, 5, 0.24));
}

.map-region-circle {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  width: min(calc(52% * var(--spot-focus-size)), 360px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--spot-rotate)) scale(var(--spot-scale));
  border-radius: 34% 66% 58% 42% / 38% 30% 70% 62%;
  border: 1px solid rgba(241, 212, 158, 0.42);
  background:
    radial-gradient(circle at 35% 38%, rgba(200, 168, 108, calc(0.28 * var(--spot-intensity))) 0%, rgba(200, 168, 108, 0.06) 58%, rgba(200, 168, 108, 0) 100%),
    radial-gradient(circle at 48% 48%, hsla(var(--region-tone), 40%, 54%, calc(0.18 * var(--spot-intensity))) 0%, rgba(255, 255, 255, 0) 76%);
  box-shadow:
    0 0 0 24px rgba(200, 168, 108, calc(0.1 * var(--spot-intensity))),
    0 0 0 54px rgba(200, 168, 108, calc(0.05 * var(--spot-intensity))),
    0 20px 44px rgba(0, 0, 0, 0.26);
}

.region-map-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 28px;
  border-left: 1px solid rgba(200, 168, 108, 0.12);
  background: linear-gradient(180deg, rgba(18, 18, 21, 0.94), rgba(8, 8, 10, 0.98));
}

.region-map-copy strong {
  font-size: clamp(1.18rem, 2vw, 1.54rem);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 120;
  background: rgba(5, 5, 5, 0.82);
}

.modal-overlay.active {
  display: flex;
}

.proposal-modal {
  width: min(860px, 100%);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.98), rgba(8, 8, 10, 1));
  border: 1px solid rgba(200, 168, 108, 0.14);
  box-shadow: var(--shadow-lg);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 16, 19, 0.94);
  color: var(--text);
}

.proposal-header,
.proposal-steps,
.proposal-step-panel,
.proposal-actions {
  padding-left: 24px;
  padding-right: 24px;
}

.proposal-header {
  padding-top: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 168, 108, 0.08);
}

.proposal-header h2 {
  margin: 10px 0 8px;
}

.proposal-form-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
}

.proposal-steps {
  display: flex;
  gap: 10px;
  padding-top: 18px;
}

.proposal-step {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 168, 108, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.proposal-step.active {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold), var(--gold-dark));
  color: #111;
}

.proposal-panels {
  min-height: 0;
  overflow: hidden;
}

.proposal-step-panel {
  display: none;
  padding-top: 22px;
  padding-bottom: 12px;
  overflow: auto;
  max-height: min(52vh, 540px);
}

.proposal-step-panel.active {
  display: block;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.col-2 {
  grid-column: span 2;
}

.radio-group {
  gap: 10px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nested-grid,
.summary-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(200, 168, 108, 0.08);
  border: 1px solid rgba(200, 168, 108, 0.08);
}

.summary-box {
  min-height: 120px;
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

.proposal-actions {
  justify-content: flex-end;
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(200, 168, 108, 0.08);
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .location-grid,
  .property-detail-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .search-btn {
    width: 100%;
  }

  .hero-grid {
    min-height: auto;
    align-items: start;
  }

  .hero-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(10, 10, 12, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .desktop-only {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-section {
    padding: 54px 0 30px;
    background-position: center center, center center, 62% center;
  }

  .hero-metrics,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-main-image {
    aspect-ratio: 4 / 3;
  }

  .detail-thumb-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    margin-top: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .detail-thumb-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-thumb {
    flex: 0 0 84px;
    border-radius: 14px;
  }

  .gallery-thumb img {
    aspect-ratio: 1 / 1;
  }

  .detail-gallery-nav {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .detail-gallery-control {
    width: 42px;
    height: 42px;
  }

  .detail-gallery-counter {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .property-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    gap: 16px;
    padding-bottom: 10px;
    padding-right: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .property-grid::-webkit-scrollbar {
    display: none;
  }

  .property-card {
    min-width: 80%;
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .property-grid > .empty-state {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .property-card-body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .card-actions {
    margin-top: auto;
  }

  .property-card-header {
    flex-direction: column;
  }

  .card-actions .btn {
    flex-basis: 100%;
  }

  .detail-actions .btn,
  .detail-inline-action {
    width: 100%;
  }

  .detail-meta-actions {
    flex-direction: column;
  }

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

  .field-grid .col-2 {
    grid-column: auto;
  }

  .about-frame {
    padding: 18px 18px 36px 42px;
  }

  .about-photo-main {
    width: min(100%, 360px);
  }

  .about-photo-secondary {
    width: min(48%, 210px);
  }

  .region-map-card {
    grid-template-columns: 1fr;
  }

  .search-inline-actions {
    align-items: stretch;
  }

  .region-map-copy {
    border-left: 0;
    border-top: 1px solid rgba(200, 168, 108, 0.12);
    padding: 22px 20px 24px;
  }

  .proposal-header,
  .proposal-steps,
  .proposal-step-panel,
  .proposal-actions {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 520px) {
  .property-card {
    min-width: clamp(248px, 86%, 312px);
    flex-basis: clamp(248px, 86%, 312px);
  }

  .detail-main-image-wrap {
    border-radius: 18px;
  }

  .gallery-thumb {
    flex-basis: 76px;
  }

  .property-breadcrumb {
    gap: 8px;
    margin-bottom: 16px;
  }

  .about-frame {
    padding: 12px;
  }

  .about-photo-main {
    width: 100%;
    transform: none;
  }

  .about-photo-secondary {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(72%, 230px);
    margin-top: -54px;
    justify-self: end;
    transform: none;
  }

  .proposal-modal {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .proposal-actions {
    flex-direction: column-reverse;
  }

  .mobile-cta-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px;
    gap: 8px;
  }

  .mobile-cta-btn {
    min-height: 50px;
    font-size: 0.94rem;
  }
}

body[data-page="home"],
body[data-page="property"] {
  padding-bottom: 104px;
}

.btn-tertiary {
  background: rgba(15, 15, 18, 0.88);
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-tertiary:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.field.field-lg {
  grid-column: span 2;
}

.search-inline-actions {
  display: flex;
  align-items: end;
}

.search-inline-actions .btn {
  width: 100%;
}

.search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.search-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-results-summary {
  color: var(--muted);
  text-align: right;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 168, 108, 0.12);
  background: rgba(200, 168, 108, 0.08);
  color: var(--text);
  font-size: 0.84rem;
}

.filter-chip.muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.property-grid-search {
  margin-top: 4px;
}

.search-empty {
  padding: 28px;
  border-radius: 24px;
  border: 1px dashed rgba(200, 168, 108, 0.2);
  background: rgba(14, 14, 16, 0.82);
}

.search-empty strong {
  display: block;
  margin-bottom: 8px;
}

.property-card-topline {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.property-card-visual-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.property-card-visual-meta span {
  max-width: 55%;
  padding: 0 12px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.76rem;
}

.property-card-visual-meta strong {
  color: var(--gold-strong);
  font-size: 1.54rem;
  line-height: 1;
  text-align: right;
}

.skeleton-card,
.skeleton-panel,
.skeleton-block,
.skeleton-line,
.skeleton-pill,
.skeleton-chip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.skeleton-card::after,
.skeleton-panel::after,
.skeleton-block::after,
.skeleton-line::after,
.skeleton-pill::after,
.skeleton-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: shimmer 1.2s linear infinite;
}

.skeleton-block {
  border-radius: 22px;
  min-height: 280px;
}

.skeleton-panel {
  border-radius: var(--radius);
  min-height: 280px;
}

.skeleton-chip {
  display: inline-flex;
  width: 120px;
  min-height: 34px;
  border-radius: 999px;
}

.skeleton-line {
  display: block;
  min-height: 14px;
  border-radius: 999px;
}

.skeleton-line.lg {
  width: 86%;
  min-height: 18px;
}

.skeleton-line.md {
  width: 72%;
}

.skeleton-line.sm {
  width: 48%;
}

.skeleton-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skeleton-pill {
  width: 84px;
  min-height: 36px;
  border-radius: 999px;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.detail-loading-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.88fr);
  gap: 28px;
}

.detail-loading-gallery,
.detail-loading-copy {
  min-height: 520px;
}

.detail-loading-copy {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.detail-gallery-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.detail-gallery-control {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 16, 19, 0.9);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.detail-gallery-counter {
  padding: 0 14px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 721px) {
  .detail-gallery-nav {
    display: none;
  }
}

.summary-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.detail-price-wrap {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(200, 168, 108, 0.14), rgba(200, 168, 108, 0.04));
  border: 1px solid rgba(200, 168, 108, 0.14);
}

.detail-description-lead {
  color: rgba(244, 239, 229, 0.82);
  font-size: 1.04rem;
}

.mobile-cta-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 95;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(200, 168, 108, 0.14);
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.mobile-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 100%;
  border-radius: 999px;
}

.mobile-cta-primary {
  border: 1px solid rgba(241, 212, 158, 0.24);
  background: linear-gradient(135deg, var(--gold-strong), var(--gold) 58%, var(--gold-dark));
  color: #121212;
}

.mobile-cta-secondary {
  background: rgba(15, 15, 18, 0.88);
  border: 1px solid var(--line);
  color: var(--text);
}

.mobile-cta-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 94;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.94);
  border: 1px solid rgba(200, 168, 108, 0.22);
  color: var(--gold-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.36);
  animation: floatPulse 2.8s ease-in-out infinite;
}

.preview-page {
  padding-top: 1rem;
}

.preview-notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(201, 169, 107, 0.22);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(201, 169, 107, 0.12), rgba(255, 255, 255, 0.03));
}

.preview-notice p {
  margin: 0.55rem 0 0;
  color: var(--muted, rgba(255,255,255,.7));
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 107, 0.32);
  background: rgba(9, 9, 9, 0.6);
  color: #f4d7a0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.36);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.42);
  }
}

@media (max-width: 1100px) {
  .field.field-lg {
    grid-column: span 1;
  }

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

@media (max-width: 920px) {
  .search-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-results-summary {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .mobile-cta-bar {
    display: grid;
  }

  .floating-whatsapp {
    display: none;
  }
}

@media (max-width: 520px) {
  .property-card-visual-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-card-visual-meta span {
    max-width: 100%;
  }
}
