﻿:root {
  --black-noir: #2a2a29;
  --black-soft: #20201f;
  --niebla-ux: #9d9d9c;
  --white: #ffffff;
  --soft: #f4f1ea;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1180px;
  --header: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black-noir); color: var(--white); font-family: Inter, Geist, "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code { padding: 2px 6px; background: rgba(255,255,255,.1); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(42,42,41,.82); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px); }
.navbar { width: min(100% - 40px, var(--max)); min-height: var(--header); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { font-size: .86rem; font-weight: 950; text-transform: uppercase; white-space: nowrap; }
.nav-links { margin-left: auto; display: flex; gap: clamp(16px, 2.3vw, 28px); align-items: center; font-size: .86rem; font-weight: 850; color: rgba(255,255,255,.76); }
.nav-links a, .footer-links a { position: relative; padding: 9px 0; }
.nav-links a::after, .footer-links a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.nav-links a:hover::after, .footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 20px; border: 1px solid rgba(255,255,255,.32); font-weight: 950; transition: .3s ease; }
.nav-cta:hover { background: var(--white); color: var(--black-noir); transform: translateY(-2px); }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 28px; height: 2px; margin: 6px 0 6px auto; background: var(--white); transition: .3s ease; }
.mobile-drawer { display: none; }

.home-hero, .marketing-hero, .properties-hero { position: relative; overflow: hidden; }
.home-hero { min-height: 100svh; padding: calc(var(--header) + 42px) max(20px, calc((100vw - var(--max)) / 2)) 46px; display: grid; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,42,41,.86), rgba(42,42,41,.44) 48%, rgba(42,42,41,.88)); }
.home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .92fr) minmax(320px, .52fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.hero-copy-panel, .marketing-copy { padding: clamp(26px, 4vw, 46px); background: rgba(42,42,41,.62); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); animation: floatIn .75s ease both; }
.eyebrow { margin: 0 0 16px; color: rgba(255,255,255,.65); font-size: .76rem; font-weight: 950; text-transform: uppercase; }
.eyebrow.dark { color: rgba(42,42,41,.72); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7.2vw, 5.9rem); line-height: .9; font-weight: 950; letter-spacing: -0.025em; text-wrap: balance; }
h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: .96; font-weight: 950; letter-spacing: -0.018em; text-wrap: balance; }
h3 { margin-bottom: 12px; font-size: 1.28rem; line-height: 1.06; }
p { line-height: 1.72; }
.hero-copy-panel p:not(.eyebrow), .marketing-copy p, .section-head p, .map-copy p, .owner-invite p, .marketing-bridge p { color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid currentColor; font-weight: 950; transition: transform .3s ease, background .3s ease, color .3s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-light { background: var(--white); color: var(--black-noir); border-color: var(--white); }
.btn-outline { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.34); }
.btn-dark { background: var(--black-noir); color: var(--white); border-color: var(--black-noir); }
.hero-property-card { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 28px 90px rgba(0,0,0,.32); transform: translateY(16px); animation: floatCard 5s ease-in-out infinite; }
.hero-property-card img { width: 100%; height: clamp(260px, 34vw, 430px); object-fit: cover; }
.hero-property-info { padding: 24px; }
.hero-property-info span { color: rgba(255,255,255,.58); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.hero-property-info strong { display: block; margin: 10px 0; font-size: 1.45rem; }
.hero-property-info p { margin-bottom: 0; color: rgba(255,255,255,.72); }
@keyframes floatIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatCard { 0%,100% { transform: translateY(16px); } 50% { transform: translateY(0); } }

.showroom-home { padding: 72px max(20px, calc((100vw - var(--max)) / 2)) 86px; background: var(--black-soft); border-top: 1px solid var(--line); }
.section-head { max-width: 840px; margin-bottom: 42px; }
.section-head.compact { margin-bottom: 28px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0,.92fr) minmax(280px,.48fr); align-items: end; gap: 48px; }
.showroom { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; }
.showroom-track { width: max-content; display: flex; gap: 22px; animation: slideShow 28s linear infinite; }
.showroom-track img { width: min(410px, 76vw); height: 286px; object-fit: cover; border: 1px solid rgba(255,255,255,.14); filter: saturate(.94) contrast(1.04); }
@keyframes slideShow { to { transform: translateX(-50%); } }

