:root {
  --white: #ffffff;
  --ink: #111111;
  --blue: #0b355d;
  --red: #c0161a;
  --gray: #f2f4f7;
  --muted: #111111;
  --accent: #c0161a;
  --shadow: 0 18px 40px rgba(11, 28, 44, 0.14);
  --soft-shadow: 0 14px 30px rgba(11, 28, 44, 0.1);
  --line: #dfe6f0;
  --surface: #f6f8fb;
  --body-font: "Nunito Sans", sans-serif;
  --ui-font: var(--body-font);
  --topbar-height: 26px;
}

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

body {
  font-family: var(--body-font);
  color: var(--ink);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 46%, #f8fafc 100%);
  line-height: 1.6;
}

p,
span,
li,
small {
  color: #111111;
}

.hero,
.banner,
.slider,
.header,
[class*="hero"],
[class*="banner"],
[class*="slider"],
[class*="header"] {
  font-family: var(--ui-font);
}

.property-card,
.listing,
.property-item,
.property-list,
.listings,
.listing-grid,
.listing-card,
[class*="listing"],
[class*="property"] {
  font-family: var(--ui-font);
}

.hero p,
.hero span,
.hero li,
.hero small,
.banner p,
.banner span,
.banner li,
.banner small,
.slider p,
.slider span,
.slider li,
.slider small,
.header p,
.header span,
.header li,
.header small,
[class*="hero"] p,
[class*="hero"] span,
[class*="hero"] li,
[class*="hero"] small,
[class*="banner"] p,
[class*="banner"] span,
[class*="banner"] li,
[class*="banner"] small,
[class*="slider"] p,
[class*="slider"] span,
[class*="slider"] li,
[class*="slider"] small,
[class*="header"] p,
[class*="header"] span,
[class*="header"] li,
[class*="header"] small,
.property-card p,
.property-card span,
.property-card li,
.property-card small,
.listing p,
.listing span,
.listing li,
.listing small,
.property-item p,
.property-item span,
.property-item li,
.property-item small,
.property-list p,
.property-list span,
.property-list li,
.property-list small,
.listings p,
.listings span,
.listings li,
.listings small,
.listing-grid p,
.listing-grid span,
.listing-grid li,
.listing-grid small,
.listing-card p,
.listing-card span,
.listing-card li,
.listing-card small,
[class*="listing"] p,
[class*="listing"] span,
[class*="listing"] li,
[class*="listing"] small,
[class*="property"] p,
[class*="property"] span,
[class*="property"] li,
[class*="property"] small {
  color: inherit;
}

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--body-font);
  letter-spacing: 0;
  color: var(--ink);
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid #e2e6ee;
  min-height: var(--topbar-height);
  padding: 2px clamp(10px, 2vw, 36px) 2px 16px;
  font-size: 0.86rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar-links {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

.topbar-pse-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-pse-link img {
  width: 55px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: none;
  background: var(--blue);
  color: var(--white);
  padding: 0 28px;
  min-height: 2cm;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: var(--topbar-height);
  overflow: visible;
  z-index: 90;
  box-shadow: 0 10px 28px rgba(11, 28, 44, 0.18);
}

.site-nav > .brand {
  position: absolute;
  left: 28px;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
}

.site-nav .nav-links {
  display: flex;
  gap: clamp(56px, 7vw, 140px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-dropdown {
  position: static;
}

.nav-trigger {
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-trigger::after {
  content: "▾";
  font-size: 0.8rem;
}

.mega-menu {
  position: fixed;
  top: 110px;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  background: #f2f4f9;
  border-radius: 0 0 18px 18px;
  padding: 28px 8vw 32px;
  box-shadow: 0 30px 60px rgba(11, 28, 44, 0.2);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
  justify-items: center;
  text-align: left;
  color: #0b1c2c;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2000;
}

.mega-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d6dce6;
  font-size: 1.1rem;
  color: #000000;
  cursor: pointer;
}

.nav-dropdown.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-col {
  width: 100%;
  max-width: 520px;
}

.mega-menu .mega-col h4 {
  font-size: 1.35rem;
  margin-bottom: 22px;
  color: var(--blue) !important;
  letter-spacing: 0.8px;
}

.mega-menu .mega-col a {
  display: block;
  color: var(--blue) !important;
  margin: 18px 0;
  font-size: 1.05rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 28px;
}

.mega-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 24px rgba(11, 28, 44, 0.08);
  color: inherit;
  text-decoration: none;
}

.mega-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e7eefc;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.mega-card h5 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #0b1c2c;
}

.mega-card p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #41536b;
}

.mega-col.solo {
  max-width: 420px;
}

.site-nav .nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1;
}

.site-nav .nav-links > a,
.site-nav .nav-links > .nav-dropdown > .nav-trigger {
  position: relative;
}

.site-nav .nav-links > a::before,
.site-nav .nav-links > .nav-dropdown > .nav-trigger::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(-24px);
  transition: transform 0.28s ease, opacity 0.2s ease;
  pointer-events: none;
}

.site-nav .nav-links > a:hover::before,
.site-nav .nav-links > a:focus-visible::before,
.site-nav .nav-links > .nav-dropdown > .nav-trigger:hover::before,
.site-nav .nav-links > .nav-dropdown > .nav-trigger:focus-visible::before,
.site-nav .nav-links > .nav-dropdown.open > .nav-trigger::before {
  opacity: 1;
  transform: translateY(-50%);
}

.mobile-nav {
  background: var(--blue);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: var(--topbar-height);
  z-index: 90;
  box-shadow: 0 10px 26px rgba(11, 28, 44, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
  box-shadow:
    0 18px 36px rgba(3, 17, 31, 0.26),
    0 4px 12px rgba(255, 255, 255, 0.28) inset;
  transform: translateY(10px);
  transition: box-shadow 0.22s ease;
  animation: logoFloat 3.4s ease-in-out infinite;
}

.brand:hover .brand-logo {
  box-shadow:
    0 24px 44px rgba(3, 17, 31, 0.32),
    0 4px 12px rgba(255, 255, 255, 0.28) inset;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(3px);
  }
}

.brand-name {
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.brand-tag {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.menu-btn {
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
}

.page {
  display: grid;
  gap: 34px;
  padding: 24px 16px 60px;
}

.page-home .page,
.page-compra .page,
.page-arriendo .page,
.page-busqueda .page,
.page-avaluos .page {
  padding-top: 0;
}

.hero {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(120deg, #173a61, #d8dee8);
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  inset: -120px 0;
  background-image: url("AUDIOVISUAL/BANER-PRINCIPAL.png");
  background-size: cover;
  background-position: center 48%;
  transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(1.03);
  will-change: transform;
  z-index: 0;
}

.hero::after {
  background: linear-gradient(90deg, rgba(6, 20, 36, 0.62), rgba(11, 53, 93, 0.28));
  z-index: 1;
}

.hero-overlay {
  width: min(1320px, calc(100% - 80px));
  padding: 0 0 18px;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: #ffffff !important;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: clamp(1.15rem, 1.65vw, 2rem);
  line-height: 1;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.46);
  text-transform: none;
  margin: -26px 0 36px;
  position: relative;
  z-index: 4;
}

.all-listings-hero-title {
  display: none;
  color: #ffffff !important;
  font-family: inherit;
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.05;
  margin: -8px auto 30px;
  max-width: min(1240px, calc(100vw - 80px));
  text-align: center;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.52);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 4;
  width: 100%;
}

body.show-all-search-title .all-listings-hero-title {
  display: block;
}

body.show-all-search-title .hero-title {
  display: none;
}

body.show-all-search-title .hero-overlay {
  align-content: center;
  justify-items: center;
  padding-top: 18px;
  width: 100%;
}

body.show-all-search-title .all-listings-hero-title {
  justify-self: center;
  left: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: min(1240px, calc(100vw - 80px));
  text-align: justify;
  text-align-last: justify;
  transform: translateY(-15%);
  width: 100%;
}

body.show-all-search-title .hero-panel {
  justify-self: center;
  width: min(1240px, calc(100vw - 80px));
}

.hero-panel {
  width: min(1240px, 100%);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 4px;
  padding: 42px 44px 38px;
  box-shadow: 0 14px 34px rgba(5, 16, 30, 0.14);
  display: grid;
  gap: 18px;
  align-items: start;
  justify-items: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.88);
  position: relative;
  backdrop-filter: blur(9px);
}

.publish-hero {
  background: linear-gradient(0deg, rgba(11, 28, 44, 0.65), rgba(11, 28, 44, 0.65)),
    radial-gradient(circle at top, rgba(55, 96, 146, 0.5), transparent 60%),
    linear-gradient(120deg, #1b365d, #0b1c2c);
  color: #fff;
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: 40px 0;
}

.publish-overlay {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: center;
}

.publish-kicker {
  letter-spacing: 3px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.publish-copy {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

.publish-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.publish-icon-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 18px;
  min-width: 180px;
  display: grid;
  gap: 6px;
  justify-items: center;
  font-weight: 600;
}

.publish-includes {
  width: min(1200px, 92%);
  margin: -80px auto 0;
}

.publish-include-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  overflow: hidden;
}

.publish-include-text {
  padding: 32px;
  display: grid;
  gap: 14px;
}

.publish-include-price {
  font-weight: 700;
  font-size: 1.1rem;
}

.publish-include-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  color: #111827;
}

.publish-include-list .check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-right: 8px;
}

.publish-include-footnote {
  font-size: 0.8rem;
  color: #6b7280;
}

