:root {
  --brand: #14545a;
  --brand-dark: #0b3035;
  --ink: #11181c;
  --muted: #667579;
  --line: #dde5e3;
  --surface: #ffffff;
  --soft: #f7faf8;
  --gold: #b8965f;
  --coral: #b7644d;
  --accent: #10b981;
  --accent-dark: #047857;
  --accent-soft: #ecfdf5;
  --shadow: 0 18px 48px rgba(16, 39, 42, 0.16);
  --shadow-soft: 0 10px 32px rgba(16, 39, 42, 0.1);
}

body.theme-indigo {
  --brand: #5b21b6;
  --brand-dark: #24104f;
  --ink: #14111f;
  --muted: #666f86;
  --line: #e1e7e8;
  --surface: #ffffff;
  --soft: #f5f8f7;
  --gold: #d7a84f;
  --coral: #6366f1;
  --accent: #a855f7;
  --accent-dark: #7c3aed;
  --accent-soft: #f1f4f5;
  --shadow: 0 22px 56px rgba(91, 33, 182, 0.2);
  --shadow-soft: 0 12px 34px rgba(91, 33, 182, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(91, 33, 182, 0.035), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(20, 84, 90, 0.035), transparent 26%),
    #fff;
}

body.theme-indigo .site-header,
body.theme-indigo .admin-header {
  border-bottom-color: rgba(91, 33, 182, 0.12);
  box-shadow: 0 10px 34px rgba(91, 33, 182, 0.08);
}

body.theme-indigo .search-hero {
  background:
    radial-gradient(circle at 50% -20%, rgba(91, 33, 182, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(245, 248, 247, 0.98), rgba(255, 255, 255, 0.99));
}

body.theme-indigo .search-panel,
body.theme-indigo .mobile-search-card {
  border-color: rgba(91, 33, 182, 0.14);
  box-shadow: 0 20px 54px rgba(91, 33, 182, 0.18);
}

body.theme-indigo .search-submit,
body.theme-indigo .mobile-search-card .search-submit,
body.theme-indigo .property-cta,
body.theme-indigo .detail-whatsapp {
  background: linear-gradient(135deg, #c026d3, #7c3aed 52%, #4f46e5);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.22);
}

body.theme-indigo .category-pill.active,
body.theme-indigo .filter-apply,
body.theme-indigo .mobile-map-button {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-color: #6d28d9;
}

body.theme-indigo .header-action,
body.theme-indigo .footer-socials .social-link {
  background: rgba(48, 52, 111, 0.08);
}

body.theme-indigo .header-action:hover,
body.theme-indigo .footer-socials .social-link:hover {
  background: rgba(48, 52, 111, 0.14);
}

body.theme-indigo .property-operation,
body.theme-indigo .detail-price-row span,
body.theme-indigo .detail-info-button,
body.theme-indigo .detail-feature-tags span,
body.theme-indigo .detail-feature-list li span {
  background: var(--accent-soft);
}

body.theme-indigo .contact-band,
body.theme-indigo .detail-final-cta {
  background:
    radial-gradient(circle at 8% 0, rgba(48, 52, 111, 0.12), transparent 34%),
    #fff;
}

body.theme-indigo .service-band {
  box-shadow: inset 0 6px 0 rgba(48, 52, 111, 0.07);
}

body.theme-warm {
  --brand: #ff385c;
  --brand-dark: #b01837;
  --ink: #1f1f1f;
  --muted: #6f6f6f;
  --line: #ebebeb;
  --surface: #ffffff;
  --soft: #f7f7f7;
  --gold: #c89b4b;
  --coral: #ff385c;
  --accent: #ff385c;
  --accent-dark: #d70466;
  --accent-soft: #fff0f3;
  --shadow: 0 22px 56px rgba(255, 56, 92, 0.18);
  --shadow-soft: 0 12px 34px rgba(255, 56, 92, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 56, 92, 0.055), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(215, 4, 102, 0.045), transparent 26%),
    #fff;
}

body.theme-warm .site-header,
body.theme-warm .admin-header {
  border-bottom-color: rgba(255, 56, 92, 0.12);
  box-shadow: 0 10px 34px rgba(255, 56, 92, 0.06);
}

body.theme-warm .search-hero {
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 56, 92, 0.075), transparent 42%),
    linear-gradient(180deg, rgba(247, 247, 247, 0.98), rgba(255, 255, 255, 0.99));
}

body.theme-warm .search-panel,
body.theme-warm .mobile-search-card {
  border-color: rgba(255, 56, 92, 0.14);
  box-shadow: 0 20px 54px rgba(255, 56, 92, 0.14);
}

body.theme-warm .search-submit,
body.theme-warm .mobile-search-card .search-submit,
body.theme-warm .property-cta,
body.theme-warm .detail-whatsapp {
  background: linear-gradient(135deg, #ff385c, #e61e4d 48%, #d70466);
  box-shadow: 0 14px 28px rgba(255, 56, 92, 0.24);
}

body.theme-warm .category-pill.active,
body.theme-warm .filter-apply,
body.theme-warm .mobile-map-button {
  background: linear-gradient(135deg, #ff385c, #e61e4d);
  border-color: #ff385c;
}

body.theme-warm .header-action,
body.theme-warm .footer-socials .social-link {
  background: rgba(255, 56, 92, 0.08);
}

body.theme-warm .header-action:hover,
body.theme-warm .footer-socials .social-link:hover {
  background: rgba(255, 56, 92, 0.14);
}

body.theme-warm .property-operation,
body.theme-warm .detail-price-row span,
body.theme-warm .detail-info-button,
body.theme-warm .detail-feature-tags span,
body.theme-warm .detail-feature-list li span {
  background: var(--accent-soft);
}

body.theme-warm .contact-band,
body.theme-warm .detail-final-cta {
  background:
    radial-gradient(circle at 8% 0, rgba(255, 56, 92, 0.075), transparent 34%),
    #fff;
}

body.theme-warm .service-band {
  box-shadow: inset 0 6px 0 rgba(255, 56, 92, 0.065);
}
.admin-page {
  min-height: 100vh;
  background: #f5f8f7;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(17, 24, 28, 0.08);
  box-shadow: 0 8px 24px rgba(17, 24, 28, 0.05);
  backdrop-filter: blur(18px);
}

.admin-brand {
  justify-self: auto;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: var(--brand-dark);
  background: rgba(20, 84, 90, 0.08);
}

.admin-shell {
  width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.admin-workbar {
  display: block;
  margin-bottom: 16px;
}

.admin-workbar h1 {
  margin: 2px 0 0;
  color: var(--brand-dark);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.admin-workbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 84, 90, 0.16);
}

.admin-button.secondary {
  color: var(--brand-dark);
  background: #fff;
}

.admin-button.danger {
  color: #8a1f11;
  background: #fff;
  border-color: rgba(138, 31, 17, 0.34);
}

.admin-button.danger:hover {
  box-shadow: 0 10px 24px rgba(138, 31, 17, 0.14);
}

.admin-button.completed {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-summary article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.admin-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-summary strong {
  color: var(--brand-dark);
  font-size: 32px;
  line-height: 1;
}

.bulk-publish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(16, 185, 129, 0.12), transparent 34%),
    #fff;
}

.bulk-publish h2 {
  margin: 4px 0 10px;
  color: var(--brand-dark);
  font-size: 28px;
  line-height: 1.08;
}

.bulk-publish p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.bulk-publish-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(20, 84, 90, 0.13);
  border-radius: 18px;
  background: rgba(20, 84, 90, 0.04);
}

.bulk-confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font-weight: 850;
  line-height: 1.35;
}

.bulk-confirm input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.bulk-result {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bulk-result.success {
  color: var(--accent-dark);
  font-weight: 800;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(560px, 0.95fr) minmax(680px, 1.25fr);
  gap: 24px;
  align-items: start;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(17, 24, 28, 0.05);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.inventory-card .admin-card-head {
  align-items: stretch;
  flex-direction: column;
}

.admin-inventory-filters {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px;
  gap: 10px;
  align-items: end;
}

.admin-search-field {
  display: grid;
  gap: 6px;
}

.admin-search-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-card h2,
.review-panel h2 {
  margin: 4px 0 0;
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1.1;
}

.admin-search-field input,
.admin-card-head select {
  min-height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-dark);
  background: #fff;
  font-weight: 800;
}

.admin-search-field input {
  width: 100%;
  min-width: 0;
  padding-right: 14px;
}

.admin-table {
  padding: 8px;
}

.admin-hint {
  color: var(--muted);
  font-size: 13px;
  max-width: 62ch;
  margin-top: 4px;
}

.wasi-search-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: #fff;
}

.wasi-search-field {
  display: grid;
  gap: 6px;
  width: min(100%, 560px);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.wasi-search-field > div {
  position: relative;
}

.wasi-search-field input {
  width: 100%;
  min-height: 42px;
  padding: 9px 44px 9px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-weight: 500;
}

.wasi-search-field button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.wasi-search-result {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.wasi-filter-summary {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.wasi-ally-filter {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.wasi-ally-filter input {
  width: min(320px, 100%);
  min-height: 38px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.wasi-status-filter {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.wasi-status-filter button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.wasi-status-filter button:last-child {
  border-right: 0;
}

.wasi-status-filter button.active {
  color: #fff;
  background: var(--brand);
}

.wasi-analysis {
  display: grid;
  gap: 18px;
  margin: 18px 0 24px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8faf9;
}

.wasi-analysis-head,
.wasi-ranking-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.wasi-analysis-head h2,
.wasi-ranking-head h3,
.wasi-analysis-panel h3 {
  margin: 0;
  color: var(--brand-dark);
  letter-spacing: 0;
}

.wasi-analysis-head h2 {
  font-size: 24px;
}

.wasi-analysis-head > div > p:last-child,
.wasi-ranking-head p,
.wasi-analysis-caption {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.wasi-analysis-head > div > p:last-child {
  max-width: 72ch;
}

.wasi-analysis-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 190px));
  gap: 10px;
}

.wasi-analysis-filters label,
.wasi-ranking-head label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.wasi-analysis-filters select,
.wasi-ranking-head select {
  min-height: 40px;
  padding: 8px 34px 8px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.own-analysis-operation {
  min-width: 190px;
  margin: 0;
  padding: 0;
  border: 0;
}

.own-analysis-operation legend {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.own-analysis-segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.own-analysis-segments button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.own-analysis-segments button.active {
  color: #fff;
  background: var(--brand-dark);
}

.wasi-analysis-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.wasi-analysis-summary article {
  min-width: 0;
  padding: 15px;
  border-right: 1px solid var(--border);
}

.wasi-analysis-summary article:last-child {
  border-right: 0;
}

.wasi-analysis-summary span,
.wasi-analysis-summary strong {
  display: block;
}

.wasi-analysis-summary span {
  min-height: 30px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.wasi-analysis-summary strong {
  margin-top: 5px;
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.wasi-analysis-distributions,
.wasi-analysis-detail-grid {
  display: grid;
  gap: 12px;
}

.wasi-analysis-distributions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wasi-analysis-detail-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.wasi-analysis-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.wasi-analysis-panel h3,
.wasi-ranking-head h3 {
  font-size: 15px;
}

.wasi-analysis-bars,
.wasi-zone-medians,
.wasi-issue-summary {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.wasi-analysis-bar-row {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) minmax(44px, 1.2fr) 28px 30px;
  gap: 7px;
  align-items: center;
  font-size: 11px;
}

.wasi-analysis-bar-row > span {
  overflow: hidden;
  color: var(--brand-dark);
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wasi-analysis-bar-row > div {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #e9efed;
}

.wasi-analysis-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2c7a70;
}

.wasi-analysis-bar-row strong {
  color: var(--brand-dark);
  text-align: right;
}

.wasi-analysis-bar-row small {
  color: var(--muted);
  text-align: right;
}

.wasi-zone-median-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(100px, auto) 92px;
  gap: 12px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1ef;
  font-size: 12px;
}

.wasi-zone-median-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wasi-zone-median-row span,
.wasi-zone-median-row strong {
  color: var(--brand-dark);
}

.wasi-zone-median-row small {
  color: var(--muted);
  text-align: right;
}

.wasi-issue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-left: 3px solid #d08b2c;
  background: #fff8ed;
  color: #624319;
  font-size: 12px;
  font-weight: 750;
}

.wasi-analysis-empty {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.wasi-ranking-head {
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.wasi-ranking-head label {
  min-width: 220px;
}

.wasi-ranking-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

#wasiRankingRows {
  max-height: 720px;
  overflow-y: auto;
}

.wasi-ranking-row {
  display: grid;
  grid-template-columns: 34px 86px minmax(250px, 1.35fr) minmax(105px, 0.58fr) minmax(116px, 0.65fr) minmax(128px, 0.72fr) minmax(170px, 0.85fr) 112px;
  gap: 10px;
  align-items: center;
  min-width: 1040px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf1ef;
  color: var(--brand-dark);
  font-size: 12px;
}

.wasi-ranking-row:last-child {
  border-bottom: 0;
}

.wasi-ranking-row:not(.wasi-ranking-row-head):hover {
  background: #f6faf8;
}

.wasi-ranking-row-head {
  color: var(--muted);
  background: #f2f6f4;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.wasi-ranking-row > span {
  min-width: 0;
}

.wasi-ranking-row > span > strong,
.wasi-ranking-row > span > small {
  display: block;
}

.wasi-ranking-row > span > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.wasi-ranking-position {
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.wasi-ranking-score {
  padding: 7px 8px;
  border-radius: 6px;
  text-align: center;
}

.wasi-ranking-score strong {
  font-size: 18px;
}

.wasi-ranking-score.excellent { color: #0d5d45; background: #e4f6ed; }
.wasi-ranking-score.good { color: #14545a; background: #e4f2f3; }
.wasi-ranking-score.review { color: #7a511a; background: #fff1dc; }
.wasi-ranking-score.low { color: #8d3028; background: #fde9e7; }

.wasi-ranking-property strong,
.wasi-ranking-issues strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wasi-ranking-issues strong {
  color: #6d4a1c;
}

@media (max-width: 1180px) {
  .wasi-analysis-distributions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wasi-analysis-summary {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .wasi-analysis-summary article:nth-child(3),
  .wasi-analysis-summary article:nth-child(6) {
    border-right: 0;
  }

  .wasi-analysis-summary article:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .wasi-analysis {
    padding: 15px;
  }

  .wasi-analysis-head,
  .wasi-ranking-head {
    align-items: stretch;
    flex-direction: column;
  }

  .wasi-analysis-filters,
  .wasi-analysis-distributions,
  .wasi-analysis-detail-grid {
    grid-template-columns: 1fr;
  }

  .wasi-analysis-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wasi-analysis-summary article,
  .wasi-analysis-summary article:nth-child(3) {
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .wasi-analysis-summary article:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .wasi-analysis-summary article:nth-child(even) {
    border-right: 0;
  }

  .wasi-analysis-summary article:first-child,
  .wasi-analysis-summary article:nth-child(2) {
    border-top: 0;
  }

  .wasi-analysis-summary strong {
    font-size: 16px;
    overflow-wrap: normal;
  }

  .wasi-ranking-head label {
    min-width: 0;
  }
}

body.wasi-description-open {
  overflow: hidden;
}

.wasi-description-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 20, 0.58);
}

.wasi-description-backdrop[hidden] {
  display: none !important;
}

.wasi-description-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.wasi-description-modal h2 {
  margin: 2px 48px 4px 0;
  color: var(--brand-dark);
  font-size: 24px;
}

.wasi-description-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wasi-description-field {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.wasi-description-field textarea {
  width: 100%;
  min-height: 280px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--brand-dark);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.wasi-description-field textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgba(20, 84, 90, 0.15);
}

.wasi-description-meta,
.wasi-description-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wasi-description-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.wasi-description-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 720px) {
  .wasi-search-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .wasi-search-result {
    margin: 0;
  }

  .wasi-filter-summary {
    justify-items: stretch;
  }

  .wasi-ally-filter input {
    width: 100%;
  }

  .wasi-status-filter {
    grid-template-columns: 1fr;
  }

  .wasi-status-filter button {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .wasi-status-filter button:last-child {
    border-bottom: 0;
  }

  .wasi-description-backdrop {
    align-items: end;
    padding: 10px;
  }

  .wasi-description-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 22px 16px;
  }

  .wasi-description-actions .admin-button {
    flex: 1 1 100%;
  }
}

.wasi-portfolio-row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 1.35fr) minmax(190px, 1fr) minmax(88px, 0.5fr) minmax(110px, 0.6fr) minmax(150px, 0.75fr) minmax(190px, 0.9fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--brand-dark);
}

.wasi-portfolio-row-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wasi-portfolio-row > span {
  min-width: 0;
}

.wasi-portfolio-row > span strong,
.wasi-portfolio-row > span small {
  display: block;
}

.wasi-portfolio-row > span small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.wasi-portfolio-row > span .wasi-description-saved {
  color: #147a52;
  font-weight: 800;
}

.wasi-portfolio-table {
  min-width: 1200px;
}

.admin-table-wrap[data-admin-tab="wasi"] {
  max-width: 100%;
  overflow-x: auto;
}

.wasi-portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.wasi-ml-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wasi-ml-status.is-published {
  color: #147a52;
}

.wasi-owner-contact {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.wasi-owner-person {
  display: block;
  min-width: 0;
}

.wasi-owner-person strong,
.wasi-owner-person small {
  overflow-wrap: anywhere;
}

.wasi-owner-person a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.wasi-owner-person a:hover {
  text-decoration: underline;
}

.wasi-owner-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.wasi-owner-note.is-error {
  color: #a43b31;
}

.wasi-portfolio-empty {
  grid-column: 1 / -1;
}
.wasi-portfolio-row:not(.wasi-portfolio-row-head):hover {
  background: rgba(20, 84, 90, 0.06);
}

.wasi-portfolio-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(20, 84, 90, 0.08);
}

.wasi-portfolio-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.12);
  color: var(--brand-dark);
  margin-left: 6px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(96px, 0.5fr) minmax(128px, 0.56fr) 76px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  color: var(--brand-dark);
  background: transparent;
  text-align: left;
}

.admin-row > span {
  min-width: 0;
}

.admin-row > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 850;
  line-height: 1.15;
}

.admin-row-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.import-row {
  cursor: pointer;
  touch-action: manipulation;
}

.import-row:hover,
.import-row.selected {
  background: rgba(20, 84, 90, 0.06);
}

.admin-empty-state {
  margin: 10px;
  padding: 18px;
  color: var(--muted);
  background: rgba(20, 84, 90, 0.05);
  border: 1px dashed rgba(20, 84, 90, 0.24);
  border-radius: 16px;
  font-weight: 800;
  text-align: center;
}

.import-property {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.import-property img {
  width: 72px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

.import-property strong,
.import-property small {
  display: block;
}

.import-property strong {
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.import-property small {
  margin-top: 4px;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.ready_for_review {
  color: var(--brand-dark);
  background: rgba(16, 185, 129, 0.14);
}

.status-pill.needs_data {
  color: #7a4f04;
  background: rgba(184, 150, 95, 0.2);
}

.status-pill.approved {
  color: var(--brand-dark);
  background: rgba(20, 84, 90, 0.12);
}

.status-pill.queued {
  color: #7a4f04;
  background: rgba(184, 150, 95, 0.2);
}


.row-status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-pill.commercial {
  min-height: 26px;
  font-size: 11px;
}

.status-pill.inactive {
  color: #5f6870;
  background: rgba(95, 104, 112, 0.16);
}

.status-pill.closed_won {
  color: #075e48;
  background: rgba(0, 166, 118, 0.16);
}

.status-pill.closed_lost {
  color: #8a3d12;
  background: rgba(232, 119, 34, 0.16);
}
.status-pill.published {
  color: #fff;
  background: var(--brand);
}

.review-panel {
  position: sticky;
  top: 96px;
  max-height: calc(100dvh - 112px);
  overflow: auto;
  padding: 22px;
}


.review-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.review-preview {
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.review-preview img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.review-preview div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.review-preview span {
  color: var(--muted);
  font-weight: 800;
}

.review-preview strong {
  color: var(--brand-dark);
  font-size: 24px;
}

.review-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.editor-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 84, 90, 0.03);
}

.editor-section h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 16px;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand-dark);
  background: #fff;
  font-weight: 750;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(20, 84, 90, 0.12);
}

.review-form textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.review-form-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-list {
  margin-top: 18px;
}

.review-list h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 15px;
}

.review-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.review-list li strong {
  color: var(--brand-dark);
}

.review-list.warning li {
  justify-content: flex-start;
  color: #7a4f04;
  background: rgba(184, 150, 95, 0.14);
}

.review-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

body.admin-preview-open {
  overflow: hidden;
}

.admin-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 20, 0.55);
}

.admin-preview-backdrop[hidden] {
  display: none !important;
}

.admin-preview-modal {
  position: relative;
  overflow: auto;
  width: min(1180px, 100%);
  max-height: calc(100dvh - 48px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.admin-preview-close {
  position: sticky;
  top: 16px;
  left: calc(100% - 58px);
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 16px 16px -58px auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}

.admin-full-preview {
  padding: 22px;
}

.admin-preview-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 160px;
  gap: 8px;
  min-height: 360px;
}

.admin-preview-gallery figure {
  overflow: hidden;
  margin: 0;
  background: var(--soft);
}

.admin-preview-gallery .featured {
  grid-row: span 2;
  border-radius: 18px 0 0 18px;
}

.admin-preview-gallery figure:nth-child(3) {
  border-radius: 0 18px 0 0;
}

.admin-preview-gallery figure:nth-child(4) {
  border-radius: 0 0 18px 0;
}

.admin-preview-gallery figure:nth-child(n + 5) {
  border-radius: 14px;
}

.admin-preview-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-preview-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  padding: 28px 2px 0;
}

.admin-preview-main h2 {
  max-width: 760px;
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.admin-preview-price {
  margin-top: 16px;
}

.detail-property-code {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-preview-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.admin-preview-side {
  position: sticky;
  top: 24px;
}

.admin-ml-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-ml-fields div {
  min-height: 58px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.admin-ml-fields span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-ml-fields strong {
  color: var(--brand-dark);
  font-size: 13px;
}

@media (max-width: 920px) {
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .admin-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-shell {
    width: min(100% - 24px, 720px);
    padding-top: 18px;
  }

  .admin-layout,
  .bulk-publish {
    grid-template-columns: 1fr;
  }

  .admin-workbar {
    display: block;
  }

  .admin-workbar-actions {
    justify-content: stretch;
  }

  .admin-workbar-actions .admin-button {
    flex: 1 1 220px;
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-panel {
    position: static;
  }

  .admin-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-inventory-filters {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .admin-preview-content,
  .admin-preview-two-columns {
    grid-template-columns: 1fr;
  }

  .admin-preview-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .admin-header {
    min-height: 0;
  }

  .admin-brand .brand-word {
    font-size: 25px;
  }

  .admin-nav a {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .admin-summary {
    grid-template-columns: 1fr;
  }

  .admin-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .review-form-grid,
  .review-form-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .admin-row-head {
    display: none;
  }

  .import-property {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .import-property img {
    width: 86px;
    height: 70px;
  }

  .status-pill {
    width: fit-content;
  }

  .admin-preview-backdrop {
    align-items: end;
    padding: 10px;
  }

  .admin-preview-modal {
    max-height: calc(100dvh - 20px);
    border-radius: 22px 22px 0 0;
  }

  .admin-full-preview {
    padding: 14px;
  }

  .admin-preview-gallery {
    display: flex;
    min-height: 0;
    overflow-x: auto;
  }

  .admin-preview-gallery figure,
  .admin-preview-gallery .featured,
  .admin-preview-gallery figure:nth-child(3),
  .admin-preview-gallery figure:nth-child(4) {
    flex: 0 0 84%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .admin-ml-fields {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr minmax(260px, 320px);
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 24, 28, 0.08);
  box-shadow: 0 8px 28px rgba(17, 24, 28, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  min-width: 136px;
  color: var(--brand-dark);
}

.brand-word {
  display: inline-block;
  color: currentColor;
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 27px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.brand-mark circle,
.brand-mark .logo-house {
  fill: none;
  stroke: var(--brand);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .logo-orbit {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .logo-spark {
  fill: var(--brand-dark);
}

.header-tools {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.header-action {
  width: 44px;
  height: 44px;
  gap: 0;
  justify-content: center;
  padding: 0;
  color: var(--brand);
  background: rgba(20, 84, 90, 0.08);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.header-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.header-action span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.header-action:hover {
  background: rgba(20, 84, 90, 0.12);
}

.header-whatsapp {
  width: auto;
  min-width: 0;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(20, 84, 90, 0.1);
}

.header-whatsapp span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}

.header-phone {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--brand-dark);
  background: rgba(20, 84, 90, 0.06);
  border: 1px solid rgba(20, 84, 90, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header-phone:hover {
  border-color: rgba(20, 84, 90, 0.24);
  background: rgba(20, 84, 90, 0.1);
}

.header-socials,
.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-link {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background 160ms ease, transform 160ms ease;
}

.social-link::before {
  content: "";
  width: 17px;
  height: 17px;
  display: block;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.social-instagram::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M7.5 3h9A4.5 4.5 0 0 1 21 7.5v9a4.5 4.5 0 0 1-4.5 4.5h-9A4.5 4.5 0 0 1 3 16.5v-9A4.5 4.5 0 0 1 7.5 3Zm0 2A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19h9a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 16.5 5h-9ZM12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm0 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm4.6-2.9a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M7.5 3h9A4.5 4.5 0 0 1 21 7.5v9a4.5 4.5 0 0 1-4.5 4.5h-9A4.5 4.5 0 0 1 3 16.5v-9A4.5 4.5 0 0 1 7.5 3Zm0 2A2.5 2.5 0 0 0 5 7.5v9A2.5 2.5 0 0 0 7.5 19h9a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 16.5 5h-9ZM12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm0 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm4.6-2.9a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2Z'/%3E%3C/svg%3E");
}

.social-facebook::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M14 8.6V6.9c0-.8.5-1 1-1h1.9V3.2A24 24 0 0 0 14.1 3c-2.8 0-4.7 1.7-4.7 4.8v.8H6.9v3.1h2.5V21H13v-9.3h3l.5-3.1H13Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M14 8.6V6.9c0-.8.5-1 1-1h1.9V3.2A24 24 0 0 0 14.1 3c-2.8 0-4.7 1.7-4.7 4.8v.8H6.9v3.1h2.5V21H13v-9.3h3l.5-3.1H13Z'/%3E%3C/svg%3E");
}

.social-linkedin::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M5.3 8.8h3.1V20H5.3V8.8Zm1.5-5.4a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6Zm4 5.4h3v1.5c.4-.8 1.5-1.8 3.2-1.8 3.4 0 4 2.2 4 5.1V20h-3.1v-5.7c0-1.4 0-3.1-1.9-3.1s-2.2 1.5-2.2 3V20h-3V8.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M5.3 8.8h3.1V20H5.3V8.8Zm1.5-5.4a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6Zm4 5.4h3v1.5c.4-.8 1.5-1.8 3.2-1.8 3.4 0 4 2.2 4 5.1V20h-3.1v-5.7c0-1.4 0-3.1-1.9-3.1s-2.2 1.5-2.2 3V20h-3V8.8Z'/%3E%3C/svg%3E");
}

.social-youtube::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M21 8.1a3 3 0 0 0-2.1-2.1C17 5.5 12 5.5 12 5.5s-5 0-6.9.5A3 3 0 0 0 3 8.1a31 31 0 0 0 0 7.8A3 3 0 0 0 5.1 18c1.9.5 6.9.5 6.9.5s5 0 6.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 0-7.8ZM10 15.2V8.8l5.4 3.2-5.4 3.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M21 8.1a3 3 0 0 0-2.1-2.1C17 5.5 12 5.5 12 5.5s-5 0-6.9.5A3 3 0 0 0 3 8.1a31 31 0 0 0 0 7.8A3 3 0 0 0 5.1 18c1.9.5 6.9.5 6.9.5s5 0 6.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 0-7.8ZM10 15.2V8.8l5.4 3.2-5.4 3.2Z'/%3E%3C/svg%3E");
}

.locale-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  background: rgba(20, 84, 90, 0.08);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
}

.locale-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-wrap {
  position: relative;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  background: rgba(20, 84, 90, 0.08);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 230px;
  display: grid;
  padding: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(16, 39, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.menu-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-dropdown a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 700;
}

.menu-dropdown a:hover {
  background: #f5f8f7;
  color: var(--brand);
}

.search-hero {
  position: relative;
  z-index: 30;
  min-height: auto;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 0, rgba(16, 185, 129, 0.09), transparent 34%),
    #fff;
}

.hero-media {
  display: none;
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 48px;
  color: var(--ink);
}

.hero-message {
  display: none;
}

.hero-message > div {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 8px;
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  color: var(--brand-dark);
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 31px;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 8px;
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.search-panel {
  position: relative;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1.7fr auto;
  gap: 0;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 999px;
  box-shadow: 0 24px 58px rgba(9, 31, 34, 0.18);
  backdrop-filter: blur(18px);
}

.search-panel.mode-shortstay,
.search-panel.mode-services {
  grid-template-columns: 1fr 1fr 1.25fr auto;
  width: min(960px, 100%);
}

.search-panel.mode-property .date-field {
  display: none;
}

.search-tabs {
  display: flex;
  justify-content: center;
  gap: 26px;
  width: min(720px, 100%);
  max-width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.search-tabs::-webkit-scrollbar {
  display: none;
}

.header-categories {
  justify-self: center;
  width: auto;
  margin: 0;
  color: var(--muted);
}

.search-tab {
  position: relative;
  min-width: 86px;
  min-height: 68px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  padding: 0 4px 10px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}

.search-tab.active {
  color: var(--brand-dark);
  background: transparent;
  box-shadow: none;
}

.search-tab.active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  background: var(--brand);
  border-radius: 999px;
}

.tab-icon {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
  opacity: 0.94;
}

.search-tab .tab-icon {
  display: none;
}


.search-tab::before {
  content: "\1F30E";
  display: block;
  font-size: 28px;
  line-height: 1;
  filter: saturate(1.08);
}

.header-categories .search-tab::before {
  text-shadow: none;
}

.search-tab[data-operation="compra"]::before {
  content: "\1F3E1";
}

.search-tab[data-operation="renta"]::before {
  content: "\1F511";
}

.search-tab[data-operation="renta-corta"]::before {
  content: "\1F9F3";
}

.search-tab[data-search-mode="services"]::before {
  content: "\1F6CE\FE0F";
}


.search-tab::before,
.header-categories .search-tab::before {
  content: "\1F30E";
}

.search-tab[data-operation="compra"]::before,
.header-categories .search-tab[data-operation="compra"]::before {
  content: "\1F3E1";
}

.search-tab[data-operation="renta"]::before,
.header-categories .search-tab[data-operation="renta"]::before {
  content: "\1F511";
}

.search-tab[data-operation="renta-corta"]::before,
.header-categories .search-tab[data-operation="renta-corta"]::before {
  content: "\1F9F3";
}

.search-tab[data-search-mode="services"]::before,
.header-categories .search-tab[data-search-mode="services"]::before {
  content: "\1F6CE\FE0F";
}

@media (min-width: 641px) {
  .header-categories {
    gap: 22px;
  }

  .header-categories .search-tab {
    min-width: 82px;
    min-height: 68px;
    gap: 6px;
  }

  .header-categories .search-tab::before {
    content: "";
    width: 30px;
    height: 30px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm6.9 8.2h-3.1a14 14 0 0 0-1.3-5.1 7.5 7.5 0 0 1 4.4 5.1Zm-5.7 0h-2.4V4.8c1.1 1.1 2.1 3.3 2.4 6.4Zm-4 0H5.1a7.5 7.5 0 0 1 4.4-5.1 14 14 0 0 0-1.3 5.1Zm-4.1 1.6h3.1a14 14 0 0 0 1.3 5.1 7.5 7.5 0 0 1-4.4-5.1Zm5.7 0h2.4c-.3 3.1-1.3 5.3-2.4 6.4v-6.4Zm3.7 5.1a14 14 0 0 0 1.3-5.1h3.1a7.5 7.5 0 0 1-4.4 5.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm6.9 8.2h-3.1a14 14 0 0 0-1.3-5.1 7.5 7.5 0 0 1 4.4 5.1Zm-5.7 0h-2.4V4.8c1.1 1.1 2.1 3.3 2.4 6.4Zm-4 0H5.1a7.5 7.5 0 0 1 4.4-5.1 14 14 0 0 0-1.3 5.1Zm-4.1 1.6h3.1a14 14 0 0 0 1.3 5.1 7.5 7.5 0 0 1-4.4-5.1Zm5.7 0h2.4c-.3 3.1-1.3 5.3-2.4 6.4v-6.4Zm3.7 5.1a14 14 0 0 0 1.3-5.1h3.1a7.5 7.5 0 0 1-4.4 5.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .header-categories .search-tab[data-operation="compra"]::before {
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.4 11.1 12 4l8.6 7.1-1 1.2-1.5-1.2v8.1H5.9v-8.1l-1.5 1.2-1-1.2Zm4.1 6.5h3.2v-4.8h2.6v4.8h3.2v-7.8L12 6.1 7.5 9.8v7.8Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.4 11.1 12 4l8.6 7.1-1 1.2-1.5-1.2v8.1H5.9v-8.1l-1.5 1.2-1-1.2Zm4.1 6.5h3.2v-4.8h2.6v4.8h3.2v-7.8L12 6.1 7.5 9.8v7.8Z'/%3E%3C/svg%3E");
  }

  .header-categories .search-tab[data-operation="renta"]::before {
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.3 14.4a5.7 5.7 0 1 1 5.3-3.6l6.8 6.8-2.8 2.8-2-2-1.6 1.6-2.2-2.2 1.6-1.6-1.5-1.5a5.7 5.7 0 0 1-3.6-.3Zm0-9.8a4.1 4.1 0 1 0 2.8 7.1l.6-.6 6 6 .6-.6-7-7 .3-.8a4.1 4.1 0 0 0-3.3-3.1Zm-1.2 3.7a1.3 1.3 0 1 1 2.6 0 1.3 1.3 0 0 1-2.6 0Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.3 14.4a5.7 5.7 0 1 1 5.3-3.6l6.8 6.8-2.8 2.8-2-2-1.6 1.6-2.2-2.2 1.6-1.6-1.5-1.5a5.7 5.7 0 0 1-3.6-.3Zm0-9.8a4.1 4.1 0 1 0 2.8 7.1l.6-.6 6 6 .6-.6-7-7 .3-.8a4.1 4.1 0 0 0-3.3-3.1Zm-1.2 3.7a1.3 1.3 0 1 1 2.6 0 1.3 1.3 0 0 1-2.6 0Z'/%3E%3C/svg%3E");
  }

  .header-categories .search-tab[data-operation="renta-corta"]::before {
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 6.4V4.8c0-1 .8-1.8 1.8-1.8h3.4c1 0 1.8.8 1.8 1.8v1.6h2.1c1.2 0 2.1.9 2.1 2.1v9.4c0 1.2-.9 2.1-2.1 2.1H6.4c-1.2 0-2.1-.9-2.1-2.1V8.5c0-1.2.9-2.1 2.1-2.1h2.1Zm1.6 0h3.8V4.8c0-.1-.1-.2-.2-.2h-3.4c-.1 0-.2.1-.2.2v1.6Zm-4.2 4.1h12.2v-2c0-.3-.2-.5-.5-.5H6.4c-.3 0-.5.2-.5.5v2Zm0 1.6v5.8c0 .3.2.5.5.5h11.2c.3 0 .5-.2.5-.5v-5.8H5.9Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 6.4V4.8c0-1 .8-1.8 1.8-1.8h3.4c1 0 1.8.8 1.8 1.8v1.6h2.1c1.2 0 2.1.9 2.1 2.1v9.4c0 1.2-.9 2.1-2.1 2.1H6.4c-1.2 0-2.1-.9-2.1-2.1V8.5c0-1.2.9-2.1 2.1-2.1h2.1Zm1.6 0h3.8V4.8c0-.1-.1-.2-.2-.2h-3.4c-.1 0-.2.1-.2.2v1.6Zm-4.2 4.1h12.2v-2c0-.3-.2-.5-.5-.5H6.4c-.3 0-.5.2-.5.5v2Zm0 1.6v5.8c0 .3.2.5.5.5h11.2c.3 0 .5-.2.5-.5v-5.8H5.9Z'/%3E%3C/svg%3E");
  }

  .header-categories .search-tab[data-search-mode="services"]::before {
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a6.5 6.5 0 0 1 6.5 6.5V15H20v2H4v-2h1.5v-4.5A6.5 6.5 0 0 1 12 4Zm4.5 11v-4.5a4.5 4.5 0 1 0-9 0V15h9ZM3 19h18v2H3v-2Zm8-17h2v2h-2V2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a6.5 6.5 0 0 1 6.5 6.5V15H20v2H4v-2h1.5v-4.5A6.5 6.5 0 0 1 12 4Zm4.5 11v-4.5a4.5 4.5 0 1 0-9 0V15h9ZM3 19h18v2H3v-2Zm8-17h2v2h-2V2Z'/%3E%3C/svg%3E");
  }
}

.locale-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.46);
}

.locale-backdrop[hidden] {
  display: none;
}

.locale-dialog {
  position: relative;
  width: min(820px, 100%);
  max-height: min(680px, calc(100vh - 56px));
  overflow: auto;
  padding: 30px 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 74px rgba(15, 23, 42, 0.28);
}

.locale-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 26px;
  cursor: pointer;
  touch-action: manipulation;
}

.locale-tabs {
  display: flex;
  gap: 24px;
  margin: 30px 0 24px;
  border-bottom: 1px solid var(--line);
}

.locale-tab {
  min-height: 42px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.locale-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.locale-pane {
  display: none;
}

.locale-pane.active {
  display: block;
}

.locale-pane h2 {
  margin-bottom: 22px;
  font-family: Lato, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 850;
}

.locale-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.locale-option {
  min-height: 58px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.locale-option.active,
.locale-option:hover {
  border-color: var(--ink);
}

.search-panel label {
  position: relative;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.search-panel label:hover {
  background: #f7f9f8;
  border-radius: 999px;
}

.search-panel label > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 24px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  outline: 0;
}

.search-panel input::placeholder {
  color: #7a8789;
}

#zoneFilter.zone-placeholder::placeholder {
  color: var(--brand);
  opacity: 1;
}

.search-panel .zone-placeholder,
.search-panel select.zone-placeholder {
  color: var(--brand);
  font-weight: 760;
}

.search-panel select option {
  color: var(--ink);
}

.search-panel datalist {
  display: none;
}

.zone-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 12px;
  z-index: 1200;
  width: min(260px, calc(100vw - 48px));
  max-height: min(320px, 56vh);
  display: none;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(9, 31, 34, 0.16);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  pointer-events: auto;
}

.zone-suggestions.open {
  display: grid;
  gap: 4px;
}

.zone-suggestions button {
  min-height: 40px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
  touch-action: manipulation;
}

.zone-suggestions button span {
  line-height: 1.15;
}

.zone-suggestions button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.zone-suggestions button:hover {
  background: var(--soft);
}

.search-submit {
  align-self: center;
  min-width: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  touch-action: manipulation;
}

.search-submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.category-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.properties-intro {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 26px auto 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 81, 86, 0.12);
}

.properties-intro h1 {
  max-width: 760px;
  margin-bottom: 6px;
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.properties-intro p {
  max-width: 710px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.properties-intro-card {
  max-width: 300px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 81, 86, 0.1);
  border-radius: 14px;
  box-shadow: none;
}

.properties-intro-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.properties-intro-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.properties-intro-card p {
  margin: 0;
  font-size: 14px;
}

.category-pill {
  min-height: 42px;
  padding: 0 18px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.category-pill.active {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.category-pill:hover {
  border-color: var(--accent);
}

.seo-context {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.properties-page .site-header {
  grid-template-columns: minmax(160px, 240px) 1fr minmax(260px, 320px);
}

.properties-page .header-categories {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.properties-page.search-expanded .header-categories,
.properties-page.desktop-search-open .header-categories {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.properties-page .search-hero {
  z-index: 120;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(17, 24, 28, 0.04);
}

.properties-page .hero-content {
  padding: 16px 0 16px;
}

.properties-page .category-strip {
  display: none;
}

.listing-controls {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 0 auto;
  padding: 14px 0;
  border-top: 1px solid rgba(26, 81, 86, 0.08);
  border-bottom: 1px solid rgba(26, 81, 86, 0.08);
}

.map-toggle,
.filter-open,
.quick-clear-filters,
.sort-control {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(16, 39, 42, 0.04);
}

.map-toggle {
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.map-toggle svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.filter-open {
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.filter-open svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.quick-clear-filters {
  padding: 0 18px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  background: var(--accent);
  border-color: rgba(175, 239, 61, 0.9);
  box-shadow: 0 12px 28px rgba(175, 239, 61, 0.28);
}

.quick-clear-filters:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: #caff49;
  box-shadow: 0 16px 34px rgba(175, 239, 61, 0.36);
}

.quick-clear-filters:active {
  transform: translateY(1px);
}

.sort-control {
  margin-left: auto;
  padding: 0 12px 0 14px;
}

.sort-control span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.sort-control select {
  min-height: 40px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 750;
}

.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 54px 18px;
  background: rgba(9, 18, 20, 0.56);
  overflow: hidden;
}

.filter-backdrop[hidden] {
  display: none;
}

body.filter-panel-open {
  overflow: hidden;
}

.filter-dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(5, 15, 18, 0.28);
  overflow: hidden;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.filter-header h2 {
  margin: 0;
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 850;
}

.filter-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f4f6f6;
  border: 0;
  border-radius: 999px;
  font-size: 18px;
  cursor: pointer;
  touch-action: manipulation;
}

.filter-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  background: #f1f4f5;
  border-radius: 10px;
}

.filter-tab {
  min-height: 48px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.filter-tab.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 39, 42, 0.08);
}

.filter-pane {
  display: none;
  min-height: 0;
}

.filter-pane.active {
  display: block;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.filter-field,
.advanced-grid label {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink);
  font-weight: 850;
}

.filter-field input,
.filter-range input,
.advanced-grid select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 16px;
  outline: 0;
}

.filter-group {
  margin-bottom: 26px;
}

.filter-group h3,
.filter-range h3,
.filter-pane > h3 {
  margin-bottom: 12px;
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 850;
}

.filter-check-list {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.filter-check-list.two-columns {
  grid-template-columns: 1fr 1fr;
}

.filter-check-list label {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 650;
}

.filter-check-list label:hover {
  background: #f3f6f6;
}

.filter-check-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-dark);
}

.filter-check-list small {
  margin-left: auto;
  padding: 3px 8px;
  color: var(--ink);
  background: #eef3f2;
  border-radius: 999px;
  font-weight: 850;
}

.filter-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-range h3 {
  grid-column: 1 / -1;
}

.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-bottom: 26px;
}

.filter-actions {
  position: sticky;
  bottom: 0;
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 26px -28px -28px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #18c56e;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0, 94, 56, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 94, 56, 0.34);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.filter-clear,
.filter-apply {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.filter-clear {
  color: var(--ink);
  background: var(--accent);
  border: 1px solid rgba(175, 239, 61, 0.85);
}

.filter-apply {
  color: #fff;
  background: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.property-results-layout {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(360px, min(38vw, 520px));
  align-items: start;
  gap: 18px;
  margin: 0 auto;
}

.properties-page .properties-listing {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-width: 0;
  margin-top: 0;
}

.properties-page.map-hidden .property-results-layout {
  grid-template-columns: minmax(0, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin-top: 18px;
}

.properties-page.map-hidden .properties-listing {
  grid-column: 1;
}

.properties-page.map-hidden .property-map {
  display: none;
}

.properties-page.map-hidden .map-toggle span {
  font-size: 0;
}

.properties-page.map-hidden .map-toggle span::after {
  content: "Mostrar mapa";
  font-size: 14px;
}

.property-map {
  position: sticky;
  top: 86px;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  height: calc(100vh - 86px);
  min-height: 620px;
  max-width: 520px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-right: 0;
  background: #e7eceb;
}

.map-surface {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 30%, rgba(90, 190, 155, 0.34) 0 42px, transparent 43px),
    radial-gradient(circle at 55% 73%, rgba(90, 190, 155, 0.28) 0 54px, transparent 55px),
    radial-gradient(circle at 78% 62%, rgba(90, 190, 155, 0.22) 0 36px, transparent 37px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    #e4ebe9;
  background-size: auto, auto, auto, 88px 88px, 88px 88px, auto;
}

.leaflet-property-map {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.leaflet-map-ready .leaflet-property-map {
  opacity: 1;
  pointer-events: auto;
}

.leaflet-map-ready .map-fallback {
  opacity: 0;
  pointer-events: none;
}

.map-fallback {
  position: absolute;
  inset: 0;
  transition: opacity 180ms ease;
}

.leaflet-container {
  background: #e4ebe9;
  font-family: inherit;
}

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(16, 39, 42, 0.14) !important;
}

.leaflet-control-zoom a {
  color: var(--ink) !important;
  border: 0 !important;
}

.oryon-map-marker {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
}

.oryon-map-marker span {
  min-width: 38px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  color: #fff;
  background: var(--brand);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 9px 22px rgba(16, 39, 42, 0.24);
  font-size: 11px;
  font-weight: 900;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(16, 39, 42, 0.18);
}

.leaflet-popup-content {
  display: grid;
  gap: 4px;
  margin: 12px 14px;
  color: var(--ink);
  font-family: inherit;
}

.leaflet-popup-content strong {
  max-width: 220px;
  font-size: 13px;
  line-height: 1.25;
}

.leaflet-popup-content small {
  color: var(--muted);
}

.leaflet-popup-content b {
  color: var(--brand);
}

.map-surface::before,
.map-surface::after {
  content: "";
  position: absolute;
  inset: 8% -12%;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-right: 0;
  border-left: 0;
  border-radius: 48%;
  transform: rotate(-18deg);
}

.map-surface::after {
  inset: 24% -16%;
  transform: rotate(22deg);
}

.map-road,
.map-river {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.map-road {
  height: 3px;
  width: 58%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(145, 160, 160, 0.18);
  transform-origin: center;
}

.road-1 { top: 38%; left: 18%; transform: rotate(-20deg); }
.road-2 { top: 55%; left: 16%; width: 70%; transform: rotate(14deg); }
.road-3 { top: 68%; left: 20%; width: 48%; transform: rotate(-35deg); }
.road-4 { top: 28%; left: 42%; width: 42%; transform: rotate(38deg); }

.map-river {
  top: -8%;
  left: 37%;
  width: 18%;
  height: 118%;
  border-left: 3px solid rgba(104, 190, 222, 0.48);
  border-right: 2px solid rgba(104, 190, 222, 0.32);
  border-radius: 48%;
  transform: rotate(15deg);
}

.map-city {
  position: absolute;
  top: 45%;
  left: 46%;
  color: rgba(13, 45, 49, 0.34);
  font-size: 34px;
  font-weight: 850;
  transform: translate(-50%, -50%);
}

.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(34, 70, 75, 0.44);
  font-size: 12px;
  font-weight: 750;
}

.label-bello { top: 22%; left: 45%; }
.label-laureles { top: 48%; left: 34%; }
.label-poblado { top: 54%; left: 53%; }
.label-envigado { top: 68%; left: 50%; }
.label-itagui { top: 70%; left: 33%; }

.map-control {
  position: absolute;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 81, 86, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(16, 39, 42, 0.12);
}

.map-expand {
  top: 20px;
}

.map-plus {
  top: 82px;
}

.map-minus {
  top: 130px;
}

.map-marker {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #42b8ad;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(16, 39, 42, 0.22);
  font-size: 13px;
  font-weight: 850;
}

.map-marker:empty {
  background: var(--brand);
}

.map-marker:empty::before {
  content: "";
  width: 13px;
  height: 11px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 2px;
}

.map-marker:empty::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

.marker-1 { top: 40%; left: 47%; background: #173f43; }
.marker-2 { top: 45%; left: 39%; }
.marker-3 { top: 50%; left: 54%; }
.marker-4 { top: 78%; left: 35%; background: #173f43; }
.marker-5 { top: 34%; left: 57%; }
.marker-6 { top: 58%; left: 62%; }
.marker-7 { top: 63%; left: 52%; }
.marker-8 { top: 28%; left: 74%; }
.marker-9 { top: 70%; left: 44%; }
.marker-10 { top: 82%; left: 60%; }

.properties-page .properties-listing {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 30px 40px 48px;
}

.properties-page .section-head {
  margin-bottom: 18px;
}

.properties-page .section-head .eyebrow,
.properties-page .section-head h2,
.properties-page .section-copy {
  display: none;
}

.properties-page .property-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.properties-page.map-hidden .properties-listing {
  padding-right: 0;
  padding-left: 0;
}

.properties-page.map-hidden .property-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-band,
.contact-band {
  width: min(1180px, calc(100% - 48px));
  margin: 68px auto 0;
}

.content-band {
  background: transparent;
}

.service-band {
  width: 100%;
  max-width: none;
  margin-top: 72px;
  padding: 54px max(24px, calc((100% - 1180px) / 2));
  scroll-margin-top: 120px;
  background: #fff;
  border-top: 1px solid rgba(26, 81, 86, 0.12);
  border-bottom: 1px solid rgba(26, 81, 86, 0.12);
  box-shadow: inset 0 6px 0 rgba(26, 81, 86, 0.06);
}

.service-band .section-head,
.service-band .service-grid {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 700;
}

.section-copy {
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}

.property-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 39, 42, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-card:focus-visible {
  outline: 3px solid rgba(12, 181, 127, 0.36);
  outline-offset: 3px;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 39, 42, 0.08);
}

.property-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d7dfdd;
  border-radius: 12px 12px 0 0;
}

.property-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  will-change: transform;
}
.property-photo-slider {
  isolation: isolate;
}

.property-photo-slider .card-photo-track {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.property-photo-slider .card-photo-track::-webkit-scrollbar {
  display: none;
}

.property-photo-slider .card-photo-track img {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.card-photo-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #10272a;
  background: rgba(255, 255, 255, 0.92);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease, transform 160ms ease;
  box-shadow: 0 8px 20px rgba(16, 39, 42, 0.18);
}

.property-card:hover .card-photo-nav,
.property-card:focus-within .card-photo-nav {
  opacity: 1;
}

.card-photo-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.card-photo-prev {
  left: 10px;
}

.card-photo-next {
  right: 10px;
}

.card-photo-count {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  padding: 5px 8px;
  color: #fff;
  background: rgba(3, 18, 20, 0.62);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.property-image.image-missing::after {
  content: "Imagen disponible pronto";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--brand);
  font-weight: 600;
  text-align: center;
}

.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(15, 55, 59, 0.9);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.property-operation {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--accent-dark);
  background: rgba(236, 253, 245, 0.96);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(16, 39, 42, 0.12);
}

.property-body {
  padding: 12px 12px 14px;
}

.property-body h3 {
  min-height: 38px;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.24;
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 9px 0 0;
  color: var(--muted);
}

.property-detail {
  min-height: 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 5px 3px;
  background: #f7f9f8;
  border: 1px solid rgba(26, 81, 86, 0.07);
  border-radius: 7px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.property-detail svg {
  width: 16px;
  height: 16px;
  fill: none;
}

.property-detail svg path {
  fill: currentColor;
}

.property-detail small {
  display: none;
  max-width: 100%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.detail-open {
  overflow: hidden;
}

body:not(.property-detail-page) #propertyDetailModal .credit-calculator,
body:not(.property-detail-page) #propertyDetailModal .credit-toggle,
body:not(.property-detail-page) #propertyDetailModal .detail-location-section,
body:not(.property-detail-page) #propertyDetailModal .detail-tabs-section,
body:not(.property-detail-page) #propertyDetailModal .detail-description-section,
body:not(.property-detail-page) #propertyDetailModal .detail-services-section,
body:not(.property-detail-page) #propertyDetailModal .detail-similar-section,
body:not(.property-detail-page) #propertyDetailModal .detail-final-cta {
  display: none;
}

body:not(.property-detail-page) #propertyDetailModal .detail-feature-card {
  margin-top: 0;
  padding: 15px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-support-grid {
  grid-template-columns: 1fr;
}

body:not(.property-detail-page) #propertyDetailModal .detail-nearby-card {
  padding: 15px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-feature-card-head {
  margin-bottom: 10px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-feature-card-head h3 {
  font-size: 14px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-feature-tags {
  gap: 7px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-feature-tags span {
  padding: 6px 8px;
  font-size: 10px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-nearby-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.property-detail-page) #propertyDetailModal .detail-nearby-tags li {
  font-size: 11px;
}

body:not(.property-detail-page) #propertyDetailModal .detail-more-features {
  display: none;
}

.property-detail-page.detail-open {
  overflow: auto;
}

.property-detail-page .search-hero,
.property-detail-page .properties-intro,
.property-detail-page .category-strip,
.property-detail-page .listing-controls,
.property-detail-page .property-results-layout,
.property-detail-page .filter-backdrop,
.property-detail-page .mobile-map-button {
  display: none;
}

.property-detail-page .property-detail-backdrop {
  position: static;
  inset: auto;
  display: block;
  min-height: auto;
  padding: 28px;
  background: #f7faf9;
}

.property-detail-page .property-detail-modal {
  width: min(1120px, 100%);
  max-height: none;
  margin: 0 auto;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(5, 18, 20, 0.08);
}

.property-detail-page .property-detail-close {
  display: none;
}

.property-detail-page .property-detail-back-link {
  display: inline-flex;
}

.property-detail-page .detail-full-link {
  display: none;
}

.property-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 18, 20, 0.58);
}

.property-detail-modal {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(5, 18, 20, 0.32);
}

.detail-topbar {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.property-detail-back-link {
  min-height: 42px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 13px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 999px;
  font-weight: 850;
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(16, 39, 42, 0.12);
}

.property-detail-back-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.property-detail-back-link:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.detail-actions {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.detail-actions button,
.property-detail-close {
  min-height: 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 39, 42, 0.12);
}

.detail-actions button {
  padding: 0 14px;
}

.property-detail-close {
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 18px;
  pointer-events: auto;
}

.detail-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 8px;
  padding: 8px;
  background: #f3f6f5;
}

.detail-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  background: #d7dfdd;
}

.detail-gallery figure:first-child {
  border-radius: 16px 0 0 16px;
}

.detail-gallery figure:nth-child(3) {
  border-radius: 0 16px 0 0;
}

.detail-gallery figure:nth-child(5) {
  border-radius: 0 0 16px 0;
}

.detail-gallery .featured {
  grid-row: span 2;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.detail-gallery .image-missing::after {
  content: "Imagen disponible pronto";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--brand);
  font-weight: 800;
  text-align: center;
}

.detail-gallery-button {
  position: absolute;
  right: 22px;
  bottom: 22px;
  min-height: 40px;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 39, 42, 0.14);
}

.detail-gallery figure {
  cursor: zoom-in;
}

.photo-viewer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 18, 20, 0.82);
}

.photo-viewer-modal {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100dvh - 56px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.photo-viewer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.photo-viewer-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.photo-viewer-main {
  width: 100%;
  height: min(68dvh, 680px);
  display: block;
  object-fit: contain;
}

.photo-viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.photo-viewer-prev {
  left: 16px;
}

.photo-viewer-next {
  right: 16px;
}

.photo-viewer-thumbs {
  display: none;
  gap: 10px;
  max-width: 100%;
  padding: 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.photo-viewer-thumbs::-webkit-scrollbar {
  display: none;
}

.photo-viewer-thumb {
  flex: 0 0 92px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
}

.photo-viewer-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.photo-viewer-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  padding: 30px;
}

.detail-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detail-property-code {
  margin: -2px 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.detail-main h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(23px, 2.35vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 14px;
}

.detail-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.detail-action-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.detail-action-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.detail-info-button {
  color: var(--brand);
  border-color: rgba(0, 139, 104, 0.36);
  background: rgba(12, 181, 127, 0.08);
}

.detail-full-link {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  border-radius: 999px;
  padding: 0 18px;
  box-shadow: 0 10px 22px rgba(0, 139, 104, 0.22);
}

.detail-action-button:hover {
  border-color: rgba(26, 81, 86, 0.34);
  box-shadow: 0 8px 18px rgba(16, 39, 42, 0.08);
}

.detail-full-link:hover {
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 139, 104, 0.3);
}

.detail-price-row strong {
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.detail-price-row span {
  padding: 7px 10px;
  color: var(--accent-dark);
  background: #ecfdf5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.credit-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0 2px;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.credit-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.credit-toggle.active,
.credit-toggle:hover {
  color: var(--accent-dark);
}

.credit-calculator {
  margin: 8px 0 24px;
  padding: 24px;
  border: 2px solid rgba(26, 81, 86, 0.72);
  border-radius: 16px;
  background: #fff;
}

.credit-calculator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.credit-calculator-head h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 19px;
}

.credit-calculator-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 18px;
  cursor: pointer;
  touch-action: manipulation;
}

.credit-calculator-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.95fr);
  gap: 22px;
}

.credit-inputs {
  display: grid;
  gap: 18px;
}

.credit-inputs label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.credit-inputs input,
.credit-inputs select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.15);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 39, 42, 0.04);
}

.credit-inputs input[readonly] {
  color: var(--muted);
  background: #f8faf9;
}

.credit-input-affix {
  position: relative;
}

.credit-input-affix span {
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--muted);
  font-weight: 900;
  transform: translateY(-50%);
}

.credit-results {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 39, 42, 0.04);
}

.credit-results div {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) max-content;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 750;
}

.credit-results strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.credit-total {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 81, 86, 0.12);
}

.credit-total strong {
  color: var(--brand);
  font-size: 18px;
}

.credit-results small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 980px) {
  .credit-calculator-grid {
    grid-template-columns: 1fr;
  }
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 120px));
  gap: 8px;
  margin: 16px 0 22px;
}

