@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-soft: #f7f9fd;
  --border: #dde5f1;
  --text: #0f172a;
  --muted: #617087;
  --brand: #2450e6;
  --brand-strong: #1838b0;
  --brand-soft: #edf2ff;
  --navy: #07101f;
  --navy-2: #0b1630;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.07);
  --radius: 22px;
  --radius-lg: 28px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 80, 230, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(24, 56, 176, 0.05), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
    var(--bg);
}

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

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 239, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 20px;
}

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

.brand-logo {
  width: auto;
  object-fit: contain;
}

.brand-logo--dark {
  height: 112px;
}

.brand-logo--header {
  height: 96px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(36, 80, 230, 0.07);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), #2c63ff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(36, 80, 230, 0.22);
}

.button--primary:hover {
  background: var(--brand-strong);
}

.button--ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(31, 75, 216, 0.25);
  background: var(--surface-soft);
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.app {
  flex: 1;
  padding: 18px 0 30px;
}

.hero,
.section {
  margin-bottom: 18px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section-card,
.listing-card,
.contact-card,
.contact-hero,
.detail-card,
.empty-state,
.error-state,
.filters-panel,
.gallery-card {
  background: var(--surface);
  border: 1px solid rgba(217, 225, 239, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
}

.hero-copy--brand-only {
  min-height: 420px;
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.hero-brand-card {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.hero-brand-card img {
  width: min(520px, 78vw);
  height: auto;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.34));
}

.hero-brand-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(47, 100, 255, 0.16);
  border: 1px solid rgba(118, 163, 255, 0.22);
  color: #dbe6ff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-copy__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 16px;
  background: rgba(36, 80, 230, 0.08);
  color: var(--brand-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p,
.lead,
.muted,
.section-intro,
.section-note,
.card-meta,
.detail-note,
.footer-contact {
  color: var(--muted);
}

.hero .lead {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 16px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill,
.route-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(31, 75, 216, 0.08);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-spotlight {
  min-height: 320px;
}

.hero-spotlight__card,
.hero-spotlight__empty {
  height: 100%;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #07101f 0%, #163051 100%);
  color: #fff;
  display: grid;
  position: relative;
}

.hero-spotlight__card {
  grid-template-rows: minmax(210px, 1fr) auto;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.18);
}

.hero-spotlight__media {
  min-height: 230px;
  background: #dce7ff;
}

.hero-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-spotlight__body {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(7, 16, 31, 0.94);
}

.hero-spotlight__body strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-spotlight__body span {
  color: #c7d2fe;
}

.hero-spotlight__body b {
  font-size: 1.3rem;
  color: #fff;
}

.hero-spotlight__empty {
  place-items: center;
  text-align: center;
  padding: 28px;
}

.hero-spotlight__empty img {
  width: min(260px, 70%);
  margin-bottom: 18px;
}

.hero-spotlight__empty strong {
  font-size: 1.35rem;
}

.hero-spotlight__empty span {
  color: #c7d2fe;
}

.stat {
  padding: 16px 18px;
  border: 1px solid rgba(221, 229, 241, 0.9);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.stat strong {
  display: block;
  font-size: 1.12rem;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-card {
  padding: 22px;
}

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

.section-head h2,
.section-head h1,
.detail-title {
  margin: 0;
  letter-spacing: -0.03em;
}

.section-head h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
}

.section-head p,
.section-note {
  margin: 0;
  line-height: 1.65;
}

.section-grid {
  display: grid;
  gap: 18px;
}

.section-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.property-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 80, 230, 0.18);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
}

.property-link {
  display: grid;
  height: 100%;
  grid-template-rows: 220px 1fr;
}

.property-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #1a2944, #102038);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.property-watermark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: min(170px, 50%);
  opacity: 0.18;
  pointer-events: none;
}

.property-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge {
  background: rgba(31, 75, 216, 0.1);
  color: var(--brand-strong);
}

.tag {
  background: #eff3fb;
  color: #304163;
}

.property-title {
  margin: 0;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.property-location {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 0.85rem;
  color: #4a5568;
}

.property-price {
  margin-top: auto;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--brand-strong);
}

.filters-panel {
  padding: 18px;
}

.filters-form {
  display: grid;
  gap: 14px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

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

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

.field label {
  font-size: 0.87rem;
  font-weight: 700;
  color: #334155;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(31, 75, 216, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 75, 216, 0.12);
}

.filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #475569;
  font-size: 0.9rem;
}

.listing-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.listing-top h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  letter-spacing: -0.045em;
}