.publish-include-image {
  background: #f2f4f8;
  display: grid;
  align-content: space-between;
}

.publish-include-photo {
  background: linear-gradient(140deg, #d6dbe4, #f0f2f6);
  min-height: 280px;
}

.publish-include-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 18px 18px 24px;
}

.include-btn {
  border: none;
  border-radius: 8px;
  background: #f6c343;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.include-btn.primary {
  background: #f6c343;
}

.include-btn .badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.include-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.docs-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 70;
  padding: 24px;
}

.docs-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.docs-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.docs-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.docs-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.publish-benefits {
  width: min(1100px, 92%);
  margin: 30px auto 0;
  text-align: center;
  display: grid;
  gap: 14px;
}

.publish-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 600;
}

.publish-calc {
  width: min(1100px, 92%);
  margin: 30px auto 0;
  text-align: center;
  display: grid;
  gap: 16px;
}

.publish-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  align-items: end;
}

.publish-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.publish-form input,
.publish-form select {
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
}

.publish-form .primary {
  grid-column: span 4;
  justify-self: center;
  width: 220px;
}

.publish-cards {
  width: min(1100px, 92%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.publish-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
}

.hidden {
  display: none !important;
}

.page-renta {
  background: #e1e3ed;
}

.page-renta .page {
  padding-top: 44px;
  padding-bottom: 84px;
}

.renta-simulator-v2 {
  width: min(1380px, 94vw);
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.renta-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.renta-bars {
  display: inline-block;
  width: 130px;
  height: 130px;
  background: url("AUDIOVISUAL/INSIGNIA-LIVINGCO.png") center / contain no-repeat;
}

.renta-heading h1 {
  font-family: var(--body-font);
  font-size: clamp(2.05rem, 3vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0.012em;
  font-weight: 800;
  text-align: center;
  max-width: 1220px;
  margin: 0;
}

.renta-form-v2 {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 56px 82px 52px;
  border: 1px solid #d9dde4;
  box-shadow: none;
  gap: 30px;
}

.renta-form-v2 .renta-intro {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: #50555f;
  font-size: clamp(1.05rem, 1.4vw, 1.8rem);
  line-height: 1.3;
}

.renta-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.renta-grid-v2 label {
  display: grid;
  gap: 9px;
  font-size: 1.03rem;
  color: #757d88;
  text-align: left;
  line-height: 1.15;
}

.renta-grid-v2 label.full {
  grid-column: 1 / -1;
}

.renta-grid-v2 input,
.renta-grid-v2 select {
  width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  background: #ffffff;
  min-height: 64px;
  padding: 0 18px;
  font-size: 1.12rem;
  color: #2b3340;
  font-weight: 400;
}

.renta-help {
  margin-top: 2px;
  color: #2c4de8;
  font-size: 1rem;
}

.renta-advanced-toggle {
  grid-column: 1 / -1;
  justify-self: start;
  background: transparent;
  color: #2a2f36;
  border: 0;
  padding: 0;
  font-size: clamp(1.2rem, 1.85vw, 2rem);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.renta-advanced-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #2b3037;
  margin-left: 12px;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.renta-advanced-toggle[aria-expanded="true"] .renta-advanced-icon {
  transform: rotate(180deg);
}

.renta-advanced-panel {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.renta-advanced-panel.active {
  display: grid;
}

.renta-phone-field {
  width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  background: #ffffff;
  min-height: 64px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 10px;
}

.renta-phone-field .flag {
  font-size: 1.5rem;
}

.renta-phone-field .prefix {
  color: #2b3340;
  font-size: 1.12rem;
  font-weight: 600;
}

.renta-phone-field .caret {
  color: #646b76;
  font-size: 0.84rem;
}

.renta-phone-field input {
  border: 0;
  min-height: 0;
  height: auto;
  font-size: 1.12rem;
  padding: 0;
  background: transparent;
}

.renta-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #2f343b;
  font-size: 1.08rem;
}

.renta-check input {
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border-radius: 4px;
  border: 2px solid #2c4de8;
  background: #ffffff;
}

.renta-check a {
  text-decoration: underline;
}

.renta-submit-v2 {
  justify-self: center;
  width: min(360px, 100%);
  min-height: 72px;
  border-radius: 6px;
  background: #f8b617;
  color: #111111;
  font-family: var(--body-font);
  font-size: clamp(1.18rem, 1.45vw, 1.72rem);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.renta-submit-v2:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(248, 182, 23, 0.28);
}

.renta-result {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 6px;
  background: #ebf4ff;
  color: #0b355d;
  text-align: left;
  font-size: 1.03rem;
}

.renta-result.error {
  background: #fee2e2;
  color: #991b1b;
}

.renta-beneficios {
  width: min(1380px, 94vw);
  margin: 10px auto 0;
  border-radius: 0;
  overflow: hidden;
}

.renta-beneficios-bg {
  position: relative;
  padding: 56px 24px 46px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    linear-gradient(120deg, #eef1f7 0%, #f7f8fb 100%);
}

.renta-dot-pattern {
  position: absolute;
  width: 80px;
  height: 130px;
  background-image: radial-gradient(#2d50e5 2px, transparent 2px);
  background-size: 13px 13px;
  opacity: 0.9;
}

.renta-dot-pattern-left {
  left: 26px;
  bottom: 30px;
}

.renta-dot-pattern-right {
  right: 20px;
  top: 26px;
}

.renta-beneficios-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.renta-beneficios-heading h2 {
  font-family: var(--body-font);
  font-size: clamp(2rem, 2.5vw, 2.95rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.renta-beneficios-grid {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.renta-beneficios-card {
  position: relative;
  border-radius: 6px;
  padding: 76px 26px 24px;
  min-height: 460px;
  box-shadow: 0 18px 36px rgba(11, 28, 44, 0.15);
}

.renta-beneficios-card-blue {
  background: #2647d5;
  color: #ffffff;
}

.renta-beneficios-card-light {
  background: #ffffff;
  color: #111827;
}

.renta-beneficios-icon-wrap {
  position: absolute;
  left: 50%;
  top: -46px;
  transform: translateX(-50%);
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 24px rgba(11, 28, 44, 0.18);
}

.renta-beneficios-card-blue .renta-beneficios-icon-wrap {
  background: #1f43df;
}

.renta-beneficios-card-light .renta-beneficios-icon-wrap {
  background: #ffffff;
}

.renta-beneficios-icon {
  font-size: 2rem;
  line-height: 1;
}

.renta-beneficios-card h3 {
  font-family: var(--body-font);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.renta-beneficios-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 13px;
  max-height: 290px;
  overflow: auto;
  line-height: 1.26;
  font-size: 1.06rem;
}

.renta-beneficios-list li::marker {
  color: currentColor;
}

.renta-beneficios-list::-webkit-scrollbar {
  width: 8px;
}

.renta-beneficios-list::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 999px;
}

.renta-beneficios-list::-webkit-scrollbar-thumb {
  background: #3150e2;
  border-radius: 999px;
}

.renta-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  min-height: 220px;
}

.renta-contact-strip-image {
  background:
    linear-gradient(120deg, rgba(19, 36, 56, 0.35), rgba(19, 36, 56, 0.2)),
    radial-gradient(circle at 18% 70%, rgba(255, 255, 255, 0.25), transparent 40%),
    linear-gradient(135deg, #8398b2, #b8c6d6);
}

.renta-contact-strip-copy {
  background: #ffffff;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  padding: 24px 36px;
}

.renta-contact-strip-copy p {
  color: #2b3440;
  font-size: clamp(1rem, 1.35vw, 1.34rem);
  line-height: 1.25;
  max-width: 420px;
  margin: 0;
}

.renta-contact-strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  border-radius: 4px;
  background: #f8b617;
  color: #111111;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 12px 24px rgba(248, 182, 23, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.renta-contact-strip-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(248, 182, 23, 0.42);
}

.listing-intro-block {
  width: min(1200px, 92%);
  margin: 12px auto 0;
  text-align: center;
  display: grid;
  gap: 12px;
}

.listing-intro-bars {
  display: inline-block;
  width: 130px;
  height: 130px;
  margin: 0 auto;
  background: url("AUDIOVISUAL/INSIGNIA-LIVINGCO.png") center / contain no-repeat;
}

.listing-intro-block h2 {
  font-family: var(--body-font);
  font-size: clamp(1.6rem, 2.3vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-weight: 800;
}

.listing-intro-block p {
  margin: 0 auto;
  max-width: 1300px;
  color: #262b33;
  font-size: clamp(1rem, 1.5vw, 2rem);
  line-height: 1.25;
}

.page-compra .compra-listing-intro {
  gap: 8px;
  margin-top: 6px;
  margin-bottom: -4px;
}

.page-compra .compra-listing-intro h2 {
  font-size: clamp(1.35rem, 1.85vw, 2.35rem);
  font-weight: 780;
  letter-spacing: 0.018em;
}

.page-compra .compra-listing-intro p {
  max-width: 1040px;
  font-size: clamp(0.92rem, 1.08vw, 1.28rem);
  line-height: 1.35;
}

.page-compra .compra-listing-intro + .listings {
  margin-top: -2px;
}

.page-arriendo .arriendo-listing-intro {
  gap: 8px;
  margin-top: 6px;
  margin-bottom: -4px;
}

.page-arriendo .arriendo-listing-intro h2 {
  font-size: clamp(1.35rem, 1.85vw, 2.35rem);
  font-weight: 780;
  letter-spacing: 0.018em;
}

.page-arriendo .arriendo-listing-intro p {
  max-width: 1040px;
  font-size: clamp(0.92rem, 1.08vw, 1.28rem);
  line-height: 1.35;
}

.page-arriendo .arriendo-listing-intro + .listings {
  margin-top: -2px;
}

.panel-title {
  font-weight: 600;
  font-size: clamp(0.9rem, 0.85vw, 1.05rem);
  text-align: center;
  color: #1948e8;
  background: rgba(255, 255, 255, 0.94);
  min-width: min(210px, 80vw);
  min-height: 30px;
  padding: 6px 16px;
  border: 1px solid rgba(232, 232, 232, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.94);
  border-radius: 2px 2px 0 0;
  display: inline-grid;
  place-items: center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  z-index: 3;
  box-shadow: 0 -8px 18px rgba(5, 16, 30, 0.07);
}

.panel-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -4px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.tab {
  min-width: 100px;
  padding: 6px 15px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 2px;
  border: 1px solid var(--blue);
  box-shadow: 0 6px 12px rgba(7, 27, 50, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 8px 14px rgba(7, 27, 50, 0.17);
}

.tab:hover {
  color: var(--white);
  border-color: var(--blue);
  background: #123f6c;
  transform: translateY(-1px);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.search-form label {
  display: grid;
  gap: 3px;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #3d3d3d;
  min-width: 0;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 16px 12px;
  min-height: 76px;
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.17);
}

.search-form input,
.search-form select {
  border: 0;
  border-radius: 2px;
  padding: 0;
  font-family: inherit;
  font-size: 0.92rem;
  color: #4a4a4a;
  background: transparent;
  box-shadow: none;
  width: 100%;
  min-height: 28px;
}

.panel-title,
.panel-tabs {
  display: none;
}

.search-form input:focus,
.search-form select:focus,
.advanced-panel select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(25, 72, 232, 0.16), 0 5px 10px rgba(15, 23, 42, 0.14);
  outline: none;
}

.primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-panel .primary.full:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.full {
  width: min(220px, 100%);
  justify-self: center;
  margin-top: -2px;
  min-height: 28px;
}

.panel-links {
  display: flex;
  justify-content: center;
  gap: 0;
  font-size: 0.74rem;
  margin-top: 0;
}

.link-btn {
  background: transparent;
  border-radius: 0;
  padding: 2px 14px;
  font-size: 0.74rem;
  color: #3f3f3f;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-btn + .link-btn {
  border-left: 1px solid rgba(11, 53, 93, 0.16);
}

.link-btn::after {
  content: "⌄";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  line-height: 1;
  color: #4a4f57;
}

.link-btn.code::after {
  content: "⌖";
  border: 0;
  width: auto;
  height: auto;
  font-size: 0.98rem;
  color: #4a4f57;
}

.link-btn:hover {
  color: #1948e8;
  transform: translateY(-1px);
}

.hero-panel .primary.full {
  background: #cfcfcf;
  color: #111;
  border-radius: 4px;
  box-shadow: none;
}

.hero-panel .primary.full:hover {
  background: #bdbdbd;
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(15, 23, 42, 0.12);
}

.advanced-panel {
  display: none;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 7px;
  width: 100%;
  margin-top: 2px;
}

.advanced-panel.open {
  display: grid;
}

.advanced-panel label {
  display: grid;
  gap: 3px;
  font-size: 0.7rem;
  color: #3d3d3d;
  font-weight: 500;
}

.advanced-panel select {
  border: 0;
  border-radius: 2px;
  padding: 7px 10px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 10px rgba(15, 23, 42, 0.14);
  min-height: 32px;
}

.advanced-panel {
  display: none;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 7px;
  width: 100%;
  margin-top: 2px;
}

.advanced-panel.open {
  display: grid;
}

.advanced-panel label {
  display: grid;
  gap: 3px;
  font-size: 0.7rem;
  color: #3d3d3d;
  font-weight: 500;
}

.advanced-panel select {
  border: 0;
  border-radius: 2px;
  padding: 7px 10px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 10px rgba(15, 23, 42, 0.14);
  min-height: 32px;
}

.cards {
  display: grid;
  gap: 18px;
}

.action-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-image {
  height: 160px;
  background: linear-gradient(135deg, #dae3f3, #f8f9fb);
}

.card-image.buy {
  background: linear-gradient(120deg, #cfd8ea, #f6f6f6);
}

.card-image.rent {
  background: linear-gradient(120deg, #edd4c6, #f8f4f0);
}

.card-image.invest {
  background: linear-gradient(120deg, #cdd8e8, #e8edf6);
}

.card-info {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.card-info p {
  color: var(--muted);
  font-size: 0.9rem;
}

.accent {
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.categories {
  display: grid;
  gap: 16px;
}

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

.category-tile {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tile-image {
  height: 140px;
  background: linear-gradient(135deg, rgba(11, 53, 93, 0.7), rgba(11, 53, 93, 0.3));
  color: var(--white);
  display: grid;
  place-items: end start;
  padding: 12px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bodega-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(11, 28, 44, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.oficina-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(11, 28, 44, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.lotes-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(11, 28, 44, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.casas-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(11, 28, 44, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.apto-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(11, 28, 44, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.bodega-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 15, 25, 0.02), rgba(6, 15, 25, 0.5)),
    url("AUDIOVISUAL/BODEGA.png") center / cover no-repeat;
  filter: saturate(1.42) contrast(1.14) brightness(1.08);
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.oficina-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 15, 25, 0.02), rgba(6, 15, 25, 0.5)),
    url("AUDIOVISUAL/OFICINA.png") center / cover no-repeat;
  filter: saturate(1.42) contrast(1.14) brightness(1.08);
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.lotes-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 15, 25, 0.02), rgba(6, 15, 25, 0.5)),
    url("AUDIOVISUAL/LOTES.png") center / cover no-repeat;
  filter: saturate(1.42) contrast(1.14) brightness(1.08);
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.casas-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 15, 25, 0.02), rgba(6, 15, 25, 0.5)),
    url("AUDIOVISUAL/CASAS.png") center / cover no-repeat;
  filter: saturate(1.42) contrast(1.14) brightness(1.08);
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.apto-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 15, 25, 0.02), rgba(6, 15, 25, 0.5)),
    url("AUDIOVISUAL/APTO.png") center / cover no-repeat;
  filter: saturate(1.42) contrast(1.14) brightness(1.08);
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.bodega-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  z-index: -1;
  height: 70%;
  background: radial-gradient(circle at center, rgba(192, 22, 26, 0.58), rgba(192, 22, 26, 0) 68%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(20px) scale(0.9);
}

.oficina-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  z-index: -1;
  height: 70%;
  background: radial-gradient(circle at center, rgba(192, 22, 26, 0.58), rgba(192, 22, 26, 0) 68%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(20px) scale(0.9);
}

.lotes-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  z-index: -1;
  height: 70%;
  background: radial-gradient(circle at center, rgba(192, 22, 26, 0.58), rgba(192, 22, 26, 0) 68%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(20px) scale(0.9);
}

.casas-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  z-index: -1;
  height: 70%;
  background: radial-gradient(circle at center, rgba(192, 22, 26, 0.58), rgba(192, 22, 26, 0) 68%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(20px) scale(0.9);
}

.apto-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  z-index: -1;
  height: 70%;
  background: radial-gradient(circle at center, rgba(192, 22, 26, 0.58), rgba(192, 22, 26, 0) 68%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(20px) scale(0.9);
}

.bodega-tile:hover,
.bodega-tile:focus-visible,
.bodega-tile:active {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(192, 22, 26, 0.34), 0 20px 42px rgba(11, 28, 44, 0.2);
}

.oficina-tile:hover,
.oficina-tile:focus-visible,
.oficina-tile:active {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(192, 22, 26, 0.34), 0 20px 42px rgba(11, 28, 44, 0.2);
}

.lotes-tile:hover,
.lotes-tile:focus-visible,
.lotes-tile:active {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(192, 22, 26, 0.34), 0 20px 42px rgba(11, 28, 44, 0.2);
}

.casas-tile:hover,
.casas-tile:focus-visible,
.casas-tile:active {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(192, 22, 26, 0.34), 0 20px 42px rgba(11, 28, 44, 0.2);
}

.apto-tile:hover,
.apto-tile:focus-visible,
.apto-tile:active {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(192, 22, 26, 0.34), 0 20px 42px rgba(11, 28, 44, 0.2);
}

.bodega-tile:hover::before,
.bodega-tile:focus-visible::before,
.bodega-tile:active::before {
  transform: scale(1.1);
  filter: saturate(1.7) contrast(1.22) brightness(1.15);
}

.oficina-tile:hover::before,
.oficina-tile:focus-visible::before,
.oficina-tile:active::before {
  transform: scale(1.1);
  filter: saturate(1.7) contrast(1.22) brightness(1.15);
}

.lotes-tile:hover::before,
.lotes-tile:focus-visible::before,
.lotes-tile:active::before {
  transform: scale(1.1);
  filter: saturate(1.7) contrast(1.22) brightness(1.15);
}

.casas-tile:hover::before,
.casas-tile:focus-visible::before,
.casas-tile:active::before {
  transform: scale(1.1);
  filter: saturate(1.7) contrast(1.22) brightness(1.15);
}

.apto-tile:hover::before,
.apto-tile:focus-visible::before,
.apto-tile:active::before {
  transform: scale(1.1);
  filter: saturate(1.7) contrast(1.22) brightness(1.15);
}

.bodega-tile:hover::after,
.bodega-tile:focus-visible::after,
.bodega-tile:active::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.oficina-tile:hover::after,
.oficina-tile:focus-visible::after,
.oficina-tile:active::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lotes-tile:hover::after,
.lotes-tile:focus-visible::after,
.lotes-tile:active::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.casas-tile:hover::after,
.casas-tile:focus-visible::after,
.casas-tile:active::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.apto-tile:hover::after,
.apto-tile:focus-visible::after,
.apto-tile:active::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact {
  display: grid;
  justify-items: center;
}

.contact-card {
  width: min(420px, 100%);
  background: #18b64c;
  color: var(--white);
  padding: 20px;
  border-radius: 18px;
  display: grid;
  gap: 10px;
}

.whatsapp {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-section {
  padding: 70px 8vw;
  display: grid;
  gap: 30px;
}

.contact-hero {
  text-align: center;
  color: #f2f4f8;
  background: linear-gradient(120deg, rgba(11, 53, 93, 0.92), rgba(11, 53, 93, 0.7));
  background-size: cover;
  background-position: center;
  padding: 40px 24px;
  border-radius: 18px;
}

.contact-kicker {
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-form {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
}

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

.contact-form .check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
}

.contact-info {
  background: linear-gradient(180deg, rgba(11, 53, 93, 0.9), rgba(11, 53, 93, 0.7));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 28px;
  display: grid;
  align-items: center;
}

.contact-info-card h3 {
  margin-top: 16px;
  font-size: 0.95rem;
}

.contact-info-card p {
  margin: 4px 0;
  font-size: 0.85rem;
}

.menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 44, 0.4);
  display: grid;
  place-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.menu-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  background: #1b3fbf;
  color: var(--white);
  width: min(420px, 100%);
  border-radius: 20px 20px 0 0;
  padding: 20px;
  display: grid;
  gap: 18px;
  transform: translateY(30px);
  transition: transform 0.2s ease;
}

.menu-drawer.active .drawer-panel {
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
}

.drawer-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.drawer-title {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.drawer-link {
  background: var(--blue);
  color: var(--white);
  text-align: left;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
}

.drawer-cta {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  z-index: 20;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.45);
}

.whatsapp-toast {
  position: fixed;
  right: 92px;
  bottom: 28px;
  background: #1fbf4f;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px rgba(31, 191, 79, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 21;
}

.whatsapp-toast::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 0 10px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #1fbf4f;
}

.whatsapp-toast.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.whatsapp-toast-close {
  width: 24px;
  height: 24px;
  border: none;
  background: #19a645;
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.whatsapp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
  padding: 28px;
}

.whatsapp-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-card {
  width: min(400px, 94vw);
  background: #efe9df;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23d9d1c4' stroke-width='1'%3E%3Cpath d='M20 20h20v20H20zM80 20h20v20H80zM50 50h20v20H50zM20 80h20v20H20zM80 80h20v20H80z'/%3E%3Ccircle cx='110' cy='60' r='6'/%3E%3Ccircle cx='30' cy='110' r='6'/%3E%3C/g%3E%3C/svg%3E");
  border-radius: 18px;
  padding: 14px 14px 18px;
  position: relative;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.whatsapp-close {
  position: static;
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #1f2a37;
  cursor: pointer;
}

.whatsapp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border-radius: 18px 18px 12px 12px;
  padding: 12px 16px;
  margin: -14px -14px 12px;
  position: relative;
}

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

.whatsapp-title-wrap {
  display: grid;
  gap: 2px;
}

.whatsapp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.whatsapp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: #1f2a37;
}

.whatsapp-sub {
  margin: 0;
  color: #6b778c;
  font-size: 0.8rem;
}

.whatsapp-bubble {
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 12px 0 16px;
  font-size: 0.85rem;
  position: relative;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -10px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.whatsapp-form {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.whatsapp-form label {
  font-size: 0.85rem;
  color: #2d3440;
  display: grid;
  gap: 6px;
  width: 100%;
}

.whatsapp-field {
  width: 72%;
  margin-left: auto;
  background: #dff6b8;
  border: 1px solid #d9e7c3;
  border-radius: 8px;
  padding: 5px 10px;
  position: relative;
}

.whatsapp-field::before {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 11px 0 11px 13px;
  border-style: solid;
  border-color: transparent transparent transparent #d9e7c3;
}

.whatsapp-field::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 0 10px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #dff6b8;
}

.whatsapp-field input,
.whatsapp-field .whatsapp-phone,
.whatsapp-field .whatsapp-select {
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
}

.whatsapp-field input,
.whatsapp-field .whatsapp-phone {
  background: transparent;
}

.whatsapp-field input {
  font-size: 0.9rem;
  color: #2d3440;
}

.whatsapp-select {
  font-weight: 600;
  color: #2d3440;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, #0b1c2c 50%),
    linear-gradient(135deg, #0b1c2c 50%, transparent 50%);
  background-position: calc(100% - 10px) center, calc(100% - 4px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.whatsapp-phone {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 6px;
  position: relative;
}

.whatsapp-phone::after {
  content: "";
}

.whatsapp-phone input {
  border: none;
  background: transparent;
  padding: 0;
}

.whatsapp-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
}

.whatsapp-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: #b9c4df;
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.whatsapp-submit.enabled {
  background: #b9c4df;
}

.whatsapp-submit.sending {
  background: #25d366;
  animation: whatsapp-send 1s ease;
}

.whatsapp-submit-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

@keyframes whatsapp-send {
  0% {
    transform: scale(1);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 18px rgba(37, 211, 102, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  }
}

.action-card:hover,
.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 28, 44, 0.2);
}

.footer {
  background: #f4f6fa;
  border-top: 1px solid #e0e4ea;
  color: var(--muted);
  font-size: 0.85rem;
  overflow: hidden;
}

.footer-searches {
  padding: 64px 8vw 46px;
  background: #ffffff;
}

.footer-searches h2 {
  text-align: center;
  margin-bottom: 34px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3b3f46;
}

.footer-searches h2::before {
  content: "";
  display: block;
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  background: url("AUDIOVISUAL/INSIGNIA-LIVINGCO.png") center / contain no-repeat;
}

.footer-searches-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
}

.footer-searches-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-searches-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.popular-card-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 2px 18px;
  scrollbar-width: none;
}

.popular-card-track::-webkit-scrollbar {
  display: none;
}

.popular-property-card {
  scroll-snap-align: start;
  min-height: 250px;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  padding: 18px 18px 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #40444a;
}

.popular-card-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b5b8bf;
  font-size: 1rem;
  font-weight: 700;
}

.popular-pin {
  color: #b9bcc2;
  font-size: 0.95rem;
}

.popular-card-neighborhood {
  color: #111111;
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.popular-property-card h3 {
  min-height: 2.4em;
  color: #111111;
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.popular-card-price {
  color: #555961;
  font-size: 1rem;
  line-height: 1.15;
}

.popular-card-price strong {
  color: #3c3f44;
  font-size: 1.12rem;
  font-weight: 900;
}

.popular-card-code {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.popular-card-specs {
  margin-top: 10px;
  background: #e9ebef;
  border-radius: 14px;
  padding: 10px 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
}

.popular-card-specs span {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, max-content);
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #4f5865;
  line-height: 1.1;
}

.popular-card-specs b {
  min-width: 0;
  color: #3f4651;
  font-size: clamp(0.76rem, 0.9vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.popular-spec-area b {
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
}

.popular-card-specs svg {
  width: 18px;
  height: 18px;
  color: #5b6471;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.popular-spec-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .popular-card-specs {
    padding: 10px;
    gap: 6px;
  }

  .popular-card-specs span {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
  }

  .popular-card-specs b {
    font-size: 0.74rem;
  }

  .popular-spec-area b {
    font-size: 0.7rem;
  }

  .popular-card-specs svg {
    width: 17px;
    height: 17px;
  }

  .popular-spec-icon-img {
    width: 20px;
    height: 20px;
  }
}

.popular-scroll-btn {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #f4f6fb;
  color: #3d4148;
  display: grid;
  place-items: center;
  font-size: 2.15rem;
  line-height: 1;
  box-shadow: none;
}

.popular-scroll-btn:hover {
  background: #e9edf6;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(520px, 1.45fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  padding: 58px 8vw 34px;
  align-items: start;
  position: relative;
}

.footer-brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 520px;
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: clamp(22px, 3vw, 44px);
}

.footer-links h5,
.footer-subscribe h5 {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 11px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-accordion {
  border-bottom: 1px solid #e1e5ec;
  padding-bottom: 16px;
}

.footer-accordion summary {
  list-style: none;
  cursor: default;
  pointer-events: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 12px;
}

.footer-accordion summary::after {
  content: "";
}

.footer-subscribe {
  display: grid;
  gap: 18px;
  align-content: start;
}

.subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.subscribe-form input {
  border: 1px solid #d5dbe4;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: inherit;
  min-height: 40px;
}

.footer-mini {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom {
  background: var(--blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8vw;
  font-size: 0.92rem;
  flex-wrap: wrap;
  gap: 10px;
}

.socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 53, 93, 0.25);
}

.social-link-instagram:hover,
.social-link-facebook:hover,
.social-link-youtube:hover {
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.55);
}

.subscription-thanks {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 16, 30, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.subscription-thanks.active {
  opacity: 1;
  pointer-events: auto;
}

.subscription-thanks-card {
  width: min(430px, 100%);
  min-height: 300px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 252, 0.98)),
    radial-gradient(circle at 20% 20%, rgba(192, 22, 26, 0.16), transparent 34%);
  color: #0b1c2c;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: 34px 28px;
  position: relative;
  box-shadow: 0 28px 80px rgba(5, 16, 30, 0.32);
}

.subscription-thanks-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.subscription-thanks-card h2 {
  color: #0b1c2c;
  font-size: clamp(2.2rem, 6vw, 3.3rem);
  line-height: 0.95;
}

.subscription-thanks-card p {
  max-width: 300px;
  color: #111111;
  font-size: 1.08rem;
  font-weight: 700;
}

.subscription-thanks-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}

.listings {
  display: grid;
  gap: 16px;
}

.page-compra .listings,
.page-arriendo .listings,
.page-busqueda .listings,
.page-home.show-all-listings .listings {
  max-width: 1120px;
  margin: 0 auto;
}

.avaluos {
  display: grid;
  gap: 16px;
}

.avaluos-card {
  background: var(--white);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--soft-shadow);
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
}

.avaluos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: center;
}

.avaluos-copy {
  display: grid;
  gap: 12px;
}

.avaluos-copy h3 {
  font-family: var(--body-font);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.avaluos-copy p {
  color: #4b5563;
  max-width: 680px;
}

.avaluos-steps {
  display: grid;
  gap: 10px;
  list-style: none;
}

.avaluos-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #1f2937;
  line-height: 1.45;
}

.avaluos-steps span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.avaluos-panel {
  background:
    linear-gradient(150deg, rgba(11, 53, 93, 0.92), rgba(8, 28, 48, 0.92)),
    linear-gradient(135deg, #173a61, #0b1c2c);
  color: #fff;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  gap: 14px;
  min-height: 250px;
  align-content: center;
}

.avaluos-panel strong {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1;
}

.avaluos-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.avaluos-actions .primary,
.avaluos-actions .ghost-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
}

.ghost-link {
  border: 1px solid rgba(11, 53, 93, 0.2);
  color: var(--blue);
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 700;
  background: #fff;
}

.section-head {
  display: grid;
  gap: 6px;
}

.popular-properties-title {
  color: #3d4148;
  font-size: clamp(1.46rem, 3.1vw, 3.03rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.05;
  margin-inline: auto;
  max-width: min(100%, 1280px);
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.filters-applied {
  display: none !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.applied-filters-label {
  font-weight: 700;
  color: var(--navy);
}

.applied-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c6d2e3;
  background: #eef3fb;
  color: #294666;
  font-size: 0.82rem;
  line-height: 1.2;
}

.applied-filter-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Cards style (like reference preview) */
.page-compra .listing-grid,
.page-arriendo .listing-grid,
.page-busqueda .listing-grid,
.page-home.show-all-listings .listing-grid {
  grid-template-columns: repeat(3, minmax(260px, 320px));
  grid-auto-flow: row;
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  align-content: start;
  gap: 26px;
  width: 100%;
}

.page-compra .listings .section-head h2,
.page-arriendo .listings .section-head h2 {
  font-size: 1.05rem;
}

.page-compra .listings .section-head,
.page-arriendo .listings .section-head,
.page-busqueda .listings .section-head,
.page-home.show-all-listings .listings .section-head {
  text-align: center;
  justify-items: center;
}

.page-busqueda .listings .section-head {
  margin-bottom: 34px;
}

.page-compra .listings .filters-applied,
.page-arriendo .listings .filters-applied,
.page-busqueda .listings .filters-applied,
.page-home.show-all-listings .listings .filters-applied {
  justify-content: center;
}

.listing-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
}

.listing-image {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(11, 53, 93, 0.82), rgba(192, 22, 26, 0.56)),
    linear-gradient(135deg, #dce5f1, #f4f6fa);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.listing-image::before {
  content: "LivingCo";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--body-font);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  z-index: 0;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
  transform-origin: center center;
  position: relative;
  z-index: 1;
}

.listing-card.compact .listing-image:hover img {
  transform: scale(1.06);
}

.listing-body {
  padding: 16px;
  display: grid;
  gap: 6px;
}

.listing-body h3 {
  font-size: 1rem;
}

.listing-card.compact {
  border-radius: 14px;
  border: 1px solid #dfe4ec;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(11, 28, 44, 0.09);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card.compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(11, 28, 44, 0.14);
}

.listing-card.compact .listing-image {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.listing-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  color: #2f3640;
  border-radius: 10px;
  border: 1px solid #e6e9ef;
  min-width: 92px;
  text-align: center;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  z-index: 3;
}

.listing-card.compact .listing-body {
  padding: 16px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.listing-card.compact .listing-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.listing-card.compact .listing-location {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
}

.listing-card.compact .listing-neighborhood {
  margin: -2px 0 0;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.listing-card.compact .heart {
  display: none;
}

.listing-card.compact .muted.small {
  display: block;
  margin: 0;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.listing-card.compact .price {
  margin: 0;
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.05;
}

.listing-card.compact h3 {
  margin: 0;
  text-align: center;
  font-family: var(--body-font);
  font-size: clamp(1.15rem, 1.6vw, 1.34rem);
  line-height: 1.2;
  font-weight: 800;
  color: #2f343d;
  min-height: 2.5em;
}

.listing-location-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666d77;
  font-size: 0.95rem;
  font-weight: 500;
}

.listing-location-line .loc-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.listing-card.compact .listing-title {
  margin: 0;
  font-family: var(--body-font);
  font-size: clamp(1.2rem, 2.4vw, 1.35rem);
  line-height: 1.2;
  font-weight: 800;
  color: #2f343d;
  text-align: center;
}

.listing-price-line {
  margin: 0;
  text-align: center;
  color: #434a55;
  font-size: 1rem;
  font-weight: 500;
}

.listing-price-line strong {
  color: #1f242c;
  font-size: clamp(1.7rem, 3.8vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.listing-specs-box {
  background: #eceef1;
  border-radius: 10px;
  padding: 10px 12px;
}

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

.listing-card.compact .listing-specs {
  background: #eceef1;
  border-radius: 10px;
  padding: 10px 8px;
  margin-top: 2px;
}

.listing-specs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #4a515d;
  font-size: 0.98rem;
  font-weight: 500;
}

.spec-icon-svg {
  width: 18px;
  height: 18px;
  stroke: #5d6572;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.spec-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.property-detail-page {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 30px 18px 90px;
}

.property-detail-shell {
  color: #1f2733;
}

.detail-loading {
  min-height: 320px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #3d4654;
}

.detail-breadcrumb {
  margin: 8px auto 10px;
  text-align: center;
  font-size: 0.72rem;
  color: #8b95a4;
}

.property-detail-shell .section-mark,
.detail-related-section .section-mark {
  margin: 4px auto 6px;
}

.property-detail-shell h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
}

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

.detail-left,
.detail-sidebar {
  display: grid;
  gap: 20px;
}

.detail-sidebar {
  transform: translateX(18px);
}

.property-gallery {
  position: relative;
  display: grid;
  gap: 12px;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dfe6f0;
  box-shadow: var(--soft-shadow);
}

.gallery-arrow {
  position: absolute;
  top: 43%;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #0b355d;
  color: #ffffff;
  font-size: 2rem;
  z-index: 2;
  box-shadow: 0 14px 28px rgba(11, 53, 93, 0.22);
}

.detail-prev {
  left: -62px;
}

.detail-next {
  right: -62px;
}

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

.detail-thumb {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 2px solid transparent;
  overflow: hidden;
}

.detail-thumb.active {
  border-color: #274fe8;
}

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

.detail-description-card,
.detail-contact-card,
.detail-help-card {
  background: #ffffff;
  border: 1px solid #e4ebf4;
  box-shadow: 0 20px 45px rgba(31, 45, 65, 0.08);
}

.detail-description-card {
  padding: 28px;
}

.detail-description-card h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-description-card p {
  color: #3b4452;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 26px;
}

.detail-feature-section {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-feature-section h3 {
  margin: 0;
  color: #3b3f46;
  font-size: 1.15rem;
  font-weight: 900;
}

.detail-feature-grid span {
  position: relative;
  padding-left: 16px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-feature-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #274fe8;
}

.detail-feature-check-grid {
  gap: 15px 24px;
}

.detail-feature-check-grid span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  padding-left: 0;
  color: #3f3f46;
  font-size: 1rem;
  font-weight: 600;
}

.detail-feature-check-grid span::before {
  position: static;
  content: "✓";
  width: 22px;
  height: 22px;
  border: 3px solid #d80f16;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: transparent;
  color: #d80f16;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.detail-map {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.detail-map-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 10px 16px;
  background: var(--blue);
  color: #ffffff !important;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.detail-contact-card,
.detail-help-card {
  padding: 24px;
}

.detail-badge {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eaf0ff;
  color: #274fe8;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-appointment {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: #0b355d;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(11, 53, 93, 0.18);
}

.detail-appointment:hover {
  background: #082947;
  color: #ffffff;
  transform: translateY(-1px);
}

.detail-address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: #111111;
  font-size: 1.12rem;
  font-weight: 900;
}

.detail-address svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #4a4a4a;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.detail-contact-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.detail-contact-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
}

.detail-contact-card dt {
  color: #667085;
  font-size: 0.94rem;
  font-weight: 700;
}

.detail-contact-card dd {
  color: #111111;
  font-size: 0.94rem;
  font-weight: 800;
}

.detail-price-main {
  margin: 16px 0 18px;
  color: #274fe8;
  font-size: 1.86rem;
  line-height: 1;
  font-weight: 900;
}

.detail-icon-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: #f0f2f6;
  border-radius: 12px;
  padding: 12px;
}

.detail-icon-specs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #4b5563;
  font-size: 0.94rem;
  font-weight: 900;
}

.detail-icon-specs svg,
.detail-spec-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.detail-help-card p {
  margin-bottom: 14px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-views-message {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 18px;
  color: #3f3f46;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
}

.detail-views-message svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #d80f16;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  margin-top: 2px;
}

.detail-views-message strong {
  color: inherit;
  font-weight: 500;
}

.detail-help-card > span {
  display: block;
  margin: 14px 0 8px;
  color: #111111;
  font-size: 0.78rem;
  font-weight: 900;
}

.detail-share {
  display: flex;
  gap: 12px;
}

.detail-share a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #274fe8;
  font-weight: 900;
}

.detail-related-section {
  margin-top: 56px;
}

.detail-related-section h2 {
  margin-bottom: 24px;
  text-align: center;
  font-size: 1.05rem;
  text-transform: uppercase;
}

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

.detail-related-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4ebf4;
  box-shadow: 0 18px 40px rgba(31, 45, 65, 0.1);
}

.related-image {
  aspect-ratio: 4 / 3;
  background: #dfe6f0;
}

.related-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.related-body {
  padding: 14px;
}

.related-body p {
  margin-bottom: 6px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
}

.related-body h3 {
  margin-bottom: 8px;
  color: #111111;
  font-size: 0.9rem;
  line-height: 1.25;
}

.related-body strong {
  display: block;
  margin-bottom: 12px;
  color: #111111;
}

.related-body span {
  color: #274fe8;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .property-detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    transform: none;
  }

  .detail-prev {
    left: 10px;
  }

  .detail-next {
    right: 10px;
  }

  .detail-related-grid,
  .detail-feature-grid {
    grid-template-columns: 1fr;
  }
}

.listing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

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

.view-link {
  background: transparent;
  border: none;
  padding: 0;
  color: #2146d6;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
}

.listing-card.compact .contact-btn {
  background: #ffffff;
  border: 2px solid #2cbf5a;
  color: #2cbf5a;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.listing-card.compact .contact-btn:hover {
  background: #2cbf5a;
  color: #ffffff;
}

.wa-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.small {
  font-size: 0.85rem;
}

.listing-empty {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
  width: min(360px, 100%);
  margin: 0 auto;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 44, 0.6);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  width: min(1000px, 92vw);
  display: grid;
  gap: 12px;
  position: relative;
}