.detail-description {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.detail-description-final {
  max-width: none;
  margin-bottom: 0;
}

.detail-description-final span {
  display: block;
  margin-bottom: 12px;
}

.detail-description-final span:last-child {
  margin-bottom: 0;
}

.detail-section {
  padding-top: 22px;
  border-top: 1px solid rgba(26, 81, 86, 0.1);
}

.detail-section + .detail-section {
  margin-top: 22px;
}

.detail-section h3,
.detail-contact-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.detail-section-head {
  margin-bottom: 16px;
}

.detail-section-head h3 {
  margin-bottom: 0;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-fact-card {
  min-height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px 12px;
  color: var(--brand);
  background: #f3faf8;
  border: 1px solid rgba(26, 81, 86, 0.08);
  border-radius: 8px;
  text-align: center;
}

.detail-fact-card svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.detail-fact-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.detail-fact-card strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.detail-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.detail-cost-card {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px;
  background: #f3faf8;
  border: 1px solid rgba(26, 81, 86, 0.08);
  border-radius: 8px;
}

.detail-cost-card span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.detail-cost-card strong {
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 950;
}

.detail-cost-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-content: stretch;
  gap: 14px;
  margin-top: 16px;
}

.detail-support-grid .detail-feature-card,
.detail-support-grid .detail-nearby-card {
  margin-top: 0;
}

.detail-video-card {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 14px;
}

.detail-video-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.detail-video-frame {
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #f5f8f7;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}


.detail-video-preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #102f32;
  cursor: pointer;
}

.detail-video-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 35, 38, 0.08), rgba(10, 35, 38, 0.24));
}

.detail-video-preview-play {
  position: absolute;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(15, 63, 68, 0.24);
}

.detail-video-preview-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #0f5f56;
}

.detail-video-frame-playing .detail-video-preview {
  display: none;
}.detail-video-frame video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
  background: #f5f8f7;
}
.detail-video-frame.has-video-poster video[poster] {
  background-size: cover;
  background-position: center;
}

@media (min-width: 900px) {
  .detail-video-frame {
    width: min(100%, 320px);
    max-height: 560px;
  }
}

@media (max-width: 720px) {
  .detail-video-card {
    padding: 12px;
  }

  .detail-video-frame {
    width: 100%;
    max-width: 340px;
    border-radius: 16px;
  }
}

.detail-info-stack {
  display: grid;
  gap: 8px;
}

.detail-info-row {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  background: #f7faf9;
  border: 1px solid rgba(26, 81, 86, 0.1);
  border-radius: 12px;
}

.detail-info-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-info-row strong {
  color: var(--ink);
  font-size: 14px;
  text-transform: capitalize;
}

.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-check-list,
.nearby-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-check-list li,
.nearby-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.detail-check-list li::before,
.nearby-list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-dark);
  border-radius: 999px;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-chip {
  padding: 9px 12px;
  color: var(--brand-dark);
  background: #f5f8f7;
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 999px;
  font-weight: 800;
}

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 18px;
  overflow: hidden;
  background: #f1f5f5;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.detail-tabs button {
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.detail-tabs .active {
  color: var(--brand-dark);
  background: #dff4ef;
}

.detail-tab-panels {
  display: block;
}

.detail-tab-panel {
  display: none;
}

.detail-tab-panel.active {
  display: block;
}

.detail-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 750;
}

.detail-feature-list li span {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-dark);
  background: rgba(12, 181, 127, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.detail-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.detail-table h4 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 14px;
}

.detail-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 81, 86, 0.09);
}

.detail-table-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.detail-table-row strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-transform: capitalize;
}

.detail-feature-card {
  margin-top: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.13);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(16, 39, 42, 0.06);
}

.detail-feature-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-feature-card-head h3 {
  margin: 0;
  font-size: 15px;
}

.detail-feature-card-head span {
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
}

.detail-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-feature-tags span {
  padding: 7px 9px;
  color: var(--brand-dark);
  background: rgba(12, 181, 127, 0.12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.detail-more-features {
  display: block;
  margin: 18px auto 0;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}

.detail-nearby-card {
  margin-top: 0;
  padding: 20px;
  background: #f7faf9;
  border: 1px solid rgba(26, 81, 86, 0.13);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16, 39, 42, 0.05);
}

.detail-nearby-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-nearby-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.detail-nearby-card-head p {
  max-width: 520px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.detail-nearby-card-head span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.detail-nearby-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 10px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(26, 81, 86, 0.1);
  list-style: none;
}

.detail-nearby-tags li {
  position: relative;
  min-height: 24px;
  display: flex;
  align-items: center;
  padding: 0 0 0 22px;
  color: var(--muted);
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.detail-nearby-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-dark);
  border-radius: 999px;
}

.detail-nearby-tags li::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
}

.detail-map-preview {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  color: var(--brand-dark);
  background:
    radial-gradient(circle at 28% 38%, rgba(12, 181, 127, 0.2) 0 48px, transparent 49px),
    radial-gradient(circle at 72% 52%, rgba(26, 81, 86, 0.18) 0 62px, transparent 63px),
    linear-gradient(135deg, #eef6f2, #dde9e5);
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 16px;
}

.detail-real-map,
.detail-map-fallback {
  position: absolute;
  inset: 0;
}

.detail-real-map {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.detail-map-fallback {
  z-index: 0;
}

.detail-leaflet-ready .detail-real-map {
  opacity: 1;
  pointer-events: auto;
}

.detail-leaflet-ready .detail-map-fallback {
  opacity: 0;
}

.property-detail-page .detail-map-preview {
  min-height: 360px;
}

.oryon-detail-map-marker {
  background: transparent;
  border: 0;
}

.oryon-detail-map-marker span {
  position: relative;
  width: 30px;
  height: 30px;
  display: block;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  transform: rotate(-45deg);
}

.oryon-detail-map-marker span::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.detail-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(26, 81, 86, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 81, 86, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
}

.detail-map-pin {
  position: absolute;
  top: 36%;
  left: 54%;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: rotate(-45deg);
}

.detail-map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.detail-map-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 520px;
  padding: 14px 16px;
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(17, 24, 28, 0.08);
}

.detail-map-copy strong {
  font-size: 20px;
  font-weight: 900;
}

.detail-map-copy small,
.detail-map-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.nearby-heading {
  margin: 18px 0 10px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
}

.nearby-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.detail-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-service-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 22px 18px;
  background: #f3faf8;
  border: 1px solid rgba(26, 81, 86, 0.08);
  border-radius: 14px;
  text-align: center;
}

.detail-service-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(12, 181, 127, 0.12);
  border-radius: 999px;
}

.detail-service-card > span::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5.5v6.7c0 5 3.4 8 8 9.8 4.6-1.8 8-4.8 8-9.8V5.5L12 2Zm0 2.2 6 2.6v5.4c0 3.8-2.4 6.1-6 7.6-3.6-1.5-6-3.8-6-7.6V6.8l6-2.6Zm3.6 5.1-4.4 4.4-2-2-1.4 1.4 3.4 3.4L17 10.7l-1.4-1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5.5v6.7c0 5 3.4 8 8 9.8 4.6-1.8 8-4.8 8-9.8V5.5L12 2Zm0 2.2 6 2.6v5.4c0 3.8-2.4 6.1-6 7.6-3.6-1.5-6-3.8-6-7.6V6.8l6-2.6Zm3.6 5.1-4.4 4.4-2-2-1.4 1.4 3.4 3.4L17 10.7l-1.4-1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.detail-service-card h3 {
  margin: 0;
  font-size: 16px;
}

.detail-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.detail-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-similar-card {
  display: grid;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 39, 42, 0.06);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.detail-similar-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #dfe8e5;
}

.detail-similar-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-similar-body {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.detail-similar-body small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-similar-body strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.detail-similar-body em {
  color: var(--brand);
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
}

.detail-final-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 24px 26px;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(12, 181, 127, 0.12), transparent 42%),
    #fff;
  border: 1px solid rgba(26, 81, 86, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(16, 39, 42, 0.06);
  overflow: hidden;
  position: relative;
}

.detail-final-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}

.detail-final-cta h3 {
  max-width: 620px;
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1.2;
}

.detail-final-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.detail-final-cta .eyebrow {
  color: var(--gold);
}

.detail-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-final-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--brand-dark);
  background: #f7faf9;
  border: 1px solid rgba(26, 81, 86, 0.14);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.detail-final-actions a:last-child {
  color: #fff;
  background: var(--accent-dark);
}

.detail-contact-card {
  align-self: start;
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
}

.detail-side-contact {
  padding: 22px;
  background: #f7faf9;
  border: 1px solid rgba(26, 81, 86, 0.14);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(16, 39, 42, 0.08);
}

.detail-side-price {
  margin: 0;
  color: var(--brand-dark);
  font-size: 23px;
  font-weight: 950;
  line-height: 1.15;
}

.detail-contact-label {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-contact-card p:not(.detail-contact-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-mini-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.1);
  border-radius: 12px;
}

.detail-mini-summary span {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: #f5f8f7;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.detail-whatsapp,
.detail-email {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
}

.detail-whatsapp {
  margin-top: 6px;
  color: #fff;
  background: var(--accent-dark);
}

.detail-email {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.15);
}

.detail-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.property-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 0;
  border-top: 0;
}

.property-price {
  margin: 0;
  color: var(--brand);
  font-weight: 850;
  font-size: 15px;
}

.property-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.view-all-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.22);
  border-radius: 999px;
  font-weight: 850;
}

.view-all-link:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 26px rgba(16, 39, 42, 0.08);
}

.home-showcase {
  width: min(1240px, calc(100% - 48px));
}

.home-showcase-head {
  align-items: center;
  margin-bottom: 28px;
}

.home-showcase-head h2 {
  max-width: 760px;
}

.head-link {
  flex: 0 0 auto;
}

.home-collections {
  display: grid;
  gap: 42px;
}

.home-collection {
  min-width: 0;
}

.collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.collection-head h3 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.12;
}

.collection-head p {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.collection-head a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

.collection-track,
.service-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.collection-track::-webkit-scrollbar,
.service-carousel::-webkit-scrollbar {
  display: none;
}

.home-property-card {
  flex: 0 0 268px;
  scroll-snap-align: start;
  border-radius: 14px;
  box-shadow: none;
}

.home-property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 39, 42, 0.08);
}

.home-property-card .property-image {
  aspect-ratio: 1 / 0.86;
  border-radius: 14px;
}

.home-property-card .property-body {
  padding: 11px 2px 0;
}

.home-property-card .property-body h3 {
  min-height: 42px;
  margin: 0 0 5px;
  color: #1f2933;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.22;
}