.section { padding: 112px max(20px, calc((100vw - var(--max)) / 2)); }
.section-dark { background: var(--black-noir); color: var(--white); }
.section-light { background: var(--niebla-ux); color: var(--black-noir); }
.section-light p, .section-light li { color: rgba(42,42,41,.78); }
.owner-section { display: grid; grid-template-columns: minmax(0,.62fr) minmax(320px,.6fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.owner-invite { padding: clamp(30px, 5vw, 62px); background: rgba(42,42,41,.08); border: 1px solid rgba(42,42,41,.18); }
.owner-invite h2 { max-width: 720px; }
.big-cta { margin-top: 30px; width: min(100%, 500px); min-height: 92px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--black-noir); color: var(--white); font-weight: 950; transition: transform .3s ease, background .3s ease; }
.big-cta:hover { transform: translateY(-4px); background: #111; }
.big-cta span { font-size: clamp(1.2rem, 3vw, 2rem); }
.big-cta small { color: rgba(255,255,255,.62); text-align: right; }
.owner-visual { position: relative; min-height: 560px; overflow: hidden; }
.owner-visual img { width: 100%; height: 560px; object-fit: cover; filter: contrast(1.03); }
.owner-badge { position: absolute; left: 22px; top: 22px; width: 190px; padding: 18px; background: rgba(42,42,41,.86); color: var(--white); backdrop-filter: blur(12px); }
.owner-badge.second { top: auto; bottom: 130px; left: auto; right: 22px; }
.owner-badge.third { top: auto; bottom: 22px; }
.owner-badge strong { display: block; margin-bottom: 22px; font-size: 1.6rem; }
.owner-badge span { font-weight: 900; }
.promise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.16); }
.promise-grid article { min-height: 240px; padding: 28px; background: rgba(255,255,255,.06); }
.promise-grid span { display: block; margin-bottom: 60px; font-weight: 950; text-transform: uppercase; color: rgba(255,255,255,.6); }
.promise-grid p { color: rgba(255,255,255,.72); }
.marketing-bridge { padding: 120px max(20px, calc((100vw - var(--max)) / 2)); background: linear-gradient(120deg, rgba(42,42,41,.92), rgba(42,42,41,.6)), url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=85") center/cover; }
.marketing-bridge > div { max-width: 830px; }

.properties-hero { min-height: 62svh; padding: calc(var(--header) + 70px) max(20px, calc((100vw - var(--max)) / 2)) 80px; background: linear-gradient(90deg, rgba(42,42,41,.94), rgba(42,42,41,.5)), url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=85") center/cover; display: flex; align-items: end; }
.properties-hero-copy { max-width: 820px; }
.stock-section .section-head p { color: rgba(255,255,255,.72); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.filter-btn { min-height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--white); font-weight: 950; cursor: pointer; transition: .3s ease; }
.filter-btn:hover, .filter-btn.is-active { background: var(--white); color: var(--black-noir); }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.property-card { min-height: 560px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); overflow: hidden; transition: transform .35s ease, background .35s ease; }
.property-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.1); }
.property-card img { width: 100%; height: 280px; object-fit: cover; }
.property-body { padding: 26px; min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; }
.property-body span { color: rgba(255,255,255,.56); font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.property-body p { color: rgba(255,255,255,.72); }
.property-body strong { margin-top: auto; font-size: 1.5rem; }
.property-body a { margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 950; }
.map-section { display: grid; grid-template-columns: minmax(0,.48fr) minmax(340px,.72fr); gap: clamp(32px, 6vw, 78px); align-items: center; }
.zone-result { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(42,42,41,.28); display: grid; gap: 8px; }
.zone-result span { font-weight: 950; text-transform: uppercase; }
.zone-result strong { font-size: 2rem; }
.map-shell { position: relative; min-height: 560px; overflow: hidden; border: 1px solid rgba(42,42,41,.2); box-shadow: 0 28px 80px rgba(0,0,0,.18); background: #d5d2ca; }
.map-shell iframe { width: 100%; height: 560px; border: 0; filter: grayscale(.18) contrast(1.03); }
.map-controls { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; background: rgba(42,42,41,.82); backdrop-filter: blur(12px); }
.map-pill { min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: var(--white); font-weight: 900; cursor: pointer; transition: .3s ease; }
.map-pill:hover, .map-pill.is-active { background: var(--white); color: var(--black-noir); }

.marketing-hero { min-height: 100svh; padding: calc(var(--header) + 52px) max(20px, calc((100vw - var(--max)) / 2)) 64px; display: grid; align-items: center; }
.marketing-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,.9fr) minmax(280px,.42fr); gap: clamp(28px,5vw,60px); align-items: center; }
.profile-card { margin: 0; background: rgba(42,42,41,.72); border: 1px solid rgba(255,255,255,.14); }
.profile-card img { width: 100%; height: min(64svh, 560px); object-fit: cover; object-position: center top; }
.profile-card figcaption { padding: 22px; display: flex; justify-content: space-between; gap: 16px; font-weight: 950; }
.profile-card span { color: rgba(255,255,255,.62); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.service-detail-grid article, .allies-grid > * { padding: 30px; border: 1px solid rgba(42,42,41,.18); background: rgba(42,42,41,.08); }
.service-detail-grid span, .allies-grid span { display: block; margin-bottom: 42px; font-weight: 950; color: rgba(42,42,41,.62); text-transform: uppercase; }
.service-detail-grid ul { margin: 0 0 26px; padding-left: 20px; line-height: 1.8; }
.service-detail-grid a { font-weight: 950; border-bottom: 1px solid currentColor; }
.work-grid, .allies-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.work-grid article { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.work-grid img { width: 100%; height: 290px; object-fit: cover; }
.work-grid h3, .work-grid p { padding-inline: 24px; }
.work-grid h3 { padding-top: 24px; }
.work-grid p { padding-bottom: 24px; color: rgba(255,255,255,.72); }
.allies-grid strong { display: block; margin-bottom: 14px; font-size: 1.6rem; }
.allies-grid a { transition: transform .3s ease, background .3s ease; }
.allies-grid a:hover { transform: translateY(-5px); background: rgba(42,42,41,.14); }
.footer { padding: 58px max(20px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); background: var(--black-soft); }
.footer strong { font-size: 1.8rem; }
.footer p { color: rgba(255,255,255,.62); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 950; }

@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .menu-button { display: block; }
  body.drawer-open .menu-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.drawer-open .menu-button span:nth-child(2) { opacity: 0; }
  body.drawer-open .menu-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-drawer { position: fixed; top: var(--header); right: 0; z-index: 49; width: min(88vw, 380px); height: calc(100svh - var(--header)); padding: 32px; display: flex; flex-direction: column; gap: 22px; background: rgba(42,42,41,.98); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .32s ease; }
  body.drawer-open .mobile-drawer { transform: translateX(0); }
  .mobile-drawer a { padding-bottom: 16px; border-bottom: 1px solid var(--line); font-weight: 950; text-align: right; }
  .home-hero-grid, .owner-section, .map-section, .marketing-hero-grid, .section-head.split { grid-template-columns: 1fr; }
  .property-grid, .work-grid, .allies-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  :root { --header: 70px; }
  .navbar { width: min(100% - 28px, var(--max)); }
  .home-hero, .marketing-hero { min-height: auto; padding: calc(var(--header) + 28px) 16px 36px; }
  .hero-copy-panel, .marketing-copy { padding: 24px 18px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); line-height: .92; }
  h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-actions, .btn, .big-cta { width: 100%; }
  .hero-property-card { transform: none; animation: none; }
  .section, .showroom-home { padding-left: 16px; padding-right: 16px; padding-top: 76px; padding-bottom: 76px; }
  .property-grid, .promise-grid, .service-detail-grid, .work-grid, .allies-grid { grid-template-columns: 1fr; }
  .owner-visual, .owner-visual img { min-height: 420px; height: 420px; }
  .owner-badge { width: 160px; padding: 14px; }
  .map-shell, .map-shell iframe { min-height: 460px; height: 460px; }
  .map-controls { position: static; background: var(--black-noir); }
  .showroom-track img { height: 220px; }
  .profile-card img { height: 430px; }
  .footer { flex-direction: column; }
}