.close-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--white);
  border: 1px solid #d3d9e2;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--ink);
}

.code-modal {
  background: rgba(8, 12, 18, 0.65);
}

.code-modal .modal-content {
  background: rgba(10, 18, 28, 0.92);
  color: var(--white);
  width: min(640px, 92vw);
  padding: 28px;
  text-align: center;
}

.code-modal .close-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.code-modal .code-icon {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  margin: 0 auto 12px;
  position: relative;
}

.code-modal .code-icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  bottom: -6px;
  right: -6px;
  transform: rotate(45deg);
  border-radius: 999px;
}

.code-modal .code-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.code-modal input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: inherit;
}

.code-modal input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.code-modal .code-action {
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
}

.modal-content.detail {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: 20px;
}

.detail-media {
  display: grid;
  gap: 12px;
}

.detail-info {
  display: grid;
  gap: 10px;
}

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

.detail-price {
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.detail-actions a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: min(60vh, 520px);
  background: #e9edf5;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

.modal-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.nav-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1rem;
  cursor: pointer;
}

.modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  border: none;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.primary:hover,
.ghost:hover,
.link-btn:hover,
.accent:hover,
.contact-btn:hover,
.code-action:hover,
.nav-btn:hover,
.menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 53, 93, 0.25);
}