.home-card-location {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.home-property-card .property-price {
  margin: 0 0 8px;
  color: #202124;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.home-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #4f5f63;
  font-size: 14px;
  font-weight: 400;
}

.home-card-details .property-detail {
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.home-card-details .property-detail svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.collection-more-card {
  flex: 0 0 214px;
  min-height: 244px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(16, 39, 42, 0.08);
  scroll-snap-align: start;
  text-align: center;
}

.collection-more-card::before {
  content: "→";
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 23px;
  font-weight: 500;
}

.collection-more-card span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.collection-more-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.upcoming-band {
  margin-top: 62px;
}

.upcoming-services {
  padding-bottom: 4px;
}

.upcoming-card {
  flex: 0 0 270px;
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.86), #fff 72%);
  border: 1px solid rgba(26, 81, 86, 0.13);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(16, 39, 42, 0.05);
  scroll-snap-align: start;
}

.upcoming-card span {
  width: max-content;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: rgba(12, 181, 127, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.upcoming-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.18;
}

.upcoming-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.warm-card {
  background: linear-gradient(135deg, rgba(245, 231, 204, 0.68), #fff 74%);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  min-height: 178px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(26, 81, 86, 0.12), rgba(16, 185, 129, 0.12)),
    #d7dfdd;
}

.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.media-frame.image-missing::after {
  content: "Imagen disponible pronto";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--brand);
  font-weight: 750;
  text-align: center;
}

.service-mark {
  display: none;
}

.service-grid h3,
.service-grid p {
  margin-right: 20px;
  margin-left: 20px;
}

.service-grid h3 {
  margin-top: 18px;
}

.service-grid p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.compact {
  margin-top: 54px;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.zone-card {
  overflow: hidden;
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(16, 39, 42, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.zone-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.zone-card .media-frame {
  aspect-ratio: 4 / 3;
}

.zone-card span {
  padding: 14px 14px 4px;
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 850;
}

.zone-card small {
  min-height: 54px;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.zone-card-soon {
  opacity: 0.88;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding: 34px 36px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0, rgba(16, 185, 129, 0.12), transparent 34%),
    #fff;
  border: 1px solid rgba(20, 84, 90, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(17, 24, 28, 0.06);
}

.contact-band h2 {
  max-width: 720px;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.contact-band p:not(.eyebrow) {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
}

.contact-button-light {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid rgba(20, 84, 90, 0.18);
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  gap: 24px;
  margin: 0 auto 36px;
  padding: 28px 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.site-footer p {
  max-width: 420px;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 14px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(26, 81, 86, 0.1);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(16, 39, 42, 0.04);
}

.footer-cta h2 {
  margin-bottom: 8px;
  font-family: Lato, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 850;
}

.footer-cta p {
  margin-bottom: 0;
  font-size: 14px;
}

.footer-cta a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.footer-socials .social-link {
  color: var(--brand);
  background: rgba(26, 81, 86, 0.08);
}

.footer-socials .social-link:hover {
  background: rgba(26, 81, 86, 0.14);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 81, 86, 0.1);
  font-size: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-search-trigger,
.mobile-operation-strip,
.mobile-map-button,
.mobile-search-row,
.mobile-filter-trigger {
  display: none;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
    padding: 10px 20px 0;
  }

  .header-socials {
    display: none;
  }

  .header-categories {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-categories::-webkit-scrollbar {
    display: none;
  }

  .header-categories .search-tab {
    min-width: 86px;
    min-height: 56px;
    padding-bottom: 8px;
    font-size: 13px;
  }

  .header-categories .tab-icon {
    width: 24px;
    height: 24px;
  }

  .search-panel,
  .search-panel.mode-shortstay,
  .search-panel.mode-services {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    border-radius: 18px;
  }

  .search-panel label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-submit {
    width: 100%;
    margin-top: 8px;
  }

  .hero-content {
    padding-top: 24px;
  }

  .property-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .property-results-layout {
    width: min(1180px, calc(100% - 48px));
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .property-map,
  .map-toggle {
    display: none;
  }

  .properties-page .properties-listing {
    padding: 0;
  }

  .properties-page .property-grid,
  .properties-page.map-hidden .property-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .properties-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-socials {
    justify-self: start;
  }

  .locale-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
    background: #fff;
  }

  .site-header {
    position: static;
    min-height: auto;
    gap: 10px 12px;
    grid-template-columns: 1fr;
    padding: 18px 18px 16px;
    background: #fff;
    border-bottom: 1px solid rgba(17, 24, 28, 0.08);
    box-shadow: 0 6px 18px rgba(17, 24, 28, 0.05);
  }

  .brand {
    min-width: auto;
    justify-self: start;
  }

  .brand {
    color: var(--brand-dark);
  }

  .header-tools {
    display: none;
  }

  .header-action {
    min-width: auto;
    padding: 0 10px;
    border-radius: 999px;
  }

  .header-action span {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .locale-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .search-hero {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 22px rgba(16, 39, 42, 0.08);
  }

  .hero-content,
  .hero-message > div,
  .properties-intro,
  .category-strip,
  .content-band,
  .contact-band {
    width: min(100% - 28px, 1180px);
  }

  .service-band {
    width: 100%;
    padding: 38px 14px;
    scroll-margin-top: 170px;
  }

  .header-categories {
    display: none;
  }

  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 12px 0 0;
  }

  .mobile-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px;
  }

  .hero-message {
    padding: 24px 0 22px;
  }

  .properties-intro {
    gap: 16px;
    margin-top: 18px;
    padding-bottom: 14px;
  }

  .properties-intro h1 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.16;
    letter-spacing: 0;
  }

  .properties-intro p {
    font-size: 14px;
  }

  .properties-intro-card {
    display: none;
  }

  .listing-controls {
    width: 100%;
    margin-top: 0;
    padding: 8px 14px;
    background: #fff;
    border-top: 0;
  }

  .listing-controls .filter-open {
    display: none;
  }

  .quick-clear-filters {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 10px 22px rgba(175, 239, 61, 0.24);
  }

  .filter-open {
    min-width: 50px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .filter-open span {
    display: none;
  }

  .mobile-filter-trigger {
    width: 48px;
    min-width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 999px;
  }

  .mobile-filter-trigger svg {
    width: 22px;
    height: 22px;
  }

  .property-results-layout {
    width: 100%;
    margin-top: 26px;
  }

  .sort-control {
    min-width: 0;
    flex: 1;
    min-height: 38px;
    justify-content: space-between;
    border-radius: 9px;
  }

  .sort-control span {
    display: none;
  }

  .filter-backdrop {
    align-items: end;
    padding: 10px 8px;
  }

  .filter-dialog {
    width: min(100%, 560px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .filter-header h2 {
    font-size: 24px;
  }

  .filter-check-list.two-columns,
  .advanced-grid {
    grid-template-columns: 1fr;
  }

  .filter-field,
  .advanced-grid label {
    margin-bottom: 16px;
  }

  .filter-field input,
  .filter-range input,
  .advanced-grid select {
    min-height: 48px;
  }

  .filter-check-list label {
    min-height: 36px;
  }

  .filter-actions {
    bottom: -20px;
    margin: 20px -16px -20px;
    padding: 12px 16px;
  }

  .filter-apply {
    flex: 1;
  }

  .search-panel {
    display: none;
    padding: 8px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(9, 31, 34, 0.12);
    overflow: visible;
  }

  body.search-open .search-panel {
    display: grid;
    margin-top: 10px;
  }

  .mobile-search-trigger {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(9, 31, 34, 0.12);
    font-weight: 850;
    font-size: 16px;
    cursor: pointer;
  }

  .mobile-search-trigger svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }

  .zone-suggestions {
    position: static;
    width: 100%;
    max-height: min(270px, 42vh);
    margin-top: 8px;
    border-radius: 14px;
    box-shadow: none;
  }

  .zone-suggestions.open {
    display: grid;
  }

  .mobile-operation-strip {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    width: calc(100% + 28px);
    margin: 12px -14px 0;
    padding: 0 14px 8px;
    color: var(--muted);
    overflow-x: auto;
    scrollbar-width: none;
    max-height: 76px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 180ms ease, opacity 160ms ease, transform 180ms ease, margin 180ms ease, padding 180ms ease;
  }

  .properties-page .mobile-operation-strip {
    display: none;
  }

  .properties-page.search-open .mobile-operation-strip {
    display: flex;
  }

  body.mobile-top-compact .mobile-operation-strip {
    max-height: 42px;
    margin-top: 8px;
    padding-top: 0;
    padding-bottom: 8px;
    opacity: 1;
    transform: translateY(0);
  }

  body.mobile-top-compact .mobile-operation-strip .search-tab {
    min-height: 28px;
    align-content: end;
    padding-bottom: 7px;
  }

  body.mobile-top-compact .mobile-operation-strip .search-tab::before {
    display: none;
  }

  .mobile-operation-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-operation-strip .search-tab {
    min-width: 82px;
    width: 82px;
    min-height: 64px;
    place-items: center;
    justify-items: center;
    align-content: center;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-operation-strip .search-tab::before {
    margin: 0 auto;
    text-align: center;
    transform: translateX(2px);
  }

  .mobile-operation-strip .search-tab[data-operation="all"] {
    display: none;
  }

  .mobile-operation-strip .search-tab.active {
    color: var(--ink);
  }

  .mobile-operation-strip .search-tab.active::after {
    right: 50%;
    left: auto;
    width: 34px;
    transform: translateX(50%);
    background: var(--ink);
  }

  .search-panel label {
    min-height: 54px;
    padding: 0 16px;
  }

  .search-panel label:hover {
    border-radius: 12px;
  }

  .search-tabs {
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 0;
  }

  .locale-backdrop {
    padding: 14px;
    align-items: end;
  }

  .locale-dialog {
    max-height: calc(100vh - 28px);
    padding: 26px 20px;
    border-radius: 18px 18px 0 0;
  }

  .search-tab {
    min-width: 80px;
    min-height: 54px;
    font-size: 13px;
  }

  .tab-icon {
    width: 24px;
    height: 24px;
  }

  .search-submit {
    min-height: 50px;
  }

  .category-strip {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 14px;
    padding: 10px 14px 8px;
    gap: 10px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .category-strip::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    min-height: 34px;
    padding: 0 13px;
    background: #fff;
    border-color: transparent;
    font-size: 13px;
    font-weight: 800;
    scroll-snap-align: start;
  }

  .category-pill.active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
  }

  .content-band {
    width: 100%;
    margin-top: 20px;
  }

  .section-head {
    padding: 0 14px;
    margin-bottom: 14px;
  }

  .content-band .section-head h2,
  .service-band .section-head h2 {
    max-width: 100%;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1.12;
    white-space: nowrap;
  }

  .section-head > p,
  .section-copy {
    display: none;
  }

  body:not(.properties-page) .property-grid,
  .service-grid,
  .zone-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    padding: 0 14px 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .properties-page .property-grid,
  .properties-page.map-hidden .property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 14px 6px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .section-actions {
    justify-content: center;
    padding: 0 14px;
    margin-top: 18px;
  }

  .property-grid::-webkit-scrollbar,
  .service-grid::-webkit-scrollbar,
  .zone-grid::-webkit-scrollbar {
    display: none;
  }

  .service-grid article,
  .zone-card {
    flex: 0 0 min(74vw, 292px);
    scroll-snap-align: start;
    border-radius: 14px;
  }

  body:not(.properties-page) .property-card {
    flex: 0 0 min(74vw, 292px);
    scroll-snap-align: start;
  }

  .property-card,
  .service-grid article,
  .zone-card {
    border-radius: 14px;
  }

  .properties-page .property-card {
    width: 100%;
  }

  .property-card {
    border: 1px solid rgba(26, 81, 86, 0.12);
    box-shadow: 0 4px 14px rgba(16, 39, 42, 0.05);
  }

  .property-image,
  .zone-card .media-frame {
    overflow: hidden;
    border-radius: 14px 14px 0 0;
  }

  .property-body {
    padding: 10px 10px 12px;
  }

  .property-body h3 {
    min-height: 0;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.18;
  }

  .property-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 9px;
  }

  .property-detail {
    min-height: 42px;
    padding: 5px 3px;
    background: transparent;
    border: 0;
    font-size: 12px;
  }

  .property-detail svg {
    width: 16px;
    height: 16px;
  }

  .property-detail small {
    display: none;
  }

  .property-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 9px;
    padding-top: 0;
    border-top: 0;
  }

  .property-price {
    font-size: 15px;
  }

  .property-link {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .mobile-map-button {
    position: fixed;
    right: 50%;
    bottom: 88px;
    z-index: 76;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    color: #fff;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(17, 24, 28, 0.24);
    font-size: 14px;
    font-weight: 850;
    transform: translateX(50%);
  }

  .mobile-map-button svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
  }

  body.mobile-map-open .property-map {
    position: fixed;
    inset: 0;
    z-index: 74;
    width: 100%;
    height: 100vh;
    min-height: 0;
    display: block;
    border: 0;
  }

  body.mobile-map-open .map-surface {
    height: 100%;
  }

  body.mobile-map-open .mobile-map-button {
    bottom: 24px;
  }

  .service-grid h3,
  .service-grid p,
  .service-mark {
    margin-right: 14px;
    margin-left: 14px;
  }

  .service-mark {
    margin-top: 14px;
    margin-bottom: 10px;
  }

  .service-grid h3 {
    margin-top: 14px;
    font-size: 16px;
  }

  .service-grid p {
    font-size: 14px;
  }

  .zone-card span {
    padding: 11px 12px 3px;
    font-size: 16px;
  }

  .zone-card small {
    min-height: 44px;
    padding: 0 12px 12px;
  }

  .contact-band {
    width: min(100% - 28px, 1180px);
    padding: 24px;
    background:
      radial-gradient(circle at 8% 0, rgba(16, 185, 129, 0.12), transparent 34%),
      #fff;
  }

  .contact-button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
    justify-content: stretch;
  }

  .site-footer {
    width: min(100% - 28px, 1180px);
    padding: 24px 18px 0;
    margin-bottom: 96px;
    background: #fff;
    border: 1px solid rgba(26, 81, 86, 0.08);
    border-radius: 18px 18px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    padding: 0 0 20px;
  }

  .footer-links,
  .footer-contact {
    border-top: 1px solid rgba(26, 81, 86, 0.08);
    padding-top: 20px;
  }

  .footer-brand {
    font-size: 26px;
  }

  .site-footer p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }

  .footer-links,
  .footer-contact {
    gap: 11px;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 15px;
  }

  .footer-links a,
  .footer-contact a,
  .footer-contact span {
    font-size: 15px;
  }

  .footer-socials {
    margin-top: 14px;
    gap: 10px;
  }

  .footer-cta,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta {
    margin-top: 2px;
    padding: 20px;
  }

  .footer-cta a {
    width: 100%;
  }

  .footer-legal {
    padding-bottom: 18px;
  }

  .section-head,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(16, 39, 42, 0.1);
    backdrop-filter: blur(18px);
    transform: translateY(0);
    transition: transform 220ms ease;
    will-change: transform;
  }

  body.mobile-bottom-hidden .mobile-bottom-nav {
    transform: none;
    pointer-events: none;
    background: transparent;
    border-top-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-height: 52px;
    display: grid;
    place-items: center;
    gap: 3px;
    color: var(--muted);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 220ms ease, opacity 180ms ease, background 180ms ease, color 180ms ease;
  }

  .mobile-bottom-nav .active {
    color: var(--accent-dark);
  }

  .mobile-bottom-nav .mobile-whatsapp-nav {
    color: var(--accent-dark);
  }

  body.mobile-bottom-hidden .mobile-bottom-nav > :not(.mobile-whatsapp-nav) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 16px));
  }

  body.mobile-bottom-hidden .mobile-bottom-nav .mobile-whatsapp-nav {
    width: 52px;
    height: 52px;
    min-height: 52px;
    place-self: center;
    color: #fff;
    background: #18c56e;
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(0, 94, 56, 0.28);
    pointer-events: auto;
  }

  body.mobile-bottom-hidden .mobile-bottom-nav .mobile-whatsapp-nav span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .mobile-bottom-nav svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .floating-whatsapp {
    display: none;
  }

  .property-detail-backdrop {
    align-items: end;
    padding: 10px;
  }

  .property-detail-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }

  .property-detail-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .detail-topbar {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .property-detail-page .detail-topbar {
    position: static;
    padding: 14px 8px 10px;
    background: #f7faf9;
    pointer-events: auto;
  }

  .property-detail-page .property-detail-back-link {
    margin-left: 4px;
  }

  .property-detail-back-link {
    min-height: 38px;
    padding: 0 12px 0 10px;
    font-size: 12px;
  }

  .property-detail-back-link svg {
    width: 16px;
    height: 16px;
  }

  .detail-actions button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .detail-gallery {
    display: flex;
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .detail-gallery-button {
    right: 18px;
    bottom: 18px;
    min-height: 36px;
    font-size: 12px;
  }

  .photo-viewer-backdrop {
    padding: 10px;
  }

  .photo-viewer-modal {
    max-height: calc(100dvh - 20px);
    gap: 10px;
  }

  .photo-viewer-main {
    height: min(72dvh, 620px);
  }

  .photo-viewer-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .photo-viewer-prev {
    left: 10px;
  }

  .photo-viewer-next {
    right: 10px;
  }

  .photo-viewer-thumb {
    flex-basis: 76px;
    height: 58px;
  }

  .detail-gallery figure,
  .detail-gallery figure:first-child,
  .detail-gallery figure:nth-child(3),
  .detail-gallery figure:nth-child(4),
  .detail-gallery figure:nth-child(5) {
    flex: 0 0 82%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .detail-gallery .featured {
    grid-row: auto;
  }

  .detail-content {
    display: block;
    padding: 20px 16px 24px;
  }

  .detail-main h2 {
    font-size: 23px;
    line-height: 1.08;
  }

  .detail-price-row strong {
    font-size: 18px;
  }

  .credit-toggle {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .credit-calculator {
    padding: 18px;
  }

  .credit-calculator-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .credit-results {
    padding: 18px;
  }

  .credit-results div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .detail-support-grid {
    grid-template-columns: 1fr;
  }

  .detail-nearby-tags {
    grid-template-columns: 1fr;
  }

  .detail-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .detail-info-grid,
  .detail-cost-grid,
  .detail-service-grid,
  .detail-similar-grid,
  .detail-tables,
  .two-column-section,
  .nearby-list {
    grid-template-columns: 1fr;
  }

  .detail-feature-list {
    grid-template-columns: 1fr;
  }

  .detail-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .detail-fact-card {
    min-height: 98px;
    padding: 14px 8px;
  }

  .detail-info-row {
    min-height: 58px;
  }

  .detail-description {
    font-size: 15px;
  }

  .detail-service-card {
    min-height: 0;
    padding: 18px 14px;
  }

  .detail-final-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .detail-final-actions,
  .detail-final-actions a {
    width: 100%;
  }

  .detail-contact-card {
    position: static;
    margin-top: 24px;
    padding: 18px;
  }

  .detail-side-contact {
    display: none;
  }

  .properties-page.search-open .mobile-operation-strip {
    width: calc(100% + 28px);
    gap: 12px;
    margin: 12px -14px 0;
    padding: 4px 14px 12px;
    scroll-padding-left: 14px;
  }

  .properties-page.search-open .mobile-operation-strip .search-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(26, 81, 86, 0.1);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(16, 39, 42, 0.12);
    font-size: 15px;
    font-weight: 780;
    white-space: nowrap;
  }

  .properties-page.search-open .mobile-operation-strip .search-tab::before {
    display: inline-block;
    margin: 0;
    font-size: 20px;
    line-height: 1;
    transform: none;
  }

  .properties-page.search-open .mobile-operation-strip .search-tab.active {
    color: var(--brand-dark);
    border-color: rgba(26, 81, 86, 0.16);
    box-shadow:
      inset 0 2px 8px rgba(16, 39, 42, 0.08),
      0 8px 20px rgba(16, 39, 42, 0.1);
  }

  .properties-page.search-open .mobile-operation-strip .search-tab.active::after {
    display: none;
  }
}


body.property-detail-page #propertyDetailModal .detail-preview-nearby {
  display: none;
}















@media (max-width: 640px) {
  .home-showcase {
    margin-top: 24px;
  }

  .home-showcase-head {
    align-items: start;
    padding: 0 18px;
  }

  .home-showcase-head .head-link {
    display: none;
  }

  .home-collections {
    gap: 34px;
  }

  .collection-head {
    align-items: start;
    padding: 0 18px;
    margin-bottom: 14px;
  }

  .collection-head h3 {
    max-width: 100%;
    font-size: clamp(21px, 6vw, 26px);
    line-height: 1.08;
  }

  .collection-head p {
    display: none;
  }

  .collection-head a {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    border-color: transparent;
    background: #f4f6f5;
  }

  .collection-head a::before {
    content: "→";
    color: var(--ink);
    font-size: 20px;
  }

  .collection-track,
  .service-carousel {
    gap: 14px;
    padding: 0 18px 6px;
  }

  .home-property-card {
    flex-basis: min(72vw, 278px);
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-property-card .property-image {
    aspect-ratio: 1 / 0.86;
    border-radius: 16px;
  }

  .home-property-card .property-body h3 {
    min-height: 0;
    font-size: 16px;
    font-weight: 560;
  }

  .home-property-card .property-price {
    font-size: 17px;
  }

  .home-card-details {
    font-size: 13px;
  }

  .collection-more-card {
    flex-basis: min(58vw, 210px);
    min-height: 214px;
    border-radius: 16px;
  }

  .upcoming-band {
    margin-top: 38px;
  }

  .upcoming-band .section-head {
    display: block;
    padding: 0 18px;
  }

  .upcoming-band .section-head h2 {
    white-space: normal;
  }

  .upcoming-card {
    flex-basis: min(74vw, 292px);
    min-height: 168px;
    padding: 19px;
  }
}

@media (max-width: 640px) {
  .card-photo-nav {
    width: 32px;
    height: 32px;
    opacity: 1;
    font-size: 23px;
  }

  .card-photo-count {
    top: auto;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
  }
}

/* Ajuste visual tipo Airbnb: tarjetas mas livianas y titulos recortados */
.home-showcase-head {
  margin-bottom: 22px;
}

.home-showcase-head .eyebrow,
.home-showcase-head h2,
.home-showcase-head .section-copy {
  display: none;
}

.home-collections {
  gap: 48px;
}

.collection-head {
  align-items: center;
  margin-bottom: 18px;
}

.collection-head h3 {
  max-width: 700px;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 680;
  line-height: 1.14;
}

.collection-head p {
  display: none;
}

.collection-head a {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  background: #f4f4f4;
  border: 0;
}

.collection-head a::before {
  content: "→";
  color: #111;
  font-size: 18px;
  font-weight: 500;
}

.collection-track {
  gap: 18px;
}

.home-property-card {
  flex-basis: 250px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-property-card:hover {
  transform: none;
  box-shadow: none;
}

.home-property-card .property-image {
  aspect-ratio: 1 / 0.86;
  border-radius: 16px;
}

.home-property-card .property-body {
  padding: 10px 0 0;
}

.home-property-card .property-body h3 {
  min-height: 0;
  display: -webkit-box;
  margin-bottom: 3px;
  overflow: hidden;
  color: #202124;
  font-size: 15.5px;
  font-weight: 520;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-card-location {
  display: none;
}

.home-property-card .property-price {
  margin-top: 2px;
  color: #303436;
  font-size: 15px;
  font-weight: 430;
}

.home-card-details {
  margin-top: 4px;
  color: #61676a;
  font-size: 13.5px;
  font-weight: 400;
}

.home-card-details .property-detail:nth-child(n+3) {
  display: none;
}

.property-badge,
.property-operation {
  font-weight: 640;
}

.home-property-card .property-badge {
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: rgba(15, 55, 59, 0.74);
  font-size: 11px;
}

.home-property-card .property-operation {
  display: none;
}

.home-property-card .card-photo-count {
  display: none;
}

.home-property-card .card-photo-nav {
  width: 30px;
  height: 30px;
  color: #252525;
  background: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

@media (max-width: 640px) {
  .home-showcase {
    margin-top: 18px;
  }

  .home-showcase-head {
    display: none;
  }

  .home-collections {
    gap: 38px;
  }

  .collection-head {
    align-items: center;
    padding: 0 24px;
    margin-bottom: 14px;
  }

  .collection-head h3 {
    max-width: calc(100% - 48px);
    font-size: clamp(22px, 7.1vw, 28px);
    font-weight: 650;
    line-height: 1.08;
  }

  .collection-head a {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .collection-track {
    gap: 18px;
    padding: 0 24px 6px;
  }

  .home-property-card {
    flex-basis: min(43vw, 172px);
  }

  .home-property-card .property-image {
    aspect-ratio: 1 / 0.92;
    border-radius: 16px;
  }

  .home-property-card .property-body h3 {
    font-size: 14px;
    font-weight: 520;
    line-height: 1.18;
    -webkit-line-clamp: 2;
  }

  .home-property-card .property-price {
    font-size: 13.5px;
    line-height: 1.22;
  }

  .home-card-details {
    display: none;
  }

  .home-property-card .property-badge {
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }

  .home-property-card .card-photo-nav {
    width: 28px;
    height: 28px;
    font-size: 19px;
  }

  .card-photo-prev {
    left: 8px;
  }

  .card-photo-next {
    right: 8px;
  }
}

/* Titulos de colecciones mas discretos para priorizar tarjetas */
.collection-head {
  margin-bottom: 12px;
}

.collection-head h3 {
  max-width: 560px;
  font-size: clamp(19px, 1.45vw, 23px);
  font-weight: 620;
  line-height: 1.12;
}

@media (max-width: 640px) {
  .collection-head {
    padding: 0 24px;
    margin-bottom: 10px;
  }

  .collection-head h3 {
    max-width: calc(100% - 46px);
    font-size: clamp(21px, 5.9vw, 24px);
    font-weight: 620;
    line-height: 1.08;
  }
}

/* Mobile Airbnb refinement: header de fila compacto y fotos limpias */
@media (max-width: 640px) {
  .collection-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 24px;
    margin-bottom: 12px;
  }

  .collection-head h3 {
    flex: 1 1 auto;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.12;
  }

  .collection-head a {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    background: #f5f5f5;
    box-shadow: none;
  }

  .collection-head a::before {
    font-size: 18px;
  }

  .collection-track {
    gap: 14px;
    padding-right: 0;
    padding-left: 24px;
  }

  body:not(.properties-page) .home-property-card {
    flex: 0 0 min(44vw, 180px);
    width: min(44vw, 180px);
  }

  .home-property-card .property-image {
    aspect-ratio: 1 / 0.9;
    border-radius: 15px;
  }

  .home-property-card .card-photo-nav,
  .home-property-card .card-photo-count {
    display: none !important;
  }

  .home-property-card .property-badge {
    top: 9px;
    left: 9px;
    max-width: calc(100% - 18px);
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 620;
    background: rgba(15, 55, 59, 0.72);
  }

  .home-property-card .property-body {
    padding-top: 8px;
  }

  .home-property-card .property-body h3 {
    display: -webkit-box;
    margin-bottom: 3px;
    overflow: hidden;
    color: #222;
    font-size: 14px;
    font-weight: 520;
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-property-card .property-price {
    color: #666;
    font-size: 13px;
    font-weight: 400;
  }
}

/* Flechas limpias sin depender de glifos de texto */
.collection-head a::before,
.collection-more-card::before {
  content: "";
  width: 9px;
  height: 9px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.collection-head a::before {
  color: #111;
}

.collection-more-card::before {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  transform: none;
}

.collection-more-card::after {
  content: "";
  position: absolute;
  top: calc(50% - 36px);
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-65%, -50%) rotate(45deg);
}

.collection-more-card {
  position: relative;
}

.card-photo-nav {
  font-size: 0;
}

.card-photo-nav::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.card-photo-prev::before {
  transform: rotate(-135deg);
}

.card-photo-next::before {
  transform: rotate(45deg);
}

/* Mantener caracteristicas visibles en tarjetas de inicio */
.home-card-details .property-detail:nth-child(n+3) {
  display: inline-flex;
}

@media (max-width: 640px) {
  .home-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 5px;
    color: #667174;
    font-size: 11.5px;
    line-height: 1.2;
  }

  .home-card-details .property-detail {
    display: inline-flex;
    min-height: auto;
    gap: 3px;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: inherit;
    font-weight: 400;
  }

  .home-card-details .property-detail svg {
    width: 12px;
    height: 12px;
  }
}

/* Pulido final de carruseles tipo Airbnb: flechas limpias y fotos navegables solo en web */
.collection-title-block {
  min-width: 0;
}

.collection-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.collection-title-row h3 {
  margin: 0;
}

.collection-head .collection-title-arrow,
.collection-head .collection-corner-arrow {
  flex: 0 0 auto;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171d1f;
  background: #f5f5f5;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  text-indent: -999px;
  overflow: hidden;
}

.collection-head .collection-title-arrow {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
}

.collection-head .collection-title-arrow::before,
.collection-head .collection-corner-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.collection-head .collection-title-arrow:hover,
.collection-head .collection-corner-arrow:hover {
  background: #ecefed;
}

.home-property-card .card-photo-nav {
  width: 32px;
  height: 32px;
  opacity: 0;
  color: #202426;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.home-property-card:hover .card-photo-nav,
.home-property-card:focus-within .card-photo-nav {
  opacity: 1;
}

.home-property-card .card-photo-prev {
  left: 12px;
}

.home-property-card .card-photo-next {
  right: 12px;
}

.home-property-card .card-photo-count {
  display: none;
}

@media (max-width: 640px) {
  .collection-head {
    gap: 10px;
  }

  .collection-title-block {
    flex: 1 1 auto;
    min-width: 0;
  }

  .collection-title-row {
    gap: 8px;
  }

  .collection-title-row h3 {
    flex: 0 1 auto;
    max-width: calc(100vw - 112px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 21px;
    font-weight: 620;
  }

  .collection-head .collection-title-arrow {
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
  }

  .collection-head .collection-corner-arrow {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .home-property-card .card-photo-nav,
  .home-property-card .card-photo-count {
    display: none !important;
  }
}

/* Correccion: evitar doble flecha en la previsualizacion de tarjetas */
.card-photo-nav {
  color: #1d2729;
  font-size: 0 !important;
  line-height: 0;
}

.card-photo-nav::before {
  margin: 0;
}

.home-property-card .card-photo-nav::before {
  width: 9px;
  height: 9px;
  border-width: 2px;
}

/* Catalogo movil: foto mas protagonista y precio + consultar en una sola fila */
@media (max-width: 640px) {
  .properties-page .property-card .property-image {
    aspect-ratio: 1 / 0.86;
    border-radius: 16px 16px 0 0;
  }

  .properties-page .property-card .property-body {
    padding: 13px 12px 12px;
  }

  .properties-page .property-card .property-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
  }

  .properties-page .property-card .property-price {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .properties-page .property-card .property-link {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 12px;
  }
}

/* Carruseles: en PC la flecha de esquina desplaza; en movil solo queda la flecha de catalogo */
.collection-head .collection-corner-arrow {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.collection-head .collection-corner-arrow:focus-visible,
.collection-head .collection-title-arrow:focus-visible {
  outline: 3px solid rgba(12, 181, 127, 0.28);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .collection-head .collection-corner-arrow {
    display: none !important;
  }

  .collection-title-row {
    width: 100%;
  }

  .collection-title-row h3 {
    max-width: calc(100vw - 100px);
  }
}

/* Movil: ocultar contador de fotos en tarjetas para evitar solapes */
@media (max-width: 640px) {
  .property-card .card-photo-count {
    display: none !important;
  }
}

/* Correccion final: flecha limpia en la tarjeta Ver mas */
.collection-more-card {
  position: relative;
}

.collection-more-card::before {
  content: "" !important;
  width: 44px !important;
  height: 44px !important;
  display: block !important;
  background: var(--brand) !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform: none !important;
}

.collection-more-card::after {
  content: "" !important;
  position: absolute !important;
  top: calc(50% - 41px) !important;
  left: 50% !important;
  width: 9px !important;
  height: 9px !important;
  border-top: 2px solid #fff !important;
  border-right: 2px solid #fff !important;
  transform: translate(-65%, -50%) rotate(45deg) !important;
  background: transparent !important;
}

@media (max-width: 640px) {
  .collection-more-card::before {
    width: 40px !important;
    height: 40px !important;
  }

  .collection-more-card::after {
    top: calc(50% - 37px) !important;
    width: 8px !important;
    height: 8px !important;
  }
}

/* Ver mas: flecha estable, sin caracteres de texto */
.collection-more-card::before {
  content: "" !important;
  width: 44px !important;
  height: 44px !important;
  display: block !important;
  color: #fff !important;
  background: var(--brand) !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform: none !important;
}

.collection-more-card::after {
  content: "" !important;
  position: absolute !important;
  top: calc(50% - 41px) !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  display: block !important;
  border-top: 3px solid #fff !important;
  border-right: 3px solid #fff !important;
  background: transparent !important;
  transform: translate(-65%, -50%) rotate(45deg) !important;
}

@media (max-width: 640px) {
  .collection-more-card::before {
    width: 40px !important;
    height: 40px !important;
  }

  .collection-more-card::after {
    top: calc(50% - 37px) !important;
    width: 9px !important;
    height: 9px !important;
    border-top-width: 2.5px !important;
    border-right-width: 2.5px !important;
  }
}

/* Catalogo: titulos de tarjetas mas sutiles, cercanos a Airbnb/Mercado Libre */
.properties-page .property-card .property-body h3 {
  min-height: 0;
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  color: #202426;
  font-size: 15.5px;
  font-weight: 520;
  line-height: 1.22;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.properties-page.map-hidden .property-card .property-body h3 {
  font-size: 15px;
  font-weight: 500;
  -webkit-line-clamp: 3;
}

@media (max-width: 640px) {
  .properties-page .property-card .property-body h3 {
    margin-bottom: 7px;
    font-size: 17px;
    font-weight: 540;
    line-height: 1.18;
    -webkit-line-clamp: 2;
  }
}

/* Inicio: titulos de secciones mas aspiracionales, estilo Airbnb */
body:not(.properties-page) .collection-head {
  align-items: center;
  margin-bottom: 18px;
}

body:not(.properties-page) .collection-title-block {
  flex: 1 1 auto;
  min-width: 0;
}

body:not(.properties-page) .collection-title-row {
  align-items: center;
  gap: 10px;
}

body:not(.properties-page) .collection-title-row h3,
body:not(.properties-page) .collection-head h3 {
  max-width: min(760px, calc(100vw - 160px));
  overflow: visible;
  color: #171d1f;
  font-size: clamp(25px, 2.25vw, 34px);
  font-weight: 680;
  line-height: 1.08;
  white-space: normal;
  text-overflow: clip;
}

body:not(.properties-page) .collection-head p {
  display: block;
  max-width: 620px;
  margin-top: 7px;
  color: #667174;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  body:not(.properties-page) .collection-head {
    align-items: flex-start;
    gap: 8px;
    padding: 0 24px;
    margin-bottom: 14px;
  }

  body:not(.properties-page) .collection-title-row {
    align-items: flex-start;
    gap: 8px;
  }

  body:not(.properties-page) .collection-title-row h3,
  body:not(.properties-page) .collection-head h3 {
    flex: 1 1 auto;
    max-width: calc(100vw - 104px);
    overflow: visible;
    font-size: clamp(25px, 7.2vw, 31px);
    font-weight: 690;
    line-height: 1.08;
    white-space: normal;
    text-overflow: clip;
  }

  body:not(.properties-page) .collection-head p {
    display: block;
    max-width: calc(100vw - 72px);
    margin-top: 6px;
    color: #6a7376;
    font-size: 15px;
    line-height: 1.32;
  }

  body:not(.properties-page) .collection-head .collection-title-arrow {
    margin-top: 2px;
  }
}

/* Inicio movil: titulos aspiracionales pero menos bruscos */
@media (max-width: 640px) {
  body:not(.properties-page) .collection-head {
    margin-bottom: 12px;
  }

  body:not(.properties-page) .collection-title-row {
    align-items: flex-start;
  }

  body:not(.properties-page) .collection-title-row h3,
  body:not(.properties-page) .collection-head h3 {
    max-width: calc(100vw - 112px);
    color: #222426;
    font-size: clamp(22px, 6.15vw, 27px);
    font-weight: 620;
    line-height: 1.12;
    letter-spacing: 0;
  }

  body:not(.properties-page) .collection-head p {
    max-width: calc(100vw - 82px);
    margin-top: 7px;
    color: #6c7376;
    font-size: 14.5px;
    line-height: 1.34;
    font-weight: 400;
  }

  body:not(.properties-page) .collection-head .collection-title-arrow {
    margin-top: 0;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    background: #f5f5f5;
  }
}

/* Ajustes finales: zonas tipo catalogo y estadias temporales */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.zone-card {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}

.zone-card .media-frame {
  aspect-ratio: 1 / .78;
  border-radius: 18px;
  overflow: hidden;
  background: #eef4f2;
  border: 1px solid rgba(13, 56, 59, .08);
}

.zone-card .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zone-card span {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1vw, 1.18rem);
  font-weight: 620;
  line-height: 1.18;
}

.zone-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.35;
}

.shortstay-catalog {
  margin-top: 18px;
}

.shortstay-preview-card {
  cursor: pointer;
  touch-action: manipulation;
}

.shortstay-preview-card .property-body h3 {
  font-size: 1.02rem;
  font-weight: 560;
  line-height: 1.22;
  letter-spacing: 0;
}

.shortstay-preview-card .home-card-location {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .94rem;
}

.shortstay-preview-card .property-price {
  margin-top: 7px;
  font-size: .98rem;
  font-weight: 520;
}

.shortstay-preview-card .home-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .88rem;
}

.shortstay-more-card {
  cursor: pointer;
  touch-action: manipulation;
}

.upcoming-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 9999;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(13, 56, 59, .96);
  color: #fff;
  box-shadow: 0 18px 42px rgba(13, 56, 59, .22);
  font-weight: 650;
  text-align: center;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.upcoming-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .zone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .zone-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 24px 8px;
    margin: 0 -24px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .zone-grid::-webkit-scrollbar {
    display: none;
  }

  .zone-card {
    flex: 0 0 min(72vw, 280px);
    scroll-snap-align: start;
  }

  .zone-card .media-frame {
    border-radius: 16px;
  }

  .zone-card span {
    font-size: 1.05rem;
  }

  .shortstay-catalog {
    padding-bottom: 8px;
  }

  .upcoming-toast {
    bottom: 86px;
    border-radius: 18px;
    font-size: .95rem;
  }
}

/* Pulido visual: limpieza en catalogo y titulos del inicio en una linea */
.cleaning-catalog {
  margin-top: 18px;
}

.cleaning-preview-card {
  cursor: pointer;
  touch-action: manipulation;
}

.cleaning-preview-card .property-body h3 {
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.22;
  letter-spacing: 0;
}

.cleaning-preview-card .home-card-location {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .94rem;
}

.cleaning-preview-card .property-price {
  margin-top: 7px;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 480;
}

body:not(.properties-page) .section-head h2,
body:not(.properties-page) .home-showcase-head h2,
body:not(.properties-page) .collection-title-row h3 {
  max-width: min(100%, 980px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.properties-page) .section-head h2,
body:not(.properties-page) .home-showcase-head h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.2rem);
  line-height: 1.08;
}

body:not(.properties-page) .collection-title-row h3 {
  font-size: clamp(1.35rem, 1.75vw, 1.85rem);
  font-weight: 680;
  line-height: 1.12;
}

@media (max-width: 640px) {
  body:not(.properties-page) .section-head h2,
  body:not(.properties-page) .home-showcase-head h2,
  body:not(.properties-page) .collection-title-row h3 {
    max-width: calc(100vw - 96px);
    white-space: nowrap;
  }

  body:not(.properties-page) .section-head h2,
  body:not(.properties-page) .home-showcase-head h2 {
    font-size: 1.45rem;
  }

  body:not(.properties-page) .collection-title-row h3 {
    font-size: 1.42rem;
    font-weight: 650;
  }

  .cleaning-catalog {
    padding-bottom: 8px;
  }
}

/* Evita que la primera tarjeta de los carruseles se corte al borde izquierdo */
body:not(.properties-page) .collection-track,
body:not(.properties-page) .cleaning-catalog,
body:not(.properties-page) .shortstay-catalog {
  scroll-padding-left: clamp(18px, 3vw, 36px);
  padding-left: clamp(18px, 3vw, 36px);
  padding-right: clamp(18px, 3vw, 36px);
  margin-left: calc(clamp(18px, 3vw, 36px) * -1);
  margin-right: calc(clamp(18px, 3vw, 36px) * -1);
}

body:not(.properties-page) .collection-track > *,
body:not(.properties-page) .cleaning-catalog > *,
body:not(.properties-page) .shortstay-catalog > * {
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  body:not(.properties-page) .collection-track,
  body:not(.properties-page) .cleaning-catalog,
  body:not(.properties-page) .shortstay-catalog {
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -24px;
    margin-right: -24px;
    scroll-padding-left: 24px;
  }
}

/* Correccion: los titulos generales vuelven a respirar; solo se recortan titulos de tarjetas */
body:not(.properties-page) .section-head h2,
body:not(.properties-page) .home-showcase-head h2,
body:not(.properties-page) .collection-title-row h3 {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

body:not(.properties-page) .home-property-card .property-body h3,
body:not(.properties-page) .home-property-card .property-title,
body:not(.properties-page) .home-card-title,
body:not(.properties-page) .property-card h3 {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 560;
  line-height: 1.22;
}

@media (max-width: 640px) {
  body:not(.properties-page) .section-head h2,
  body:not(.properties-page) .home-showcase-head h2,
  body:not(.properties-page) .collection-title-row h3 {
    max-width: calc(100vw - 88px);
    white-space: normal;
  }

  body:not(.properties-page) .home-property-card .property-body h3,
  body:not(.properties-page) .home-property-card .property-title,
  body:not(.properties-page) .home-card-title,
  body:not(.properties-page) .property-card h3 {
    white-space: nowrap;
    font-size: .98rem;
    font-weight: 540;
  }
}

/* Correccion movil: nada debe iniciar fuera del borde izquierdo */
@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(.properties-page) .site-header,
  body:not(.properties-page) .hero-search-shell,
  body:not(.properties-page) .mobile-search-bar,
  body:not(.properties-page) .operation-tabs,
  body:not(.properties-page) .category-strip,
  body:not(.properties-page) .content-band,
  body:not(.properties-page) .home-showcase,
  body:not(.properties-page) .contact-band,
  body:not(.properties-page) .site-footer {
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  body:not(.properties-page) .category-strip {
    padding-left: 24px;
    padding-right: 24px;
    scroll-padding-left: 24px;
  }

  body:not(.properties-page) .collection-track,
  body:not(.properties-page) .cleaning-catalog,
  body:not(.properties-page) .shortstay-catalog {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: 0;
    margin-right: 0;
    scroll-padding-left: 24px;
    box-sizing: border-box;
  }

  body:not(.properties-page) .collection-track > :first-child,
  body:not(.properties-page) .cleaning-catalog > :first-child,
  body:not(.properties-page) .shortstay-catalog > :first-child,
  body:not(.properties-page) .category-strip > :first-child {
    margin-left: 0;
  }
}

/* Correccion escritorio: el margen especial de carruseles solo aplica en movil */
@media (min-width: 641px) {
  body:not(.properties-page) .collection-track,
  body:not(.properties-page) .cleaning-catalog,
  body:not(.properties-page) .shortstay-catalog {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    scroll-padding-left: 0;
    box-sizing: content-box;
  }
}

/* Reparacion escritorio home: tarjetas tipo Airbnb, no gigantes */
@media (min-width: 641px) {
  body:not(.properties-page) .home-collection,
  body:not(.properties-page) .collection-head,
  body:not(.properties-page) .collection-track {
    width: 100%;
    max-width: 100%;
  }

  body:not(.properties-page) .collection-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 26px;
    overflow-x: auto;
  }

  body:not(.properties-page) .collection-track > .home-property-card,
  body:not(.properties-page) .cleaning-catalog > .home-property-card,
  body:not(.properties-page) .shortstay-catalog > .home-property-card {
    flex: 0 0 250px !important;
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
  }

  body:not(.properties-page) .home-property-card .property-image {
    width: 250px !important;
    height: auto !important;
    aspect-ratio: 1 / .86 !important;
    border-radius: 16px;
  }

  body:not(.properties-page) .home-property-card .property-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }

  body:not(.properties-page) .collection-more-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }
}

/* Pulido Airbnb: fotos mas grandes, operacion visible y textos mas compactos */
@media (min-width: 641px) {
  body:not(.properties-page) .collection-track {
    gap: 24px;
  }

  body:not(.properties-page) .collection-track > .home-property-card,
  body:not(.properties-page) .cleaning-catalog > .home-property-card,
  body:not(.properties-page) .shortstay-catalog > .home-property-card {
    flex: 0 0 292px !important;
    width: 292px !important;
    max-width: 292px !important;
    min-width: 292px !important;
  }

  body:not(.properties-page) .home-property-card .property-image {
    width: 292px !important;
    aspect-ratio: 1 / .88 !important;
    border-radius: 18px;
  }
}

body:not(.properties-page) .home-property-card .property-operation {
  display: inline-flex !important;
  position: absolute;
  right: 10px;
  bottom: 10px;
  top: auto;
  left: auto;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(246, 255, 250, .94);
  color: #00855f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

body:not(.properties-page) .collection-title-block,
body:not(.properties-page) .section-head > div,
body:not(.properties-page) .home-showcase-head > div,
body:not(.properties-page) .service-head > div {
  row-gap: 0;
}

body:not(.properties-page) .collection-title-row,
body:not(.properties-page) .section-head h2,
body:not(.properties-page) .home-showcase-head h2 {
  margin-bottom: 4px;
}

body:not(.properties-page) .collection-subtitle,
body:not(.properties-page) .section-copy,
body:not(.properties-page) .home-showcase-head .section-copy {
  margin-top: 3px;
  line-height: 1.28;
}

@media (max-width: 640px) {
  body:not(.properties-page) .collection-track > .home-property-card,
  body:not(.properties-page) .cleaning-catalog > .home-property-card,
  body:not(.properties-page) .shortstay-catalog > .home-property-card {
    flex: 0 0 min(46vw, 205px) !important;
    width: min(46vw, 205px) !important;
    max-width: min(46vw, 205px) !important;
    min-width: min(46vw, 205px) !important;
  }

  body:not(.properties-page) .home-property-card .property-image {
    width: 100% !important;
    aspect-ratio: 1 / .92 !important;
    border-radius: 18px;
  }

  body:not(.properties-page) .home-property-card .property-operation {
    right: 8px;
    bottom: 8px;
    min-height: 25px;
    padding: 5px 9px;
    font-size: 10.5px;
  }

  body:not(.properties-page) .collection-title-row,
  body:not(.properties-page) .section-head h2,
  body:not(.properties-page) .home-showcase-head h2 {
    margin-bottom: 3px;
  }

  body:not(.properties-page) .collection-subtitle,
  body:not(.properties-page) .section-copy,
  body:not(.properties-page) .home-showcase-head .section-copy {
    margin-top: 2px;
    line-height: 1.24;
  }
}

/* Zonas con el mismo lenguaje visual de las secciones de catalogo */
body:not(.properties-page) #zonas {
  padding-top: clamp(34px, 4vw, 54px);
}

body:not(.properties-page) #zonas .section-head {
  margin-bottom: 14px;
}

body:not(.properties-page) #zonas .section-copy {
  display: none;
}

body:not(.properties-page) .zone-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
}

body:not(.properties-page) .zone-grid::-webkit-scrollbar {
  display: none;
}

body:not(.properties-page) .zone-card {
  flex: 0 0 292px;
  width: 292px;
  min-width: 292px;
  max-width: 292px;
  scroll-snap-align: start;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body:not(.properties-page) .zone-card .media-frame {
  width: 292px;
  aspect-ratio: 1 / .88;
  border-radius: 18px;
  border: 0;
  box-shadow: none;
}

body:not(.properties-page) .zone-card span {
  margin-top: 10px;
  color: #202124;
  font-size: 1.02rem;
  font-weight: 560;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:not(.properties-page) .zone-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Menos espacio entre titulos y descripcion, mas parecido a Airbnb */
body:not(.properties-page) .collection-head,
body:not(.properties-page) .section-head,
body:not(.properties-page) .home-showcase-head,
body:not(.properties-page) .service-head {
  row-gap: 0 !important;
  margin-bottom: 12px !important;
}

body:not(.properties-page) .collection-title-row,
body:not(.properties-page) .section-head h2,
body:not(.properties-page) .home-showcase-head h2 {
  margin-bottom: 0 !important;
}

body:not(.properties-page) .collection-subtitle,
body:not(.properties-page) .section-copy,
body:not(.properties-page) .home-showcase-head .section-copy,
body:not(.properties-page) .service-head .section-copy {
  margin-top: 2px !important;
  line-height: 1.18 !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) #zonas {
    padding-top: 30px;
  }

  body:not(.properties-page) #zonas .section-head {
    padding: 0 24px;
    margin-bottom: 12px !important;
  }

  body:not(.properties-page) #zonas .section-head h2 {
    font-size: 1.55rem;
    line-height: 1.08;
  }

  body:not(.properties-page) .zone-grid {
    gap: 14px;
    padding-left: 24px;
    padding-right: 24px;
    scroll-padding-left: 24px;
  }

  body:not(.properties-page) .zone-card {
    flex: 0 0 min(46vw, 205px);
    width: min(46vw, 205px);
    min-width: min(46vw, 205px);
    max-width: min(46vw, 205px);
  }

  body:not(.properties-page) .zone-card .media-frame {
    width: 100%;
    aspect-ratio: 1 / .92;
    border-radius: 18px;
  }

  body:not(.properties-page) .zone-card span {
    margin-top: 8px;
    font-size: .98rem;
    font-weight: 540;
  }

  body:not(.properties-page) .zone-card small {
    font-size: .88rem;
  }

  body:not(.properties-page) .collection-head,
  body:not(.properties-page) .section-head,
  body:not(.properties-page) .home-showcase-head,
  body:not(.properties-page) .service-head {
    margin-bottom: 10px !important;
  }

  body:not(.properties-page) .collection-subtitle,
  body:not(.properties-page) .section-copy,
  body:not(.properties-page) .home-showcase-head .section-copy,
  body:not(.properties-page) .service-head .section-copy {
    margin-top: 1px !important;
    line-height: 1.15 !important;
  }
}