.listing-top p {
  margin: 8px 0 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.65;
}

.listing-note {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.listing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.listing-hero-copy {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(36, 80, 230, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(217, 225, 239, 0.9);
  box-shadow: var(--shadow-soft);
}

.listing-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 11ch;
}

.listing-hero-copy p {
  margin: 14px 0 0;
  max-width: 56ch;
  line-height: 1.75;
  color: var(--muted);
}

.listing-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.listing-search-panel {
  padding: 20px;
}

.listing-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.listing-results-column {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.listing-results {
  display: grid;
  gap: 14px;
}

.listing-result-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid rgba(217, 225, 239, 0.92);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.listing-result-card:hover,
.listing-result-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(36, 80, 230, 0.25);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.listing-result-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 160px;
  background: linear-gradient(140deg, #20354d 0%, #243a55 45%, #18263b 100%);
}

.listing-result-media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-result-watermark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: min(110px, 48%);
  opacity: 0.16;
  pointer-events: none;
}

.listing-result-body {
  display: grid;
  gap: 10px;
}

.listing-result-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.listing-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-result-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.listing-map-column {
  position: sticky;
  top: 92px;
}

.listing-map-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(47, 100, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 32, 56, 0.98), rgba(7, 16, 31, 0.98));
  border: 1px solid rgba(118, 163, 255, 0.22);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38);
}

.interactive-map {
  height: 70vh;
  min-height: 560px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(118, 163, 255, 0.24);
  background: #07101f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 36px rgba(0, 0, 0, 0.28);
}