.intro-section,
.service-cards,
.popular-section,
.blog-section {
  padding: 70px 8vw;
  text-align: center;
}

/* Home layout to match reference (centered, airy) */
.page-home .intro-section,
.page-home .service-cards,
.page-home .popular-section,
.page-home .blog-section,
.page-home .footer-searches {
  max-width: 1180px;
  margin: 0 auto;
}

.page-home .intro-section p {
  max-width: 760px;
  font-size: clamp(1.02rem, 1.22vw, 1.34rem);
  line-height: 1.65;
}

.page-home .service-cards {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 42px;
  max-width: 1180px;
  padding-top: 48px;
}

.page-home .popular-section {
  position: relative;
  width: 100vw;
  max-width: none;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  margin-top: 20px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 58px max(16px, 5vw);
}

.page-home .popular-section::before {
  content: "";
  position: absolute;
  top: -48%;
  bottom: -48%;
  left: 0;
  width: 100%;
  z-index: -2;
  background: url("AUDIOVISUAL/EDIFICIOS2.png") center / 100% auto no-repeat;
  filter: grayscale(1) blur(0.25px) contrast(1.02) brightness(1.08);
  opacity: 0.5;
  transform: translate3d(0, var(--popular-parallax-y, 0px), 0) scale(1.08);
  transition: transform 0.12s linear;
}