/* Refinamiento de navegacion: el mapa vive dentro de Propiedades, no como item global. */

/* Buscador inmobiliario avanzado */
.property-search {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.search-panel {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}
.search-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
.filter-field {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.filter-field select,
.filter-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0 14px;
  outline: 0;
}
.filter-field select option {
  background: var(--black-noir);
  color: var(--white);
}
.range-field input {
  accent-color: var(--white);
}
.range-field strong {
  color: var(--white);
  font-size: 1rem;
}
.reset-filters {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black-noir);
  font-weight: 950;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.reset-filters:hover {
  transform: translateY(-2px);
  background: var(--soft);
}
.search-results {
  display: grid;
  gap: 24px;
}
.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.premium-map {
  min-height: 620px;
}
.premium-map iframe {
  height: 620px;
}
.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-marker {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -100%);
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--white);
  border-radius: 999px 999px 999px 0;
  background: var(--black-noir);
  color: var(--white);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  rotate: -45deg;
  transition: transform .25s ease, background .25s ease;
}
.map-marker span {
  display: block;
  min-width: 92px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black-noir);
  font-size: .72rem;
  font-weight: 950;
  white-space: nowrap;
  rotate: 45deg;
  transform: translate(18px, -18px);
}
.map-marker:hover {
  transform: translate(-50%, -108%) scale(1.06);
  background: #111;
}
.empty-state {
  grid-column: 1 / -1;
  min-height: 240px;
  padding: 32px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.empty-state p {
  color: rgba(255,255,255,.72);
}

/* Servicios marketing: version mas llamativa y comercial */
.services-marketing {
  position: relative;
  overflow: hidden;
}
.services-marketing::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image: linear-gradient(rgba(42,42,41,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(42,42,41,.18) 1px, transparent 1px);
  background-size: 42px 42px;
}
.services-marketing > * {
  position: relative;
  z-index: 1;
}
.service-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.service-detail-grid article {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(42,42,41,.95), rgba(42,42,41,.72));
  color: var(--white);
  border-color: rgba(42,42,41,.22);
  box-shadow: 0 24px 70px rgba(42,42,41,.16);
  transform: translateY(0);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-detail-grid article:nth-child(even) {
  margin-top: 42px;
}
.service-detail-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 90px rgba(42,42,41,.26);
}
.service-detail-grid span {
  color: rgba(255,255,255,.55);
}
.service-detail-grid h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.service-detail-grid li {
  color: rgba(255,255,255,.74);
}
.service-detail-grid a {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black-noir);
  font-weight: 950;
  transition: transform .3s ease, background .3s ease;
}
.service-detail-grid a:hover {
  transform: translateY(-2px);
  background: var(--soft);
}