.google-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(118, 163, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 16, 31, 0.62);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.legend-dot--available {
  background: linear-gradient(135deg, #39a9ff, #2f64ff);
}

.legend-dot--featured {
  background: linear-gradient(135deg, #ffd166, #f59e0b);
}

.legend-dot--approximate,
.legend-dot--hidden {
  background: transparent;
  border: 2px solid #a8b4c7;
  box-shadow: none;
}

.map-caption {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.listing-marker-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  transform: translateY(-8px);
}

.listing-marker-wrap em {
  max-width: 96px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(7, 16, 31, 0.88);
  border: 1px solid rgba(118, 163, 255, 0.28);
  color: #f4f7ff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.listing-marker {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9) 0 10%, transparent 12%),
    linear-gradient(135deg, #39a9ff, #2f64ff 58%, #1838b0);
  border: 3px solid #f8fbff;
  box-shadow:
    0 0 0 5px rgba(47, 100, 255, 0.2),
    0 14px 26px rgba(47, 100, 255, 0.42);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.listing-marker b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.listing-marker span {
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  border: 1px solid rgba(57, 169, 255, 0.42);
  animation: markerPulse 1.9s ease-out infinite;
  pointer-events: none;
}

.listing-marker--featured {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92) 0 10%, transparent 12%),
    linear-gradient(135deg, #ffe08a, #f59e0b 58%, #b45309);
  box-shadow:
    0 0 0 5px rgba(245, 158, 11, 0.24),
    0 14px 26px rgba(245, 158, 11, 0.42);
}

.listing-marker--featured span {
  border-color: rgba(245, 158, 11, 0.46);
}

.listing-marker--approximate {
  outline: 2px dashed rgba(213, 222, 237, 0.72);
  outline-offset: 4px;
}

.listing-marker.is-active {
  transform: scale(1.22) translateY(-2px);
  box-shadow:
    0 0 0 8px rgba(57, 169, 255, 0.22),
    0 20px 34px rgba(47, 100, 255, 0.52);
}

.listing-marker.is-active + em {
  border-color: rgba(57, 169, 255, 0.7);
  background: rgba(18, 32, 56, 0.96);
  color: #fff;
}

@keyframes markerPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.74);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.map-popup {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.map-popup strong {
  font-size: 1rem;
}

.map-popup span {
  color: var(--muted);
  font-size: 0.92rem;
}

.map-popup a {
  color: var(--brand-strong);
  font-weight: 700;
}

.leaflet-control-zoom a {
  background: rgba(7, 16, 31, 0.92) !important;
  border-color: rgba(118, 163, 255, 0.18) !important;
  color: #f4f7ff !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(47, 100, 255, 0.92) !important;
}

.leaflet-container {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
}

.empty-state,
.error-state {
  padding: 26px;
  display: grid;
  gap: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: 16px;
  align-items: start;
}

.detail-card,
.contact-card,
.gallery-card {
  padding: 18px;
}

.contact-hero {
  padding: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.contact-main {
  display: grid;
  gap: 22px;
}

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

.contact-sidebar {
  position: sticky;
  top: 116px;
}

.contact-email-card {
  display: grid;
  gap: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.contact-form textarea {
  resize: vertical;
}

.whatsapp-box {
  background:
    radial-gradient(circle at top left, rgba(37, 211, 102, 0.1), transparent 36%),
    #fff;
}

.whatsapp-box__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.whatsapp-box__head .contact-icon {
  width: 34px;
  height: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--brand-strong);
  font-weight: 700;
}

.detail-title {
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
}

.detail-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-price {
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
  font-weight: 900;
  color: var(--brand-strong);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(140deg, #20354d 0%, #243a55 45%, #18263b 100%);
  height: clamp(320px, 42vw, 520px);
  min-height: 0;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-watermark {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(200px, 56%);
  opacity: 0.14;
  pointer-events: none;
}

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

.detail-stat {
  text-align: center;
  padding: 10px 8px;
  border: 1px solid rgba(217, 225, 239, 0.9);
  border-radius: 16px;
  background: #fff;
}

.detail-stat strong {
  display: block;
  font-size: 0.98rem;
}

.detail-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-section {
  margin-top: 14px;
}

.detail-section h2,
.contact-card h2 {
  margin: 0;
  font-size: 1.3rem;
}

.detail-section p {
  margin: 10px 0 0;
  line-height: 1.65;
  color: #475569;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: 18px;
  background: linear-gradient(140deg, #20354d 0%, #243a55 45%, #18263b 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-watermark {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: min(140px, 45%);
  opacity: 0.16;
  pointer-events: none;
}

.side-stack {
  display: grid;
  gap: 12px;
  align-self: start;
}

.contact-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.contact-row {
  display: grid;
  gap: 2px;
}

.contact-row strong {
  font-size: 0.92rem;
  color: #334155;
}

.contact-row a,
.contact-row span {
  color: var(--muted);
}

.contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-row .whatsapp {
  color: var(--brand-strong);
  font-weight: 700;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.contact-icon--whatsapp {
  fill: #25d366;
}

.contact-icon--phone {
  fill: #334155;
}

.section-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #c7d2fe;
}

.footer-inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-contact p {
  margin: 0;
  color: #9fb0d2;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact p + p {
  margin-top: 2px;
}

.footer-contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loading-state {
  padding-top: 18px;
}

.loading-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 225, 239, 0.9);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
}

.loading-bar,
.loading-box {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7edf8 25%, #f5f8fd 37%, #e7edf8 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite linear;
}

.loading-bar {
  height: 18px;
  max-width: 520px;
  margin-bottom: 14px;
}

.loading-bar--lg {
  height: 28px;
  max-width: 720px;
}

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

.loading-box {
  height: 80px;
  border-radius: 18px;
}

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

.hidden {
  display: none !important;
}

@keyframes shimmer {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 400% 0;
  }
}

@media (max-width: 1100px) {
  .hero,
  .detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .contact-sidebar {
    position: static;
  }

  .listing-hero,
  .listing-map-layout {
    grid-template-columns: 1fr;
  }

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

  .detail-grid-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
  }

  .hero-copy,
  .section-card,
  .detail-card,
  .contact-card,
  .contact-hero,
  .gallery-card,
  .filters-panel {
    padding: 18px;
  }

  .hero {
    gap: 16px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-copy--brand-only {
    min-height: 320px;
  }

  .hero-spotlight,
  .hero-spotlight__card,
  .hero-spotlight__empty {
    min-height: 280px;
  }

  .listing-grid,
  .section-grid--three,
  .section-grid--four,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-pills {
    justify-content: center;
  }

  .filters-grid,
  .detail-grid-stats,
  .contact-channel-grid,
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--wide {
    grid-column: span 1;
  }

  .listing-map-column {
    position: static;
  }

  .interactive-map {
    height: 52vh;
    min-height: 380px;
  }

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

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 74px;
    grid-template-columns: 1fr;
    padding: 10px 0;
    justify-items: center;
  }

  .header-actions {
    justify-content: center;
  }

  .brand-logo--header {
    height: 76px;
  }

  .brand-logo--dark {
    height: 92px;
  }

  .hero-brand-card img {
    width: min(360px, 82vw);
  }

  .button--small {
    padding: 0 14px;
  }

  .filters-grid,
  .detail-grid-stats,
  .contact-channel-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

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

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

  .listing-result-media {
    min-height: 210px;
  }
}

/* Tema noturno */
:root {
  --bg: #050b16;
  --surface: #0d1728;
  --surface-soft: #111d31;
  --surface-elevated: #16243a;
  --border: #243954;
  --text: #f4f7ff;
  --muted: #a8b4c7;
  --brand: #2f64ff;
  --brand-strong: #86aaff;
  --brand-soft: #102a68;
  --navy: #020713;
  --navy-2: #07101f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at top left, rgba(47, 100, 255, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 55, 124, 0.42), transparent 24%),
    linear-gradient(180deg, #07101f 0%, #050b16 42%, #030712 100%);
}

.site-header {
  border-bottom-color: rgba(118, 163, 255, 0.12);
  background: rgba(5, 11, 22, 0.88);
}

.site-nav a:hover,
.site-nav a.is-active,
.eyebrow,
.hero-pill,
.route-pill,
.badge,
.admin-status {
  background: rgba(47, 100, 255, 0.16);
  color: #b9ccff;
}

.hero-copy,
.hero-visual,
.section-card,
.listing-card,
.contact-card,
.contact-hero,
.detail-card,
.empty-state,
.error-state,
.filters-panel,
.gallery-card,
.listing-result-card,
.listing-map-card,
.loading-card {
  background:
    radial-gradient(circle at top left, rgba(47, 100, 255, 0.07), transparent 38%),
    linear-gradient(180deg, rgba(18, 32, 56, 0.96), rgba(13, 23, 40, 0.96));
  border-color: rgba(118, 163, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.hero-spotlight__card,
.hero-spotlight__empty {
  background:
    radial-gradient(circle at 35% 20%, rgba(47, 100, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #07101f 0%, #10223a 100%);
}

.hero-spotlight__body {
  background: rgba(3, 7, 18, 0.92);
}

.button--ghost,
.chip,
.field input,
.field select,
.field textarea,
.admin-icon-button {
  background: rgba(7, 16, 31, 0.86);
  border-color: var(--border);
  color: var(--text);
}

.button--ghost:hover {
  background: rgba(22, 36, 58, 0.96);
  border-color: rgba(118, 163, 255, 0.45);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f7f96;
}

.field label,
.contact-row strong {
  color: #d5deed;
}

.stat,
.detail-stat {
  background: linear-gradient(180deg, #122039, #0d1728);
  border-color: rgba(118, 163, 255, 0.14);
}

.tag,
.pill,
code {
  background: rgba(168, 180, 199, 0.12);
  color: #d8e2f3;
}

.property-location,
.property-meta,
.listing-top p,
.listing-note,
.map-legend,
.map-caption,
.detail-subtitle,
.detail-section p,
.contact-row a,
.contact-row span,
.footer-contact p {
  color: var(--muted);
}

.property-price,
.detail-price,
.breadcrumb a,
.map-popup a,
.contact-row .whatsapp {
  color: #9fb9ff;
}

.property-card:hover,
.listing-result-card:hover,
.listing-result-card.is-selected {
  border-color: rgba(118, 163, 255, 0.34);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.5);
}

.listing-hero-copy,
.whatsapp-box {
  background:
    radial-gradient(circle at top right, rgba(47, 100, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #0d1728, #111d31);
  border-color: rgba(118, 163, 255, 0.16);
}

.interactive-map {
  border-color: rgba(118, 163, 255, 0.16);
}

.google-map-frame {
  background: #0d1728;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #0d1728;
  color: var(--text);
}

.map-popup span {
  color: var(--muted);
}

.contact-icon--phone {
  fill: #d5deed;
}

.site-footer {
  border-top-color: rgba(118, 163, 255, 0.12);
  background: linear-gradient(135deg, #020713 0%, #07101f 100%);
}

.loading-bar,
.loading-box {
  background: linear-gradient(90deg, #101c2e 25%, #1d3150 37%, #101c2e 63%);
  background-size: 400% 100%;
}