.page-home .popular-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.76)),
    rgba(255, 255, 255, 0.56);
}

.page-home .popular-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(170px, 1fr));
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-home .blog-section {
  padding-top: clamp(42px, 5vw, 76px);
}

.page-home .blog-section,
.page-home .footer-searches {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: transparent;
}

.page-home .blog-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(230px, 0.82fr) minmax(320px, 1.62fr) minmax(230px, 0.82fr);
  gap: 28px;
}

.servicios-ofrecidos {
  padding: 40px 8vw 60px;
  display: grid;
  justify-items: end;
}

.servicios-block {
  text-align: right;
  max-width: 420px;
}

.servicios-block h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.servicios-block ul {
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink);
}

.intro-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
}

.intro-insignia {
  display: block;
  width: clamp(86px, 8vw, 128px);
  height: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.intro-section p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 22px;
  justify-items: center;
}

.service-card {
  background: var(--white);
  width: min(310px, 100%);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(11, 28, 44, 0.14);
  overflow: visible;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 36px rgba(11, 28, 44, 0.18);
}

.service-image {
  position: relative;
  overflow: hidden;
  height: 178px;
  background: #e6eaf2;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(192, 22, 26, 0.28), rgba(192, 22, 26, 0) 60%),
    linear-gradient(135deg, rgba(192, 22, 26, 0.14), rgba(11, 53, 93, 0.18));
  opacity: 0;
  filter: blur(0.2px);
  transition: opacity 0.24s ease;
}