/* Limpieza: colorimetria mas uniforme y limpia */
.cleaning-preview-card .property-image img {
  filter: saturate(.92) contrast(.98) brightness(1.03);
}

.cleaning-preview-card .property-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(13,56,59,.05));
  pointer-events: none;
}

/* Compactar espacio entre carruseles y el siguiente titulo, estilo Airbnb */
body:not(.properties-page) .home-collections {
  gap: 26px !important;
}

body:not(.properties-page) .home-collection {
  margin-top: 0 !important;
}

body:not(.properties-page) .collection-head {
  margin-bottom: 10px !important;
}

body:not(.properties-page) .collection-head p {
  margin-top: 1px !important;
  line-height: 1.18 !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) .home-collections {
    gap: 18px !important;
  }

  body:not(.properties-page) .collection-head {
    margin-bottom: 8px !important;
  }

  body:not(.properties-page) .collection-head p {
    margin-top: 0 !important;
    line-height: 1.16 !important;
  }
}

/* Ajuste fino: mas aire antes de las tarjetas y entre secciones */
body:not(.properties-page) .home-collections {
  gap: 38px !important;
}

body:not(.properties-page) .collection-head {
  margin-bottom: 18px !important;
}

body:not(.properties-page) .collection-head p {
  margin-top: 2px !important;
}

body:not(.properties-page) #zonas {
  margin-top: 8px !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) .home-collections {
    gap: 28px !important;
  }

  body:not(.properties-page) .collection-head {
    margin-bottom: 14px !important;
  }

  body:not(.properties-page) .collection-head p {
    margin-top: 1px !important;
  }
}

/* Desktop: aprovechar mejor el espacio superior del inicio */
@media (min-width: 769px) {
  body:not(.properties-page) .category-strip {
    padding-top: 34px !important;
    padding-bottom: 28px !important;
    margin-bottom: 0 !important;
  }

  body:not(.properties-page) .home-showcase {
    padding-top: 26px !important;
  }

  body:not(.properties-page) .home-showcase-head {
    margin-bottom: 0 !important;
  }

  body:not(.properties-page) .home-showcase-head .head-link {
    display: none !important;
  }

  body:not(.properties-page) .home-collections {
    margin-top: 0 !important;
  }
}

/* Admin: orden y fecha de carga */
.admin-inventory-filters select#sortFilter {
  min-width: 150px;
}

.row-imported-at {
  color: #708184;
  font-size: 11px;
  line-height: 1.15;
}

/* Ajuste final escritorio: cerrar espacio entre categorias y primera coleccion */
@media (min-width: 769px) {
  body:not(.properties-page) .category-strip {
    padding-top: 26px !important;
    padding-bottom: 12px !important;
  }

  body:not(.properties-page) .home-showcase {
    margin-top: 18px !important;
    padding-top: 0 !important;
  }
}

/* Ajuste final: limpieza compacta y zonas navegables */
@media (min-width: 981px) {
  .cleaning-catalog {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    overflow: visible;
  }

  .cleaning-preview-card {
    min-width: 0;
    width: 100%;
    flex: initial;
  }

  .cleaning-preview-card .property-image {
    aspect-ratio: 1 / 0.78;
  }

  .zone-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }

  .zone-corner-arrow {
    display: inline-flex;
  }

  .zone-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
  }

  .zone-grid::-webkit-scrollbar {
    display: none;
  }

  .zone-card {
    flex: 0 0 min(31vw, 360px);
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  .zone-corner-arrow {
    display: none;
  }
}
.zone-corner-arrow {
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #171d1f;
  background: #f5f5f5;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  text-indent: -999px;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.zone-corner-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.zone-corner-arrow:hover {
  background: #ecefed;
}
.carousel-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.fixed-carousel-arrow {
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171d1f;
  background: #f5f5f5;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  text-indent: -999px;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.fixed-carousel-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.fixed-carousel-arrow:hover {
  background: #ecefed;
}

@media (max-width: 980px) {
  .fixed-carousel-arrow {
    display: none;
  }
}
/* Limpieza: 4 tarjetas completas en escritorio */
@media (min-width: 981px) {
  body:not(.properties-page) #servicios .cleaning-catalog {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    overflow: visible !important;
    padding: 0 !important;
    margin-top: 18px !important;
    scroll-snap-type: none !important;
  }

  body:not(.properties-page) #servicios .cleaning-catalog > .cleaning-preview-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    scroll-snap-align: none !important;
  }

  body:not(.properties-page) #servicios .cleaning-preview-card .property-image {
    aspect-ratio: 1 / 0.72 !important;
    border-radius: 16px !important;
  }

  body:not(.properties-page) #servicios .cleaning-preview-card .property-body {
    padding-top: 12px !important;
  }

  body:not(.properties-page) #servicios .cleaning-preview-card .property-body h3 {
    font-size: clamp(1rem, 1vw, 1.12rem) !important;
    line-height: 1.18 !important;
    min-height: 0 !important;
  }

  body:not(.properties-page) #servicios .cleaning-preview-card .property-price,
  body:not(.properties-page) #servicios .cleaning-preview-card .home-card-location {
    font-size: .92rem !important;
    line-height: 1.25 !important;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  body:not(.properties-page) #servicios .cleaning-catalog {
    gap: 14px !important;
  }

  body:not(.properties-page) #servicios .cleaning-preview-card .property-image {
    aspect-ratio: 1 / 0.66 !important;
  }
}

/* Ajustes finales: ficha completa y mapa movil del catalogo */
.detail-mobile-photo-arrow,
.detail-mobile-photo-count {
  display: none;
}

.property-detail-page .detail-main h2 {
  font-weight: 500;
  font-size: clamp(22px, 2.05vw, 30px);
  line-height: 1.12;
}

@media (max-width: 760px) {
  .properties-page.mobile-inline-map:not(.mobile-inline-map-hidden):not(.mobile-map-open) .property-map {
    display: block;
    position: relative;
    width: 100%;
    height: 260px;
    min-height: 260px;
    margin: 0 0 18px;
    border-radius: 0;
    border: 0;
    overflow: hidden;
    order: -1;
  }

  .properties-page.mobile-inline-map:not(.mobile-map-open) .property-results-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
  }

  .properties-page.mobile-inline-map:not(.mobile-map-open) .map-surface {
    height: 260px;
  }

  .properties-page.mobile-inline-map.mobile-inline-map-hidden:not(.mobile-map-open) .property-map {
    display: block;
    height: 0;
    min-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .property-detail-page .detail-gallery {
    display: block;
    padding: 0;
    overflow: visible;
    border-radius: 0;
  }

  .property-detail-page .detail-gallery figure,
  .property-detail-page .detail-gallery figure:first-child,
  .property-detail-page .detail-gallery figure:nth-child(3),
  .property-detail-page .detail-gallery figure:nth-child(4),
  .property-detail-page .detail-gallery figure:nth-child(5) {
    display: none;
    width: 100%;
    aspect-ratio: 1 / 0.9;
    border-radius: 0 0 18px 18px;
    flex: none;
  }

  .property-detail-page .detail-gallery figure.mobile-active {
    display: block;
  }

  .property-detail-page .detail-gallery img {
    object-fit: contain;
  }

  .property-detail-page .detail-mobile-photo-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #10272a;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(16, 39, 42, 0.18);
    transform: translateY(-50%);
  }

  .property-detail-page .detail-mobile-photo-prev {
    left: 14px;
  }

  .property-detail-page .detail-mobile-photo-next {
    right: 14px;
  }

  .property-detail-page .detail-mobile-photo-arrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  .property-detail-page .detail-mobile-photo-prev::before {
    transform: rotate(-135deg);
  }

  .property-detail-page .detail-mobile-photo-next::before {
    transform: rotate(45deg);
  }

  .property-detail-page .detail-mobile-photo-count {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    color: #10272a;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(16, 39, 42, 0.14);
  }

  .property-detail-page .detail-gallery-button {
    right: 14px;
    bottom: 18px;
  }

  .property-detail-page .detail-main h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.16;
  }
}

/* Ajuste: el mapa movil se abre como vista independiente con el boton flotante */
@media (max-width: 760px) {
  body.properties-page.mobile-map-open .property-map,
  body.properties-page.map-hidden.mobile-map-open .property-map {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 74;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }

  body.properties-page.mobile-map-open .map-surface,
  body.properties-page.map-hidden.mobile-map-open .map-surface {
    height: 100vh;
  }

  body.properties-page.mobile-map-open .mobile-map-button {
    bottom: 24px;
    z-index: 90;
  }
}

/* Ajuste: mapa movil limpio, sin buscador flotante ni boton sobre la barra inferior */
@media (max-width: 760px) {
  body.properties-page.mobile-map-open .mobile-search-row,
  body.properties-page.mobile-map-open .mobile-operation-strip,
  body.properties-page.mobile-map-open .category-strip,
  body.properties-page.mobile-map-open .listing-toolbar,
  body.properties-page.mobile-map-open .property-grid,
  body.properties-page.mobile-map-open .property-results-footer {
    display: none !important;
  }

  body.properties-page.mobile-map-open .property-results-layout {
    margin: 0;
    width: 100%;
  }

  body.properties-page.mobile-map-open .property-map,
  body.properties-page.map-hidden.mobile-map-open .property-map {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100dvh;
    min-height: 100dvh;
  }

  body.properties-page.mobile-map-open .map-surface,
  body.properties-page.map-hidden.mobile-map-open .map-surface {
    height: 100dvh;
  }

  body.properties-page.mobile-map-open .mobile-map-button {
    bottom: calc(96px + env(safe-area-inset-bottom));
    transform: translateX(50%);
    box-shadow: 0 16px 36px rgba(17, 24, 28, 0.32);
  }
}

/* Ajuste: quitar lineas residuales sobre el mapa movil */
@media (max-width: 760px) {
  body.properties-page.mobile-map-open .site-header,
  body.properties-page.mobile-map-open .mobile-search-bar,
  body.properties-page.mobile-map-open .search-hero,
  body.properties-page.mobile-map-open .hero-search-shell,
  body.properties-page.mobile-map-open .properties-intro,
  body.properties-page.mobile-map-open .properties-controls,
  body.properties-page.mobile-map-open .content-band {
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.properties-page.mobile-map-open .property-map,
  body.properties-page.map-hidden.mobile-map-open .property-map {
    z-index: 100;
    background: #eef3ef;
  }

  body.properties-page.mobile-map-open .mobile-map-button {
    z-index: 130;
  }
}

/* Ajuste: eliminar bordes/sombras residuales cuando el mapa movil esta abierto */
@media (max-width: 760px) {
  body.properties-page.mobile-map-open,
  body.properties-page.mobile-map-open main,
  body.properties-page.mobile-map-open .page-shell,
  body.properties-page.mobile-map-open .properties-page-shell,
  body.properties-page.mobile-map-open .property-results-section,
  body.properties-page.mobile-map-open .property-results-layout,
  body.properties-page.mobile-map-open .property-results-main {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.properties-page.mobile-map-open .mobile-bottom-nav {
    border-top-color: transparent !important;
    box-shadow: none !important;
  }
}

/* Ajuste: titulo de ficha mas ligero y menos dominante */
.detail-main h2 {
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.12;
  font-weight: 650;
}

@media (max-width: 760px) {
  .detail-main h2 {
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.14;
    font-weight: 650;
  }
}

/* Ajuste: galerias tipo Mercado Libre, con puntitos sutiles */
.detail-gallery-button,
.detail-mobile-photo-arrow,
.detail-mobile-photo-count,
.photo-viewer-arrow {
  display: none !important;
}

.detail-photo-dots,
.card-photo-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 6;
}

.detail-photo-dots i,
.card-photo-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.detail-photo-dots i.active,
.card-photo-dots i.active {
  background: #fff;
  transform: scale(1.12);
}

.property-detail-page .property-detail-modal {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.property-detail-page .property-detail-backdrop {
  padding-inline: 0;
}

.property-detail-page .detail-main h2,
.detail-main h2 {
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.18;
  font-weight: 560;
  max-width: 720px;
}

@media (max-width: 760px) {
  .property-detail-page .property-detail-backdrop {
    padding: 0 !important;
    background: #fff;
  }

  .property-detail-page .property-detail-modal {
    width: 100vw;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .property-detail-page .detail-content {
    padding: 22px 18px 120px;
  }

  .property-detail-page .detail-main h2,
  .detail-main h2 {
    font-size: clamp(20px, 5vw, 24px);
    line-height: 1.2;
    font-weight: 560;
  }

  .property-detail-page .detail-gallery {
    border-radius: 0;
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }

  .property-detail-page .detail-gallery figure.mobile-active {
    border-radius: 0;
  }

  .property-detail-page .detail-gallery img {
    border-radius: 0;
  }

  .detail-photo-dots {
    bottom: 16px;
    background: rgba(0, 0, 0, 0.1);
  }
}

/* Ajuste: puntitos de galeria y ficha mas cercana a Mercado Libre */
.card-photo-count {
  display: none !important;
}

.property-card .card-photo-dots {
  bottom: 10px;
  padding: 4px 7px;
  background: rgba(0, 0, 0, 0.1);
}

.property-card .card-photo-dots i {
  width: 5px;
  height: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .property-card .card-photo-nav {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(12, 28, 31, 0.12);
  }
}

@media (max-width: 760px) {
  .property-card .card-photo-nav {
    display: none !important;
  }

  .property-card .card-photo-dots {
    bottom: 9px;
    gap: 5px;
    background: rgba(0, 0, 0, 0.08);
  }

  .property-card .card-photo-dots i {
    width: 5px;
    height: 5px;
  }

  .property-detail-page .detail-topbar {
    padding-inline: 18px;
  }

  .property-detail-page .detail-kicker,
  .property-detail-page .detail-property-code {
    margin-left: 0;
  }
}

/* Ajuste: estado vacio en la primera seccion filtrada del inicio */
.home-collection-empty {
  padding-bottom: 8px;
}

.home-empty-filter {
  max-width: 560px;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(16, 83, 88, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  display: grid;
  gap: 6px;
}

.home-empty-filter strong {
  font-size: 18px;
  font-weight: 650;
}

.home-empty-filter span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .home-empty-filter {
    margin-top: 12px;
    padding: 18px;
    border-radius: 16px;
  }

  .home-empty-filter strong {
    font-size: 16px;
  }
}

/* Ajuste: ficha movil con galeria deslizable y puntitos; escritorio conserva visor con flechas */
@media (min-width: 761px) {
  .detail-photo-dots {
    display: none !important;
  }

  .photo-viewer-arrow {
    display: grid !important;
  }

  .detail-gallery figure:nth-child(n+6) {
    display: none;
  }
}

@media (max-width: 760px) {
  .property-detail-page .detail-gallery,
  .detail-gallery {
    display: flex !important;
    width: 100vw;
    gap: 0;
    padding: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 0;
  }

  .property-detail-page .detail-gallery::-webkit-scrollbar,
  .detail-gallery::-webkit-scrollbar {
    display: none;
  }

  .property-detail-page .detail-gallery figure,
  .property-detail-page .detail-gallery figure:first-child,
  .property-detail-page .detail-gallery figure:nth-child(3),
  .property-detail-page .detail-gallery figure:nth-child(4),
  .property-detail-page .detail-gallery figure:nth-child(5),
  .property-detail-page .detail-gallery figure.mobile-active,
  .detail-gallery figure,
  .detail-gallery figure:first-child,
  .detail-gallery figure:nth-child(3),
  .detail-gallery figure:nth-child(4),
  .detail-gallery figure:nth-child(5),
  .detail-gallery figure.mobile-active {
    display: block !important;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    aspect-ratio: 1 / 0.92;
    margin: 0;
    border-radius: 0;
    scroll-snap-align: center;
    cursor: grab;
  }

  .property-detail-page .detail-gallery img,
  .detail-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 0;
  }

  .property-detail-page .detail-photo-dots,
  .detail-photo-dots {
    display: inline-flex !important;
    bottom: 14px;
    background: transparent;
    padding: 0;
    gap: 5px;
  }

  .property-detail-page .detail-photo-dots i,
  .detail-photo-dots i {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  }

  .property-detail-page .detail-photo-dots i.active,
  .detail-photo-dots i.active {
    background: #fff;
  }

  .property-detail-page .photo-viewer-arrow,
  .photo-viewer-arrow {
    display: none !important;
  }
}

/* Ajuste: ventana movil de maximo 5 punticos, con un punto real por foto */
.photo-dot-hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .property-detail-page .detail-gallery,
  .detail-gallery {
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    cursor: grab;
  }

  .property-detail-page .detail-gallery figure,
  .detail-gallery figure {
    scroll-snap-stop: always;
  }

  .property-detail-page .detail-gallery img,
  .detail-gallery img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }
}

/* Ajuste: punticos de posicion tambien en el visor web de fotos */
.photo-viewer-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  pointer-events: none;
  transform: translateX(-50%);
}

.photo-viewer-dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.photo-viewer-dots i.active {
  background: #fff;
  transform: scale(1.12);
}

@media (max-width: 760px) {
  .photo-viewer-dots {
    bottom: 14px;
    background: transparent;
    padding: 0;
  }
}
/* Ajuste movil: inicio sin previsualizacion; catalogo con carrusel por deslizamiento */
@media (max-width: 760px) {
  body:not(.properties-page) .home-property-card .card-photo-dots,
  body:not(.properties-page) .home-property-card .card-photo-nav {
    display: none !important;
  }

  body.properties-page .property-card .property-photo-slider {
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
  }

  body.properties-page .property-card .card-photo-track {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  body:not(.properties-page) .home-property-card .card-photo-track {
    overflow: hidden;
  }

  body.properties-page .property-card [data-card-photo] {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }
}






/* Ajuste final: ficha de propiedad sin recorte en galeria y video */
.property-detail-page .detail-gallery figure {
  background: #fff !important;
}

.property-detail-page .detail-gallery img {
  object-fit: contain !important;
  background: #fff !important;
}

@media (max-width: 760px) {
  .property-detail-page .detail-gallery {
    width: 100vw !important;
    max-width: 100vw !important;
    background: #fff !important;
  }

  .property-detail-page .detail-gallery figure,
  .property-detail-page .detail-gallery figure:first-child,
  .property-detail-page .detail-gallery figure:nth-child(3),
  .property-detail-page .detail-gallery figure:nth-child(4),
  .property-detail-page .detail-gallery figure:nth-child(5),
  .property-detail-page .detail-gallery figure.mobile-active {
    aspect-ratio: 4 / 3 !important;
    background: #fff !important;
  }

  .property-detail-page .detail-gallery img {
    object-fit: contain !important;
    background: #fff !important;
  }
}

@media (min-width: 900px) {
  .detail-video-frame {
    width: min(100%, 292px) !important;
    max-height: 520px !important;
  }
}

/* Ajuste: catalogo movil con imagenes mas protagonistas */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .property-results-main {
    padding-inline: 0 !important;
  }

  body.properties-page:not(.property-detail-page) .property-grid,
  body.properties-page.map-hidden:not(.property-detail-page) .property-grid {
    gap: 24px !important;
    padding: 0 12px 18px !important;
  }

  body.properties-page:not(.property-detail-page) .property-card {
    width: 100% !important;
    max-width: none !important;
    border-radius: 18px !important;
    overflow: hidden;
    position: relative;
}

  body.properties-page:not(.property-detail-page) .property-image {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 0.86 !important;
    border-radius: 18px 18px 0 0 !important;
  }

  body.properties-page:not(.property-detail-page) .property-photo-slider,
  body.properties-page:not(.property-detail-page) .property-photo-slider .card-photo-track,
  body.properties-page:not(.property-detail-page) .property-photo-slider .card-photo-track img,
  body.properties-page:not(.property-detail-page) .property-image > img {
    height: 100% !important;
    min-height: 100% !important;
  }

  body.properties-page:not(.property-detail-page) .property-image img,
  body.properties-page:not(.property-detail-page) .property-photo-slider .card-photo-track img {
    object-fit: cover !important;
  }

  body.properties-page:not(.property-detail-page) .property-body {
    padding: 13px 14px 16px !important;
  }
}

/* Ajuste: evitar franjas grises en carruseles de tarjetas */
.property-photo-slider .card-photo-track img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: #fff !important;
}

.property-card .property-image,
.home-property-card .property-image {
  background: #fff !important;
}

/* Ajuste: foto protagonista sin ocultar datos de la tarjeta en catalogo movil */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .property-image {
    aspect-ratio: 1 / 0.78 !important;
    max-height: min(64vh, 430px) !important;
  }

  body.properties-page:not(.property-detail-page) .property-body,
  body.properties-page:not(.property-detail-page) .property-footer,
  body.properties-page:not(.property-detail-page) .property-meta {
    display: grid;
    visibility: visible !important;
  }

  body.properties-page:not(.property-detail-page) .property-footer {
    display: flex !important;
  }
}

/* Ajuste: catalogo movil con foto grande e informacion visible */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .property-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
  }

  body.properties-page:not(.property-detail-page) .property-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 0.78 !important;
    overflow: hidden !important;
  }

  body.properties-page:not(.property-detail-page) .property-body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 13px 14px 16px !important;
    overflow: visible !important;
  }

  body.properties-page:not(.property-detail-page) .property-body h3,
  body.properties-page:not(.property-detail-page) .property-price,
  body.properties-page:not(.property-detail-page) .property-meta,
  body.properties-page:not(.property-detail-page) .property-footer {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
  }

  body.properties-page:not(.property-detail-page) .property-meta {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  body.properties-page:not(.property-detail-page) .property-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
}

/* Ajuste fino: catalogo movil con imagen un poco mas grande sin ocultar informacion */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .property-grid,
  body.properties-page.map-hidden:not(.property-detail-page) .property-grid {
    padding-inline: 10px !important;
    gap: 22px !important;
  }

  body.properties-page:not(.property-detail-page) .property-card {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.properties-page:not(.property-detail-page) .property-image {
    aspect-ratio: 1 / 0.94 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.properties-page:not(.property-detail-page) .property-body {
    display: block !important;
    padding: 13px 14px 16px !important;
    overflow: visible !important;
  }

  body.properties-page:not(.property-detail-page) .property-body h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
}

/* Ajuste fino: centrar fotos grandes del catalogo movil */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .property-image img,
  body.properties-page:not(.property-detail-page) .property-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* Ajuste final: tarjeta movil centrada, imagen grande e informacion visible */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .properties-content,
  body.properties-page:not(.property-detail-page) .properties-results,
  body.properties-page:not(.property-detail-page) .property-grid {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.properties-page:not(.property-detail-page) .property-grid,
  body.properties-page.map-hidden:not(.property-detail-page) .property-grid {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    padding-inline: 18px !important;
    gap: 24px !important;
  }

  body.properties-page:not(.property-detail-page) .property-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 680px !important;
    margin-inline: auto !important;
    overflow: hidden !important;
  }

  body.properties-page:not(.property-detail-page) .property-image {
    width: 100% !important;
    aspect-ratio: 1 / 0.88 !important;
    border-radius: 22px 22px 0 0 !important;
    background: #fff !important;
  }

  body.properties-page:not(.property-detail-page) .property-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.properties-page:not(.property-detail-page) .property-body,
  body.properties-page:not(.property-detail-page) .property-footer {
    box-sizing: border-box !important;
    width: 100% !important;
  }
}

/* Ajuste final: recuperar tamano anterior de imagen y centrar tarjeta movil */
@media (max-width: 760px) {
  body.properties-page:not(.property-detail-page) .properties-results,
  body.properties-page:not(.property-detail-page) .property-grid {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    overflow-x: hidden !important;
  }

  body.properties-page:not(.property-detail-page) .property-grid,
  body.properties-page.map-hidden:not(.property-detail-page) .property-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    padding-inline: 14px !important;
    gap: 24px !important;
  }

  body.properties-page:not(.property-detail-page) .property-card {
    box-sizing: border-box !important;
    width: min(100%, 680px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-inline: auto !important;
    overflow: hidden !important;
  }

  body.properties-page:not(.property-detail-page) .property-image {
    width: 100% !important;
    aspect-ratio: 1 / 0.94 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 22px 22px 0 0 !important;
    background: #fff !important;
  }

  body.properties-page:not(.property-detail-page) .property-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* Ajuste final: quitar franjas en imagenes de zonas estrategicas */
body:not(.properties-page) #zonas .zone-card .media-frame,
body:not(.properties-page) #zonas .zone-card picture,
body:not(.properties-page) #zonas .zone-card figure {
  background: #fff !important;
  overflow: hidden !important;
}

body:not(.properties-page) #zonas .zone-card .media-frame img,
body:not(.properties-page) #zonas .zone-card img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 760px) {
  body:not(.properties-page) #zonas .zone-card .media-frame {
    aspect-ratio: 1 / 0.78 !important;
  }
}