/* Firma Omniteck en propiedades */
.built-by {
  padding: 70px max(20px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  background: var(--niebla-ux);
  color: var(--black-noir);
  border-top: 1px solid rgba(42,42,41,.18);
}
.built-by span {
  display: block;
  margin-bottom: 10px;
  color: rgba(42,42,41,.62);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.built-by strong {
  display: block;
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: .98;
  font-weight: 950;
}
.built-by p {
  max-width: 680px;
  color: rgba(42,42,41,.74);
}
.built-by a {
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black-noir);
  color: var(--white);
  font-weight: 950;
  transition: transform .3s ease;
}
.built-by a:hover {
  transform: translateY(-3px);
}

@media (max-width: 1180px) {
  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-detail-grid article:nth-child(even) {
    margin-top: 0;
  }
}
@media (max-width: 980px) {
  .property-search {
    grid-template-columns: 1fr;
  }
  .search-panel {
    position: static;
  }
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .compact-grid,
  .service-detail-grid,
  .built-by {
    grid-template-columns: 1fr;
  }
  .premium-map,
  .premium-map iframe {
    min-height: 430px;
    height: 430px;
  }
  .map-marker span {
    min-width: 72px;
    font-size: .64rem;
  }
  .built-by a {
    width: 100%;
  }
}

/* Leaflet reemplaza el iframe: marcadores reales dentro del mapa. */
.property-map {
  width: 100%;
  height: 620px;
  min-height: 620px;
  z-index: 1;
}
.leaflet-container {
  background: #d6d1c5;
  font-family: Inter, Geist, "Helvetica Neue", Arial, sans-serif;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--black-noir);
  color: var(--white);
  border-radius: 0;
}
.leaflet-popup-content {
  min-width: 190px;
  line-height: 1.5;
}
.leaflet-popup-button {
  margin-top: 10px;
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black-noir);
  font-weight: 950;
  cursor: pointer;
}
.property-card__open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.property-card__open img {
  transition: transform .4s ease;
}
.property-card:hover .property-card__open img {
  transform: scale(1.035);
}
.property-body button {
  margin-top: 16px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--white);
  font-weight: 950;
  cursor: pointer;
}
.property-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}
.property-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(10px);
}
.property-modal__panel {
  position: relative;
  width: min(100%, 980px);
  max-height: min(90vh, 860px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(300px, 1fr);
  background: var(--black-noir);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 100px rgba(0,0,0,.45);
}
.property-modal__panel > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}
.property-modal__body {
  padding: clamp(28px, 4vw, 48px);
}
.property-modal__body h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
.property-modal__body > p:not(.eyebrow) {
  color: rgba(255,255,255,.74);
}
.property-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(42,42,41,.78);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}
.detail-grid {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.14);
}
.detail-grid span {
  padding: 16px;
  display: grid;
  gap: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.76);
}
.detail-grid strong {
  color: var(--white);
  font-size: .76rem;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .property-map {
    height: 430px;
    min-height: 430px;
  }
  .property-modal__panel {
    grid-template-columns: 1fr;
  }
  .property-modal__panel > img {
    min-height: 280px;
    height: 280px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Datos de contexto tomados del PDF Kick Off 2026. */
.market-proof {
  padding: 34px max(20px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.18);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.market-proof article {
  min-height: 210px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--black-soft);
}
.market-proof span {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.market-proof strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.market-proof p {
  margin: 0;
  color: rgba(255,255,255,.68);
}
@media (max-width: 720px) {
  .market-proof {
    grid-template-columns: 1fr;
  }
}

/* Fondo temporal liviano para Cloudflare: panoramica de Paraguay con movimiento tipo gif. */
.hero-panorama {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Business_district_skyline_152853.jpg/1600px-Business_district_skyline_152853.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: panoramaDrift 16s ease-in-out infinite alternate;
}
@keyframes panoramaDrift {
  0% { transform: scale(1.06) translate3d(-1.5%, 0, 0); background-position: 42% center; }
  100% { transform: scale(1.12) translate3d(1.5%, -1%, 0); background-position: 62% center; }
}