.service-card:hover .service-image::after {
  opacity: 1;
}

.service-image.buy {
  background:
    linear-gradient(180deg, rgba(11, 53, 93, 0.08), rgba(11, 53, 93, 0.18)),
    url("AUDIOVISUAL/compra1.png") center / cover no-repeat;
}

.service-image.rent {
  background:
    linear-gradient(180deg, rgba(11, 53, 93, 0.05), rgba(11, 53, 93, 0.16)),
    url("AUDIOVISUAL/COMPRAARRIENDA.png") center / cover no-repeat;
}

.service-image.help {
  background:
    linear-gradient(180deg, rgba(11, 53, 93, 0.04), rgba(11, 53, 93, 0.14)),
    url("AUDIOVISUAL/COMPRAARRIENDA4.png") center / cover no-repeat;
}

.service-info {
  position: relative;
  min-height: 145px;
  padding: 58px 22px 24px;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.service-icon {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 98px;
  height: 64px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 7px 7px 0 0;
}

.service-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #244bd8;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-buy svg {
  stroke: var(--red);
  stroke-width: 1.35;
}

.service-icon-buy img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.service-icon-rent img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.service-icon-help img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.service-info h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 900;
  color: #3b3f46;
  line-height: 1.14;
}

.service-info .service-title-inline {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.service-info .service-title-inline strong {
  font-weight: 900;
}

.service-info .service-title-two-lines {
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.12;
}

.service-info .service-title-two-lines strong {
  font-weight: 900;
}

.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  max-height: 0;
  margin-top: 0;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.08rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, margin-top 0.22s ease, background 0.22s ease;
}