/* Tarjeta Ver mas dinamica tipo Airbnb */
.collection-more-card {
  flex: 0 0 214px !important;
  min-height: 244px !important;
  padding: 22px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: #fff !important;
  border: 1px solid rgba(12, 42, 45, 0.08) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 34px rgba(16, 39, 42, 0.10) !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.collection-more-card::before,
.collection-more-card::after {
  content: none !important;
  display: none !important;
}

.more-card-photos {
  position: relative;
  width: 106px;
  height: 82px;
  display: block;
  margin-bottom: 2px;
}

.more-card-photo {
  position: absolute;
  width: 64px;
  height: 52px;
  object-fit: cover;
  object-position: center center;
  border: 4px solid #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(16, 39, 42, 0.18);
  background: #eef4f2;
}

.more-card-photo-1 {
  left: 4px;
  bottom: 8px;
  transform: rotate(-8deg);
  z-index: 2;
}

.more-card-photo-2 {
  right: 2px;
  top: 4px;
  transform: rotate(7deg);
  z-index: 3;
}

.more-card-photo-3 {
  left: 28px;
  top: 20px;
  transform: rotate(1deg);
  z-index: 1;
  opacity: 0.92;
}

.collection-more-card strong {
  color: var(--ink) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.collection-more-card small {
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

.collection-more-card:hover,
.collection-more-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(16, 39, 42, 0.14) !important;
}

@media (max-width: 760px) {
  .collection-more-card {
    flex-basis: 178px !important;
    min-height: 210px !important;
    border-radius: 20px !important;
  }

  .more-card-photos {
    width: 96px;
    height: 74px;
  }

  .more-card-photo {
    width: 58px;
    height: 48px;
  }
}

/* Ajuste final: fotos de tarjetas sin franjas grises en web y movil */
body:not(.property-detail-page) .property-card .property-image,
body:not(.property-detail-page) .home-property-card .property-image,
body:not(.property-detail-page) .property-photo-slider,
body:not(.property-detail-page) .property-photo-slider .card-photo-track,
body:not(.property-detail-page) .property-photo-slider .card-photo-slide {
  background: #fff !important;
  overflow: hidden !important;
}

body:not(.property-detail-page) .property-card .property-image > img,
body:not(.property-detail-page) .home-property-card .property-image > img,
body:not(.property-detail-page) .property-photo-slider .card-photo-track img,
body:not(.property-detail-page) .property-photo-slider .card-photo-slide img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #fff !important;
}

body:not(.property-detail-page) .property-card .property-image picture,
body:not(.property-detail-page) .home-property-card .property-image picture {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: #fff !important;
}

body:not(.property-detail-page) .property-card .property-image picture img,
body:not(.property-detail-page) .home-property-card .property-image picture img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Refuerzo: imagenes de home, servicios, estadias y zonas siempre llenan su marco */
body:not(.properties-page) .collection-track .property-image,
body:not(.properties-page) .cleaning-preview-card .property-image,
body:not(.properties-page) .service-card .media-frame,
body:not(.properties-page) .stay-card .property-image,
body:not(.properties-page) .zone-card .media-frame {
  background: #fff !important;
  overflow: hidden !important;
}

body:not(.properties-page) .collection-track .property-image img,
body:not(.properties-page) .cleaning-preview-card .property-image img,
body:not(.properties-page) .service-card .media-frame img,
body:not(.properties-page) .stay-card .property-image img,
body:not(.properties-page) .zone-card .media-frame img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body:not(.properties-page) .collection-track .property-photo-track,
body:not(.properties-page) .collection-track .card-photo-track,
body:not(.properties-page) .collection-track .card-photo-slide {
  background: #fff !important;
}

/* Correccion movil: recuperar fotos visibles en tarjetas y carrusel tactil */
@media (max-width: 760px) {
  body:not(.property-detail-page) .property-card .property-image,
  body:not(.property-detail-page) .home-property-card .property-image {
    display: block !important;
    position: relative !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  body:not(.property-detail-page) .property-card .property-photo-slider .card-photo-track,
  body:not(.property-detail-page) .home-property-card .property-photo-slider .card-photo-track {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    background: #fff !important;
  }

  body:not(.property-detail-page) .property-card .property-photo-slider .card-photo-track img,
  body:not(.property-detail-page) .home-property-card .property-photo-slider .card-photo-track img,
  body:not(.property-detail-page) .property-card .property-image > img,
  body:not(.property-detail-page) .home-property-card .property-image > img {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body:not(.property-detail-page) .property-card .property-photo-slider .card-photo-track::-webkit-scrollbar,
  body:not(.property-detail-page) .home-property-card .property-photo-slider .card-photo-track::-webkit-scrollbar {
    display: none !important;
  }
}

/* Ajuste fino: en home movil se deslizan tarjetas, no fotos internas */
@media (max-width: 760px) {
  body:not(.properties-page) .home-property-card .property-photo-slider .card-photo-track {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    scroll-snap-type: none !important;
    touch-action: pan-x pan-y !important;
    pointer-events: none !important;
  }

  body:not(.properties-page) .home-property-card .property-photo-slider .card-photo-track img {
    display: none !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body:not(.properties-page) .home-property-card .property-photo-slider .card-photo-track img:first-child {
    display: block !important;
  }

  body:not(.properties-page) .home-property-card .card-photo-dots,
  body:not(.properties-page) .home-property-card .card-photo-nav {
    display: none !important;
  }

  body:not(.properties-page) .collection-track,
  body:not(.properties-page) .cleaning-catalog,
  body:not(.properties-page) .shortstay-catalog {
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
  }
}

/* Ajuste fino: tarjeta Ver mas con proporciones de tarjeta de propiedad */
body:not(.properties-page) .collection-more-card {
  flex: 0 0 292px !important;
  width: 292px !important;
  min-width: 292px !important;
  max-width: 292px !important;
  min-height: 304px !important;
  aspect-ratio: 1 / 1.04 !important;
  padding: 22px !important;
}

body:not(.properties-page) .collection-more-card .more-card-photos,
body:not(.properties-page) .collection-more-card .more-card-photo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body:not(.properties-page) .collection-more-card .more-card-photos {
  width: 138px !important;
  height: 108px !important;
}

body:not(.properties-page) .collection-more-card .more-card-photo {
  width: 84px !important;
  height: 68px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 760px) {
  body:not(.properties-page) .collection-more-card {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    min-height: 258px !important;
    aspect-ratio: 1 / 1.03 !important;
    border-radius: 22px !important;
  }

  body:not(.properties-page) .collection-more-card .more-card-photos {
    width: 124px !important;
    height: 96px !important;
  }

  body:not(.properties-page) .collection-more-card .more-card-photo {
    width: 76px !important;
    height: 62px !important;
  }
}

/* Ajuste final: tarjeta Ver mas tipo Airbnb con miniaturas visibles */
body:not(.properties-page) .collection-more-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 79, 67, 0.08) !important;
  box-shadow: 0 12px 34px rgba(15, 39, 42, 0.10) !important;
  overflow: hidden !important;
}

body:not(.properties-page) .collection-more-card::before,
body:not(.properties-page) .collection-more-card::after {
  content: none !important;
  display: none !important;
}

body:not(.properties-page) .collection-more-card .more-card-photos {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 138px !important;
  height: 108px !important;
  margin: 0 0 4px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:not(.properties-page) .collection-more-card .more-card-photo {
  position: absolute !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 84px !important;
  height: 68px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 4px solid #fff !important;
  border-radius: 13px !important;
  box-shadow: 0 8px 18px rgba(16, 39, 42, 0.18) !important;
  background: #eef4f2 !important;
}

body:not(.properties-page) .collection-more-card .more-card-photo-1 {
  left: 0 !important;
  bottom: 9px !important;
  transform: rotate(-8deg) !important;
  z-index: 2 !important;
}

body:not(.properties-page) .collection-more-card .more-card-photo-2 {
  right: 0 !important;
  top: 2px !important;
  transform: rotate(7deg) !important;
  z-index: 3 !important;
}

body:not(.properties-page) .collection-more-card .more-card-photo-3 {
  left: 31px !important;
  top: 28px !important;
  transform: rotate(1deg) !important;
  z-index: 1 !important;
  opacity: 0.94 !important;
}

body:not(.properties-page) .collection-more-card strong,
body:not(.properties-page) .collection-more-card small {
  position: relative !important;
  z-index: 5 !important;
}

@media (max-width: 760px) {
  body:not(.properties-page) .collection-more-card {
    flex: 0 0 236px !important;
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    min-height: 244px !important;
    aspect-ratio: 1 / 1.03 !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  body:not(.properties-page) .collection-more-card .more-card-photos {
    width: 126px !important;
    height: 96px !important;
  }

  body:not(.properties-page) .collection-more-card .more-card-photo {
    width: 78px !important;
    height: 62px !important;
  }
}

/* Ajuste movil paso 1: cabecero Oryon con slogan y logo separado */
.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  order: 2;
}

.brand-tagline {
  display: none;
}

.brand .brand-mark {
  order: 1;
}

@media (max-width: 640px) {
  body:not(.properties-page) .site-header,
  .properties-page .site-header,
  .property-detail-page .site-header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 134px !important;
    padding: 34px 26px 24px !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(17, 24, 28, 0.06) !important;
    box-shadow: 0 8px 24px rgba(17, 24, 28, 0.045) !important;
  }

  body:not(.properties-page) .site-header .brand,
  .properties-page .site-header .brand,
  .property-detail-page .site-header .brand {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    color: #0f4f43 !important;
  }

  body:not(.properties-page) .site-header .brand-copy,
  .properties-page .site-header .brand-copy,
  .property-detail-page .site-header .brand-copy {
    order: 1 !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  body:not(.properties-page) .site-header .brand-word,
  .properties-page .site-header .brand-word,
  .property-detail-page .site-header .brand-word {
    font-size: 42px !important;
    line-height: 0.92 !important;
    font-weight: 800 !important;
    letter-spacing: -0.055em !important;
    color: #0f4f43 !important;
  }

  body:not(.properties-page) .site-header .brand-tagline,
  .properties-page .site-header .brand-tagline,
  .property-detail-page .site-header .brand-tagline {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: #0f4f43 !important;
    opacity: 0.96 !important;
  }

  body:not(.properties-page) .site-header .brand-tagline strong,
  .properties-page .site-header .brand-tagline strong,
  .property-detail-page .site-header .brand-tagline strong {
    color: #8cc63f !important;
    font-weight: 800 !important;
  }

  body:not(.properties-page) .site-header .brand-mark,
  .properties-page .site-header .brand-mark,
  .property-detail-page .site-header .brand-mark {
    order: 2 !important;
    width: 52px !important;
    height: 52px !important;
    margin-top: 2px !important;
    color: #b9e84d !important;
  }

  body:not(.properties-page) .site-header .brand-mark circle,
  body:not(.properties-page) .site-header .brand-mark .logo-house,
  .properties-page .site-header .brand-mark circle,
  .properties-page .site-header .brand-mark .logo-house,
  .property-detail-page .site-header .brand-mark circle,
  .property-detail-page .site-header .brand-mark .logo-house {
    stroke: #b9e84d !important;
    stroke-width: 3.8 !important;
  }

  body:not(.properties-page) .site-header .brand-mark .logo-orbit,
  .properties-page .site-header .brand-mark .logo-orbit,
  .property-detail-page .site-header .brand-mark .logo-orbit {
    display: none !important;
  }

  body:not(.properties-page) .site-header .brand-mark .logo-spark,
  .properties-page .site-header .brand-mark .logo-spark,
  .property-detail-page .site-header .brand-mark .logo-spark {
    fill: #b9e84d !important;
  }
}

/* Ajuste movil paso 1b: cabecero Oryon fiel a la referencia */
@media (max-width: 920px) {
  .site-header {
    min-height: 124px !important;
    padding: 32px 24px 22px !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(17, 24, 28, 0.06) !important;
    box-shadow: 0 8px 24px rgba(17, 24, 28, 0.045) !important;
  }

  .site-header .brand {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    color: #0f4f43 !important;
  }

  .site-header .brand-copy {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .site-header .brand-word {
    display: block !important;
    font-size: clamp(38px, 10vw, 46px) !important;
    line-height: 0.92 !important;
    font-weight: 820 !important;
    letter-spacing: -0.06em !important;
    color: #0f4f43 !important;
  }

  .site-header .brand-tagline {
    display: block !important;
    font-size: clamp(13px, 3.7vw, 16px) !important;
    line-height: 1.15 !important;
    font-weight: 560 !important;
    letter-spacing: -0.015em !important;
    color: #0f4f43 !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }

  .site-header .brand-tagline strong {
    color: #b9e84d !important;
    font-weight: 820 !important;
  }

  .site-header .brand-mark {
    order: 2 !important;
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    margin: 0 !important;
    color: #b9e84d !important;
  }

  .site-header .brand-mark circle,
  .site-header .brand-mark .logo-house {
    stroke: #b9e84d !important;
    stroke-width: 3.8 !important;
  }

  .site-header .brand-mark .logo-orbit {
    display: none !important;
    opacity: 0 !important;
    stroke: transparent !important;
  }

  .site-header .brand-mark .logo-spark {
    fill: #b9e84d !important;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .site-header .brand-word {
    font-size: 40px !important;
  }

  .site-header .brand-tagline {
    font-size: 14px !important;
  }

  .site-header .brand-mark {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }
}

/* Ajuste logo lima: casa mas grande y puerta visible */
.site-header .brand-mark .logo-house {
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 920px) {
  .site-header .brand-mark .logo-house {
    stroke-width: 4.1 !important;
  }

  .site-header .brand-mark .logo-door {
    stroke-width: 3.7 !important;
  }

  .site-header .brand-mark .logo-spark {
    transform-box: fill-box !important;
    transform-origin: center !important;
    transform: scale(1.05) !important;
  }
}

/* Ajuste logo lima 2: trazo mas fino, casa mayor y puerta sin base */
.site-header .brand-mark circle,
.site-header .brand-mark .logo-house {
  fill: none !important;
  stroke: #b9e84d !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.site-header .brand-mark circle {
  stroke-width: 3.1 !important;
}

.site-header .brand-mark .logo-house {
  stroke-width: 3.05 !important;
}

.site-header .brand-mark .logo-door {
  stroke-width: 2.85 !important;
}

.site-header .brand-mark .logo-spark {
  fill: #b9e84d !important;
}

@media (max-width: 920px) {
  .site-header .brand-mark circle {
    stroke-width: 3 !important;
  }

  .site-header .brand-mark .logo-house {
    stroke-width: 2.95 !important;
  }

  .site-header .brand-mark .logo-door {
    stroke-width: 2.75 !important;
  }
}

/* Ajuste movil paso 2: buscador, acciones y chips tipo app */
@media (max-width: 640px) {
  body:not(.properties-page) .search-hero {
    padding: 18px 22px 14px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.properties-page) .hero-content {
    gap: 0 !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    position: relative !important;
    justify-content: flex-start !important;
    min-height: 64px !important;
    padding: 0 58px 0 26px !important;
    border: 0 !important;
    border-radius: 32px !important;
    background: #fff !important;
    color: #788184 !important;
    box-shadow: 0 12px 30px rgba(15, 79, 67, .12) !important;
    font-size: 0 !important;
    font-weight: 500 !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 25px !important;
    height: 25px !important;
    color: #6aa84f !important;
    fill: currentColor !important;
    flex: 0 0 auto !important;
    margin-right: 18px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span {
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: #7b8588 !important;
    white-space: nowrap !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    content: 'Buscar por barrio, edificio o c\\00F3digo...';
  }

  body:not(.properties-page) .mobile-search-trigger span {
    color: transparent !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    color: #7b8588 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    content: '' !important;
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    width: 28px !important;
    height: 28px !important;
    transform: translateY(-50%) !important;
    background: #6aa84f !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h9.2a2.7 2.7 0 0 0 5.2 0H20V5h-1.6a2.7 2.7 0 0 0-5.2 0H4v2Zm11.8-.1a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8ZM4 13h1.6a2.7 2.7 0 0 0 5.2 0H20v-2h-9.2a2.7 2.7 0 0 0-5.2 0H4v2Zm4.2-.1a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8ZM4 19h9.2a2.7 2.7 0 0 0 5.2 0H20v-2h-1.6a2.7 2.7 0 0 0-5.2 0H4v2Zm11.8-.1a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h9.2a2.7 2.7 0 0 0 5.2 0H20V5h-1.6a2.7 2.7 0 0 0-5.2 0H4v2Zm11.8-.1a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8ZM4 13h1.6a2.7 2.7 0 0 0 5.2 0H20v-2h-9.2a2.7 2.7 0 0 0-5.2 0H4v2Zm4.2-.1a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8ZM4 19h9.2a2.7 2.7 0 0 0 5.2 0H20v-2h-1.6a2.7 2.7 0 0 0-5.2 0H4v2Zm11.8-.1a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  body:not(.properties-page) .search-panel {
    border: 0 !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    max-height: none !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='all'] {
    display: none !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    width: auto !important;
    min-width: 0 !important;
    min-height: 104px !important;
    padding: 14px 8px 12px !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 8px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(15, 79, 67, .10) !important;
    color: #0f4f43 !important;
    font-size: 12px !important;
    font-weight: 760 !important;
    line-height: 1.08 !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    display: block !important;
    margin: 0 !important;
    font-size: 31px !important;
    line-height: 1 !important;
    transform: none !important;
    filter: saturate(1.08) contrast(1.02) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: '\1F9F3' !important;
    filter: hue-rotate(36deg) saturate(1.18) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab span {
    white-space: nowrap !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab.active::after,
  body:not(.properties-page) .mobile-operation-strip .search-tab::after {
    display: none !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab:active,
  body:not(.properties-page) .category-pill:active,
  body:not(.properties-page) .mobile-search-trigger:active {
    transform: scale(.98) !important;
    transition: transform 200ms ease-out !important;
  }

  body:not(.properties-page) .category-strip {
    width: calc(100% - 44px) !important;
    margin: 18px auto 0 !important;
    padding: 8px !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(15, 79, 67, .10) !important;
    overflow-x: auto !important;
    scroll-padding-left: 8px !important;
  }

  body:not(.properties-page) .category-pill {
    min-height: 42px !important;
    padding: 0 19px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #0f302d !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 760 !important;
    white-space: nowrap !important;
  }

  body:not(.properties-page) .category-pill + .category-pill {
    border-left: 1px solid rgba(15, 79, 67, .10) !important;
  }

  body:not(.properties-page) .category-pill.active {
    color: #12322d !important;
    background: linear-gradient(135deg, #d8f77a 0%, #b9e84d 100%) !important;
    box-shadow: 0 9px 18px rgba(185, 232, 77, .38) !important;
  }

  body:not(.properties-page) .category-pill.active + .category-pill,
  body:not(.properties-page) .category-pill:first-child {
    border-left: 0 !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .mobile-operation-strip {
    gap: 10px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 96px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 28px !important;
  }

  body:not(.properties-page) .category-pill {
    padding: 0 15px !important;
  }
}

/* Ajuste movil paso 2b: placeholder real del buscador */
@media (max-width: 640px) {
  body:not(.properties-page) .mobile-search-trigger span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    color: transparent !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    display: block !important;
    content: 'Buscar por barrio, edificio o c\\00F3digo...' !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: #7b8588 !important;
  }
}

/* Ajuste movil paso 2c: tilde segura en placeholder */
@media (max-width: 640px) {
  body:not(.properties-page) .mobile-search-trigger span::before {
    content: 'Buscar por barrio, edificio o c\\00F3digo...' !important;
  }
}

/* Ajuste movil paso 3: proporciones compactas tipo referencia */
@media (max-width: 640px) {
  body:not(.properties-page) .site-header {
    min-height: 104px !important;
    padding: 26px 24px 12px !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body:not(.properties-page) .site-header .brand-word {
    font-size: 33px !important;
    line-height: .92 !important;
    letter-spacing: -0.052em !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    margin-top: 1px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
  }

  body:not(.properties-page) .site-header .brand-mark {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    margin-top: 2px !important;
  }

  body:not(.properties-page) .search-hero {
    padding: 8px 20px 10px !important;
    border-top: 0 !important;
    margin-top: 0 !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 45px !important;
    padding: 0 46px 0 20px !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 22px rgba(15, 79, 67, .10) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 20px !important;
    height: 20px !important;
    margin-right: 14px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    content: 'Buscar por barrio, edificio o c\\00F3digo...' !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: -.005em !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    right: 18px !important;
    width: 22px !important;
    height: 22px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 13px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 72px !important;
    padding: 10px 5px 8px !important;
    border-radius: 16px !important;
    gap: 5px !important;
    font-size: 10px !important;
    font-weight: 760 !important;
    box-shadow: 0 8px 20px rgba(15, 79, 67, .09) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 26px !important;
    filter: saturate(1.16) contrast(1.04) drop-shadow(0 2px 2px rgba(15, 79, 67, .10)) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    filter: hue-rotate(52deg) saturate(1.25) contrast(1.04) drop-shadow(0 2px 2px rgba(15, 79, 67, .10)) !important;
  }

  body:not(.properties-page) .category-strip {
    width: calc(100% - 40px) !important;
    min-height: 42px !important;
    margin-top: 14px !important;
    padding: 5px !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(15, 79, 67, .09) !important;
  }

  body:not(.properties-page) .category-pill {
    min-height: 32px !important;
    padding: 0 15px !important;
    font-size: 10px !important;
    font-weight: 760 !important;
  }

  body:not(.properties-page) .category-pill.active {
    box-shadow: 0 8px 16px rgba(185, 232, 77, .36) !important;
  }

  body:not(.properties-page) .content-band:first-of-type,
  body:not(.properties-page) .home-collection:first-of-type {
    margin-top: 18px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .mobile-operation-strip {
    gap: 8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 68px !important;
    font-size: 9px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 24px !important;
  }

  body:not(.properties-page) .category-pill {
    padding: 0 13px !important;
  }
}

/* Ajuste movil paso 4: home compacto tipo app */
@media (max-width: 640px) {
  body:not(.properties-page) .site-header {
    min-height: 92px !important;
    padding: 22px 22px 8px !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body:not(.properties-page) .site-header::before,
  body:not(.properties-page) .site-header::after,
  body:not(.properties-page) .search-hero::before,
  body:not(.properties-page) .search-hero::after {
    display: none !important;
  }

  body:not(.properties-page) .site-header .brand-word {
    font-size: 31px !important;
    line-height: .9 !important;
    letter-spacing: -0.01em !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    margin-top: 3px !important;
    font-size: 9.5px !important;
    line-height: 1.05 !important;
  }

  body:not(.properties-page) .site-header .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
  }

  body:not(.properties-page) .search-hero {
    padding: 6px 16px 8px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 42px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 42px 0 18px !important;
    border-radius: 999px !important;
    box-shadow: 0 9px 22px rgba(12, 48, 45, .09) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 18px !important;
    height: 18px !important;
    margin-right: 14px !important;
    color: #6aa84f !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 10px !important;
    color: #6f7c7c !important;
    white-space: nowrap !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    right: 18px !important;
    width: 20px !important;
    height: 20px !important;
    color: #6aa84f !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='all'] {
    display: none !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 68px !important;
    aspect-ratio: 1 / .92 !important;
    padding: 8px 5px 7px !important;
    border-radius: 16px !important;
    font-size: 9.5px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 22px rgba(12, 48, 45, .08) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 25px !important;
    line-height: 1 !important;
    margin-bottom: 5px !important;
    filter: saturate(1.2) contrast(1.04) drop-shadow(0 3px 3px rgba(0, 0, 0, .11)) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='compra']::before {
    content: '🏠' !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta']::before {
    content: '🔑' !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: '🧳' !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-search-mode='services']::before {
    content: '🛎️' !important;
  }

  body:not(.properties-page) .category-strip {
    width: calc(100% - 32px) !important;
    margin: 12px auto 0 !important;
    padding: 5px !important;
    gap: 0 !important;
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(12, 48, 45, .08) !important;
    overflow-x: auto !important;
  }

  body:not(.properties-page) .category-pill {
    min-height: 28px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-right: 1px solid rgba(15, 79, 67, .12) !important;
    border-radius: 999px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    background: transparent !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  body:not(.properties-page) .category-pill:last-child {
    border-right: 0 !important;
  }

  body:not(.properties-page) .category-pill.active {
    background: linear-gradient(135deg, #d8f77a 0%, #b9e84d 100%) !important;
    color: #0b211d !important;
    border-right: 0 !important;
    box-shadow: 0 8px 18px rgba(185, 232, 77, .32) !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .site-header {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 64px !important;
    border-radius: 14px !important;
    font-size: 8.8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 23px !important;
  }
}

/* Ajuste movil paso 5: proporciones compactas como referencia */
@media (max-width: 640px) {
  body:not(.properties-page) .site-header {
    min-height: 78px !important;
    padding: 18px 22px 2px !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body:not(.properties-page) .site-header .brand-word {
    font-size: 32px !important;
    line-height: .88 !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    margin-top: 3px !important;
    font-size: 9.7px !important;
    line-height: 1.05 !important;
  }

  body:not(.properties-page) .site-header .brand-mark {
    width: 37px !important;
    height: 37px !important;
    flex-basis: 37px !important;
  }

  body:not(.properties-page) .search-hero {
    padding: 0 14px 7px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 43px !important;
    padding: 0 41px 0 17px !important;
    border: 0 !important;
    box-shadow: 0 9px 22px rgba(12, 48, 45, .085) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 18px !important;
    height: 18px !important;
    margin-right: 13px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 10.8px !important;
    letter-spacing: 0 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    right: 17px !important;
    width: 20px !important;
    height: 20px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 9px !important;
    margin-top: 10px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 7px 4px 6px !important;
    border-radius: 15px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    box-shadow: 0 8px 20px rgba(12, 48, 45, .075) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 24px !important;
    margin-bottom: 4px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: '🧳' !important;
    filter: saturate(1.8) hue-rotate(58deg) contrast(1.03) drop-shadow(0 3px 3px rgba(0, 0, 0, .11)) !important;
  }

  body:not(.properties-page) .category-strip {
    width: calc(100% - 28px) !important;
    margin-top: 10px !important;
    min-height: 36px !important;
    padding: 4px !important;
  }

  body:not(.properties-page) .category-pill {
    min-height: 28px !important;
    padding: 0 13px !important;
    font-size: 9.8px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .site-header {
    min-height: 74px !important;
    padding: 16px 18px 1px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    font-size: 9.2px !important;
    border-radius: 14px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 22px !important;
  }
}

/* Ajuste movil paso 6: borde sutil en acciones seleccionadas */
@media (max-width: 640px) {
  body:not(.properties-page) .mobile-operation-strip .search-tab {
    border: 1px solid rgba(15, 79, 67, .06) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab.active {
    border-color: rgba(185, 232, 77, .95) !important;
    box-shadow: 0 8px 20px rgba(12, 48, 45, .07), 0 0 0 2px rgba(185, 232, 77, .18) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab:active {
    border-color: rgba(185, 232, 77, .85) !important;
  }
}

/* Ajuste movil paso 7: escala de texto mas cercana a la referencia */
@media (max-width: 640px) {
  body:not(.properties-page) .site-header {
    min-height: 80px !important;
    padding: 17px 22px 1px !important;
  }

  body:not(.properties-page) .site-header .brand-word {
    font-size: 34px !important;
    line-height: .88 !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    margin-top: 4px !important;
  }

  body:not(.properties-page) .site-header .brand-mark {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }

  body:not(.properties-page) .search-hero {
    padding-top: 1px !important;
    padding-bottom: 7px !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 48px !important;
    padding: 0 45px 0 18px !important;
    box-shadow: 0 10px 24px rgba(12, 48, 45, .09) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 20px !important;
    height: 20px !important;
    margin-right: 14px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 12.2px !important;
    color: #687575 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    width: 22px !important;
    height: 22px !important;
    right: 18px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 10px !important;
    margin-top: 9px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    padding: 8px 4px 7px !important;
    border-radius: 16px !important;
    font-size: 11px !important;
    line-height: 1.04 !important;
    font-weight: 800 !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 27px !important;
    margin-bottom: 5px !important;
  }

  body:not(.properties-page) .category-strip {
    margin-top: 10px !important;
    min-height: 39px !important;
    padding: 4px !important;
  }

  body:not(.properties-page) .category-pill {
    min-height: 31px !important;
    padding: 0 14px !important;
    font-size: 10.6px !important;
    font-weight: 800 !important;
  }

  body:not(.properties-page) .home-section:first-of-type {
    padding-top: 22px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .site-header .brand-word {
    font-size: 32px !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    font-size: 9.8px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 11px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    font-size: 9.8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 24px !important;
  }

  body:not(.properties-page) .category-pill {
    font-size: 9.6px !important;
    padding: 0 12px !important;
  }
}

/* Ajuste movil paso 8: recuperar peso visual del logo sin aumentar el bloque */
@media (max-width: 640px) {
  body:not(.properties-page) .site-header {
    min-height: 82px !important;
    padding: 13px 22px 0 !important;
    align-items: center !important;
  }

  body:not(.properties-page) .site-header .brand-word {
    font-size: 40px !important;
    line-height: .86 !important;
    letter-spacing: -0.02em !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    margin-top: 4px !important;
    font-size: 10.6px !important;
    line-height: 1.05 !important;
  }

  body:not(.properties-page) .site-header .brand-mark {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }

  body:not(.properties-page) .search-hero {
    padding-top: 0 !important;
    padding-bottom: 7px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .site-header {
    min-height: 78px !important;
    padding-top: 12px !important;
  }

  body:not(.properties-page) .site-header .brand-word {
    font-size: 37px !important;
  }

  body:not(.properties-page) .site-header .brand-tagline {
    font-size: 9.8px !important;
  }
}

/* Ajuste movil paso 9: buscador con mas protagonismo */
@media (max-width: 640px) {
  body:not(.properties-page) .mobile-search-trigger {
    min-height: 52px !important;
    padding: 0 49px 0 20px !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 28px rgba(12, 48, 45, .105) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 21px !important;
    height: 21px !important;
    margin-right: 15px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 12.9px !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    width: 23px !important;
    height: 23px !important;
    right: 19px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .mobile-search-trigger {
    min-height: 49px !important;
    padding-left: 18px !important;
    padding-right: 46px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 11.6px !important;
  }
}

/* Ajuste movil paso 10: maleta verde para renta corta */
@media (max-width: 640px) {
  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: "" !important;
    width: 34px !important;
    height: 34px !important;
    display: block !important;
    margin: 0 auto 5px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='12' y1='18' x2='52' y2='56' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23DAF779'/%3E%3Cstop offset='.48' stop-color='%23A9D94E'/%3E%3Cstop offset='1' stop-color='%235FAF6A'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='20' y1='21' x2='44' y2='54' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2387B94B'/%3E%3Cstop offset='1' stop-color='%230F4F43'/%3E%3C/linearGradient%3E%3Cfilter id='sh' x='-20%25' y='-20%25' width='140%25' height='150%25'%3E%3CfeDropShadow dx='0' dy='2' stdDeviation='2' flood-color='%230F4F43' flood-opacity='.22'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23sh)'%3E%3Cpath fill='%23D7B454' d='M24 14h16v8h-4v-4h-8v4h-4z'/%3E%3Crect x='12' y='20' width='40' height='34' rx='8' fill='url(%23g)'/%3E%3Cpath fill='%23fff' fill-opacity='.25' d='M17 25c7-5 22-5 30 1v6c-10-4-22-4-30 0z'/%3E%3Cpath fill='url(%23d)' d='M20 21h5v32h-5zM39 21h5v32h-5z' opacity='.65'/%3E%3Crect x='28' y='31' width='8' height='8' rx='4' fill='%23EDF9C2' stroke='%236AA84F' stroke-width='2'/%3E%3Cpath fill='%235C3F24' d='M20 54h6v4h-6zM38 54h6v4h-6z'/%3E%3Cpath fill='none' stroke='%23724A24' stroke-width='2.3' stroke-linecap='round' d='M25 20v34M39 20v34' opacity='.48'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    filter: none !important;
  }
}
@media (max-width: 380px) {
  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    width: 31px !important;
    height: 31px !important;
  }
}

/* Ajuste movil paso 11: buscador y acciones con mas presencia */
@media (max-width: 640px) {
  body:not(.properties-page) .search-hero {
    padding-top: 1px !important;
    padding-bottom: 8px !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    width: calc(100% - 10px) !important;
    min-height: 57px !important;
    padding: 0 58px 0 23px !important;
    border-radius: 999px !important;
    box-shadow: 0 14px 32px rgba(12, 48, 45, .11) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 24px !important;
    height: 24px !important;
    margin-right: 17px !important;
    color: #6aa84f !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 14px !important;
    line-height: 1 !important;
    color: #687575 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    content: "" !important;
    width: 30px !important;
    height: 30px !important;
    right: 21px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M6 9h20M6 16h20M6 23h20' stroke='%236AA84F' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='9' r='2.7' fill='white' stroke='%236AA84F' stroke-width='2.4'/%3E%3Ccircle cx='21' cy='16' r='2.7' fill='white' stroke='%236AA84F' stroke-width='2.4'/%3E%3Ccircle cx='11' cy='23' r='2.7' fill='white' stroke='%236AA84F' stroke-width='2.4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 11px !important;
    margin-top: 10px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 76px !important;
    padding: 8px 4px 8px !important;
    border-radius: 17px !important;
    font-size: 12.2px !important;
    line-height: 1.02 !important;
    font-weight: 850 !important;
    color: #0f4f43 !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 30px !important;
    margin-bottom: 6px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 6px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .mobile-search-trigger {
    width: calc(100% - 8px) !important;
    min-height: 53px !important;
    padding-left: 20px !important;
    padding-right: 53px !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 22px !important;
    height: 22px !important;
    margin-right: 14px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 12.2px !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    width: 27px !important;
    height: 27px !important;
    right: 18px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 72px !important;
    font-size: 10.6px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 27px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    width: 33px !important;
    height: 33px !important;
  }
}

/* Ajuste movil paso 12: escala visual mas cercana a la referencia */
@media (max-width: 640px) {
  body:not(.properties-page) .search-hero {
    padding-top: 0 !important;
    padding-bottom: 7px !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    width: calc(100% - 2px) !important;
    max-width: none !important;
    min-height: 62px !important;
    padding: 0 63px 0 25px !important;
    border-radius: 999px !important;
    box-shadow: 0 15px 34px rgba(12, 48, 45, .12) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 28px !important;
    height: 28px !important;
    margin-right: 18px !important;
    color: #6aa84f !important;
    stroke-width: 2.15 !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 15.4px !important;
    line-height: 1 !important;
    color: #687575 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    width: 34px !important;
    height: 34px !important;
    right: 22px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 12px !important;
    margin-top: 11px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 82px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 8px 4px 9px !important;
    border-radius: 18px !important;
    font-size: 12.9px !important;
    line-height: 1.03 !important;
    font-weight: 850 !important;
    color: #0f4f43 !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 32px !important;
    margin-bottom: 7px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 7px !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .mobile-search-trigger {
    width: calc(100% - 2px) !important;
    min-height: 58px !important;
    padding-left: 22px !important;
    padding-right: 58px !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 25px !important;
    height: 25px !important;
    margin-right: 15px !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    font-size: 13.5px !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    width: 31px !important;
    height: 31px !important;
    right: 19px !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 9px !important;
    margin-top: 10px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 78px !important;
    font-size: 11.4px !important;
    border-radius: 17px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 30px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    width: 35px !important;
    height: 35px !important;
  }
}

/* Ajuste global paso 13: verde lima como acento principal */
:root {
  --lime-accent: #b9e84d;
  --lime-accent-light: #d8f77a;
  --lime-accent-soft: #f6fce6;
  --lime-accent-gradient: linear-gradient(135deg, #d8f77a 0%, #b9e84d 100%);
  --accent: #b9e84d;
  --accent-soft: #f6fce6;
}

.category-pill.active,
.home-category-chip.active,
.filter-chip.active,
.mobile-filter-chip.active,
.search-tab.active::after,
.header-categories .search-tab.active::after {
  background: var(--lime-accent-gradient) !important;
  border-color: transparent !important;
  color: #102724 !important;
  box-shadow: 0 10px 26px rgba(185, 232, 77, .28) !important;
}

.category-pill.active,
.home-category-chip.active,
.filter-chip.active,
.mobile-filter-chip.active {
  color: #102724 !important;
}

.home-property-card .property-badge,
.home-card .property-badge,
.property-zone-badge,
.zone-chip,
.zone-card .property-badge {
  background: var(--lime-accent-gradient) !important;
  color: #102724 !important;
  box-shadow: 0 8px 20px rgba(185, 232, 77, .2) !important;
}

.home-property-card .property-operation,
.property-operation,
.status-pill,
.operation-pill {
  background: rgba(255, 255, 255, .94) !important;
  color: #047857 !important;
  box-shadow: 0 8px 20px rgba(17, 24, 28, .08) !important;
}

.view-all-link,
.section-view-all,
.home-section .section-arrow,
.carousel-next,
.carousel-prev,
.mobile-home-header-logo svg,
.mobile-search-trigger svg,
.mobile-search-trigger::after,
.mobile-bottom-nav .active,
.mobile-bottom-nav .active svg,
.bottom-nav .active,
.bottom-nav .active svg {
  color: var(--lime-accent) !important;
  border-color: rgba(185, 232, 77, .42) !important;
}

.view-all-link,
.section-view-all {
  color: #7aaa16 !important;
}

.section-view-all .arrow,
.view-all-link .arrow,
.home-ecosystem-card .ecosystem-button,
.promo-card .promo-button,
.more-card .more-card-icon {
  background: var(--lime-accent-gradient) !important;
  color: #102724 !important;
  box-shadow: 0 12px 28px rgba(185, 232, 77, .24) !important;
}

.search-filter-button,
.mobile-filter-button,
.mobile-search-trigger::after,
.home-search-filter,
.search-icon-accent {
  color: #7aaa16 !important;
}

input[type='checkbox']:checked,
input[type='radio']:checked {
  accent-color: var(--lime-accent) !important;
}

.filter-apply,
.admin-primary-action,
.bulk-action.is-ready {
  background: var(--lime-accent-gradient) !important;
  border-color: transparent !important;
  color: #102724 !important;
  box-shadow: 0 12px 26px rgba(185, 232, 77, .24) !important;
}

.detail-feature-tags span,
.detail-feature-list li span,
.detail-price-row span,
.property-detail-page .feature-tag,
.property-detail-page .nearby-pill {
  background: var(--lime-accent-soft) !important;
  color: #102724 !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) .category-pill.active {
    background: var(--lime-accent-gradient) !important;
    color: #102724 !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab.active {
    border-color: rgba(185, 232, 77, .72) !important;
    box-shadow: 0 14px 28px rgba(185, 232, 77, .18), 0 12px 32px rgba(15, 79, 67, .08) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    color: #7aaa16 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    filter: saturate(1.25) brightness(1.03) !important;
  }

  .mobile-bottom-nav .active,
  .mobile-bottom-nav .active svg,
  .bottom-nav .active,
  .bottom-nav .active svg {
    color: #7aaa16 !important;
  }
}

/* Ajuste movil paso 14: icono Comprar con casa simple */
.search-tab[data-operation="compra"]::before,
.header-categories .search-tab[data-operation="compra"]::before,
.mobile-operation-strip .search-tab[data-operation="compra"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="compra"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="compra"]::before {
  content: "🏠" !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  color: inherit !important;
}

/* Ajuste movil paso 15: header fijo, degradados y maleta refinada */
:root {
  --oryon-green: #0f4f43;
  --oryon-green-deep: #0a3e35;
  --lime-accent: #b9e84d;
  --lime-accent-light: #d8f77a;
  --lime-accent-gradient: linear-gradient(135deg, #d8f77a 0%, #b9e84d 100%);
  --oryon-action-gradient: linear-gradient(135deg, #B9E84D 0%, #16806D 58%, #0F4F43 100%);
}

.search-submit,
.contact-button:not(.contact-button-light),
.footer-owner-cta a,
.detail-sidebar .whatsapp-button,
.floating-whatsapp {
  background: var(--oryon-action-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(15, 79, 67, .18) !important;
}

.search-submit:hover,
.contact-button:not(.contact-button-light):hover,
.footer-owner-cta a:hover,
.detail-sidebar .whatsapp-button:hover,
.floating-whatsapp:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 34px rgba(15, 79, 67, .22) !important;
}

.contact-button-light {
  color: var(--oryon-green) !important;
  border-color: rgba(15, 79, 67, .16) !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) .brand-mark {
    width: 45px !important;
    height: 45px !important;
    flex: 0 0 45px !important;
  }

  body:not(.properties-page) .mobile-logo-mark {
    width: 45px !important;
    height: 45px !important;
  }

  body:not(.properties-page) .search-hero {
    position: sticky !important;
    top: 0 !important;
    z-index: 82 !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 28px rgba(15, 79, 67, .08) !important;
    backdrop-filter: blur(16px);
  }

  body:not(.properties-page) .search-hero .hero-content {
    padding-top: 7px !important;
    padding-bottom: 8px !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 68px !important;
    padding: 0 72px 0 30px !important;
    font-size: 15.6px !important;
    box-shadow: 0 16px 34px rgba(15, 79, 67, .095) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 30px !important;
    height: 30px !important;
    color: #6aa84f !important;
    stroke-width: 2.05 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    width: 35px !important;
    height: 35px !important;
    right: 26px !important;
    opacity: .86 !important;
    filter: drop-shadow(0 2px 4px rgba(15, 79, 67, .08)) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 38 38' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cg stroke='%236aa84f' stroke-width='2.45' stroke-linecap='round'%3E%3Cpath d='M8 11h22'/%3E%3Cpath d='M8 19h22'/%3E%3Cpath d='M8 27h22'/%3E%3C/g%3E%3Ccircle cx='16' cy='11' r='3.2' fill='%23fff' stroke='%236aa84f' stroke-width='2.35'/%3E%3Ccircle cx='24' cy='19' r='3.2' fill='%23fff' stroke='%236aa84f' stroke-width='2.35'/%3E%3Ccircle cx='13' cy='27' r='3.2' fill='%23fff' stroke='%236aa84f' stroke-width='2.35'/%3E%3C/svg%3E") !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    font-size: 13.4px !important;
    min-height: 84px !important;
    border: 1.5px solid transparent !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab.active,
  body:not(.properties-page) .mobile-operation-strip .search-tab:active {
    border-color: rgba(185, 232, 77, .82) !important;
    box-shadow: 0 14px 28px rgba(185, 232, 77, .16), 0 12px 26px rgba(15, 79, 67, .08) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before,
  .properties-page.search-open .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: "" !important;
    width: 41px !important;
    height: 41px !important;
    display: block !important;
    margin-bottom: 5px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    filter: drop-shadow(0 4px 5px rgba(68, 80, 28, .22)) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='body' x1='12' y1='12' x2='52' y2='58' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23d7f46f'/%3E%3Cstop offset='.52' stop-color='%238cc43b'/%3E%3Cstop offset='1' stop-color='%234e8126'/%3E%3C/linearGradient%3E%3ClinearGradient id='shine' x1='18' y1='21' x2='39' y2='52'%3E%3Cstop stop-color='%23ffffff' stop-opacity='.58'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='shadow' x='-10' y='-8' width='84' height='84'%3E%3CfeDropShadow dx='0' dy='5' stdDeviation='3.5' flood-color='%23203b1a' flood-opacity='.25'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23shadow)'%3E%3Cpath d='M24 21v-4.5c0-4 3.1-7.2 7-7.2h2c3.9 0 7 3.2 7 7.2V21' fill='none' stroke='%23704d1f' stroke-width='4' stroke-linecap='round'/%3E%3Crect x='13' y='20' width='38' height='36' rx='9' fill='url(%23body)' stroke='%236c8b2d' stroke-width='2.2'/%3E%3Cpath d='M18 25c5 2.5 15 2.4 28-.2v24.8c-8 3.2-18.5 3.2-28 .1V25Z' fill='url(%23shine)' opacity='.75'/%3E%3Cpath d='M23 21v34M41 21v34' stroke='%23613f1e' stroke-width='2.8' opacity='.76'/%3E%3Cpath d='M23 29h18' stroke='%23f6f1b4' stroke-width='1.6' opacity='.6'/%3E%3Ccircle cx='32' cy='39' r='3.2' fill='%23b9e84d' stroke='%23557825' stroke-width='1.6'/%3E%3Cpath d='M18 55h28' stroke='%233c5f23' stroke-width='2' opacity='.35'/%3E%3C/g%3E%3C/svg%3E") !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .brand-mark,
  body:not(.properties-page) .mobile-logo-mark {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 64px !important;
    font-size: 14.8px !important;
  }
}

/* Ajuste paso 16: titulos de tarjetas mas ligeros y acentos lima */
:root {
  --gold: #b9e84d;
  --lime-text: #7aa51e;
}

.eyebrow,
.detail-kicker,
.detail-final-cta .eyebrow,
.home-showcase-head .eyebrow,
.section-eyebrow,
.contact-band .eyebrow,
.service-band .eyebrow,
.zone-band .eyebrow,
.collection-eyebrow,
[class*="eyebrow"],
[class*="kicker"] {
  color: var(--lime-text) !important;
}

.home-property-card .property-badge,
.home-property-card .zone-pill,
.property-card .property-badge,
.property-card .zone-pill,
.zone-card .zone-pill {
  background: var(--lime-accent-gradient, linear-gradient(135deg, #d8f77a 0%, #b9e84d 100%)) !important;
  color: #102724 !important;
}

body:not(.properties-page) .home-property-card .property-body h3,
body:not(.properties-page) .home-property-card .property-title,
body:not(.properties-page) .home-card-title,
body:not(.properties-page) .property-card h3 {
  font-size: 14.8px !important;
  font-weight: 520 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.properties-page .property-card .property-body h3 {
  font-size: 14.7px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.properties-page.map-hidden .property-card .property-body h3 {
  font-size: 14.5px !important;
  font-weight: 500 !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) .home-property-card .property-body h3,
  body:not(.properties-page) .home-property-card .property-title,
  body:not(.properties-page) .home-card-title,
  body:not(.properties-page) .property-card h3 {
    font-size: 14.9px !important;
    font-weight: 520 !important;
    line-height: 1.15 !important;
  }

  .properties-page .property-card .property-body h3 {
    font-size: 15.8px !important;
    font-weight: 510 !important;
    line-height: 1.16 !important;
  }
}
/* Ajuste movil paso 17: solo crece el isotipo de casa */
@media (max-width: 640px) {
  body:not(.properties-page) .site-header .brand-word,
  body:not(.properties-page) .brand-word {
    font-size: 39px !important;
    line-height: .93 !important;
    letter-spacing: -0.03em !important;
  }

  body:not(.properties-page) .site-header .brand-tagline,
  body:not(.properties-page) .brand-tagline {
    font-size: 10.6px !important;
    line-height: 1.15 !important;
  }

  body:not(.properties-page) .brand-mark,
  body:not(.properties-page) .mobile-logo-mark {
    width: 49px !important;
    height: 49px !important;
    flex: 0 0 49px !important;
  }

  body:not(.properties-page) .brand-mark svg,
  body:not(.properties-page) .mobile-logo-mark svg {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 380px) {
  body:not(.properties-page) .site-header .brand-word,
  body:not(.properties-page) .brand-word {
    font-size: 36px !important;
  }

  body:not(.properties-page) .brand-mark,
  body:not(.properties-page) .mobile-logo-mark {
    width: 45px !important;
    height: 45px !important;
    flex-basis: 45px !important;
  }
}

/* Ajuste movil paso 18: acentos lima, buscador fijo y maleta definitiva */
:root {
  --oryon-deep: #0F4F43;
  --oryon-lime: #B9E84D;
  --oryon-lime-soft: #D8F77A;
  --oryon-lime-gradient: linear-gradient(135deg, #D8F77A 0%, #B9E84D 100%);
  --gold: #B9E84D;
}

body.theme-indigo,
body.theme-warm {
  --gold: #B9E84D;
}

.eyebrow,
.section-kicker,
.detail-eyebrow,
.property-detail-kicker,
.admin-kicker {
  color: #8BBE27 !important;
}

.search-submit,
button.search-submit,
.contact-button,
.detail-whatsapp,
.detail-final-cta a[href*='wa.me'],
.footer-owner-cta a[href*='wa.me'],
.owner-cta a[href*='wa.me'] {
  background: linear-gradient(135deg, #16806D 0%, #0F4F43 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(15, 79, 67, .16) !important;
}

.category-pill.active,
.category-filter.active,
.filter-chip.active {
  background: var(--oryon-lime-gradient) !important;
  border-color: transparent !important;
  color: #16312d !important;
  box-shadow: 0 10px 24px rgba(185, 232, 77, .24) !important;
}

.search-tab .tab-icon-suitcase .suitcase-shadow { fill: #0F4F43; opacity: .10; }
.search-tab .tab-icon-suitcase .suitcase-handle { fill: none; stroke: #6b752c; stroke-width: 4; stroke-linecap: round; }
.search-tab .tab-icon-suitcase .suitcase-body { fill: #B9E84D; stroke: #6b752c; stroke-width: 3; }
.search-tab .tab-icon-suitcase .suitcase-gloss { fill: #D8F77A; opacity: .72; }
.search-tab .tab-icon-suitcase .suitcase-strap { fill: none; stroke: #7a6432; stroke-width: 3; opacity: .58; }
.search-tab .tab-icon-suitcase .suitcase-dot { fill: #7a6432; opacity: .72; }

.property-card h3,
.property-card-title,
.home-property-card h3,
.featured-card h3,
.carousel-card h3 {
  font-size: clamp(14px, 3.45vw, 15.5px) !important;
  line-height: 1.14 !important;
  font-weight: 650 !important;
}

@media (max-width: 640px) {
  body:not(.properties-page) .site-header .brand-mark {
    width: 50px !important;
    height: 50px !important;
    flex-basis: 50px !important;
  }

  body:not(.properties-page) .search-hero {
    position: sticky !important;
    top: 0 !important;
    z-index: 85 !important;
    background: rgba(255, 255, 255, .98) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    padding-top: 8px !important;
    padding-bottom: 13px !important;
    box-shadow: 0 12px 28px rgba(15, 79, 67, .08) !important;
  }

  body:not(.properties-page) .mobile-search-trigger {
    min-height: 60px !important;
    padding: 0 62px 0 24px !important;
    border: 0 !important;
    box-shadow: 0 12px 32px rgba(15, 79, 67, .12) !important;
  }

  body:not(.properties-page) .mobile-search-trigger svg {
    width: 27px !important;
    height: 27px !important;
    color: #6AA84F !important;
    stroke-width: 1.8 !important;
  }

  body:not(.properties-page) .mobile-search-trigger span::before {
    content: 'Buscar por barrio, edificio o c\\00F3digo...' !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: #6f797c !important;
    font-weight: 500 !important;
  }

  body:not(.properties-page) .mobile-search-trigger::after {
    right: 24px !important;
    width: 22px !important;
    height: 22px !important;
    opacity: .72 !important;
    background: #6AA84F !important;
    -webkit-mask: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'><path%20d='M4%207h10M18%207h2M16%205v4M4%2012h3M11%2012h9M9%2010v4M4%2017h10M18%2017h2M16%2015v4'%20fill='none'%20stroke='black'%20stroke-width='1.65'%20stroke-linecap='round'/></svg>") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'><path%20d='M4%207h10M18%207h2M16%205v4M4%2012h3M11%2012h9M9%2010v4M4%2017h10M18%2017h2M16%2015v4'%20fill='none'%20stroke='black'%20stroke-width='1.65'%20stroke-linecap='round'/></svg>") center / contain no-repeat !important;
  }

  body:not(.properties-page) .mobile-operation-strip {
    gap: 12px !important;
    margin-top: 14px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab {
    min-height: 90px !important;
    padding: 12px 6px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 18px !important;
    font-size: 12.5px !important;
    line-height: 1.08 !important;
    color: #0F4F43 !important;
    box-shadow: 0 10px 26px rgba(15, 79, 67, .08) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab.active {
    border-color: rgba(185, 232, 77, .92) !important;
    box-shadow: 0 12px 28px rgba(185, 232, 77, .24) !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab::before {
    font-size: 33px !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='compra']::before {
    content: '\1F3E0' !important;
  }

  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: '' !important;
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 7px !important;
    background: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'>%20%20<path%20d='M17%2055h34c3%200%205-2%205-5V29c0-3-2-5-5-5H17c-3%200-5%202-5%205v21c0%203%202%205%205%205Z'%20fill='%230f4f43'%20opacity='.10'/>%20%20<path%20d='M24.5%2024v-6.2c0-5%203.9-8.8%209.5-8.8s9.5%203.8%209.5%208.8V24'%20fill='none'%20stroke='%236b752c'%20stroke-width='4'%20stroke-linecap='round'/>%20%20<rect%20x='14'%20y='22'%20width='40'%20height='34'%20rx='8'%20fill='%23B9E84D'%20stroke='%236b752c'%20stroke-width='3'/>%20%20<path%20d='M18%2027c8-5.8%2024-5.8%2032%200v11c-10-5.5-22-5.5-32%200V27Z'%20fill='%23D8F77A'%20opacity='.72'/>%20%20<path%20d='M24%2025v29M44%2025v29'%20stroke='%237a6432'%20stroke-width='3'%20opacity='.58'/>%20%20<circle%20cx='34'%20cy='39'%20r='2.4'%20fill='%237a6432'%20opacity='.72'/></svg>") center / contain no-repeat !important;
    filter: drop-shadow(0 2px 2px rgba(15, 79, 67, .14)) !important;
  }

  body:not(.properties-page) .category-pill.active {
    background: var(--oryon-lime-gradient) !important;
    color: #16312d !important;
    border-color: transparent !important;
  }
}
/* FIN ajuste movil paso 18 */
/* Ajuste paso 19: degradado lima a verde Oryon */
:root {
  --oryon-action-gradient: linear-gradient(135deg, #B9E84D 0%, #16806D 58%, #0F4F43 100%);
}

.search-submit,
button.search-submit,
.contact-button,
.detail-whatsapp,
.detail-final-cta a[href*='wa.me'],
.footer-owner-cta a[href*='wa.me'],
.owner-cta a[href*='wa.me'] {
  background: var(--oryon-action-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(15, 79, 67, .16) !important;
}
/* FIN ajuste paso 19 */
/* Ajuste paso 20: CTAs WhatsApp y correo secundario */
:root {
  --oryon-action-gradient: linear-gradient(135deg, #B9E84D 0%, #67B95E 48%, #0F4F43 100%);
}

.contact-button:not(.contact-button-light),
.detail-whatsapp,
.detail-sidebar .whatsapp-button,
.detail-final-cta a[href*="wa.me"],
.footer-owner-cta a[href*="wa.me"],
.owner-cta a[href*="wa.me"],
.property-contact-card a[href*="wa.me"],
.contact-card a[href*="wa.me"],
.cta-card a[href*="wa.me"] {
  background: var(--oryon-action-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(15, 79, 67, .16) !important;
}

.contact-button:not(.contact-button-light):hover,
.detail-whatsapp:hover,
.detail-sidebar .whatsapp-button:hover,
.detail-final-cta a[href*="wa.me"]:hover,
.footer-owner-cta a[href*="wa.me"]:hover,
.owner-cta a[href*="wa.me"]:hover,
.property-contact-card a[href*="wa.me"]:hover,
.contact-card a[href*="wa.me"]:hover,
.cta-card a[href*="wa.me"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 79, 67, .2) !important;
}

.contact-button-light,
a[href^="mailto:"],
.contact-button[href^="mailto:"],
.detail-sidebar a[href^="mailto:"],
.property-contact-card a[href^="mailto:"],
.contact-card a[href^="mailto:"],
.cta-card a[href^="mailto:"],
.footer-main a[href^="mailto:"] {
  background: transparent !important;
  background-image: none !important;
  color: #0F4F43 !important;
  border: 1px solid rgba(15, 79, 67, .22) !important;
  box-shadow: none !important;
}

.contact-button-light:hover,
a[href^="mailto:"]:hover,
.contact-button[href^="mailto:"]:hover,
.detail-sidebar a[href^="mailto:"]:hover,
.property-contact-card a[href^="mailto:"]:hover,
.contact-card a[href^="mailto:"]:hover,
.cta-card a[href^="mailto:"]:hover,
.footer-main a[href^="mailto:"]:hover {
  background: rgba(15, 79, 67, .05) !important;
  color: #0F4F43 !important;
}
/* FIN ajuste paso 20 */
/* Ajuste paso 21: maleta azul sin tonos cafe */
.search-tab .tab-icon-suitcase .suitcase-shadow,
.header-categories .search-tab .tab-icon-suitcase .suitcase-shadow {
  fill: #0B3F74 !important;
  opacity: .16 !important;
}

.search-tab .tab-icon-suitcase .suitcase-handle,
.header-categories .search-tab .tab-icon-suitcase .suitcase-handle {
  fill: none !important;
  stroke: #125599 !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
}

.search-tab .tab-icon-suitcase .suitcase-body,
.header-categories .search-tab .tab-icon-suitcase .suitcase-body {
  fill: #39A7F5 !important;
  stroke: #125599 !important;
  stroke-width: 3 !important;
}

.search-tab .tab-icon-suitcase .suitcase-gloss,
.header-categories .search-tab .tab-icon-suitcase .suitcase-gloss {
  fill: #D8F7FF !important;
  opacity: .62 !important;
}

.search-tab .tab-icon-suitcase .suitcase-strap,
.header-categories .search-tab .tab-icon-suitcase .suitcase-strap {
  fill: none !important;
  stroke: #0E5A9E !important;
  stroke-width: 3 !important;
  opacity: .62 !important;
}

.search-tab .tab-icon-suitcase .suitcase-dot,
.header-categories .search-tab .tab-icon-suitcase .suitcase-dot {
  fill: #EAF9FF !important;
  opacity: .9 !important;
}

@media (max-width: 760px) {
  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before,
  .properties-page.search-open .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: '' !important;
    background: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'>%20%20<defs>%20%20%20%20<linearGradient%20id='b'%20x1='15'%20y1='22'%20x2='52'%20y2='56'%20gradientUnits='userSpaceOnUse'>%20%20%20%20%20%20<stop%20offset='0'%20stop-color='%238EE9FF'/>%20%20%20%20%20%20<stop%20offset='.45'%20stop-color='%2339A7F5'/>%20%20%20%20%20%20<stop%20offset='1'%20stop-color='%231B6FD3'/>%20%20%20%20</linearGradient>%20%20</defs>%20%20<path%20d='M17%2055h34c3%200%205-2%205-5V29c0-3-2-5-5-5H17c-3%200-5%202-5%205v21c0%203%202%205%205%205Z'%20fill='%230B3F74'%20opacity='.16'/>%20%20<path%20d='M24.5%2024v-6.2c0-5%203.9-8.8%209.5-8.8s9.5%203.8%209.5%208.8V24'%20fill='none'%20stroke='%23125599'%20stroke-width='4'%20stroke-linecap='round'/>%20%20<rect%20x='14'%20y='22'%20width='40'%20height='34'%20rx='8'%20fill='url(%23b)'%20stroke='%23125599'%20stroke-width='3'/>%20%20<path%20d='M18%2027c8-5.8%2024-5.8%2032%200v11c-10-5.5-22-5.5-32%200V27Z'%20fill='%23D8F7FF'%20opacity='.58'/>%20%20<path%20d='M24%2025v29M44%2025v29'%20stroke='%230E5A9E'%20stroke-width='3'%20opacity='.62'/>%20%20<circle%20cx='34'%20cy='39'%20r='2.4'%20fill='%23EAF9FF'%20opacity='.9'/></svg>") center / contain no-repeat !important;
    filter: drop-shadow(0 2px 3px rgba(18, 85, 153, .18)) !important;
  }
}
/* FIN ajuste paso 21 */
/* Ajuste paso 22: maleta tipo emoji en azul */
.search-tab .tab-icon-suitcase-emoji,
.header-categories .search-tab .tab-icon-suitcase-emoji {
  filter: drop-shadow(0 3px 4px rgba(11, 90, 147, .18)) !important;
}

@media (max-width: 760px) {
  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation='renta-corta']::before,
  .properties-page.search-open .mobile-operation-strip .search-tab[data-operation='renta-corta']::before,
  .mobile-operation-strip .search-tab[data-operation='renta-corta']::before {
    content: '' !important;
    width: 38px !important;
    height: 38px !important;
    display: block !important;
    margin-bottom: 7px !important;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2064%2064'%3E%0A%20%20%3Cdefs%3E%0A%20%20%20%20%3ClinearGradient%20id%3D'b'%20x1%3D'15'%20y1%3D'17'%20x2%3D'53'%20y2%3D'57'%20gradientUnits%3D'userSpaceOnUse'%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D'0'%20stop-color%3D'%23A9F0FF'%2F%3E%3Cstop%20offset%3D'.42'%20stop-color%3D'%2337B8F5'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23116EC8'%2F%3E%0A%20%20%20%20%3C%2FlinearGradient%3E%0A%20%20%20%20%3ClinearGradient%20id%3D's'%20x1%3D'20'%20y1%3D'23'%20x2%3D'40'%20y2%3D'48'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23fff'%20stop-opacity%3D'.72'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23fff'%20stop-opacity%3D'0'%2F%3E%3C%2FlinearGradient%3E%0A%20%20%20%20%3CradialGradient%20id%3D'g'%20cx%3D'30%25'%20cy%3D'18%25'%20r%3D'72%25'%3E%3Cstop%20offset%3D'0'%20stop-color%3D'%23E9FEFF'%20stop-opacity%3D'.92'%2F%3E%3Cstop%20offset%3D'.48'%20stop-color%3D'%23E9FEFF'%20stop-opacity%3D'.16'%2F%3E%3Cstop%20offset%3D'1'%20stop-color%3D'%23E9FEFF'%20stop-opacity%3D'0'%2F%3E%3C%2FradialGradient%3E%0A%20%20%3C%2Fdefs%3E%0A%20%20%3Cellipse%20cx%3D'34'%20cy%3D'57'%20rx%3D'23'%20ry%3D'4'%20fill%3D'%230B3F74'%20opacity%3D'.16'%2F%3E%0A%20%20%3Cpath%20d%3D'M24.5%2023v-5.4c0-4.7%203.6-8.1%208.5-8.1s8.5%203.4%208.5%208.1V23'%20fill%3D'none'%20stroke%3D'%230B5A93'%20stroke-width%3D'3.8'%20stroke-linecap%3D'round'%2F%3E%0A%20%20%3Crect%20x%3D'13'%20y%3D'21'%20width%3D'42'%20height%3D'35'%20rx%3D'10'%20fill%3D'url(%23b)'%20stroke%3D'%230B5A93'%20stroke-width%3D'2.4'%2F%3E%0A%20%20%3Crect%20x%3D'17'%20y%3D'25'%20width%3D'34'%20height%3D'27'%20rx%3D'7'%20fill%3D'url(%23g)'%2F%3E%0A%20%20%3Cpath%20d%3D'M18.5%2027.5c8.8-4.5%2022-4.7%2031%200v7.8c-9.4-3.5-21.5-3.4-31%20.2v-8Z'%20fill%3D'url(%23s)'%20opacity%3D'.88'%2F%3E%0A%20%20%3Cpath%20d%3D'M23.5%2023.5v30M44.5%2023.5v30'%20fill%3D'none'%20stroke%3D'%230A619A'%20stroke-width%3D'3.1'%20opacity%3D'.64'%20stroke-linecap%3D'round'%2F%3E%0A%20%20%3Cpath%20d%3D'M24.8%2029.5h17.8'%20fill%3D'none'%20stroke%3D'%23DFFBFF'%20stroke-width%3D'1.8'%20opacity%3D'.74'%20stroke-linecap%3D'round'%2F%3E%0A%20%20%3Ccircle%20cx%3D'34'%20cy%3D'39'%20r%3D'3.1'%20fill%3D'%23D8F77A'%20stroke%3D'%230B5A93'%20stroke-width%3D'1.4'%2F%3E%0A%20%20%3Cpath%20d%3D'M18.5%2051.5c8.2%203%2022.5%203%2031%200'%20fill%3D'none'%20stroke%3D'%23064F86'%20stroke-width%3D'2'%20opacity%3D'.28'%20stroke-linecap%3D'round'%2F%3E%0A%3C%2Fsvg%3E") center / contain no-repeat !important;
    filter: drop-shadow(0 3px 4px rgba(11, 90, 147, .18)) !important;
  }
}
/* FIN ajuste paso 22 */
/* Catalog/detail mobile brand header aligned with home header */
@media (max-width: 640px) {
  body.properties-page .site-header,
  body.property-detail-page .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 118px !important;
    padding: 24px 30px 14px !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  body.properties-page .site-header::after,
  body.property-detail-page .site-header::after {
    display: none !important;
  }

  body.properties-page .site-header .brand,
  body.property-detail-page .site-header .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 18px !important;
    color: var(--brand-dark) !important;
  }

  body.properties-page .site-header .brand-copy,
  body.property-detail-page .site-header .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
  }

  body.properties-page .site-header .brand-word,
  body.property-detail-page .site-header .brand-word {
    display: block !important;
    font-size: 45px !important;
    line-height: 0.94 !important;
    letter-spacing: -0.045em !important;
    font-weight: 900 !important;
    color: #0f4f43 !important;
  }

  body.properties-page .site-header .brand-tagline,
  body.property-detail-page .site-header .brand-tagline {
    display: block !important;
    margin-top: 7px !important;
    font-size: 12.5px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    color: #0f4f43 !important;
    white-space: nowrap !important;
  }

  body.properties-page .site-header .brand-tagline strong,
  body.property-detail-page .site-header .brand-tagline strong {
    color: #b9e84d !important;
  }

  body.properties-page .site-header .brand-mark,
  body.property-detail-page .site-header .brand-mark {
    flex: 0 0 auto !important;
    width: 56px !important;
    height: 56px !important;
    margin-left: auto !important;
    border: 0 !important;
    color: #b9e84d !important;
    background: transparent !important;
  }

  body.properties-page .site-header .brand-mark svg,
  body.property-detail-page .site-header .brand-mark svg {
    width: 100% !important;
    height: 100% !important;
  }

  body.properties-page .site-header .brand-mark circle,
  body.property-detail-page .site-header .brand-mark circle,
  body.properties-page .site-header .brand-mark path,
  body.property-detail-page .site-header .brand-mark path {
    stroke: currentColor !important;
  }

  body.properties-page .site-header .header-categories,
  body.property-detail-page .site-header .header-categories,
  body.properties-page .site-header .header-tools,
  body.property-detail-page .site-header .header-tools {
    display: none !important;
  }
}

@media (max-width: 380px) {
  body.properties-page .site-header,
  body.property-detail-page .site-header {
    padding-inline: 24px !important;
  }

  body.properties-page .site-header .brand-word,
  body.property-detail-page .site-header .brand-word {
    font-size: 41px !important;
  }

  body.properties-page .site-header .brand-mark,
  body.property-detail-page .site-header .brand-mark {
    width: 51px !important;
    height: 51px !important;
  }
}

/* Ajuste 2026-08-01: buscador sin selector de zona + detalles lima */
.search-panel,
.search-panel.mode-property,
.search-panel.mode-shortstay,
.search-panel.mode-services {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.search-panel > label:first-of-type,
.search-panel .date-field,
.zone-suggestions {
  display: none !important;
}

.search-panel .wide-field {
  border-right: 0 !important;
  border-bottom: 0 !important;
}

.search-panel .wide-field:hover {
  border-radius: 999px !important;
}

#zonas .zone-card span,
body:not(.properties-page) #zonas .zone-card span,
body:not(.properties-page) .zone-card span {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

#zonas .zone-card small,
body:not(.properties-page) #zonas .zone-card small,
body:not(.properties-page) .zone-card small {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
}

.site-footer .footer-contact a[href^="mailto:"],
.site-footer .footer-contact a[href^="mailto:"]:hover {
  width: auto !important;
  min-height: 0 !important;
  display: inline-flex !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-empty-filter strong {
  color: #B9E84D !important;
  text-shadow: 0 1px 0 rgba(15,79,67,.18);
}

.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji ellipse {
  fill: #0F4F43 !important;
  opacity: .12 !important;
}

.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji rect[fill^="url(#suitcaseBlueBody"],
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji rect[fill^="url(#suitcaseBlueBody"] {
  fill: #B9E84D !important;
  stroke: #6AA84F !important;
}

.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji rect[fill^="url(#suitcaseBlueGlow"],
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji rect[fill^="url(#suitcaseBlueGlow"] {
  fill: #D8F77A !important;
}

.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji path[stroke="#0B5A93"],
.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji path[stroke="#0A619A"],
.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji path[stroke="#064F86"],
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji path[stroke="#0B5A93"],
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji path[stroke="#0A619A"],
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji path[stroke="#064F86"] {
  stroke: #6AA84F !important;
}

.search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji circle,
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon-suitcase-emoji circle {
  fill: #D8F77A !important;
  stroke: #6AA84F !important;
}

@media (max-width: 760px) {
  body.search-open .mobile-search-trigger {
    display: none !important;
  }

  body.search-open .search-panel,
  body.search-open .search-panel.mode-property,
  body.search-open .search-panel.mode-shortstay,
  body.search-open .search-panel.mode-services {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  body.search-open .search-panel > label:first-of-type,
  body.search-open .search-panel .date-field,
  body.search-open .zone-suggestions {
    display: none !important;
  }

  body.search-open .search-panel .wide-field {
    min-width: 0 !important;
  }
}
/* FIN ajuste 2026-08-01 */
/* Ajuste 2026-08-01: ficha con boton sobre foto y titulo mas liviano */
.property-detail-page .property-detail-modal {
  position: relative !important;
}

.property-detail-page .detail-topbar {
  position: absolute !important;
  top: 16px !important;
  left: 18px !important;
  right: 18px !important;
  z-index: 8 !important;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

.property-detail-page .property-detail-back-link {
  display: inline-flex !important;
  margin: 0 !important;
  min-height: 42px !important;
  padding: 0 16px 0 12px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 12px 28px rgba(16, 39, 42, 0.14) !important;
  pointer-events: auto !important;
}

.property-detail-page .detail-main h2,
.detail-main h2 {
  font-size: clamp(18px, 1.45vw, 23px) !important;
  line-height: 1.18 !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 760px) {
  .property-detail-page .detail-topbar {
    top: 14px !important;
    left: 16px !important;
    right: 16px !important;
  }

  .property-detail-page .property-detail-back-link {
    min-height: 40px !important;
    padding: 0 15px 0 11px !important;
    font-size: 13px !important;
    font-weight: 720 !important;
  }

  .property-detail-page .detail-main h2,
  .detail-main h2 {
    font-size: clamp(19px, 5vw, 22px) !important;
    line-height: 1.18 !important;
    font-weight: 430 !important;
  }
}
/* FIN ajuste 2026-08-01 */

/* Correccion estable: iconos de operacion sin caracteres rotos */
.search-tab[data-operation="compra"]::before,
.header-categories .search-tab[data-operation="compra"]::before,
.mobile-operation-strip .search-tab[data-operation="compra"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="compra"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="compra"]::before {
  content: "" !important;
  display: inline-block !important;
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 5px !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='3' stdDeviation='2' flood-color='%23000' flood-opacity='.18'/%3E%3C/filter%3E%3Cg filter='url(%23s)'%3E%3Cpath d='M12 31 32 14l20 17' fill='none' stroke='%23d64235' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 30v21h28V30' fill='%23fff5df' stroke='%237a7a62' stroke-width='3' stroke-linejoin='round'/%3E%3Crect x='28' y='38' width='8' height='13' rx='1.5' fill='%230f4f43'/%3E%3Crect x='20' y='34' width='8' height='7' rx='1.5' fill='%239bd9f3'/%3E%3Crect x='36' y='34' width='8' height='7' rx='1.5' fill='%239bd9f3'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.search-tab[data-operation="renta"]::before,
.header-categories .search-tab[data-operation="renta"]::before,
.mobile-operation-strip .search-tab[data-operation="renta"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="renta"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="renta"]::before {
  content: "" !important;
  display: inline-block !important;
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 5px !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='4' stdDeviation='2.5' flood-color='%23000' flood-opacity='.2'/%3E%3C/filter%3E%3Cg filter='url(%23s)'%3E%3Ccircle cx='25' cy='25' r='12' fill='%23ffc21a' stroke='%23bd7c00' stroke-width='3'/%3E%3Cpath d='M33 33 52 52M44 44l7-7M49 49l5-5' fill='none' stroke='%23d89000' stroke-width='6' stroke-linecap='round'/%3E%3Ccircle cx='22' cy='22' r='4' fill='%23fff3a6'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.search-tab[data-operation="renta-corta"]::before,
.header-categories .search-tab[data-operation="renta-corta"]::before,
.mobile-operation-strip .search-tab[data-operation="renta-corta"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="renta-corta"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="renta-corta"]::before {
  content: "" !important;
  display: inline-block !important;
  width: 36px !important;
  height: 36px !important;
  margin-bottom: 5px !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='12' y1='12' x2='52' y2='56'%3E%3Cstop stop-color='%23d8f77a'/%3E%3Cstop offset='.55' stop-color='%23b9e84d'/%3E%3Cstop offset='1' stop-color='%236aa84f'/%3E%3C/linearGradient%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='4' stdDeviation='2.5' flood-color='%23000' flood-opacity='.18'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23s)'%3E%3Cpath d='M24 21v-5c0-4 3-7 7-7h2c4 0 7 3 7 7v5' fill='none' stroke='%23706b38' stroke-width='4' stroke-linecap='round'/%3E%3Crect x='13' y='20' width='38' height='36' rx='9' fill='url(%23g)' stroke='%236a8d36' stroke-width='2.4'/%3E%3Cpath d='M23 22v33M41 22v33' stroke='%23706b38' stroke-width='3' opacity='.65'/%3E%3Cpath d='M19 26c6 2 16 2 26 0' stroke='%23fff' stroke-width='3' opacity='.45'/%3E%3Ccircle cx='32' cy='39' r='3' fill='%23f7ffd6' stroke='%237aa51e' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.search-tab[data-search-mode="services"]::before,
.header-categories .search-tab[data-search-mode="services"]::before,
.mobile-operation-strip .search-tab[data-search-mode="services"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-search-mode="services"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-search-mode="services"]::before {
  content: "" !important;
  display: inline-block !important;
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 5px !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='4' stdDeviation='2.4' flood-color='%23000' flood-opacity='.2'/%3E%3C/filter%3E%3Cg filter='url(%23s)'%3E%3Cpath d='M20 31c1-12 6-18 12-18s11 6 12 18l4 11H16l4-11Z' fill='%23f2b632' stroke='%239b6512' stroke-width='3'/%3E%3Cpath d='M24 31c2-8 5-12 8-12s6 4 8 12' fill='none' stroke='%23fff2a8' stroke-width='3' opacity='.55'/%3E%3Crect x='14' y='42' width='36' height='6' rx='3' fill='%23704819'/%3E%3Ccircle cx='32' cy='51' r='4' fill='%23f7c64b' stroke='%23704819' stroke-width='2'/%3E%3Ccircle cx='32' cy='12' r='4' fill='%23f8d05d' stroke='%239b6512' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") !important;
}
/* Ajuste fino ficha: titulo estilo marketplace */
.property-detail-page .detail-main h2,
#propertyDetailTitle {
  font-size: clamp(17px, 1.28vw, 21px) !important;
  line-height: 1.2 !important;
  font-weight: 420 !important;
  letter-spacing: 0 !important;
  max-width: 880px !important;
}

@media (max-width: 760px) {
  .property-detail-page .detail-main h2,
  #propertyDetailTitle {
    font-size: clamp(16px, 4.25vw, 19px) !important;
    line-height: 1.22 !important;
    font-weight: 420 !important;
    margin-top: 8px !important;
  }
}

/* Ajuste final 2026-08-01: iconos tipo emoji con maleta verde */
.search-tab[data-operation="compra"] .tab-icon,
.search-tab[data-operation="renta"] .tab-icon,
.search-tab[data-operation="renta-corta"] .tab-icon,
.search-tab[data-search-mode="services"] .tab-icon,
.header-categories .search-tab[data-operation="compra"] .tab-icon,
.header-categories .search-tab[data-operation="renta"] .tab-icon,
.header-categories .search-tab[data-operation="renta-corta"] .tab-icon,
.header-categories .search-tab[data-search-mode="services"] .tab-icon,
.mobile-operation-strip .search-tab[data-operation="compra"] .tab-icon,
.mobile-operation-strip .search-tab[data-operation="renta"] .tab-icon,
.mobile-operation-strip .search-tab[data-operation="renta-corta"] .tab-icon,
.mobile-operation-strip .search-tab[data-search-mode="services"] .tab-icon {
  display: none !important;
}

.search-tab[data-operation="compra"]::before,
.search-tab[data-operation="renta"]::before,
.search-tab[data-search-mode="services"]::before,
.header-categories .search-tab[data-operation="compra"]::before,
.header-categories .search-tab[data-operation="renta"]::before,
.header-categories .search-tab[data-search-mode="services"]::before,
.mobile-operation-strip .search-tab[data-operation="compra"]::before,
.mobile-operation-strip .search-tab[data-operation="renta"]::before,
.mobile-operation-strip .search-tab[data-search-mode="services"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="compra"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="renta"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-search-mode="services"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="compra"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="renta"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-search-mode="services"]::before {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 5px !important;
  background: none !important;
  background-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  color: initial !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 29px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  filter: drop-shadow(0 3px 4px rgba(15, 79, 67, 0.12));
}

.search-tab[data-operation="compra"]::before,
.header-categories .search-tab[data-operation="compra"]::before,
.mobile-operation-strip .search-tab[data-operation="compra"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="compra"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="compra"]::before {
  content: "\1F3E0" !important;
}

.search-tab[data-operation="renta"]::before,
.header-categories .search-tab[data-operation="renta"]::before,
.mobile-operation-strip .search-tab[data-operation="renta"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="renta"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="renta"]::before {
  content: "\1F511" !important;
}

.search-tab[data-search-mode="services"]::before,
.header-categories .search-tab[data-search-mode="services"]::before,
.mobile-operation-strip .search-tab[data-search-mode="services"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-search-mode="services"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-search-mode="services"]::before {
  content: "\1F6CE\FE0F" !important;
}

.search-tab[data-operation="renta-corta"]::before,
.header-categories .search-tab[data-operation="renta-corta"]::before,
.mobile-operation-strip .search-tab[data-operation="renta-corta"]::before,
body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="renta-corta"]::before,
.properties-page.search-open .mobile-operation-strip .search-tab[data-operation="renta-corta"]::before {
  content: "" !important;
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 auto 5px !important;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='body' x1='14' y1='14' x2='52' y2='56'%3E%3Cstop stop-color='%23F5FFD8'/%3E%3Cstop offset='.35' stop-color='%23D8F77A'/%3E%3Cstop offset='1' stop-color='%23B9E84D'/%3E%3C/linearGradient%3E%3ClinearGradient id='side' x1='14' y1='20' x2='50' y2='56'%3E%3Cstop stop-color='%237DB246'/%3E%3Cstop offset='1' stop-color='%230F4F43'/%3E%3C/linearGradient%3E%3Cfilter id='shadow' x='-24%25' y='-24%25' width='148%25' height='148%25'%3E%3CfeDropShadow dx='0' dy='4' stdDeviation='2.4' flood-color='%23000000' flood-opacity='.20'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23shadow)'%3E%3Cellipse cx='33' cy='57' rx='21' ry='4' fill='%230F4F43' opacity='.16'/%3E%3Cpath d='M24 22v-5.5c0-4.5 3.4-7.7 8-7.7s8 3.2 8 7.7V22' fill='none' stroke='%23715F26' stroke-width='4' stroke-linecap='round'/%3E%3Crect x='13' y='20' width='38' height='36' rx='9' fill='url(%23body)' stroke='%237DB246' stroke-width='2.4'/%3E%3Cpath d='M21.5 23v31M42.5 23v31' stroke='url(%23side)' stroke-width='3.2' stroke-linecap='round' opacity='.74'/%3E%3Cpath d='M18 27c8-4 20-4 28 0' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' opacity='.58'/%3E%3Ccircle cx='32' cy='39' r='3.3' fill='%23F6FFD3' stroke='%237DB246' stroke-width='1.5'/%3E%3Cpath d='M18 51c8 3.2 20 3.2 28 0' fill='none' stroke='%230F4F43' stroke-width='2' stroke-linecap='round' opacity='.22'/%3E%3C/g%3E%3C/svg%3E") !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: drop-shadow(0 3px 5px rgba(15, 79, 67, 0.16));
}

.filter-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}
/* FIN ajuste final 2026-08-01 */

/* Ajuste 2026-08-01: ficha de propiedad con header Oryon sin slogan */
@media (max-width: 640px) {
  body.property-detail-page .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 104px !important;
    padding: 24px 30px 18px !important;
    background: #fff !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.property-detail-page .site-header .brand {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
  }

  body.property-detail-page .site-header .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  body.property-detail-page .site-header .brand-tagline {
    display: none !important;
  }

  body.property-detail-page .site-header .brand-word {
    font-size: 45px !important;
    line-height: .94 !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    color: #0f4f43 !important;
  }

  body.property-detail-page .site-header .brand-mark {
    width: 56px !important;
    height: 56px !important;
    margin-left: auto !important;
    color: #b9e84d !important;
    background: transparent !important;
  }

  body.property-detail-page .site-header .brand-mark circle,
  body.property-detail-page .site-header .brand-mark .logo-house {
    stroke: #b9e84d !important;
  }

  body.property-detail-page .site-header .brand-mark .logo-orbit {
    display: none !important;
  }

  body.property-detail-page .site-header .brand-mark .logo-spark {
    fill: #b9e84d !important;
  }
}
/* FIN ajuste ficha header sin slogan */

/* Ajuste 2026-08-01: boton movil bajo categorias sin cambiar la barra */
.panel-search-submit {
  display: none;
}

@media (max-width: 760px) {
  body:not(.properties-page) .panel-search-submit {
    width: calc(100% - 48px);
    max-width: 560px;
    min-height: 54px;
    margin: 10px auto 18px;
    border: 0;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, #B9E84D 0%, #16806D 58%, #0F4F43 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 16px 34px rgba(15, 79, 67, .18);
    transform: translateY(-4px);
  }

  body:not(.properties-page) .panel-search-submit svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
  }

  body:not(.properties-page).oryon-search-ready .panel-search-submit {
    display: flex;
  }
}

@media (min-width: 761px) {
  .panel-search-submit {
    display: none !important;
  }
}
/* FIN ajuste boton movil bajo categorias */
/* Ajuste 2026-08-01: header Oryon unificado en movil para inicio, catalogo y ficha */
@media (max-width: 760px) {
  body .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 104px !important;
    padding: 22px 28px 16px !important;
    background: #fff !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body .site-header .brand {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    color: #0f4f43 !important;
  }

  body .site-header .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    min-width: 0 !important;
  }

  body .site-header .brand-word {
    font-size: clamp(42px, 12.6vw, 54px) !important;
    line-height: .9 !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    color: #0f4f43 !important;
  }

  body .site-header .brand-tagline {
    display: block !important;
    font-size: clamp(13px, 3.3vw, 16px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
    color: #0f4f43 !important;
    white-space: nowrap !important;
  }

  body .site-header .brand-tagline strong {
    color: #8acb23 !important;
    font-weight: 900 !important;
  }

  body .site-header .brand-mark {
    flex: 0 0 auto !important;
    width: 58px !important;
    height: 58px !important;
    margin-left: auto !important;
    color: #b9e84d !important;
    background: transparent !important;
  }

  body .site-header .brand-mark svg {
    width: 100% !important;
    height: 100% !important;
  }

  body .site-header .brand-mark circle,
  body .site-header .brand-mark .logo-house {
    stroke: #b9e84d !important;
  }

  body .site-header .brand-mark .logo-orbit {
    display: none !important;
  }

  body .site-header .brand-mark .logo-spark {
    fill: #b9e84d !important;
  }
}
/* FIN header Oryon unificado */

/* Ajuste 2026-08-01: buscador movil directo, conserva la barra y muestra boton bajo categorias */
@media (max-width: 760px) {
  body:not(.properties-page) .panel-search-submit {
    display: none !important;
    width: calc(100% - 48px) !important;
    max-width: 560px !important;
    min-height: 54px !important;
    margin: 10px auto 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    background: linear-gradient(135deg, #B9E84D 0%, #0F4F43 100%) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 16px 34px rgba(15, 79, 67, .18) !important;
    transform: none !important;
  }

  body:not(.properties-page).oryon-search-ready .panel-search-submit {
    display: flex !important;
  }

  body:not(.properties-page) .panel-search-submit svg {
    width: 19px !important;
    height: 19px !important;
    fill: currentColor !important;
  }
}
/* FIN buscador movil directo */
/* Ajuste 2026-08-01: mantener barra igual al escribir en movil */
@media (max-width: 760px) {
  body:not(.properties-page).search-open .mobile-search-trigger,
  body:not(.properties-page).oryon-search-ready .mobile-search-trigger {
    transform: none !important;
  }

  body:not(.properties-page).search-open .search-panel,
  body:not(.properties-page).oryon-search-ready .search-panel,
  body:not(.properties-page) .search-panel.search-ready,
  body:not(.properties-page) .search-panel.search-ready.mode-property,
  body:not(.properties-page) .search-panel.search-ready.mode-shortstay,
  body:not(.properties-page) .search-panel.search-ready.mode-services {
    position: static !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
  }

  body:not(.properties-page).search-open .search-panel > label:first-of-type,
  body:not(.properties-page).oryon-search-ready .search-panel > label:first-of-type,
  body:not(.properties-page) .search-panel.search-ready > label:first-of-type {
    display: none !important;
  }

  body:not(.properties-page).search-open .search-panel .wide-field,
  body:not(.properties-page).oryon-search-ready .search-panel .wide-field,
  body:not(.properties-page) .search-panel.search-ready .wide-field {
    display: none !important;
  }
}


/* Ajuste final: slogan visible en fichas de propiedad */
.property-detail-page .site-header .brand-copy,
body.detail-open .site-header .brand-copy {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
}

.property-detail-page .site-header .brand-tagline,
body.detail-open .site-header .brand-tagline {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--brand-dark) !important;
  white-space: nowrap !important;
}

.property-detail-page .site-header .brand-tagline strong,
body.detail-open .site-header .brand-tagline strong {
  color: #B9E84D !important;
  font-weight: 800 !important;
}

@media (max-width: 640px) {
  .property-detail-page .site-header .brand-word,
  body.detail-open .site-header .brand-word {
    font-size: 42px !important;
    line-height: .9 !important;
  }

  .property-detail-page .site-header .brand-tagline,
  body.detail-open .site-header .brand-tagline {
    margin-top: 5px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  .property-detail-page .site-header .brand-mark,
  body.detail-open .site-header .brand-mark {
    width: 46px !important;
    height: 46px !important;
  }
}



/* Catalog search refresh 2026-08-01 */
.properties-page .catalog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-items: start;
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  gap: 12px;
}

.properties-page .catalog-search-panel {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100%;
  max-width: 760px;
  min-height: 60px;
  padding: 0 26px;
  overflow: visible;
  border: 1px solid rgba(15, 79, 67, 0.09);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 79, 67, 0.10);
}

.properties-page .catalog-search-panel::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-right: 16px;
  background: #6aa84f;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.8 4.6a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4Zm-7.7 6.2a7.7 7.7 0 1 1 13.62 4.9l3.34 3.34-1.06 1.06-3.34-3.34A7.7 7.7 0 0 1 3.1 10.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.8 4.6a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4Zm-7.7 6.2a7.7 7.7 0 1 1 13.62 4.9l3.34 3.34-1.06 1.06-3.34-3.34A7.7 7.7 0 0 1 3.1 10.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.properties-page .catalog-search-panel .catalog-hidden-field,
.properties-page .catalog-search-panel .search-submit {
  display: none !important;
}

.properties-page .catalog-keyword-field {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
}

.properties-page .catalog-keyword-field span {
  display: none !important;
}

.properties-page .catalog-keyword-field input {
  width: 100%;
  min-height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #102326;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.properties-page .catalog-keyword-field input::placeholder {
  color: #6f7d80;
  opacity: 0.95;
  font-weight: 400;
}

.properties-page .catalog-panel-search-submit {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 8;
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #B9E84D 0%, #0F4F43 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  box-shadow: 0 18px 40px rgba(15, 79, 67, 0.16);
}

.properties-page .catalog-panel-search-submit svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.properties-page.oryon-search-ready .catalog-panel-search-submit,
.properties-page .catalog-search-panel.search-ready .catalog-panel-search-submit {
  display: flex !important;
}

.properties-page.oryon-search-ready .catalog-search-row {
  margin-bottom: 68px;
}

.properties-page .sort-control span {
  font-weight: 500 !important;
}

.properties-page .sort-control select {
  font-weight: 550 !important;
}

@media (min-width: 761px) {
  .properties-page .catalog-search-row {
    grid-template-columns: minmax(0, 760px);
  }

  .properties-page .catalog-search-row .mobile-filter-trigger {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .properties-page .search-hero {
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .properties-page .catalog-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px;
    width: calc(100% - 48px);
    max-width: 680px;
    gap: 10px;
  }

  .properties-page .catalog-search-panel {
    max-width: none;
    min-height: 58px;
    padding: 0 18px;
  }

  .properties-page .catalog-search-panel::before {
    width: 22px;
    height: 22px;
    margin-right: 14px;
  }

  .properties-page .catalog-keyword-field input {
    min-height: 56px;
    font-size: 16px;
  }

  .properties-page .catalog-search-row .mobile-filter-trigger {
    display: grid !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
  }

  .properties-page .catalog-panel-search-submit {
    min-height: 54px;
    font-size: 17px;
  }

  .properties-page.oryon-search-ready .catalog-search-row {
    margin-bottom: 70px;
  }
}
.properties-page .catalog-panel-search-submit:active {
  transform: scale(0.99);
}
/* Header movil unificado: inicio, catalogo y ficha */
@media (max-width: 640px) {
  body .site-header {
    display: block !important;
    min-height: 124px !important;
    height: 124px !important;
    padding: 32px 24px 22px !important;
    background: #fff !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body .site-header .brand {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    color: #0f4f43 !important;
    text-decoration: none !important;
  }

  body .site-header .brand-copy {
    order: 1 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px !important;
  }

  body .site-header .brand-word {
    display: block !important;
    font-size: 40px !important;
    line-height: .92 !important;
    font-weight: 820 !important;
    letter-spacing: -0.06em !important;
    color: #0f4f43 !important;
  }

  body .site-header .brand-tagline {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 560 !important;
    letter-spacing: -0.015em !important;
    color: #0f4f43 !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }

  body .site-header .brand-tagline strong {
    color: #b9e84d !important;
    font-weight: 820 !important;
  }

  body .site-header .brand-mark {
    order: 2 !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    margin: 0 !important;
    color: #b9e84d !important;
  }

  body .site-header .brand-mark circle,
  body .site-header .brand-mark .logo-house {
    stroke: #b9e84d !important;
  }

  body .site-header .brand-mark .logo-orbit {
    display: none !important;
    opacity: 0 !important;
  }

  body .site-header .brand-mark .logo-spark {
    fill: #b9e84d !important;
  }
}

/* Oryon loading state */
.oryon-loading-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  color: #0f4f43;
}

.oryon-loading-state p {
  margin: 0;
  color: #657473;
  font-weight: 700;
}

.oryon-loading-mark {
  width: 58px;
  height: 58px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid rgba(185, 232, 77, 0.82);
  box-shadow: 0 16px 42px rgba(15, 79, 67, 0.10);
  animation: oryonLoaderPulse 1.55s ease-out infinite;
}

.oryon-loading-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(15, 79, 67, 0.16);
}

.oryon-loading-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #b9e84d;
  box-shadow: 0 0 0 5px rgba(185, 232, 77, 0.16);
}

.oryon-loading-mark span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8f77a 0%, #0f4f43 100%);
  animation: oryonLoaderBounce 0.9s ease-in-out infinite alternate;
}

.home-loading-filter {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-loading-filter .oryon-loading-state {
  min-height: 180px;
}

@keyframes oryonLoaderPulse {
  0% { transform: scale(0.96); opacity: 0.82; }
  55% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(0.96); opacity: 0.82; }
}

@keyframes oryonLoaderBounce {
  from { transform: translateY(5px) scale(0.92); }
  to { transform: translateY(-5px) scale(1.04); }
}
/* Oryon filter operation cards */
.filter-check-list.operation-filter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filter-check-list.operation-filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 79, 67, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  color: #0f4f43;
  font-weight: 700;
}

.filter-check-list.operation-filter-list label:has(input:checked) {
  border-color: #b9e84d;
  background: linear-gradient(135deg, rgba(216, 247, 122, 0.22), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 26px rgba(185, 232, 77, 0.22);
}

.operation-filter-list input {
  width: 16px;
  height: 16px;
  accent-color: #0f4f43;
}

.filter-emoji {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 640px) {
  .filter-check-list.operation-filter-list {
    grid-template-columns: 1fr 1fr;
  }

  .filter-check-list.operation-filter-list label {
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 16px;
  }
}

.home-collection-loading {
  min-height: 220px;
}

.home-collection-loading .collection-track-loading {
  display: block;
  overflow: visible;
  padding: 0;
}

.home-collection-loading .oryon-loading-state,
.property-detail-loading .oryon-loading-state {
  min-height: 240px;
}

.property-detail-loading {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 96px;
}

@media (max-width: 760px) {
  .property-detail-loading {
    width: calc(100% - 32px);
    margin: 16px auto 96px;
  }
}
/* Ajuste 2026-08-02: catalogo movil iguala header y separacion del inicio */
@media (max-width: 640px) {
  body.properties-page .site-header {
    display: block !important;
    min-height: 124px !important;
    height: 124px !important;
    padding: 32px 24px 22px !important;
    background: #fff !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.properties-page .site-header .brand {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    color: #0f4f43 !important;
    text-decoration: none !important;
  }

  body.properties-page .site-header .brand-copy {
    order: 1 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 7px !important;
  }

  body.properties-page .site-header .brand-word {
    display: block !important;
    font-size: 40px !important;
    line-height: .92 !important;
    font-weight: 820 !important;
    letter-spacing: -0.06em !important;
    color: #0f4f43 !important;
  }

  body.properties-page .site-header .brand-tagline {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 560 !important;
    letter-spacing: -0.015em !important;
    color: #0f4f43 !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }

  body.properties-page .site-header .brand-tagline strong {
    color: #B9E84D !important;
    font-weight: 760 !important;
  }

  body.properties-page .site-header .brand-mark {
    order: 2 !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    margin-top: 4px !important;
    margin-left: auto !important;
    color: #B9E84D !important;
    background: transparent !important;
  }

  body.properties-page .site-header .brand-mark svg {
    width: 100% !important;
    height: 100% !important;
  }

  body.properties-page .site-header .brand-mark circle,
  body.properties-page .site-header .brand-mark .logo-house {
    stroke: #B9E84D !important;
  }

  body.properties-page .site-header .brand-mark .logo-orbit {
    display: none !important;
  }

  body.properties-page .site-header .brand-mark .logo-spark {
    fill: #B9E84D !important;
  }

  body.properties-page .search-hero {
    padding-top: 44px !important;
    padding-bottom: 26px !important;
    background: #fff !important;
    border-top: 0 !important;
    box-shadow: none !important;
  }

  body.properties-page .catalog-search-row {
    width: calc(100% - 48px) !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    align-items: center !important;
  }
}
/* FIN ajuste catalogo movil header */

/* Catalog mobile search focus polish */
@media (max-width: 760px) {
  .properties-page .catalog-search-panel,
  .properties-page .catalog-search-panel:hover,
  .properties-page .catalog-search-panel:focus,
  .properties-page .catalog-search-panel:focus-within,
  .properties-page .catalog-search-panel .wide-field,
  .properties-page .catalog-search-panel .wide-field:hover,
  .properties-page .catalog-search-panel .wide-field:focus,
  .properties-page .catalog-search-panel .wide-field:focus-within,
  .properties-page .catalog-keyword-field,
  .properties-page .catalog-keyword-field:hover,
  .properties-page .catalog-keyword-field:focus,
  .properties-page .catalog-keyword-field:focus-within,
  .properties-page .catalog-keyword-field input,
  .properties-page .catalog-keyword-field input:hover,
  .properties-page .catalog-keyword-field input:focus,
  .properties-page .catalog-keyword-field input:active {
    background: #fff !important;
    box-shadow: none !important;
  }

  .properties-page .catalog-keyword-field,
  .properties-page .catalog-keyword-field input {
    -webkit-tap-highlight-color: transparent;
  }

  .properties-page .catalog-keyword-field input {
    -webkit-appearance: none;
    appearance: none;
    outline: 0 !important;
  }

  .properties-page .catalog-keyword-field input:-webkit-autofill,
  .properties-page .catalog-keyword-field input:-webkit-autofill:hover,
  .properties-page .catalog-keyword-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #102326 !important;
  }

  .properties-page .catalog-keyword-field input::-webkit-search-decoration,
  .properties-page .catalog-keyword-field input::-webkit-search-cancel-button,
  .properties-page .catalog-keyword-field input::-webkit-search-results-button,
  .properties-page .catalog-keyword-field input::-webkit-search-results-decoration {
    display: none;
  }
}
/* Catalog search flow fix 2026-08-03 */
.properties-page .catalog-panel-search-submit {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: auto !important;
  display: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.properties-page.oryon-search-ready .catalog-panel-search-submit,
.properties-page .catalog-search-panel.search-ready + .catalog-panel-search-submit {
  display: flex !important;
}

.properties-page.oryon-search-ready .catalog-search-row {
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  body.properties-page .search-hero {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  body.properties-page .catalog-search-row {
    align-items: start !important;
    row-gap: 10px !important;
    margin: 0 auto !important;
  }

  body.properties-page .catalog-search-panel {
    grid-column: 1 / 2 !important;
  }

  body.properties-page .catalog-search-row .mobile-filter-trigger {
    grid-column: 2 / 3 !important;
  }

  body.properties-page .catalog-panel-search-submit {
    grid-column: 1 / -1 !important;
    min-height: 54px;
  }
}
/* Catalog mobile search layout final 2026-08-03 */
.properties-page .catalog-panel-search-submit {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: auto !important;
  display: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.properties-page.oryon-search-ready .catalog-panel-search-submit,
.properties-page .catalog-search-panel.search-ready + .catalog-panel-search-submit {
  display: flex !important;
}

.properties-page.oryon-search-ready .catalog-search-row {
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  body.properties-page .search-hero {
    margin-top: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 12px !important;
  }

  body.properties-page .catalog-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    align-items: center !important;
    row-gap: 12px !important;
    column-gap: 10px !important;
    width: calc(100% - 48px) !important;
    margin: 0 auto !important;
  }

  body.properties-page .catalog-search-panel {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
  }

  body.properties-page .catalog-search-row .mobile-filter-trigger {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
  }

  body.properties-page .catalog-panel-search-submit {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    min-height: 54px !important;
  }
}

@media (min-width: 761px) {
  body.properties-page .catalog-panel-search-submit {
    justify-self: center !important;
    max-width: 760px !important;
  }
}
/* Ajuste final 2026-08-03: buscador Inicio editable sin cambiar visual */
@media (max-width: 760px) {
  body:not(.properties-page).oryon-search-ready .mobile-search-trigger {
    display: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel,
  body:not(.properties-page) .search-panel.search-ready,
  body:not(.properties-page) .search-panel.search-ready.mode-property,
  body:not(.properties-page) .search-panel.search-ready.mode-shortstay,
  body:not(.properties-page) .search-panel.search-ready.mode-services {
    display: grid !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 66px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(12, 48, 45, .11) !important;
    grid-template-columns: 1fr !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel > label:not(.wide-field),
  body:not(.properties-page) .search-panel.search-ready > label:not(.wide-field),
  body:not(.properties-page).oryon-search-ready .search-panel .date-field,
  body:not(.properties-page) .search-panel.search-ready .date-field {
    display: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .wide-field,
  body:not(.properties-page) .search-panel.search-ready .wide-field {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) 30px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .wide-field > span,
  body:not(.properties-page) .search-panel.search-ready .wide-field > span {
    display: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .wide-field::before,
  body:not(.properties-page) .search-panel.search-ready .wide-field::before {
    content: "" !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #6AA84F !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .wide-field::after,
  body:not(.properties-page) .search-panel.search-ready .wide-field::after {
    content: "" !important;
    width: 22px !important;
    height: 22px !important;
    justify-self: end !important;
    background-color: #6AA84F !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10'/%3E%3Cpath d='M18 7h2'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Cpath d='M4 17h2'/%3E%3Cpath d='M10 17h10'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3Cpath d='M4 12h5'/%3E%3Cpath d='M13 12h7'/%3E%3Ccircle cx='11' cy='12' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10'/%3E%3Cpath d='M18 7h2'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Cpath d='M4 17h2'/%3E%3Cpath d='M10 17h10'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3Cpath d='M4 12h5'/%3E%3Cpath d='M13 12h7'/%3E%3Ccircle cx='11' cy='12' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  body:not(.properties-page).oryon-search-ready #keywordFilter,
  body:not(.properties-page) .search-panel.search-ready #keywordFilter {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 66px !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: #0d2425 !important;
    font-size: 1.04rem !important;
    font-weight: 500 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  body:not(.properties-page).oryon-search-ready #keywordFilter:focus,
  body:not(.properties-page) .search-panel.search-ready #keywordFilter:focus {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  body:not(.properties-page).oryon-search-ready #keywordFilter::placeholder,
  body:not(.properties-page) .search-panel.search-ready #keywordFilter::placeholder {
    color: #6f7e80 !important;
    opacity: 1 !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .search-submit,
  body:not(.properties-page) .search-panel.search-ready .search-submit {
    display: flex !important;
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 58px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #B9E84D 0%, #0F4F43 100%) !important;
    color: #fff !important;
    box-shadow: 0 18px 34px rgba(15, 79, 67, .17) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    z-index: 3 !important;
  }

  body:not(.properties-page).oryon-search-ready .search-hero,
  body:not(.properties-page):has(.search-panel.search-ready) .search-hero {
    padding-bottom: 76px !important;
  }
}

/* Ajuste 2026-08-03: Inicio usa el campo real para abrir el teclado movil */
@media (max-width: 760px) {
  body:not(.properties-page) .mobile-search-trigger {
    display: none !important;
  }

  body:not(.properties-page) .search-panel,
  body:not(.properties-page) .search-panel.mode-property,
  body:not(.properties-page) .search-panel.mode-shortstay,
  body:not(.properties-page) .search-panel.mode-services {
    display: grid !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 66px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(12, 48, 45, .11) !important;
    grid-template-columns: 1fr !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  body:not(.properties-page) .search-panel > label:not(.wide-field),
  body:not(.properties-page) .search-panel .date-field {
    display: none !important;
  }

  body:not(.properties-page) .search-panel .wide-field {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) 30px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.properties-page) .search-panel .wide-field > span {
    display: none !important;
  }

  body:not(.properties-page) .search-panel .wide-field::before {
    content: "" !important;
    width: 25px !important;
    height: 25px !important;
    display: block !important;
    background: #6AA84F !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  body:not(.properties-page) .search-panel .wide-field::after {
    content: "" !important;
    width: 25px !important;
    height: 25px !important;
    display: block !important;
    background: #6AA84F !important;
    justify-self: end !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10'/%3E%3Cpath d='M18 7h2'/%3E%3Cpath d='M4 17h2'/%3E%3Cpath d='M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10'/%3E%3Cpath d='M18 7h2'/%3E%3Cpath d='M4 17h2'/%3E%3Cpath d='M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  body:not(.properties-page) #keywordFilter {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 66px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 8px !important;
    color: #172323 !important;
    font-size: 1.04rem !important;
    font-weight: 500 !important;
    outline: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  body:not(.properties-page) #keywordFilter:focus {
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  body:not(.properties-page) #keywordFilter::placeholder {
    color: #6f7e80 !important;
    opacity: 1 !important;
  }

  body:not(.properties-page) .search-panel .search-submit,
  body:not(.properties-page) .panel-search-submit {
    display: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .search-submit,
  body:not(.properties-page) .search-panel.search-ready .search-submit {
    display: flex !important;
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 64px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #B9E84D 0%, #0F4F43 100%) !important;
    color: #fff !important;
    font-size: 1.04rem !important;
    font-weight: 700 !important;
    box-shadow: 0 16px 34px rgba(15, 79, 67, .22) !important;
    z-index: 4 !important;
  }

  body:not(.properties-page).oryon-search-ready .search-hero,
  body:not(.properties-page):has(.search-panel.search-ready) .search-hero {
    padding-bottom: 76px !important;
  }
}
/* Ajuste 2026-08-03: boton Buscar movil en Inicio con espacio propio */
@media (max-width: 760px) {
  body:not(.properties-page) .search-panel .search-submit,
  body:not(.properties-page) .panel-search-submit {
    display: none !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel,
  body:not(.properties-page) .search-panel.search-ready {
    margin-bottom: 66px !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .search-submit,
  body:not(.properties-page) .search-panel.search-ready .search-submit {
    display: flex !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    right: auto !important;
    width: min(100%, 520px) !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    font-size: .96rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    z-index: 2 !important;
    box-shadow: 0 10px 24px rgba(15, 79, 67, .17) !important;
    background: linear-gradient(135deg, #B9E84D 0%, #0F4F43 100%) !important;
    color: #fff !important;
  }

  body:not(.properties-page).oryon-search-ready .quick-actions,
  body:not(.properties-page) .search-panel.search-ready ~ .quick-actions {
    margin-top: 0 !important;
  }
}
/* Ajuste 2026-08-03: boton Buscar movil sin tapar accesos ni categorias */
@media (max-width: 760px) {
  body:not(.properties-page).oryon-search-ready .search-panel,
  body:not(.properties-page) .search-panel.search-ready {
    margin-bottom: 0 !important;
  }

  body:not(.properties-page).oryon-search-ready .search-panel .search-submit,
  body:not(.properties-page) .search-panel.search-ready .search-submit {
    top: calc(100% + 10px) !important;
    height: 48px !important;
    min-height: 48px !important;
    width: min(calc(100% - 4px), 520px) !important;
    z-index: 4 !important;
  }

  body:not(.properties-page).oryon-search-ready .mobile-operation-strip,
  body:not(.properties-page) .search-panel.search-ready + .mobile-operation-strip {
    margin-top: 72px !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body:not(.properties-page).oryon-search-ready .category-strip,
  body:not(.properties-page).oryon-search-ready .property-type-strip,
  body:not(.properties-page).oryon-search-ready .category-filter,
  body:not(.properties-page).oryon-search-ready .type-filter {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
/* Ajuste 2026-08-03: compactar espacio entre accesos y categorias en Inicio movil */
@media (max-width: 760px) {
  body:not(.properties-page) .quick-actions,
  body:not(.properties-page) .mobile-operation-strip {
    margin-bottom: 6px !important;
    padding-bottom: 0 !important;
  }

  body:not(.properties-page) .category-strip,
  body:not(.properties-page) .property-type-strip,
  body:not(.properties-page) .category-filter,
  body:not(.properties-page) .type-filter {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body:not(.properties-page) .search-hero {
    padding-bottom: 12px !important;
  }

  body:not(.properties-page).oryon-search-ready .search-hero,
  body:not(.properties-page):has(.search-panel.search-ready) .search-hero {
    padding-bottom: 18px !important;
  }
}
/* Ajuste 2026-08-03: dar aire sutil a chips de categorias en Inicio movil */
@media (max-width: 760px) {
  body:not(.properties-page) .category-strip,
  body:not(.properties-page) .property-type-strip,
  body:not(.properties-page) .category-filter,
  body:not(.properties-page) .type-filter {
    margin-top: 10px !important;
    margin-bottom: 14px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  body:not(.properties-page) .quick-actions,
  body:not(.properties-page) .mobile-operation-strip {
    margin-bottom: 10px !important;
  }
}
/* Busqueda asistida para estados vacios */
.assisted-search-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  padding: 24px;
  border: 1px solid rgba(15, 79, 67, 0.14);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(15, 79, 67, 0.08);
}

.assisted-search-card strong {
  color: #9bdc32;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 850;
}

.assisted-search-card span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.assisted-search-button,
.lead-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #B9E84D 0%, #0F4F43 100%);
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15, 79, 67, 0.16);
}

.lead-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 24, 26, 0.36);
  backdrop-filter: blur(10px);
}

.lead-search-backdrop[hidden] {
  display: none;
}

.lead-search-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(8, 24, 26, 0.24);
}

.lead-search-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 79, 67, 0.08);
  color: var(--brand-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lead-search-head {
  display: grid;
  gap: 8px;
  margin: 0 44px 20px 0;
}

.lead-search-head h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.04;
}

.lead-search-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.lead-search-form label,
.lead-search-checks {
  display: grid;
  gap: 7px;
  margin: 0;
}

.lead-search-form label span,
.lead-search-checks legend {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
}

.lead-search-form small {
  color: var(--muted);
  font-weight: 650;
}

.lead-search-form input,
.lead-search-form select,
.lead-search-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 79, 67, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 13px;
  outline: 0;
}

.lead-search-form textarea {
  min-height: 74px;
  padding-top: 12px;
  resize: vertical;
}

.lead-search-form input:focus,
.lead-search-form select:focus,
.lead-search-form textarea:focus {
  border-color: #8acb23;
  box-shadow: 0 0 0 4px rgba(185, 232, 77, 0.2);
}

.lead-search-wide,
.lead-search-checks,
.lead-search-submit {
  grid-column: 1 / -1;
}

.lead-search-checks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(15, 79, 67, 0.14);
  border-radius: 16px;
}

.lead-search-checks legend {
  grid-column: 1 / -1;
  padding: 0;
}

.lead-search-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.lead-search-checks input {
  width: 18px;
  min-height: 18px;
}

body.lead-search-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .assisted-search-card {
    max-width: none;
    padding: 18px;
    border-radius: 18px;
  }

  .assisted-search-card strong {
    font-size: 20px;
  }

  .assisted-search-button {
    width: 100%;
  }

  .lead-search-backdrop {
    align-items: end;
    padding: 0;
  }

  .lead-search-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    padding: 22px 18px 28px;
  }

  .lead-search-head {
    margin-right: 42px;
  }

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

  .lead-search-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* FIN busqueda asistida */
/* Ajuste CTA busqueda asistida Inicio */
body:not(.properties-page) .assisted-search-home .assisted-search-copy {
  white-space: nowrap !important;
  font-size: 15px !important;
}

@media (max-width: 760px) {
  body:not(.properties-page) .assisted-search-home .assisted-search-copy {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
}
/* FIN ajuste CTA busqueda asistida Inicio */
/* Ajuste sticky buscador movil Inicio y Propiedades */
@media (max-width: 760px) {
  body:not(.property-detail-page) .search-hero {
    position: sticky !important;
    top: 0 !important;
    z-index: 42 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 26px rgba(15, 79, 67, 0.08) !important;
  }

  body:not(.properties-page):not(.property-detail-page) .search-hero {
    padding-top: 8px !important;
    padding-bottom: 12px !important;
  }

  body.properties-page:not(.property-detail-page) .search-hero {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(15, 79, 67, 0.08) !important;
  }

  body:not(.property-detail-page) .search-hero .hero-content {
    position: relative !important;
    z-index: 1 !important;
  }
}
/* FIN ajuste sticky buscador movil */
/* Ajuste fixed buscador movil Inicio y Propiedades */
@media (max-width: 760px) {
  body.search-hero-fixed:not(.property-detail-page) {
    --sticky-search-height: 88px;
  }

  body.search-hero-fixed:not(.property-detail-page) main {
    padding-top: var(--sticky-search-height) !important;
  }

  body.search-hero-fixed:not(.property-detail-page) .search-hero {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 95 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 12px 28px rgba(15, 79, 67, 0.12) !important;
  }

  body.search-hero-fixed:not(.properties-page):not(.property-detail-page) .search-hero {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }

  body.search-hero-fixed:not(.properties-page):not(.property-detail-page) .mobile-operation-strip {
    display: none !important;
  }

  body.search-hero-fixed:not(.properties-page):not(.property-detail-page) .hero-content {
    min-height: auto !important;
    padding-bottom: 0 !important;
  }

  body.search-hero-fixed.properties-page:not(.property-detail-page) .search-hero {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(15, 79, 67, 0.08) !important;
  }
}
/* FIN ajuste fixed buscador movil */
/* Ajuste Inicio: boton buscar dentro del sticky y sin pisar tarjetas */
@media (max-width: 760px) {
  body.search-hero-fixed:not(.properties-page):not(.property-detail-page).oryon-search-ready .search-hero {
    padding-bottom: 70px !important;
  }

  body.search-hero-fixed:not(.properties-page):not(.property-detail-page).oryon-search-ready .search-panel .search-submit,
  body.search-hero-fixed:not(.properties-page):not(.property-detail-page) .search-panel.search-ready .search-submit {
    top: calc(100% + 10px) !important;
    z-index: 6 !important;
  }

  body.search-hero-fixed:not(.properties-page):not(.property-detail-page).oryon-search-ready .hero-content {
    padding-bottom: 0 !important;
  }
}
/* FIN ajuste Inicio boton sticky */
/* Ajuste: indicadores fijos sobre la galeria movil de ficha */
.detail-gallery-shell {
  position: relative;
}

@media (max-width: 760px) {
  .property-detail-page .detail-gallery-shell,
  .detail-gallery-shell {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    background: #fff;
  }

  .property-detail-page .detail-gallery-shell .detail-photo-dots,
  .detail-gallery-shell .detail-photo-dots {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 14px !important;
    transform: translateX(-50%) !important;
    z-index: 12 !important;
    display: inline-flex !important;
    pointer-events: none !important;
  }
}

/* Ajuste traduccion header: palabra final verde limon */
.brand-tagline strong,
.omh-slogan-accent,
.oryon-lime-word,
.lime-word {
  color: #B9E84D !important;
}

/* Inicio escritorio: logo mas presente y accion Todo mas limpia */
@media (min-width: 761px) {
  body:not(.properties-page):not(.property-detail-page) .site-header {
    grid-template-columns: minmax(210px, 300px) 1fr minmax(260px, 320px);
  }

  body:not(.properties-page):not(.property-detail-page) .site-header .brand {
    gap: 13px;
    min-width: 220px;
  }

  body:not(.properties-page):not(.property-detail-page) .site-header .brand-word {
    font-size: 38px;
    font-family: Inter, Manrope, 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -1.4px;
  }

  body:not(.properties-page):not(.property-detail-page) .site-header .brand-mark {
    width: 50px;
    height: 50px;
  }

  body:not(.properties-page):not(.property-detail-page) .header-categories .search-tab[data-operation="all"] {
    min-width: 82px;
    padding-inline: 18px;
  }

  body:not(.properties-page):not(.property-detail-page) .header-categories .search-tab[data-operation="all"] .tab-icon,
  body:not(.properties-page):not(.property-detail-page) .header-categories .search-tab[data-operation="all"]::before {
    display: none !important;
    content: none !important;
  }
}


/* Accion Todo: emoji de mundo solo en escritorio */
@media (min-width: 761px) {
  .header-categories .search-tab[data-operation="all"] .tab-icon {
    display: none !important;
  }

  .header-categories .search-tab[data-operation="all"]::before,
  body:not(.properties-page):not(.property-detail-page) .header-categories .search-tab[data-operation="all"]::before {
    content: "🌎" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 5px !important;
    background: none !important;
    font-size: 27px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 4px 7px rgba(15, 79, 67, 0.14));
  }
}



/* Movil: Todo sin emoji de mundo */
@media (max-width: 760px) {
  .mobile-operation-strip .search-tab[data-operation="all"]::before,
  body:not(.properties-page) .mobile-operation-strip .search-tab[data-operation="all"]::before,
  .properties-page.search-open .mobile-operation-strip .search-tab[data-operation="all"]::before {
    content: none !important;
    display: none !important;
  }
}

/* Filtro movil: activar scroll del panel desde la apertura */
@media (max-width: 760px) {
  .filter-backdrop {
    overflow: hidden !important;
    touch-action: none;
  }

  .filter-dialog {
    height: min(780px, calc(100dvh - 72px)) !important;
    max-height: calc(100dvh - 72px) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    overscroll-behavior: contain;
  }

  .filter-dialog .filter-header,
  .filter-dialog .filter-tabs,
  .filter-dialog .filter-actions {
    flex: 0 0 auto !important;
  }

  .filter-dialog .filter-pane.active {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: 18px;
  }
}

/* Busqueda asistida: pulido web del CTA y formulario */
@media (min-width: 761px) {
  .assisted-search-card {
    position: relative;
    max-width: 820px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 26px;
    padding: 26px 30px 26px 34px;
    border-radius: 8px;
    border-color: rgba(15, 79, 67, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    box-shadow: 0 18px 44px rgba(15, 79, 67, 0.08);
    overflow: hidden;
  }

  .assisted-search-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 5px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #B9E84D 0%, #0F4F43 100%);
  }

  .assisted-search-card strong {
    color: #0F4F43;
    font-size: 25px;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .assisted-search-card .assisted-search-copy {
    color: #536467;
    font-size: 16px !important;
    line-height: 1.42;
  }

  .assisted-search-button {
    grid-row: 1 / span 2;
    grid-column: 2;
    min-width: 210px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(15, 79, 67, 0.15);
    white-space: nowrap;
  }

  .lead-search-dialog {
    width: min(840px, calc(100vw - 48px));
    border-radius: 8px;
    padding: 32px;
    border: 1px solid rgba(15, 79, 67, 0.10);
  }

  .lead-search-head {
    max-width: 620px;
    margin-bottom: 24px;
  }

  .lead-search-head h2 {
    font-size: 32px;
    letter-spacing: 0;
  }

  .lead-search-form {
    gap: 16px 18px;
  }

  .lead-search-form input,
  .lead-search-form select,
  .lead-search-form textarea,
  .lead-search-checks {
    border-radius: 8px;
  }

  .lead-search-checks {
    padding: 16px;
    background: #fbfdfb;
  }

  .lead-search-submit {
    justify-self: end;
    min-width: 240px;
    border-radius: 8px;
  }
}

/* Header web: marca completa Oryon como en ficha */
@media (min-width: 761px) {
  body:not(.property-detail-page) .site-header {
    grid-template-columns: minmax(320px, 380px) 1fr minmax(260px, 320px) !important;
    min-height: 88px !important;
    padding-inline: 40px !important;
  }

  body:not(.property-detail-page) .site-header .brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    min-width: 320px !important;
    width: auto !important;
    color: #0F4F43 !important;
  }

  body:not(.property-detail-page) .site-header .brand-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    order: 2 !important;
    min-width: 0 !important;
  }

  body:not(.property-detail-page) .site-header .brand-word {
    display: block !important;
    color: #0F4F43 !important;
    font-family: Inter, Manrope, 'Plus Jakarta Sans', Arial, sans-serif !important;
    font-size: 38px !important;
    line-height: .9 !important;
    font-weight: 800 !important;
    letter-spacing: -1.4px !important;
  }

  body:not(.property-detail-page) .site-header .brand-tagline {
    display: block !important;
    margin: 0 !important;
    color: #0F4F43 !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body:not(.property-detail-page) .site-header .brand-tagline strong {
    color: #B9E84D !important;
    font-weight: 850 !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark {
    order: 1 !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    color: #B9E84D !important;
    background: transparent !important;
    border: 0 !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark svg {
    width: 52px !important;
    height: 52px !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark circle,
  body:not(.property-detail-page) .site-header .brand-mark path {
    stroke: currentColor !important;
  }
}

/* Header web: evitar recorte de iconos en la navegacion */
@media (min-width: 761px) {
  body:not(.property-detail-page) .site-header {
    grid-template-columns: minmax(280px, 340px) minmax(500px, 1fr) minmax(230px, 300px) !important;
    gap: clamp(14px, 1.5vw, 24px) !important;
    padding-inline: clamp(24px, 2.8vw, 40px) !important;
  }

  body:not(.property-detail-page) .site-header .brand {
    min-width: 280px !important;
  }

  body:not(.property-detail-page) .site-header .header-categories {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    gap: clamp(14px, 1.6vw, 24px) !important;
    overflow: visible !important;
  }

  body:not(.property-detail-page) .site-header .header-categories .search-tab {
    min-width: 76px !important;
    padding-inline: 2px !important;
    overflow: visible !important;
  }

  body:not(.property-detail-page) .site-header .header-tools {
    min-width: 0 !important;
  }
}

@media (min-width: 1200px) {
  body:not(.property-detail-page) .site-header {
    grid-template-columns: minmax(320px, 380px) minmax(560px, 1fr) minmax(260px, 320px) !important;
  }

  body:not(.property-detail-page) .site-header .brand {
    min-width: 320px !important;
  }
}

/* Header web: asegurar icono visible de renta corta */
@media (min-width: 761px) {
  body:not(.property-detail-page) .site-header .header-categories .search-tab[data-operation="renta-corta"]::before {
    content: "🧳" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 5px !important;
    background: none !important;
    font-size: 27px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 4px 7px rgba(15, 79, 67, 0.14));
  }
}

/* Header web: proporciones de marca iguales a la ficha */
@media (min-width: 761px) {
  body:not(.property-detail-page) .site-header {
    grid-template-columns: minmax(250px, 310px) minmax(520px, 1fr) minmax(230px, 300px) !important;
  }

  body:not(.property-detail-page) .site-header .brand {
    min-width: 250px !important;
    gap: 13px !important;
  }

  body:not(.property-detail-page) .site-header .brand-word {
    font-size: 29px !important;
    line-height: .92 !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
  }

  body:not(.property-detail-page) .site-header .brand-tagline {
    font-size: 16px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark {
    flex-basis: 42px !important;
    width: 42px !important;
    height: 42px !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark svg {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (min-width: 1200px) {
  body:not(.property-detail-page) .site-header {
    grid-template-columns: minmax(250px, 310px) minmax(560px, 1fr) minmax(260px, 320px) !important;
  }

  body:not(.property-detail-page) .site-header .brand {
    min-width: 250px !important;
  }
}

/* Header web: igualar exactamente tamano de marca de la ficha */
@media (min-width: 761px) {
  body:not(.property-detail-page) .site-header .brand-word {
    font-size: 27px !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }

  body:not(.property-detail-page) .site-header .brand-mark svg {
    width: 38px !important;
    height: 38px !important;
  }
}

/* Header web: tipografia exacta igual a ficha */
@media (min-width: 761px) {
  body:not(.property-detail-page) .site-header .brand-word {
    font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-weight: 750 !important;
  }

  body:not(.property-detail-page) .site-header .brand-tagline {
    font-family: Inter, Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    line-height: normal !important;
  }
}

/* Visor web de fotos: escenario amplio, flechas y miniaturas */
@media (min-width: 761px) {
  .photo-viewer-backdrop {
    z-index: 260 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 32px 42px !important;
    background: rgba(6, 24, 26, 0.78) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
  }

  .photo-viewer-modal {
    width: min(1280px, calc(100vw - 84px)) !important;
    max-height: calc(100dvh - 64px) !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    gap: 14px !important;
  }

  .photo-viewer-stage {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    min-height: min(640px, calc(100dvh - 190px)) !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24) !important;
  }

  .photo-viewer-main {
    width: 100% !important;
    height: min(72dvh, 720px) !important;
    max-height: calc(100dvh - 190px) !important;
    display: block !important;
    object-fit: contain !important;
  }

  .photo-viewer-close {
    top: 18px !important;
    right: 18px !important;
    z-index: 5 !important;
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0F2427 !important;
    font-size: 0 !important;
  }

  .photo-viewer-close::before,
  .photo-viewer-close::after {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
  }

  .photo-viewer-close::before { transform: rotate(45deg); }
  .photo-viewer-close::after { transform: rotate(-45deg); }

  .photo-viewer-arrow {
    z-index: 4 !important;
    width: 52px !important;
    height: 52px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(15, 79, 67, 0.10) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0F4F43 !important;
    font-size: 0 !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.20) !important;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease !important;
  }

  .photo-viewer-arrow:hover {
    background: #fff !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26) !important;
  }

  .photo-viewer-arrow::before {
    content: "" !important;
    width: 13px !important;
    height: 13px !important;
    border-top: 3px solid currentColor !important;
    border-right: 3px solid currentColor !important;
  }

  .photo-viewer-prev { left: 24px !important; }
  .photo-viewer-next { right: 24px !important; }
  .photo-viewer-prev::before { transform: rotate(-135deg); margin-left: 5px; }
  .photo-viewer-next::before { transform: rotate(45deg); margin-right: 5px; }

  .photo-viewer-dots {
    bottom: 18px !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(15, 24, 26, 0.38) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
  }

  .photo-viewer-dots i {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.62) !important;
  }

  .photo-viewer-dots i.active {
    width: 20px !important;
    background: #fff !important;
  }

  .photo-viewer-thumbs {
    display: flex !important;
    gap: 10px !important;
    max-width: 100% !important;
    padding: 2px 2px 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .photo-viewer-thumb {
    flex: 0 0 108px !important;
    height: 72px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    opacity: 0.74 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
  }

  .photo-viewer-thumb.active {
    border-color: #B9E84D !important;
    opacity: 1 !important;
  }

  .photo-viewer-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Ficha web: oportunidades sin negrilla en el slogan */
@media (min-width: 761px) {
  body.property-detail-page .site-header .brand-tagline strong {
    font-weight: 400 !important;
  }
}

/* Visor web: ocultar puntos, las miniaturas hacen de navegador */
@media (min-width: 761px) {
  .photo-viewer-dots {
    display: none !important;
  }
}
/* Inicio web: compactar espacio entre buscador y categorias */
@media (min-width: 761px) {
  body:not(.properties-page):not(.property-detail-page) .hero-content {
    padding-bottom: 18px !important;
  }

  body:not(.properties-page):not(.property-detail-page) .category-strip {
    margin-top: 12px !important;
  }
}
/* Admin CRM + Coincidencias */
.crm-card {
  margin-bottom: 22px;
}

.crm-head {
  align-items: flex-start;
  gap: 18px;
}

.crm-intro {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 10px;
  min-width: min(100%, 420px);
}

.crm-stats article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbf9;
}

.crm-stats span,
.client-row small,
.match-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.crm-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 26px;
}

.crm-layout {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(560px, 1.2fr);
  gap: 18px;
  margin-top: 18px;
}

.crm-list-panel,
.crm-editor-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.crm-filters {
  grid-template-columns: minmax(0, 1fr) 180px;
  margin-bottom: 12px;
}

.client-table,
.match-list {
  display: grid;
  gap: 10px;
}

.client-row,
.match-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: left;
}

.client-row {
  cursor: pointer;
}

.client-row:hover,
.client-row.selected {
  border-color: rgba(168, 235, 69, .72);
  background: rgba(168, 235, 69, .08);
}

.client-row strong,
.match-row strong {
  display: block;
  color: var(--brand-dark);
  line-height: 1.25;
}

.client-status-pill,
.match-pill {
  align-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 84, 90, .08);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.crm-editor-head,
.match-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.crm-editor-head h3,
.match-panel h3 {
  margin: 4px 0 0;
  color: var(--brand-dark);
}

.crm-form {
  gap: 12px;
}

.match-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.match-panel-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.match-row {
  grid-template-columns: minmax(0, 1fr) 96px;
}

.match-row em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.match-score {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--accent-dark);
  font-weight: 950;
}

.match-reasons {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.match-reasons span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f6f4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.match-property-clients ul {
  display: grid;
  gap: 8px;
}

.match-property-clients li {
  display: grid;
  gap: 3px;
}

@media (max-width: 920px) {
  .crm-layout,
  .crm-filters,
  .crm-stats {
    grid-template-columns: 1fr;
  }

  .crm-editor-head,
  .match-panel-head {
    align-items: stretch;
    flex-direction: column;
  }
}

.detail-video-fallback {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  color: #0f3f44;
  background: linear-gradient(135deg, rgba(185, 232, 77, 0.16), rgba(15, 91, 96, 0.08));
  border: 1px solid rgba(15, 91, 96, 0.12);
  border-radius: 24px;
}

.detail-video-fallback strong {
  font-size: 18px;
  font-weight: 800;
}

.detail-video-fallback span {
  color: #66777a;
  font-size: 15px;
  line-height: 1.45;
}
.detail-video-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #B9E84D, #0F6A51);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 106, 81, 0.18);
}

.detail-video-direct-link:hover {
  transform: translateY(-1px);
}
/* Admin business dashboard */
.dashboard-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px;
  border: 1px solid rgba(20, 84, 90, 0.12);
  border-radius: 16px;
  background: #f7faf9;
}

.dashboard-subtab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dashboard-subtab:hover {
  transform: translateY(-1px);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-subtab.active {
  border-color: rgba(20, 84, 90, 0.16);
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 28, 0.06);
}

.capture-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.capture-filters label {
  display: grid;
  gap: 6px;
}

.capture-filters span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.capture-filters select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(20, 84, 90, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.analytics-layout .lead-filters {
  grid-column: 1 / -1;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  margin-top: 0;
}
.capture-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.capture-scorecards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
}

.capture-scorecard {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(20, 84, 90, 0.11);
  border-radius: 16px;
  background: #fff;
}

.capture-scorecard span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.capture-scorecard strong {
  display: block;
  margin-top: 12px;
  color: var(--brand-dark);
  font-size: 30px;
  line-height: 1;
}

.capture-scorecard small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.capture-trend-panel,
.capture-distribution-grid,
.capture-support-kpis {
  grid-column: 1 / -1;
}

.capture-distribution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 14px;
}

.capture-history-panel {
  grid-column: 1 / -1;
}

.capture-history-table {
  overflow-x: auto;
}

.capture-history-head,
.capture-history-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.6fr) repeat(4, minmax(86px, 0.7fr));
  align-items: center;
  gap: 10px;
  min-width: 620px;
}

.capture-history-head {
  padding: 0 12px 10px;
  color: #11181c;
  font-size: 13px;
  font-weight: 900;
}

.capture-history-month {
  border-top: 1px solid rgba(20, 84, 90, 0.1);
}

.capture-history-row {
  min-height: 42px;
  padding: 10px 12px;
  color: #11181c;
  font-size: 13px;
}

.capture-history-row.month {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  background: #f8fbfa;
}

.capture-history-row.month::-webkit-details-marker {
  display: none;
}

.capture-history-row.month span::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(185, 232, 77, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.capture-history-month[open] .capture-history-row.month span::before {
  content: "-";
}

.capture-history-row.week {
  color: var(--muted);
  font-weight: 750;
}

.capture-history-row strong {
  color: var(--brand-dark);
  font-weight: 900;
}

.capture-history-weeks .capture-history-row:nth-child(even) {
  background: rgba(20, 84, 90, 0.035);
}

.capture-history-row.total {
  border-top: 2px solid rgba(20, 84, 90, 0.16);
  background: rgba(185, 232, 77, 0.16);
  font-weight: 900;
}
.capture-dot-chart {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.capture-dot-scroll {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 230px auto;
  column-gap: 10px;
  row-gap: 12px;
  width: var(--capture-chart-width, 620px);
  max-width: none;
}

.capture-dot-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px 0 20px;
  border-right: 1px solid rgba(20, 84, 90, 0.28);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.capture-dot-plot {
  position: relative;
  min-height: 230px;
  border-bottom: 1px solid rgba(20, 84, 90, 0.28);
  background: linear-gradient(to bottom, rgba(20, 84, 90, 0.06) 1px, transparent 1px) 0 0 / 100% 25%;
}

.capture-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand-dark);
  transform: translate(-50%, 50%);
  box-shadow: 0 0 0 4px rgba(15, 106, 81, 0.1);
}

.capture-dot em {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.capture-dot-labels {
  grid-column: 2;
  display: grid;
  gap: 6px;
  color: #11181c;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.capture-dot-labels span {
  display: grid;
  gap: 3px;
}

.capture-dot-labels em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.capture-zone-bars {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.capture-operation-pie {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 4px 0;
}

.capture-pie-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(220px, 70vw);
  aspect-ratio: 1;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(20, 84, 90, 0.08), 0 12px 28px rgba(17, 24, 28, 0.08);
}

.capture-pie-visual::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: inherit;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(20, 84, 90, 0.08);
}

.capture-pie-visual span,
.capture-pie-visual small {
  position: relative;
  z-index: 1;
}

.capture-pie-visual span {
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 #ffffff;
}

.capture-pie-visual small {
  margin-top: 34px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #ffffff;
}

.capture-pie-legend {
  display: grid;
  gap: 10px;
  width: 100%;
}

.capture-pie-legend span {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
}

.capture-pie-legend i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.capture-pie-legend i.sale {
  background: var(--brand-dark);
}

.capture-pie-legend i.rent {
  background: var(--accent);
}

.capture-pie-legend i.other {
  background: #d6dedb;
}

.capture-pie-legend em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.capture-price-split {
  display: grid;
  gap: 18px;
}

.capture-price-split section {
  display: grid;
  gap: 10px;
}

.capture-price-split h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.capture-price-bars {
  display: grid;
  gap: 12px;
}

.capture-stack-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.capture-stack-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.capture-stack-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.capture-stack-legend i.captured {
  background: var(--brand-dark);
}

.capture-stack-legend i.exited {
  background: #f0a04b;
}

.capture-stacked-track {
  display: flex;
  overflow: hidden;
  height: 18px;
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.08);
}

.capture-stacked-track i {
  display: block;
  height: 100%;
  flex: 0 0 auto;
}

.capture-stacked-track i.captured {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.capture-stacked-track i.exited {
  background: linear-gradient(90deg, #f0a04b, #ffd08a);
}

.capture-price-row {
  display: grid;
  grid-template-columns: minmax(116px, 170px) minmax(40px, 1fr) 34px 34px;
  align-items: center;
  gap: 10px;
  color: #11181c;
  font-size: 13px;
  font-weight: 750;
}

.capture-price-row i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.capture-price-row strong,
.capture-price-row em,
.capture-zone-row em {
  color: var(--brand-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.capture-price-row em,
.capture-zone-row em {
  color: #a35f1d;
}
.capture-zone-group {
  border: 1px solid rgba(20, 84, 90, 0.1);
  border-radius: 14px;
  background: #ffffff;
}

.capture-zone-group[open] {
  background: #f8fbfa;
}

.capture-zone-row,
.capture-microzone-row {
  display: grid;
  grid-template-columns: minmax(96px, 150px) minmax(40px, 1fr) 34px;
  align-items: center;
  gap: 10px;
  color: #11181c;
  font-size: 13px;
  font-weight: 750;
}

.capture-zone-row {
  min-height: 46px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.capture-zone-row::-webkit-details-marker {
  display: none;
}

.capture-zone-row::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: -4px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(185, 232, 77, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.capture-zone-group[open] .capture-zone-row::before {
  content: "-";
}

.capture-zone-row {
  grid-template-columns: 18px minmax(96px, 150px) minmax(40px, 1fr) 34px 34px;
}

.capture-zone-row i,
.capture-microzone-row i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.capture-microzone-row .capture-stacked-track {
  height: 10px;
}

.capture-microzone-row .capture-stacked-track i.captured {
  background: linear-gradient(90deg, rgba(15, 106, 81, 0.68), rgba(185, 232, 77, 0.78));
}

.capture-microzone-row .capture-stacked-track i.exited {
  background: linear-gradient(90deg, rgba(240, 160, 75, 0.78), rgba(255, 208, 138, 0.86));
}

.capture-zone-row strong,
.capture-zone-row em,
.capture-microzone-row strong,
.capture-microzone-row em {
  color: var(--brand-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  text-align: left;
}

.capture-zone-row em,
.capture-microzone-row em {
  color: #a35f1d;
}

.capture-microzone-list {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px 42px;
}

.capture-microzone-row {
  grid-template-columns: minmax(90px, 140px) minmax(40px, 1fr) 30px 30px;
  color: var(--muted);
  font-size: 12px;
}

.business-dashboard,
.analytics-block {
  margin-bottom: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(17, 24, 28, 0.05);
}

.business-dashboard {
  background: linear-gradient(135deg, rgba(20, 84, 90, 0.06), rgba(168, 235, 69, 0.08)), #fff;
}

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

.dashboard-head.compact {
  margin-bottom: 14px;
}

.dashboard-head h2 {
  margin: 4px 0 6px;
  color: var(--brand-dark);
  font-size: 28px;
  line-height: 1.05;
}

.dashboard-head p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-health {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(20, 84, 90, 0.14);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

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

.dashboard-kpis,
.mini-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-kpis article,
.mini-kpi-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(20, 84, 90, 0.11);
  border-radius: 16px;
  background: #fff;
}

.dashboard-kpis span,
.mini-kpi-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.dashboard-kpis strong,
.mini-kpi-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: 26px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.dashboard-kpis small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.dashboard-grid,
.analytics-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.analytics-layout .mini-kpi-grid,
.insight-panel.wide {
  grid-column: 1 / -1;
}

.insight-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.insight-panel h3 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 17px;
  line-height: 1.2;
}

.insight-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

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

.priority-pill {
  display: inline-grid;
  gap: 3px;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--brand-dark);
  background: #f5f8f7;
  font-size: 13px;
  font-weight: 800;
}

.priority-pill strong {
  font-size: 12px;
  text-transform: uppercase;
}

.priority-pill.good {
  background: rgba(168, 235, 69, 0.18);
}

.priority-pill.warn {
  background: rgba(255, 176, 87, 0.18);
}

.bar-list {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  gap: 7px;
}

.bar-row span,
.expense-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bar-row strong,
.expense-row strong {
  color: var(--brand-dark);
}

.bar-row em,
.expense-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.bar-row i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.expense-list {
  display: grid;
  gap: 9px;
}

.expense-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfa;
}

.expense-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.expense-row span strong,
.expense-row span em {
  text-align: left;
  overflow-wrap: anywhere;
}

.admin-empty-state.compact {
  padding: 14px;
  border-radius: 14px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .dashboard-kpis,
  .mini-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .business-dashboard,
  .analytics-block {
    padding: 16px;
    border-radius: 18px;
  }

  .dashboard-head,
  .dashboard-actions,
  .bar-row span,
  .expense-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-kpis,
  .mini-kpi-grid,
  .dashboard-grid,
  .analytics-layout,
  .capture-dashboard-layout,
  .capture-scorecards,
  .capture-distribution-grid,
  .capture-filters {
    grid-template-columns: 1fr;
  }

  .capture-history-panel {
  grid-column: 1 / -1;
}

.capture-history-table {
  overflow-x: auto;
}

.capture-history-head,
.capture-history-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.6fr) repeat(4, minmax(86px, 0.7fr));
  align-items: center;
  gap: 10px;
  min-width: 620px;
}

.capture-history-head {
  padding: 0 12px 10px;
  color: #11181c;
  font-size: 13px;
  font-weight: 900;
}

.capture-history-month {
  border-top: 1px solid rgba(20, 84, 90, 0.1);
}

.capture-history-row {
  min-height: 42px;
  padding: 10px 12px;
  color: #11181c;
  font-size: 13px;
}

.capture-history-row.month {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  background: #f8fbfa;
}

.capture-history-row.month::-webkit-details-marker {
  display: none;
}

.capture-history-row.month span::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(185, 232, 77, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.capture-history-month[open] .capture-history-row.month span::before {
  content: "-";
}

.capture-history-row.week {
  color: var(--muted);
  font-weight: 750;
}

.capture-history-row strong {
  color: var(--brand-dark);
  font-weight: 900;
}

.capture-history-weeks .capture-history-row:nth-child(even) {
  background: rgba(20, 84, 90, 0.035);
}

.capture-history-row.total {
  border-top: 2px solid rgba(20, 84, 90, 0.16);
  background: rgba(185, 232, 77, 0.16);
  font-weight: 900;
}
.capture-dot-chart {
    max-width: none;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .capture-zone-row {
    grid-template-columns: 18px minmax(82px, 120px) minmax(40px, 1fr) 28px;
    gap: 8px;
  }

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

  .dashboard-subtab,
  .dashboard-health,
  .dashboard-actions .admin-button,
  .priority-pill {
    width: 100%;
  }

  .bar-row em,
  .expense-row em {
    text-align: left;
  }
}

/* Admin tabbed workspace */
.admin-tabs,
.admin-tab-actions,
.crm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(20, 84, 90, 0.14);
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.admin-tab-link.active,
.admin-tab-link:hover {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(20, 84, 90, 0.13);
}

.admin-nav a[data-admin-tab-link] {
  white-space: nowrap;
}

.admin-tab-actions {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 24, 28, 0.04);
}

.crm-actions {
  width: min(100%, 420px);
}

[data-admin-tab][hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .admin-workbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tabs,
  .admin-tab-actions,
  .crm-actions {
    justify-content: flex-start;
  }

  .admin-tab-link,
  .admin-tab-actions .admin-button,
  .crm-actions .admin-button {
    flex: 1 1 180px;
  }
}

@media (max-width: 760px) {
  .admin-nav {
    overflow-x: auto;
    justify-content: flex-start;
    width: 100%;
  }

  .admin-tabs,
  .admin-tab-actions,
  .crm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-tab-link,
  .admin-tab-actions .admin-button,
  .crm-actions .admin-button {
    width: 100%;
  }
}

.match-main {
  min-width: 0;
}

.match-row-discarded {
  opacity: .72;
  background: #fbfbf9;
}

.match-row-visit {
  border-color: rgba(22, 128, 93, .28);
  background: rgba(22, 128, 93, .04);
}

.match-row-new {
  border-color: rgba(168, 235, 69, .45);
}

.match-followup {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 91, 96, .08);
}

.match-followup label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.match-followup label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.match-followup select,
.match-followup textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.match-followup select {
  min-height: 42px;
  padding: 0 12px;
}

.match-followup textarea {
  min-height: 42px;
  resize: vertical;
  padding: 10px 12px;
  line-height: 1.35;
}

.ghost-button.compact {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .match-followup {
    grid-template-columns: 1fr;
  }
}


















.lead-price-row {
  grid-template-columns: minmax(116px, 170px) minmax(40px, 1fr) 34px;
}

.lead-distribution-grid {
  grid-column: 1 / -1;
}


.dashboard-note {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.lead-interest-stats {
  margin: 0 0 14px;
}

.lead-interest-list {
  display: grid;
  gap: 12px;
}

.lead-interest-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(80px, 1fr) 42px;
  align-items: center;
  gap: 12px;
  color: #11181c;
}

.lead-interest-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lead-interest-row strong,
.lead-interest-row em {
  overflow-wrap: anywhere;
}

.lead-interest-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.lead-interest-row i {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.lead-interest-row b {
  color: var(--brand-dark);
  font-size: 13px;
  text-align: right;
}

@media (max-width: 720px) {
  .lead-interest-row {
    grid-template-columns: 1fr 44px;
  }

  .lead-interest-row i {
    grid-column: 1 / -1;
  }
}
#leads-dashboard .lead-kpi-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  #leads-dashboard .lead-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #leads-dashboard .lead-kpi-grid {
    grid-template-columns: 1fr;
  }
}
#leadDemandStats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#leadDemandProfiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-demand-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.lead-demand-column h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 760px) {
  #leadDemandStats,
  #leadDemandProfiles {
    grid-template-columns: 1fr;
  }
}
.lead-bottom-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-bottom-column {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

@media (max-width: 900px) {
  .lead-bottom-grid {
    grid-template-columns: 1fr;
  }
}
#leadOperationPie .capture-pie-visual span {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(17, 24, 28, 0.35);
}
.collapsible-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.collapsible-panel summary::-webkit-details-marker {
  display: none;
}

.collapsible-panel summary::after {
  content: "⌄";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(20, 84, 90, 0.08);
  font-size: 16px;
  transition: transform 0.18s ease;
}

.collapsible-panel:not([open]) summary {
  margin-bottom: 0;
}

.collapsible-panel:not([open]) summary::after {
  transform: rotate(-90deg);
}
.expense-monthly-chart {
  display: grid;
  gap: 12px;
}

.expense-month-row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(80px, 1fr) minmax(92px, auto);
  align-items: center;
  gap: 12px;
  color: #11181c;
}

.expense-month-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.expense-month-row strong {
  color: var(--brand-dark);
  font-weight: 900;
  text-transform: capitalize;
}

.expense-month-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.expense-month-row i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.expense-month-row b {
  color: var(--brand-dark);
  font-size: 13px;
  text-align: right;
}

@media (max-width: 720px) {
  .expense-month-row {
    grid-template-columns: 1fr auto;
  }

  .expense-month-row i {
    grid-column: 1 / -1;
  }
}
.expense-dot-scroll {
  grid-template-rows: 260px auto;
}

.expense-dot-scroll .capture-dot-plot {
  min-height: 260px;
}

.expense-dot em {
  min-width: 84px;
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 2px 8px rgba(17, 24, 28, 0.08);
}
.expense-history-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
  align-items: stretch;
  gap: 16px;
}

.expense-history-cards {
  display: grid;
  gap: 10px;
  align-content: start;
}

.expense-history-panel > h3 {
  margin-bottom: 14px;
}

.expense-trend-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(20, 84, 90, 0.12);
  border-radius: 14px;
  background: #f8fbfa;
}

.expense-trend-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: capitalize;
}

.expense-trend-card strong {
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1;
}

.expense-trend-card small {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 760px) {
  .expense-history-body {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .analytics-layout .lead-filters {
    grid-template-columns: 1fr;
  }
}
.expense-category-group {
  display: grid;
  gap: 8px;
}

.expense-category-group summary {
  list-style: none;
  cursor: pointer;
}

.expense-category-group summary::-webkit-details-marker {
  display: none;
}

.expense-category-summary span strong::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 6px;
  background: rgba(20, 84, 90, 0.08);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

.expense-category-group[open] .expense-category-summary span strong::before {
  content: "-";
}

.expense-provider-drilldown {
  display: grid;
  gap: 8px;
  margin: -2px 0 6px 26px;
  padding-left: 14px;
  border-left: 1px solid rgba(20, 84, 90, 0.12);
}

.expense-provider-row {
  opacity: 0.9;
}

.expense-provider-row span strong {
  font-size: 12px;
}

.expense-provider-row span em {
  font-size: 11px;
}
.expense-type-card {
  min-width: 0;
}

.expense-type-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.expense-type-split span {
  display: grid;
  gap: 4px;
  text-transform: none;
}

.expense-type-split em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.expense-type-split strong {
  font-size: 19px;
}
.expense-type-pie .capture-pie-visual span {
  max-width: 128px;
  font-size: 24px;
  line-height: 1.05;
  text-align: center;
}
.expense-monthly-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.expense-monthly-head,
.expense-monthly-row {
  display: grid;
  grid-template-columns: minmax(72px, 0.55fr) minmax(140px, 1.25fr) repeat(4, minmax(110px, 1fr));
  align-items: center;
  gap: 10px;
  min-width: 780px;
}

.expense-monthly-head {
  padding: 0 12px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.expense-monthly-row {
  padding: 12px;
  border: 1px solid rgba(20, 84, 90, 0.1);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 13px;
}

.expense-monthly-row span {
  display: grid;
  gap: 2px;
}

.expense-monthly-row span strong {
  text-transform: capitalize;
}

.expense-monthly-row span em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.expense-monthly-row > strong {
  text-align: right;
}
.expense-monthly-group {
  display: grid;
  min-width: 780px;
  border: 1px solid rgba(20, 84, 90, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.expense-monthly-summary {
  border: 0;
  border-radius: 0;
  cursor: pointer;
  list-style: none;
  background: #ffffff;
}

.expense-monthly-summary::-webkit-details-marker {
  display: none;
}

.expense-monthly-summary span strong::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(185, 232, 77, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.expense-monthly-group[open] .expense-monthly-summary span strong::before {
  content: "-";
}

.expense-monthly-categories {
  display: grid;
  border-top: 1px solid rgba(20, 84, 90, 0.08);
}

.expense-category-detail {
  border: 0;
  border-radius: 0;
  background: rgba(20, 84, 90, 0.025);
  color: var(--muted);
}

.expense-category-detail:nth-child(even) {
  background: rgba(20, 84, 90, 0.045);
}

.expense-category-detail span {
  padding-left: 26px;
}
.expense-monthly-head span:nth-child(n+3) {
  text-align: right;
}

.expense-monthly-head span:nth-child(-n+2),
.expense-monthly-row > span {
  text-align: left;
}

.expense-monthly-summary > strong,
.expense-category-detail > strong {
  justify-self: end;
  min-width: 0;
  white-space: nowrap;
}

.expense-category-detail > strong:last-child {
  color: var(--muted);
  font-size: 12px;
}
.expense-monthly-summary {
  position: relative;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(248, 251, 250, 0.98), rgba(235, 244, 241, 0.92));
}

.expense-monthly-summary > strong {
  color: var(--brand-dark);
  font-size: 14px;
}

.expense-monthly-group[open] {
  border-color: rgba(20, 84, 90, 0.22);
  box-shadow: 0 14px 28px rgba(17, 24, 28, 0.08);
}

.expense-monthly-group[open] .expense-monthly-summary {
  background: linear-gradient(135deg, rgba(20, 84, 90, 0.1), rgba(185, 232, 77, 0.18));
  border-bottom: 1px solid rgba(20, 84, 90, 0.14);
}

.expense-monthly-group[open] .expense-monthly-summary span strong {
  color: var(--brand-dark);
}

.expense-monthly-group[open] .expense-monthly-summary > strong:first-of-type {
  font-size: 16px;
}
.expense-type-pie .capture-pie-visual span,
.expense-type-pie .capture-pie-visual small {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(17, 24, 28, 0.32);
}
.expense-type-pie .capture-pie-visual {
  width: min(280px, 78vw);
}

.expense-type-pie .capture-pie-visual span {
  max-width: 160px;
  font-size: 25px;
}
#expenses-dashboard .expense-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 860px) {
  #expenses-dashboard .expense-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #expenses-dashboard .expense-kpi-grid {
    grid-template-columns: 1fr;
  }
}
.expense-monthly-row > strong:first-child {
  justify-self: start;
  text-align: left;
}
.expense-breakdown-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.expense-breakdown-side {
  display: grid;
  gap: 18px;
}

.expense-breakdown-grid .insight-panel {
  min-width: 0;
}

.expense-breakdown-grid .expense-type-pie .capture-pie-visual {
  width: min(270px, 71vw);
}

.expense-breakdown-grid .expense-type-pie .capture-pie-visual span {
  max-width: 154px;
  font-size: 24px;
}

@media (max-width: 900px) {
  .expense-breakdown-grid {
    grid-template-columns: 1fr;
  }
}
.analytics-layout .expense-breakdown-grid {
  grid-column: 1 / -1;
  width: 100%;
}

.expense-breakdown-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.analytics-layout .expense-filters {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  margin-top: 0;
}

@media (max-width: 760px) {
  .analytics-layout .expense-filters {
    grid-template-columns: 1fr;
  }
}
.capture-operation-pie .capture-pie-visual span,
.capture-operation-pie .capture-pie-visual small {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(17, 24, 28, 0.34);
}
.general-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.general-overview-grid article {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(20, 84, 90, 0.11);
  border-radius: 16px;
  background: #ffffff;
}

.general-overview-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.general-overview-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: 25px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.general-overview-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .general-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .general-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.general-evolution-panel {
  grid-column: 1 / -1;
}

.general-business-evolution {
  display: grid;
  gap: 14px;
}

.general-evolution-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.general-evolution-summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.08);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.general-evolution-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.general-evolution-head,
.general-evolution-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) repeat(3, minmax(140px, 1fr));
  align-items: center;
  gap: 12px;
  min-width: 640px;
}

.general-evolution-head {
  padding: 0 12px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.general-evolution-row {
  padding: 12px;
  border: 1px solid rgba(20, 84, 90, 0.1);
  border-radius: 12px;
  background: #ffffff;
}

.general-evolution-row > span:first-child {
  display: grid;
  gap: 2px;
  color: var(--brand-dark);
}

.general-evolution-row > span:first-child strong {
  text-transform: capitalize;
}

.general-evolution-row > span:first-child em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.general-evolution-metric {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.06);
}

.general-evolution-metric i {
  display: block;
  height: 100%;
  min-height: 28px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-dark), var(--accent));
}

.general-evolution-metric strong {
  position: absolute;
  right: 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}
.general-range-panel {
  min-height: 100%;
}

.general-range-comparison {
  display: grid;
  gap: 14px;
}

.general-range-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.general-range-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.general-range-legend i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.general-range-legend i.inventory,
.general-range-pair i.inventory {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.general-range-legend i.leads,
.general-range-pair i.leads {
  background: linear-gradient(90deg, #f0a04b, var(--accent));
}

.general-range-bars {
  display: grid;
  gap: 13px;
}

.general-range-row {
  display: grid;
  grid-template-columns: minmax(104px, 138px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #11181c;
  font-size: 13px;
  font-weight: 850;
}

.general-range-row > span {
  color: var(--brand-dark);
}

.general-range-pair {
  display: grid;
  gap: 5px;
}

.general-range-pair div {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.08);
}

.general-range-pair i {
  display: block;
  height: 100%;
  min-height: 18px;
  border-radius: inherit;
}

.general-range-pair strong {
  position: absolute;
  right: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

@media (max-width: 680px) {
  .general-range-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
.general-portfolio-panel {
  grid-column: 1 / -1;
  align-content: start;
}

.general-portfolio-movement {
  display: grid;
  gap: 14px;
}

.portfolio-balance-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(20, 84, 90, 0.12);
  background: linear-gradient(135deg, rgba(20, 84, 90, 0.10), rgba(240, 160, 75, 0.12));
}

.portfolio-balance-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portfolio-balance-card strong {
  color: var(--brand-dark);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  font-weight: 950;
}

.portfolio-balance-card small {
  color: #315157;
  font-size: 13px;
  font-weight: 850;
}

.portfolio-balance-card.negative {
  background: linear-gradient(135deg, rgba(163, 95, 29, 0.12), rgba(240, 160, 75, 0.10));
}

.portfolio-movement-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.portfolio-movement-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.portfolio-movement-legend i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.portfolio-movement-legend i.captures,
.portfolio-movement-month span.captures {
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
}

.portfolio-movement-legend i.exits,
.portfolio-movement-month span.exits {
  background: linear-gradient(180deg, #ffd08a, #f0a04b);
}

.portfolio-movement-bars {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(54px, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 170px;
  overflow-x: auto;
  padding: 8px 2px 2px;
}

.portfolio-movement-month {
  display: grid;
  gap: 8px;
  align-items: end;
  min-width: 54px;
  text-align: center;
}

.portfolio-movement-columns {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 7px;
  height: 126px;
  padding: 8px 6px 0;
  border-radius: 12px;
  background: rgba(20, 84, 90, 0.06);
}

.portfolio-movement-month span {
  position: relative;
  display: block;
  width: 18px;
  min-height: 0;
  border-radius: 999px 999px 4px 4px;
}

.portfolio-movement-month strong {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
}

.portfolio-movement-month em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: capitalize;
}
.general-active-demand-panel {
  grid-column: 1 / -1;
}

.general-active-demand-chart {
  display: grid;
  gap: 14px;
}

.active-demand-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 84, 90, 0.08);
  color: var(--brand-dark);
}

.active-demand-summary strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.active-demand-summary span {
  color: #315157;
  font-size: 13px;
  font-weight: 850;
}


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

.active-demand-section {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.active-demand-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(20, 84, 90, 0.07);
  color: var(--brand-dark);
}

.active-demand-section-head strong {
  font-size: 15px;
  font-weight: 950;
}

.active-demand-section-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .active-demand-split {
    grid-template-columns: 1fr;
  }
}.active-demand-groups {
  display: grid;
  gap: 10px;
}

.active-demand-group {
  border: 1px solid rgba(20, 84, 90, 0.10);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.active-demand-group summary {
  display: grid;
  grid-template-columns: minmax(136px, 190px) minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.active-demand-group summary::-webkit-details-marker {
  display: none;
}

.active-demand-group summary span {
  display: grid;
  gap: 2px;
  color: var(--brand-dark);
}

.active-demand-group summary strong {
  font-size: 14px;
  font-weight: 950;
}

.active-demand-group summary em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.active-demand-group summary i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-dark), var(--accent));
}

.active-demand-group summary b {
  justify-self: end;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.active-demand-details {
  display: grid;
  gap: 7px;
  padding: 0 14px 14px;
}

.active-demand-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(20, 84, 90, 0.06);
}

.active-demand-detail span {
  display: grid;
  gap: 2px;
}

.active-demand-detail strong {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

.active-demand-detail em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.active-demand-detail b {
  justify-self: end;
  min-width: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

@media (max-width: 680px) {
  .active-demand-group summary {
    grid-template-columns: 1fr 36px;
  }

  .active-demand-group summary i {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* Expense dashboard visual polish */
#gastos-dashboard .dashboard-head.compact {
  align-items: center;
  padding-bottom: 4px;
}

#gastos-dashboard .dashboard-head h2 {
  margin-bottom: 4px;
}

#gastos-dashboard .dashboard-head p {
  max-width: 680px;
}

#gastos-dashboard .analytics-layout {
  gap: 18px;
}

#gastos-dashboard .expense-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#gastos-dashboard .expense-kpi-grid article {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 17px 18px;
  border: 1px solid rgba(20, 84, 90, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
}

#gastos-dashboard .expense-kpi-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(185, 232, 77, 0.2);
}

#gastos-dashboard .expense-kpi-grid article span,
#gastos-dashboard .expense-kpi-grid article strong {
  position: relative;
  z-index: 1;
}

#gastos-dashboard .expense-kpi-grid article strong {
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0;
}

.expense-history-panel {
  padding: 20px;
}

.expense-history-body {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  gap: 20px;
}

.expense-history-cards {
  gap: 12px;
}

.expense-trend-card {
  min-height: 92px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 84, 90, 0.06), rgba(255, 255, 255, 0.98));
}

.expense-trend-card strong {
  font-size: clamp(22px, 2.4vw, 30px);
}

.expense-dot-scroll {
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: 300px auto;
  column-gap: 14px;
}

.expense-dot-scroll .capture-dot-plot {
  min-height: 300px;
  background: linear-gradient(to bottom, rgba(20, 84, 90, 0.08) 1px, transparent 1px) 0 0 / 100% 25%;
}

.expense-dot-scroll .capture-dot-y-axis {
  font-size: 11px;
}

.expense-dot {
  width: 14px;
  height: 14px;
  background: var(--brand-dark);
  box-shadow: 0 0 0 5px rgba(15, 106, 81, 0.12), 0 8px 16px rgba(17, 24, 28, 0.16);
}

.expense-dot em {
  min-width: 94px;
  padding: 4px 7px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 84, 90, 0.1);
}

.expense-breakdown-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 20px;
}

.expense-provider-panel,
.expense-category-panel,
.expense-breakdown-side .insight-panel {
  padding: 18px;
}

.expense-provider-list,
#expenseCategoryBreakdown {
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.expense-breakdown-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.expense-category-panel {
  grid-column: 1 / -1;
}

.expense-breakdown-grid .expense-type-pie .capture-pie-visual {
  width: min(240px, 56vw);
}

.expense-breakdown-grid .expense-type-pie .capture-pie-visual::after {
  inset: 31%;
}

.expense-breakdown-grid .expense-type-pie .capture-pie-visual span {
  max-width: 132px;
  font-size: 22px;
}

.expense-breakdown-grid .expense-type-pie .capture-pie-legend span {
  grid-template-columns: 10px minmax(0, 1fr);
  row-gap: 2px;
}

.expense-breakdown-grid .expense-type-pie .capture-pie-legend em {
  grid-column: 2;
}

.expense-category-group {
  padding: 2px 0;
}

.expense-category-summary.bar-row,
.expense-provider-row.bar-row,
.expense-provider-list .bar-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 10px 0;
}

.expense-category-summary.bar-row i,
.expense-provider-row.bar-row i,
.expense-provider-list .bar-row i {
  width: 100% !important;
  max-width: 100%;
  height: 9px;
}

.expense-category-summary span,
.expense-provider-row span,
.expense-provider-list .bar-row span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.expense-provider-drilldown {
  margin-left: 10px;
  padding-left: 16px;
}

.expense-monthly-table {
  gap: 10px;
}

.expense-monthly-head,
.expense-monthly-row {
  grid-template-columns: 72px minmax(150px, 1.2fr) repeat(4, minmax(118px, 1fr));
  min-width: 860px;
}

.expense-monthly-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6faf8;
}

.expense-monthly-group {
  min-width: 860px;
  border-radius: 14px;
}

.expense-monthly-summary {
  min-height: 58px;
}

.expense-category-detail {
  min-height: 48px;
}

.expense-category-detail > strong,
.expense-monthly-summary > strong {
  font-variant-numeric: tabular-nums;
}

.expense-category-detail span strong {
  color: var(--brand-dark);
}

@media (max-width: 980px) {
  .expense-breakdown-grid,
  .expense-history-body {
    grid-template-columns: 1fr;
  }

  .expense-breakdown-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  #gastos-dashboard .expense-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #gastos-dashboard .expense-kpi-grid,
  .analytics-layout .expense-filters {
    grid-template-columns: 1fr;
  }

  .expense-history-panel,
  .expense-provider-panel,
  .expense-category-panel,
  .expense-breakdown-side .insight-panel {
    padding: 15px;
  }
}

/* Expense dot chart scroll fix */
.expense-monthly-chart {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 0 14px;
  scroll-padding-inline: 84px;
  -webkit-overflow-scrolling: touch;
}

.expense-monthly-chart .expense-dot-scroll {
  box-sizing: content-box;
  padding-right: 96px;
}

.expense-monthly-chart .capture-dot-labels {
  padding-right: 4px;
}

.expense-monthly-chart::-webkit-scrollbar {
  height: 10px;
}

.expense-monthly-chart::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.08);
}

.expense-monthly-chart::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(20, 84, 90, 0.34);
}

@media (max-width: 760px) {
  .expense-monthly-chart .expense-dot-scroll {
    padding-right: 120px;
  }
}

/* Capture property summary tables */
.capture-property-summary-panel {
  display: grid;
  gap: 18px;
}

.capture-summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.capture-summary-head h3 {
  margin-bottom: 4px;
}

.capture-summary-filter {
  min-width: 210px;
}

.capture-property-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.capture-property-tables section {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.capture-property-tables h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
}

.capture-property-table {
  display: grid;
  gap: 10px;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 4px 8px 0;
}

.capture-property-group {
  min-width: 0;
  border: 1px solid rgba(20, 84, 90, 0.11);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.capture-property-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(135deg, rgba(20, 84, 90, 0.08), rgba(185, 232, 77, 0.14));
  color: var(--brand-dark);
  font-weight: 950;
}

.capture-property-group summary::-webkit-details-marker {
  display: none;
}

.capture-property-group summary span::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.capture-property-group[open] summary span::before {
  content: "-";
}

.capture-property-group summary strong {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 12px;
}

.capture-property-head,
.capture-property-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(150px, 1.2fr) minmax(105px, 0.8fr) 54px 54px 72px minmax(78px, 0.7fr) minmax(210px, 1.4fr);
  align-items: center;
  gap: 10px;
  min-width: 920px;
}

.capture-property-head {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  background: #f8fbfa;
  border-bottom: 1px solid rgba(20, 84, 90, 0.08);
}

.capture-property-row {
  padding: 10px 12px;
  color: var(--brand-dark);
  font-size: 12px;
  border-bottom: 1px solid rgba(20, 84, 90, 0.06);
}

.capture-property-row:last-child {
  border-bottom: 0;
}

.capture-property-row:nth-child(even) {
  background: rgba(20, 84, 90, 0.026);
}

.capture-property-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capture-property-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capture-property-row .zone-cell {
  color: var(--muted);
  font-weight: 850;
}

.capture-property-row .amenities-cell {
  color: var(--muted);
  white-space: normal;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .capture-property-tables {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .capture-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .capture-summary-filter {
    min-width: 0;
  }
}

/* Lead summary tables */
.lead-summary-panel {
  display: grid;
  gap: 16px;
}

.lead-summary-head h3 {
  margin-bottom: 4px;
}

.lead-summary-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-summary-tables section {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.lead-summary-tables h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
}

.lead-summary-table {
  width: 100%;
  max-height: 620px;
  overflow: auto;
  border: 1px solid rgba(20, 84, 90, 0.1);
  border-radius: 14px;
  background: #ffffff;
}

.lead-summary-table-inner {
  min-width: 1280px;
}

.lead-summary-row {
  display: grid;
  grid-template-columns: 78px 100px minmax(145px, 1.1fr) 112px 48px 54px 54px minmax(180px, 1.25fr) 92px minmax(125px, 1fr) 92px minmax(120px, 0.95fr) 58px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(20, 84, 90, 0.06);
  color: var(--brand-dark);
  font-size: 12px;
}

.lead-summary-row:last-child {
  border-bottom: 0;
}

.lead-summary-row:nth-child(odd):not(.lead-summary-head-row) {
  background: rgba(20, 84, 90, 0.026);
}

.lead-summary-head-row {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  background: #f8fbfa;
  border-bottom: 1px solid rgba(20, 84, 90, 0.12);
}

.lead-summary-row strong,
.lead-summary-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-summary-row strong {
  font-weight: 950;
}

.lead-summary-row .lead-sector-cell,
.lead-summary-row .lead-long-cell,
.lead-summary-row .lead-status-cell {
  white-space: normal;
  line-height: 1.35;
}

.lead-summary-row .lead-long-cell,
.lead-summary-row .lead-sector-cell {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .lead-summary-tables {
    grid-template-columns: 1fr;
  }
}

/* Capture property table dedicated filters */
.capture-summary-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
  min-width: min(660px, 100%);
}

.capture-summary-filters .capture-summary-filter {
  min-width: 0;
}

@media (max-width: 720px) {
  .capture-summary-filters {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

/* Lead table dedicated filters */
.lead-summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.lead-summary-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 10px;
  min-width: min(560px, 100%);
}

.lead-summary-filters label {
  min-width: 0;
}

@media (max-width: 920px) {
  .lead-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-summary-filters {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .lead-summary-filters {
    grid-template-columns: 1fr;
  }
}

/* Admin property workspace tabs */
.property-workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid rgba(20, 84, 90, 0.12);
  border-radius: 14px;
  background: rgba(20, 84, 90, 0.04);
}

.property-workspace-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--brand-dark);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.property-workspace-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.property-workspace-tab.active,
.property-workspace-tab:hover {
  border-color: rgba(20, 84, 90, 0.16);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(20, 84, 90, 0.12);
}

.property-workspace-tab.active span,
.property-workspace-tab:hover span {
  color: var(--brand-dark);
}

@media (max-width: 760px) {
  .property-workspace-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .property-workspace-tab {
    width: 100%;
  }
}

/* Admin direct image uploads */
.review-form input[type="file"] {
  min-height: 46px;
  padding: 10px;
  border: 1px dashed rgba(20, 84, 90, 0.28);
  border-radius: 10px;
  background: rgba(20, 84, 90, 0.04);
  color: var(--brand-dark);
}

.field-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
/* Admin sortable property gallery */
.property-gallery-editor {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.property-gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.property-gallery-item.main {
  border-color: rgba(20, 84, 90, 0.5);
  box-shadow: 0 10px 24px rgba(20, 84, 90, 0.1);
}

.property-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(20, 84, 90, 0.06);
}

.property-gallery-item-actions {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid rgba(20, 84, 90, 0.1);
  background: rgba(20, 84, 90, 0.04);
}

.property-gallery-item-actions button,
.property-gallery-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(20, 84, 90, 0.14);
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.property-gallery-item-actions button:hover:not(:disabled),
.property-gallery-remove:hover {
  color: #fff;
  background: var(--brand);
}

.property-gallery-item-actions button:disabled {
  opacity: 0.38;
  cursor: default;
}

.property-gallery-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(17, 24, 28, 0.62);
}
.gallery-url-details {
  border: 1px solid rgba(20, 84, 90, 0.12);
  border-radius: 10px;
  background: rgba(20, 84, 90, 0.03);
}

.gallery-url-details summary {
  min-height: 40px;
  padding: 10px 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.gallery-url-details label {
  padding: 0 12px 12px;
}
.property-gallery-remove {
  border-color: rgba(17, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(17, 24, 28, 0.16);
}

.property-gallery-remove span,
.property-gallery-remove span::before {
  display: block;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-dark);
  content: "";
}

.property-gallery-remove span {
  transform: rotate(45deg);
}

.property-gallery-remove span::before {
  transform: rotate(90deg);
}

.property-gallery-remove:hover span,
.property-gallery-remove:hover span::before {
  background: #fff;
}
/* Admin property video upload */
.property-video-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-video-upload-actions .admin-button {
  flex: 1 1 160px;
}

.bulk-result.compact {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
}

.property-video-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f1719;
}

.property-video-preview video {
  display: block;
  width: 100%;
  max-height: 320px;
  background: #0f1719;
}
/* ORYON_ADMIN_TAB_FORCE_START */
body[data-active-admin-tab="dashboard"] [data-admin-tab="dashboard"],
body[data-active-admin-tab="properties"] [data-admin-tab="properties"],
body[data-active-admin-tab="crm"] [data-admin-tab="crm"] {
  display: revert !important;
}
body[data-active-admin-tab="dashboard"] section[data-admin-tab="dashboard"],
body[data-active-admin-tab="properties"] section[data-admin-tab="properties"],
body[data-active-admin-tab="crm"] section[data-admin-tab="crm"] {
  display: block !important;
}
body[data-active-admin-tab="properties"] .admin-layout[data-admin-tab="properties"],
body[data-active-admin-tab="crm"] .crm-layout {
  display: grid !important;
}
body[data-active-admin-tab="crm"] #crm-oryon {
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 420px;
}
/* ORYON_ADMIN_TAB_FORCE_END */
/* Admin editor compact top actions */
.review-actions.editor-top-actions {
  position: sticky;
  top: -1px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  border-top-color: transparent;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 12px rgba(12, 43, 48, 0.06);
}

.review-actions.editor-top-actions .admin-button {
  min-height: 30px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.hidden-editor-action {
  display: none !important;
}

@media (max-width: 720px) {
  .review-actions.editor-top-actions {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .review-actions.editor-top-actions .admin-button {
    padding-inline: 8px;
    font-size: 11px;
  }
}

/* Admin address directory */
.address-directory-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(20, 84, 90, 0.14);
  border-radius: 12px;
  background: rgba(20, 84, 90, 0.035);
}

.address-directory-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.address-directory-header strong {
  display: block;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.address-directory-header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.address-directory-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-button.small {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1;
}

.address-directory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.address-directory-item {
  display: grid;
  gap: 2px;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(20, 84, 90, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  text-align: left;
  cursor: pointer;
}

.address-directory-item strong,
.address-directory-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-directory-item strong {
  font-size: 12px;
  font-weight: 900;
}

.address-directory-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.address-directory-item:hover,
.address-directory-item.active {
  border-color: var(--brand);
  background: rgba(20, 84, 90, 0.08);
}

@media (max-width: 720px) {
  .address-directory-header {
    display: grid;
  }

  .address-directory-actions {
    justify-content: stretch;
  }

  .address-directory-actions .admin-button {
    flex: 1 1 130px;
  }
}



.admin-summary article.summary-filter-card {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-summary article.summary-filter-card:hover,
.admin-summary article.summary-filter-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(12, 43, 48, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.unit-directory-anchor {
  position: relative;
}

.unit-directory-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 12;
  display: none;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(20, 84, 90, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(12, 43, 48, 0.16);
}

.unit-directory-list.open {
  display: grid;
  gap: 7px;
}

.unit-directory-list .address-directory-item {
  width: 100%;
  border-radius: 10px;
}

.admin-global-actions {
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
}

.admin-global-actions .admin-button.small {
  flex: 0 1 auto;
  min-height: 34px;
  padding: 8px 14px;
  font-size: 12px;
}

.admin-action-status {
  flex: 1 1 220px;
  margin-left: 6px;
  text-align: right;
}

.property-context-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -6px 0 6px;
}

.inventory-card .property-context-actions + .admin-card-head {
  padding-top: 10px;
}

.property-context-actions .admin-button.small {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 12px;
}

.property-context-actions [hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .admin-global-actions,
  .property-context-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-action-status {
    margin-left: 0;
    text-align: left;
  }
}












.admin-token-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
  padding: 6px 10px;
  border: 1px solid rgba(5, 88, 96, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #5f7174;
  font-size: 0.82rem;
  font-weight: 800;
}
.admin-token-field span { white-space: nowrap; }
.admin-token-field input {
  width: 150px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #06333a;
  font: inherit;
  min-width: 0;
}
.admin-token-field.has-token {
  border-color: rgba(143, 217, 61, 0.75);
  box-shadow: 0 0 0 3px rgba(143, 217, 61, 0.13);
}