.service-card:hover .service-action {
  max-height: 64px;
  margin-top: 18px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-action:hover {
  background: #123f6c;
  color: #ffffff;
}

.popular-section {
  background: #f1f3f8;
}

.popular-section > h2 {
  text-transform: uppercase;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.popular-tile {
  background: #1d1f24;
  color: var(--white);
  text-decoration: none;
  padding: 28px 26px;
  border-radius: 6px;
  min-height: 220px;
  display: grid;
  align-items: end;
  justify-items: start;
  text-align: left;
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  font-weight: 800;
  line-height: 1.05;
  cursor: pointer;
}

.popular-tile:hover,
.popular-tile:focus-visible {
  color: var(--white);
}

.popular-tile.tall {
  grid-area: 1 / 1 / 3 / 2;
  min-height: 460px;
}

.page-home .popular-tile.oficina-tile {
  grid-area: 1 / 2 / 2 / 4;
}

.page-home .popular-tile.lotes-tile {
  grid-area: 1 / 4 / 2 / 5;
}

.page-home .popular-tile.casas-tile {
  grid-area: 2 / 2 / 3 / 3;
}

.page-home .popular-tile.apto-tile {
  grid-area: 2 / 3 / 3 / 5;
}

.popular-tile.bodega-tile {
  background: transparent;
}

.popular-tile.oficina-tile {
  background: transparent;
}

.popular-tile.lotes-tile {
  background: transparent;
}

.popular-tile.casas-tile {
  background: transparent;
}

.popular-tile.apto-tile {
  background: transparent;
}

.blog-section {
  background: transparent;
  text-align: center;
  padding-top: clamp(42px, 5vw, 76px);
  padding-bottom: clamp(38px, 5vw, 72px);
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(320px, 1.62fr) minmax(230px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 32px;
}

.blog-card {
  min-height: 438px;
  display: grid;
  grid-template-rows: 1fr auto;
  text-align: left;
  border: 0;
  box-shadow: 0 18px 36px rgba(11, 28, 44, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f0141f;
  color: #ffffff;
}

.blog-card:hover .blog-card-image::before,
.blog-card:focus-within .blog-card-image::before {
  transform: scale(1.08);
}

.blog-card.featured {
  min-height: 438px;
}

.blog-card-image {
  min-height: 235px;
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--blog-image);
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
  transform: scale(1);
}

.blog-card.featured .blog-card-image {
  min-height: 100%;
}

.blog-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.blog-card-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 32px 34px 28px;
  background: #f0141f;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.blog-card.featured .blog-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(72%, 430px);
  background: transparent;
  padding: 38px 42px 32px;
}

.blog-card h3 {
  font-family: var(--body-font);
  letter-spacing: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.28rem);
  line-height: 1.08;
  color: #ffffff;
}

.blog-date {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.blog-read span {
  color: #ffffff;
  font-size: 1.35em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.blog-read:hover span,
.blog-read:focus-visible span {
  transform: translateX(4px);
}

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  overflow-y: auto;
  background: rgba(246, 248, 251, 0.96);
  padding: clamp(110px, 9vw, 150px) 18px clamp(36px, 5vw, 70px);
}

.blog-modal.active {
  display: block;
}

.blog-modal-shell {
  width: min(850px, 100%);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 28px;
}

.blog-modal-close {
  position: fixed;
  top: 92px;
  right: 32px;
  z-index: 10001;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #d80f16;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(8, 27, 45, 0.28), 0 0 0 4px rgba(216, 15, 22, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-modal-close:hover,
.blog-modal-close:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 24px 42px rgba(216, 15, 22, 0.28);
}

.blog-share {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  padding-top: 10px;
  color: #111111;
  font-size: 0.78rem;
}

.blog-share span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #111111;
}

.blog-share a {
  color: #2447e7;
  font-weight: 800;
  text-decoration: none;
}

.blog-article {
  background: transparent;
  color: #16191f;
  text-align: left;
  padding-bottom: 52px;
}

.blog-article-date {
  color: #5f6673;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.blog-article h2 {
  max-width: 760px;
  margin-bottom: 34px;
  color: #3b3f47;
  font-family: var(--body-font);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-article-lead {
  max-width: 760px;
  color: #111111;
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.blog-article-hero {
  width: min(680px, 100%);
  min-height: clamp(260px, 42vw, 430px);
  margin: 0 0 34px 20px;
  position: relative;
  background-image: var(--blog-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(10, 18, 30, 0.16);
}

.blog-article-content {
  max-width: 720px;
}

.blog-article-content p {
  color: #111111;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

.blog-more {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 240px;
  min-height: 54px;
  margin-top: 38px;
  padding: 14px 28px;
  border-radius: 4px;
  background: #103d67;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.section-mark {
  display: inline-block;
  width: 130px;
  height: 130px;
  margin-bottom: 8px;
  background: url("AUDIOVISUAL/INSIGNIA-LIVINGCO.png") center / contain no-repeat;
}

body.page-compra #arriendo-list,
body.page-compra #avaluos {
  display: none;
}

body.page-arriendo #compra-list,
body.page-arriendo #avaluos {
  display: none;
}

body.page-avaluos #compra-list,
body.page-avaluos #arriendo-list,
body.page-avaluos #propiedades-publicas {
  display: none;
}

body.page-busqueda #compra-list,
body.page-busqueda #arriendo-list,
body.page-busqueda #avaluos {
  display: none;
}

/* Home shows buscador + banners only (no listings) */
body.page-home #compra-list,
body.page-home #arriendo-list,
body.page-home #propiedades-publicas {
  display: none;
}

/* Home can also show full results when opened from "Busca tu inmueble" nav */
body.page-home.show-all-listings #compra-list,
body.page-home.show-all-listings #arriendo-list {
  display: block;
}

body.page-home.show-all-listings #propiedades-publicas {
  display: none;
}

/* Hide promo sections on Compra/Arriendo pages */
.page-compra .intro-section,
.page-compra .service-cards,
.page-compra .popular-section,
.page-compra .blog-section,
.page-compra .cards,
.page-compra .categories,
.page-arriendo .intro-section,
.page-arriendo .service-cards,
.page-arriendo .popular-section,
.page-arriendo .blog-section,
.page-arriendo .cards,
.page-arriendo .categories {
  display: none !important;
}

/* Search page shows only buscador + listados */
.page-busqueda .intro-section,
.page-busqueda .service-cards,
.page-busqueda .popular-section,
.page-busqueda .blog-section {
  display: none !important;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 20, 0.6);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.loading-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 28px;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #dbe3ef;
  border-top-color: var(--blue);
  animation: spin 0.8s linear infinite;
}

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

@media (max-width: 900px) {
  .hero-overlay {
    width: min(100%, calc(100vw - 32px));
  }

  .all-listings-hero-title {
    font-size: clamp(1.12rem, 5.6vw, 1.9rem);
    line-height: 1.08;
    left: auto;
    transform: none;
    max-width: calc(100vw - 32px);
    width: 100%;
    white-space: normal;
  }

  body.show-all-search-title .all-listings-hero-title {
    text-align: center;
    text-align-last: center;
  }

  body.show-all-search-title .hero-panel {
    width: min(100%, calc(100vw - 32px));
  }

  .hero-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .service-cards,
  .popular-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card,
  .blog-card.featured {
    min-height: 420px;
  }

  .blog-card.featured .blog-card-image {
    min-height: 235px;
  }

  .blog-card.featured .blog-card-body {
    position: relative;
    width: 100%;
    background: #f0141f;
    padding: 32px 34px 28px;
  }

  .blog-modal-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-share {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
  }

  .blog-share span {
    writing-mode: initial;
    transform: none;
  }

  .blog-article-hero {
    margin-left: 0;
  }

  .footer-searches-grid {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .popular-card-track {
    grid-auto-columns: minmax(280px, 78vw);
  }

  .popular-scroll-btn {
    width: 42px;
    height: 52px;
  }

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

  .footer-links {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .renta-benefits-grid,
  .renta-grid,
  .renta-advanced-panel {
    grid-template-columns: 1fr;
  }

  .renta-advanced-toggle,
  .renta-advanced-panel {
    grid-column: span 1;
  }

  .renta-form-v2 {
    padding: 36px 30px;
  }

  .renta-heading h1 {
    font-size: clamp(1.7rem, 4.1vw, 2.55rem);
  }

  .renta-submit-v2 {
    font-size: 1.16rem;
    min-height: 62px;
    width: min(320px, 100%);
  }

  .renta-beneficios {
    width: min(1380px, 96vw);
  }

  .renta-beneficios-bg {
    padding: 44px 16px 30px;
  }

  .renta-beneficios-grid {
    grid-template-columns: 1fr;
    width: min(640px, 100%);
  }

  .renta-beneficios-card {
    min-height: 0;
  }

  .renta-contact-strip {
    grid-template-columns: 1fr;
  }

  .renta-contact-strip-image {
    min-height: 170px;
  }
}

@media (min-width: 900px) {
  .page {
    padding: 40px 10vw 80px;
  }

  .site-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .hero {
    justify-items: start;
  }

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

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 8px 10px;
    justify-content: center;
  }

  .topbar-links {
    gap: 10px;
    justify-content: center;
    font-size: 0.88rem;
  }

  .topbar-pse-link img {
    width: 51px;
    height: 24px;
  }

  .mobile-nav {
    padding: 12px 12px;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
    padding: 2px;
  }

  .page {
    padding: 18px 12px 50px;
    gap: 28px;
  }

  .page-home .page,
  .page-compra .page,
  .page-arriendo .page,
  .page-busqueda .page,
  .page-avaluos .page {
    padding-top: 0;
  }

  .hero {
    min-height: 470px;
  }

  .hero-overlay {
    width: min(100%, 560px);
    padding: 40px 12px 20px;
    gap: 6px;
  }

  .hero-title {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
  }

  .hero-panel {
    border-radius: 2px;
    padding: 24px 10px 16px;
    width: 100%;
    gap: 8px;
  }

  .panel-title {
    min-width: min(200px, 82vw);
    min-height: 30px;
    padding: 6px 13px;
    font-size: 0.8rem;
  }

  .panel-tabs {
    flex-direction: row;
    width: 100%;
    max-width: 320px;
  }

  .tab {
    text-align: center;
    min-width: 0;
    padding: 6px 8px;
    flex: 1;
  }

  .panel-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .link-btn {
    padding: 7px 12px;
  }

  .link-btn + .link-btn {
    border-left: 0;
  }

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

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

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

  .panel-links {
    gap: 10px;
  }

  .primary.full {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp svg {
    width: 29px;
    height: 29px;
  }

  .whatsapp-toast {
    right: 14px;
    left: 14px;
    bottom: 78px;
    justify-content: center;
  }

  .whatsapp-toast::after {
    display: none;
  }

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

  .listing-card.compact .listing-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .listing-card.compact .listing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .listing-card.compact .contact-btn {
    min-width: 0;
    width: 100%;
  }

  .listing-card.compact .view-link {
    text-align: left;
  }

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

  .page-home .intro-section,
  .page-home .service-cards,
  .page-home .popular-section,
  .page-home .blog-section,
  .page-home .footer-searches {
    max-width: 100%;
    margin: 0;
    padding: 36px 16px;
  }

  .page-home .service-cards {
    grid-template-columns: 1fr;
  }

  .page-home .popular-grid,
  .page-home .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-home .popular-grid {
    grid-template-rows: none;
    gap: 16px;
  }

  .page-home .popular-tile,
  .page-home .popular-tile.tall,
  .page-home .popular-tile.oficina-tile,
  .page-home .popular-tile.lotes-tile,
  .page-home .popular-tile.casas-tile,
  .page-home .popular-tile.apto-tile {
    grid-area: auto;
    min-height: 250px;
  }

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

  .avaluos-card {
    padding: 20px;
  }

  .renta-hero {
    min-height: 360px;
    padding: 24px 0;
  }

  .renta-hero-overlay {
    width: min(94%, 620px);
  }

  .renta-benefit-card {
    padding: 26px 18px 18px;
  }

  .renta-benefit-icon {
    left: 16px;
  }

  .page-renta .page {
    padding: 16px 10px 40px;
  }

  .renta-simulator-v2 {
    width: 100%;
    gap: 14px;
  }

  .renta-form-v2 {
    padding: 24px 14px;
  }

  .renta-heading h1 {
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .renta-form-v2 .renta-intro {
    font-size: 0.98rem;
  }

  .renta-grid-v2 label {
    font-size: 0.9rem;
  }

  .renta-grid-v2 input,
  .renta-grid-v2 select {
    min-height: 52px;
    font-size: 0.98rem;
    padding: 0 13px;
  }

  .renta-advanced-toggle {
    font-size: 1.16rem;
  }

  .renta-phone-field {
    min-height: 52px;
    padding: 0 10px;
    gap: 8px;
  }

  .renta-phone-field .prefix {
    font-size: 1rem;
  }

  .renta-phone-field input {
    font-size: 0.95rem;
  }

  .renta-submit-v2 {
    width: 100%;
    font-size: 1.06rem;
    min-height: 54px;
  }

  .renta-beneficios {
    width: 100%;
  }

  .renta-beneficios-bg {
    padding: 34px 12px 22px;
  }

  .renta-beneficios-heading h2 {
    font-size: 1.65rem;
  }

  .renta-beneficios-grid {
    gap: 20px;
  }

  .renta-beneficios-card {
    padding: 66px 16px 16px;
    border-radius: 12px;
  }

  .renta-beneficios-icon-wrap {
    width: 74px;
    height: 74px;
    top: -34px;
  }

  .renta-beneficios-icon {
    font-size: 1.6rem;
  }

  .renta-beneficios-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .renta-beneficios-list {
    font-size: 0.95rem;
    max-height: 230px;
    gap: 10px;
    padding-left: 17px;
  }

  .renta-dot-pattern {
    display: none;
  }

  .renta-contact-strip-copy {
    padding: 20px 16px 24px;
  }

  .renta-contact-strip-btn {
    width: 100%;
    min-width: 0;
    font-size: 1.04rem;
  }

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

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

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

  .popular-scroll-btn {
    display: none;
  }

  .popular-card-track {
    grid-auto-columns: minmax(260px, 84vw);
  }

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

  .footer-main::before {
    display: none;
  }

  .footer-brand {
    background: #ffffff;
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(11, 28, 44, 0.12);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-compra .listing-grid,
  .page-arriendo .listing-grid,
  .page-busqueda .listing-grid,
  .page-home.show-all-listings .listing-grid {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    width: 100vw;
    padding: 40px 8vw 48px;
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: start;
  }

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

@media (min-width: 721px) and (max-width: 1024px) {
  .page {
    padding: 32px 6vw 70px;
  }

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

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

  .hero-panel {
    width: min(520px, 100%);
  }

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

  .search-form {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .advanced-panel {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .primary.full {
    width: 260px;
  }

  .page-compra .listing-grid,
  .page-arriendo .listing-grid,
  .page-busqueda .listing-grid,
  .page-home.show-all-listings .listing-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .publish-include-card {
    grid-template-columns: 1fr;
  }

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

  .publish-include-actions {
    flex-direction: column;
    align-items: center;
  }

  .publish-includes {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

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

  .publish-form .primary {
    grid-column: span 1;
  }

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

@media (max-width: 1024px) {
  .publish-overlay {
    width: min(900px, 92%);
  }

  .publish-include-card {
    gap: 16px;
  }

  .publish-include-text {
    padding: 24px;
  }

  .publish-include-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .publish-hero {
    min-height: 360px;
    padding: 28px 0;
  }

  .publish-overlay h1 {
    font-size: 1.6rem;
  }

  .publish-icons {
    gap: 10px;
  }

  .publish-icon-card {
    min-width: 140px;
    padding: 10px 12px;
  }

  .publish-include-card {
    border-radius: 16px;
  }

  .publish-include-text {
    padding: 20px;
  }

  .publish-include-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .publish-include-actions {
    flex-direction: column;
    align-items: center;
  }

  .include-btn {
    width: 100%;
    max-width: 260px;
  }

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

  .publish-form .primary {
    width: 100%;
    max-width: 260px;
  }

  .publish-cards {
    grid-template-columns: 1fr;
  }
}
.footer-main::before {
  content: "";
  position: absolute;
  left: -8vw;
  top: 0;
  bottom: 0;
  width: min(48vw, 840px);
  background: #ffffff;
  transform: skewX(-5deg);
  transform-origin: top right;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 30px 60px rgba(11, 28, 44, 0.12);
  z-index: 0;
}

.footer-main > * {
  position: relative;
  z-index: 1;
}

.nav-cta-stack {
  position: relative;
  width: clamp(200px, 15vw, 250px);
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.primary.red-cta {
  background: #ffffff;
  color: #2647d5;
  border: 1px solid #d8deea;
  border-radius: 7px;
  width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(0.82rem, 0.78vw, 0.95rem);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 8px 20px rgba(11, 53, 93, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.primary.red-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 53, 93, 0.24);
}

.primary.rent-cta {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #f8ad16;
  color: #0b0b0b;
  border-radius: 7px;
  width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(0.82rem, 0.78vw, 0.95rem);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 12px 28px rgba(248, 173, 22, 0.38);
  transition: box-shadow 0.22s ease, filter 0.22s ease;
  animation: ctaFloat 2.8s ease-in-out infinite;
  z-index: 45;
}

.primary.rent-cta::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f8ad16;
}

.primary.rent-cta:hover {
  box-shadow: 0 16px 32px rgba(248, 173, 22, 0.44);
  filter: brightness(1.03);
}

@keyframes ctaFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.include-btn.red-cta {
  background: var(--red);
  color: #fff;
}

.page-gracias {
  background: #f4f5fa;
  min-height: 100vh;
  color: #1f2937;
}

.thanks-page {
  width: min(1140px, 94%);
  margin: 0 auto;
  padding: 10px 16px 120px;
}

.thanks-breadcrumb {
  font-size: 0.95rem;
  color: #9ca3af;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.thanks-breadcrumb a {
  color: #9ca3af;
}

.thanks-content {
  margin-top: 40px;
  text-align: center;
  position: relative;
  display: grid;
  place-items: center;
  gap: 20px;
  background: #f4f5fa;
  border-radius: 16px;
  padding: 26px 20px 34px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.thanks-icon-circle {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(192, 22, 26, 0.12);
}

.thanks-icon-circle svg {
  width: 64px;
  height: 64px;
}

.thanks-dots {
  position: absolute;
  width: 92px;
  height: 88px;
  background-image: radial-gradient(var(--red) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.95;
}

.thanks-dots-left {
  left: calc(50% - 220px);
  top: 58px;
}

.thanks-dots-right {
  right: calc(50% - 220px);
  top: 58px;
}

.thanks-content h1 {
  color: var(--red);
  font-size: clamp(1.8rem, 3.2vw, 3.05rem);
  line-height: 1.15;
  font-family: var(--body-font);
  font-weight: 700;
}

.thanks-content p {
  font-size: clamp(1rem, 1.45vw, 1.85rem);
  color: #1f2937;
}

.thanks-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #f5bd1f;
  color: #000000;
  font-size: 1.03rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thanks-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 189, 31, 0.35);
}

@media (max-width: 900px) {
  .thanks-dots {
    display: none;
  }

  .thanks-icon-circle {
    width: 120px;
    height: 120px;
  }

  .thanks-btn {
    min-width: 220px;
    font-size: 1.1rem;
  }

}

@media (max-width: 720px) {
  .thanks-page {
    padding: 12px 12px 70px;
  }

  .thanks-content {
    margin-top: 24px;
    padding: 22px 14px 26px;
  }

  .thanks-breadcrumb {
    font-size: 0.88rem;
  }

  .thanks-content h1 {
    font-size: 1.55rem;
  }

  .thanks-content p {
    font-size: 0.98rem;
  }

  .thanks-btn {
    min-width: 180px;
    padding: 10px 14px;
    font-size: 0.98rem;
  }
}
