/* Homqi Suite — Home v1.4
   Hero + filtro avanzado + ubicaciones + cards glass + Houzez cards + portafolio + IG + blog
   Paleta: #0c181f · #0f1c26 · #e3a708 · #c19b67 · #fff
*/

.hqh-wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }

.hqh-kicker {
  margin: 0 0 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #c19b67;
}
.hqh-kicker i { margin-right: 6px; }

.hqh-title {
  margin: 0 0 14px; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.15rem); font-weight: 600;
  line-height: 1.12; letter-spacing: -.02em; color: #fff;
}

.hqh-text {
  margin: 0 0 24px; max-width: 52ch; font-size: 15px;
  color: rgba(255,255,255,.72);
}

.hqh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
  text-decoration: none; color: inherit; border: 0; cursor: pointer; transition: .2s ease;
}
.hqh-btn--gold { background: linear-gradient(180deg, #d4af74, #c19b67); color: #0c181f; }
.hqh-btn--gold:hover { filter: brightness(1.06); color: #0c181f; }
.hqh-btn--ghost {
  border: 1px solid rgba(193,155,103,.55); background: rgba(12,24,31,.35); color: #fff;
}
.hqh-btn--ghost:hover { border-color: #c19b67; background: rgba(193,155,103,.12); color: #fff; }
.hqh-btn--block { width: 100%; }

.hqh-link {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #c19b67; text-decoration: none;
}
.hqh-link:hover { color: #e3a708; }
.hqh-link i { margin-left: 6px; font-size: 11px; }

/* Fondos vía background-color para que Elementor Apariencia pueda sobreescribirlos */
.hqh-section { padding: clamp(64px, 8vw, 110px) 0; position: relative; background-color: #0c181f; color: #fff; }
.hqh-section__head { margin-bottom: 40px; }
.hqh-section__head--center { text-align: center; }
.hqh-section__head--center .hqh-text { margin-inline: auto; }
.hqh-section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.hqh-section__foot { margin-top: 36px; text-align: center; }

/*
 * Reveal: visible por defecto (si el JS falla no deja la home en negro).
 * Solo anima cuando JS marca html.hqh-js-ready.
 */
[data-hqh-reveal] {
  opacity: 1;
  transform: none;
}
html.hqh-js-ready [data-hqh-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
html.hqh-js-ready [data-hqh-reveal].is-in {
  opacity: 1;
  transform: none;
}
.hqh-hero[data-hqh-reveal],
.hqh-hero {
  opacity: 1 !important;
  transform: none !important;
}

/* Elementor editor/preview: siempre visible */
.elementor-editor-active [data-hqh-reveal],
.elementor-editor-preview [data-hqh-reveal],
.elementor-edit-area [data-hqh-reveal],
body.elementor-editor-active [data-hqh-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* ========== HERO ========== */
.hqh-hero {
  position: relative; min-height: min(92vh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: visible; padding: 0 0 36px; color: #fff;
  background-color: #0c181f;
}
.hqh-hero__media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  pointer-events: none;
}
.hqh-hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  transform: scale(1.04); animation: hqh-drift 24s ease-in-out infinite alternate;
  filter: saturate(1.12) contrast(1.06) brightness(.92);
}
.hqh-hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,14,20,.48) 0%, rgba(8,14,20,.18) 32%, rgba(12,24,31,.62) 62%, #0c181f 100%),
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(193,155,103,.16), transparent 58%);
}
.hqh-hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 40px, 920px); margin: 0 auto; padding: 96px 0 24px; text-align: center;
}
.hqh-hero__eyebrow {
  margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: #d4af74;
}
.hqh-hero__title {
  margin: 0 0 14px; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem); font-weight: 600; line-height: 1.06;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hqh-hero__lead {
  margin: 0 auto 28px; max-width: 48ch; font-size: 15px; font-weight: 500;
  line-height: 1.5; color: rgba(255,255,255,.88);
}
.hqh-hero__pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 8px;
}
.hqh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid rgba(193,155,103,.55); background: rgba(12,24,31,.45);
  backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: #fff; text-decoration: none;
  transition: .2s ease;
}
.hqh-pill i { color: #c19b67; font-size: 12px; }
.hqh-pill:hover { border-color: #e3a708; background: rgba(193,155,103,.18); color: #fff; }
.hqh-pill b { color: #d4af74; font-weight: 700; }

@keyframes hqh-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1%); }
}

/* ========== FILTRO AVANZADO ========== */
.hqh-search-wrap {
  position: relative; z-index: 80;
  width: min(100% - 24px, 1120px); margin: 18px auto 0;
  overflow: visible;
}
.hqh-as {
  border: 1px solid rgba(193,155,103,.38);
  background: linear-gradient(165deg, rgba(20,31,41,.92) 0%, rgba(12,24,31,.88) 100%);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 32px 70px rgba(0,0,0,.55),
    0 8px 24px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: visible; /* dropdowns no deben cortarse */
  position: relative; z-index: 1;
}
/* Elementor a menudo pone overflow:hidden en section/column y corta el menú */
.elementor-widget-homqi_hero,
.elementor-widget-homqi_hero > .elementor-widget-container,
.elementor-element:has(.hqh-hero),
.elementor-element:has(.hqh-as),
.elementor-element:has(.hqh-as) > .elementor-widget-container,
.elementor-column:has(.hqh-as),
.elementor-container:has(.hqh-as),
.e-con:has(.hqh-as),
.e-con-inner:has(.hqh-as) {
  overflow: visible !important;
}
.hqh-as__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px 0;
}
.hqh-as__modes {
  display: inline-flex; padding: 4px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(193,155,103,.28);
}
.hqh-as__mode {
  min-height: 38px; padding: 0 18px; border: 0; background: transparent;
  color: rgba(255,255,255,.62); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: .2s ease;
}
.hqh-as__mode:hover { color: #fff; }
.hqh-as__mode.is-on {
  background: linear-gradient(180deg, #d4af74, #c19b67); color: #0c181f;
  box-shadow: 0 8px 20px rgba(193,155,103,.28);
}
.hqh-as__hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; font-size: 12px; color: rgba(255,255,255,.55);
}
.hqh-as__hint b { color: #d4af74; }
.hqh-as__hint i { color: #c19b67; }

.hqh-as__main {
  display: grid; grid-template-columns: 1.45fr 1fr .85fr 1.05fr auto;
  gap: 10px; align-items: end; padding: 14px 16px 12px;
  overflow: visible;
}
/* Dropdown por encima de RÁPIDO (stacking entre hermanos) */
.hqh-as__main {
  position: relative;
  z-index: 5;
}
.hqh-as__quick,
.hqh-as__advanced {
  position: relative;
  z-index: 1;
}
.hqh-as:has(.hqh-as-dd.is-open) .hqh-as__main,
.hqh-as:has(.hqh-as-suggest.is-open) .hqh-as__main {
  z-index: 30;
}
.hqh-as:has(.hqh-as-dd.is-open) .hqh-as__quick,
.hqh-as:has(.hqh-as-suggest.is-open) .hqh-as__quick {
  z-index: 0;
}
.hqh-as-dd.is-open { z-index: 200 !important; }
.hqh-as-dd.is-open > .hqh-as-dd__menu { z-index: 201 !important; }
.hqh-as-field:has(.hqh-as-dd.is-open),
.hqh-as-field:has(.hqh-as-suggest.is-open) { z-index: 200 !important; }


/* Propiedades v2: fila principal más rica (baños visible) — avanzados siempre cerrados al inicio */
.hqh-as--listing .hqh-as__main {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, .72fr) minmax(0, .9fr) minmax(0, .72fr) auto;
  padding: 12px 14px 10px;
  gap: 8px;
}
.hqh-as--listing .hqh-as-field__box,
.hqh-as--listing .hqh-as-dd__btn,
.hqh-as--listing .hqh-as-go {
  min-height: 48px;
}
.hqh-as--listing .hqh-as__advanced-grid {
  grid-template-columns: repeat(4, 1fr);
}
.hqh-as--listing .hqh-as__quick {
  padding-top: 2px;
}
.hqh-as--listing .hqh-as-go {
  min-width: 148px;
  padding: 0 16px;
}
.hqh-as__actions-row {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 4px 0 2px;
}
.hqh-as-reset {
  border: 0; background: transparent; cursor: pointer;
  color: rgba(255,255,255,.55); font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.hqh-as-reset:hover { color: #d4af74; }
/* Hero Propiedades (más bajo que Home) */
.hqh-hero--listing {
  min-height: min(58vh, 560px);
  padding-bottom: 28px;
  justify-content: flex-end;
}
.hqh-hero--listing .hqh-hero__inner {
  width: min(100% - 40px, 920px);
  padding: 72px 0 12px;
  text-align: center;
}
.hqh-hero--listing .hqh-hero__title {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
}
.hqh-hero--listing .hqh-hero__lead {
  margin: 0 auto 36px;
  max-width: 46ch;
}
.hqh-hero--listing .hqh-search-wrap {
  width: min(100% - 24px, 1120px);
  margin-top: 28px;
}
.hqh-hero.hqh-hero--search-only {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  justify-content: flex-start;
}
.hqh-hero--search-only .hqh-search-wrap {
  position: relative;
  margin: 28px auto 0;
  width: min(100% - 24px, 1120px);
}
/* Filtrador modular — widget Homqi Filtrador (sin estilos de hero) */
.hqh-filtrador {
  position: relative;
  z-index: 80;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: 0;
}
.hqh-filtrador .hqh-search-wrap {
  position: relative;
  z-index: 80;
  width: min(100% - 24px, 1120px);
  margin: 0 auto;
}
.elementor-widget-homqi_search {
  width: 100% !important;
  max-width: 100%;
}
.elementor-widget-homqi_search > .elementor-widget-container {
  width: 100%;
}
/* Home / Propiedades: seccion hero con Heading/Texto Elementor + Filtrador */
/* Sombreado = preview v3 (.hero__veil): fade inferior a #0c181f, no overlay plano */
.hqh-home-hero,
.e-con.hqh-home-hero {
  position: relative;
  isolation: isolate;
}
.hqh-home-hero > .elementor-background-overlay,
.e-con.hqh-home-hero > .elementor-background-overlay,
.elementor-top-section:has(.hqh-filtrador) > .elementor-background-overlay,
.e-con:has(> .e-con-inner .hqh-filtrador) > .elementor-background-overlay {
  background-color: transparent !important;
  background-image:
    linear-gradient(180deg, rgba(8,14,20,.48) 0%, rgba(8,14,20,.18) 32%, rgba(12,24,31,.72) 58%, #0c181f 100%),
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(193,155,103,.16), transparent 58%) !important;
  opacity: 1 !important;
}
/* Si Elementor no tiene overlay: mismo velo en ::before */
.hqh-home-hero:not(:has(> .elementor-background-overlay))::before,
.e-con.hqh-home-hero:not(:has(> .elementor-background-overlay))::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,14,20,.48) 0%, rgba(8,14,20,.18) 32%, rgba(12,24,31,.72) 58%, #0c181f 100%),
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(193,155,103,.16), transparent 58%);
}
.hqh-home-hero > .elementor-container,
.hqh-home-hero > .e-con-inner,
.e-con.hqh-home-hero > .e-con-inner {
  position: relative;
  z-index: 2;
}
.hqh-home-hero .elementor-heading-title,
.hqh-prop-hero .elementor-heading-title {
  margin: 0;
}
.hqh-home-hero .elementor-widget-text-editor,
.hqh-prop-hero .elementor-widget-text-editor {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.hqh-home-hero .elementor-widget-text-editor p,
.hqh-prop-hero .elementor-widget-text-editor p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.hqh-home-hero .elementor-widget-homqi_search,
.hqh-prop-hero .elementor-widget-homqi_search {
  margin-top: 8px;
}
.hqh-home-hero .elementor-widget-homqi_search .hqh-search-wrap,
.hqh-prop-hero .elementor-widget-homqi_search .hqh-search-wrap {
  margin-top: 0;
}
/* Cabecera sin filtrador: no fuerza altura de listado completo */
.hqh-hero:not(.hqh-hero--search-only):not(:has(.hqh-search-wrap)) {
  padding-bottom: 24px;
}

/* Página Propiedades: listado + sidebar */
.hqh-listing {
  background-color: #0c181f;
  color: #fff;
  padding: 36px 0 80px;
}
.hqh-listing__inner {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
}
.hqh-listing__crumb {
  margin: 0 0 18px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  letter-spacing: .6px;
}
.hqh-listing__crumb a { color: #c19b67; text-decoration: none; }
.hqh-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(193,155,103,.2);
}
.hqh-toolbar__count b { color: #d4af74; }
.hqh-toolbar__right {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,.62);
}
.hqh-toolbar select {
  min-height: 38px; padding: 0 12px;
  border: 1px solid rgba(193,155,103,.28);
  background: #141f29; color: #fff;
  font-family: inherit; font-weight: 600;
}
.hqh-view {
  display: inline-flex;
  border: 1px solid rgba(193,155,103,.28);
  overflow: hidden;
}
.hqh-view__btn {
  width: 38px; height: 38px; border: 0; background: transparent;
  color: rgba(255,255,255,.5); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease, color .18s ease;
}
.hqh-view__btn + .hqh-view__btn {
  border-left: 1px solid rgba(193,155,103,.28);
}
.hqh-view__btn:hover { color: #fff; background: rgba(193,155,103,.1); }
.hqh-view__btn.is-on {
  background: rgba(193,155,103,.18); color: #d4af74;
}

/* Vista lista: card horizontal */
.hqh-props__grid--listing.is-list {
  grid-template-columns: 1fr !important;
  gap: 16px;
}
.hqh-props__grid--listing.is-list .hqh-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 200px;
}
.hqh-props__grid--listing.is-list .hqh-card__media {
  width: min(42%, 320px);
  aspect-ratio: auto;
  min-height: 200px;
  flex: 0 0 min(42%, 320px);
}
.hqh-props__grid--listing.is-list .hqh-card__body {
  margin-top: 0;
  flex: 1 1 auto;
  justify-content: center;
  padding: 16px 18px;
}
.hqh-props__grid--listing.is-list .hqh-card__title {
  -webkit-line-clamp: 2;
  font-size: 1.25rem;
}
.hqh-props__grid--listing.is-list .hqh-card__actions .hqh-btn {
  max-width: 220px;
}
@media (max-width: 720px) {
  .hqh-props__grid--listing.is-list .hqh-card {
    flex-direction: column;
    min-height: 0;
  }
  .hqh-props__grid--listing.is-list .hqh-card__media {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16/11;
    min-height: 0;
  }
  .hqh-props__grid--listing.is-list .hqh-card__actions .hqh-btn {
    max-width: none;
  }
}
.hqh-listing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.hqh-listing__layout--full { grid-template-columns: 1fr; }
/* 2 cols (preview Homqi) — más específico que .hqh-props__grid de 3 cols */
.hqh-props__grid.hqh-props__grid--listing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hqh-listing .hqh-card__body { padding: 16px 18px 16px; }
.hqh-side {
  position: sticky; top: 64px;
  border: 1px solid rgba(193,155,103,.28);
  background: #141f29;
  padding: 18px;
}
.hqh-side h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; color: #d4af74;
}
.hqh-side__card {
  display: grid; gap: 8px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none; color: inherit;
}
.hqh-side__card:last-child { border: 0; margin: 0; padding: 0; }
.hqh-side__thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  border: 1px solid rgba(193,155,103,.2);
}
.hqh-side__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hqh-side__price {
  position: absolute; left: 8px; bottom: 8px;
  padding: 5px 8px; background: rgba(12,24,31,.82);
  border: 1px solid rgba(193,155,103,.35);
  font-size: 12px; font-weight: 700; color: #d4af74;
}
.hqh-side__type {
  margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #c19b67;
}
.hqh-side__title {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem; font-weight: 600; line-height: 1.25; color: #fff;
}
.hqh-side__meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 11px; color: rgba(255,255,255,.62);
}
.hqh-side__meta i { color: #c19b67; margin-right: 4px; }
.hqh-pager {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.hqh-pager a {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(193,155,103,.28); color: #fff;
  text-decoration: none; font-size: 12px; font-weight: 700;
}
.hqh-pager a.is-on {
  background: linear-gradient(180deg, #d4af74, #c19b67);
  color: #0c181f; border-color: transparent;
}
@media (max-width: 1200px) {
  .hqh-as--listing .hqh-as__main {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .85fr) auto;
  }
  .hqh-as--listing .hqh-as-field--baths-main {
    display: none; /* baños pasa a avanzados bajo 1200px para no aplastar la fila */
  }
  .hqh-props__grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hqh-listing__layout { grid-template-columns: 1fr; }
  .hqh-side { position: static; }
  .hqh-hero--listing {
    min-height: min(48vh, 480px);
    padding-bottom: 20px;
  }
  .hqh-hero--listing .hqh-hero__inner { padding: 56px 0 8px; }
  .hqh-hero--listing .hqh-hero__title { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
  .hqh-hero--listing .hqh-hero__lead { margin-bottom: 28px; }
  .hqh-hero--listing .hqh-search-wrap { width: min(100% - 20px, 1120px); margin-top: 20px; }
  .hqh-as--listing .hqh-as__main {
    grid-template-columns: 1fr 1fr;
  }
  .hqh-as--listing .hqh-as__main > .hqh-as-field:first-child {
    grid-column: 1 / -1; /* ubicación full width en tablet */
  }
  .hqh-as--listing .hqh-as-go {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .hqh-as--listing .hqh-as-field--baths-main {
    display: flex; /* en tablet 2-col vuelve a caber */
  }
  .hqh-props__grid--3,
  .hqh-props__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hqh-props__grid--listing { gap: 16px; }
  .hqh-listing { padding: 28px 0 64px; }
  .hqh-card__title { font-size: 1.12rem; }
}
@media (max-width: 640px) {
  .hqh-props__grid--listing,
  .hqh-props__grid--2,
  .hqh-props__grid--3,
  .hqh-props__grid--4 { grid-template-columns: 1fr; }
  .hqh-listing__inner { width: min(100% - 24px, 1240px); }
  .hqh-hero--listing { min-height: auto; }
  .hqh-hero--listing .hqh-hero__inner { padding: 64px 0 6px; width: min(100% - 28px, 920px); }
  .hqh-hero--listing .hqh-hero__lead { font-size: 14px; margin-bottom: 24px; }
  .hqh-as--listing .hqh-as__main { grid-template-columns: 1fr; }
  .hqh-as--listing .hqh-as__main > .hqh-as-field:first-child { grid-column: auto; }
  .hqh-as--listing .hqh-as-field--baths-main { display: none; } /* mobile: vía Más filtros */
  .hqh-card__price { font-size: 14px; padding: 7px 10px; }
  .hqh-card__body { padding: 14px; }
  .hqh-card__top { padding-bottom: 10px; gap: 5px; }
  .hqh-card__amenities { padding-bottom: 10px; }
  .hqh-card__amenity { font-size: 11.5px; gap: 5px; margin-right: 10px; padding-right: 10px; }
  .hqh-card__foot { padding-top: 10px; gap: 10px; }
  .hqh-toolbar { gap: 10px; }
  .hqh-toolbar__right { width: 100%; justify-content: space-between; }
}
.hqh-as-field { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; z-index: 1; }
.hqh-as-field:has(.hqh-as-dd.is-open),
.hqh-as-field:has(.hqh-as-suggest.is-open) { z-index: 50; }
.hqh-as-field__label {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(212,175,116,.9);
}
.hqh-as-field__label i { font-size: 11px; width: 14px; text-align: center; }
.hqh-as-field__box {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(193,155,103,.28);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hqh-as-field__box:focus-within {
  background: rgba(193,155,103,.1); border-color: rgba(227,167,8,.7);
  box-shadow: 0 0 0 3px rgba(227,167,8,.12);
}
.hqh-as-field__box input,
.hqh-as-field__box select {
  width: 100%; border: 0; outline: 0; background: transparent;
  font-size: 14px; font-weight: 600; color: #fff; -webkit-text-fill-color: #fff;
  font-family: Montserrat, "Segoe UI", sans-serif;
}
.hqh-as-field__box input::placeholder {
  color: rgba(255,255,255,.42); -webkit-text-fill-color: rgba(255,255,255,.42); opacity: 1;
}
.hqh-as-field__box select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c19b67' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 18px;
}
.hqh-as-field__box select option {
  color: #fff; background: #0f1c26;
}

/* Dropdown Homqi (reemplaza select nativo) */
.hqh-as-dd { position: relative; width: 100%; z-index: 1; }
.hqh-as-dd.is-open { z-index: 90; }
.hqh-as-dd__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 54px; padding: 0 14px; border: 1px solid rgba(193,155,103,.28);
  background: rgba(255,255,255,.04); color: #fff; cursor: pointer; text-align: left;
  font-family: Montserrat, "Segoe UI", sans-serif; font-size: 14px; font-weight: 600;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hqh-as-dd__btn i {
  font-size: 11px; color: #c19b67; transition: transform .2s ease; flex: 0 0 auto;
}
.hqh-as-dd.is-open .hqh-as-dd__btn {
  background: rgba(193,155,103,.1); border-color: rgba(227,167,8,.7);
  box-shadow: 0 0 0 3px rgba(227,167,8,.12);
}
.hqh-as-dd.is-open .hqh-as-dd__btn i { transform: rotate(180deg); }
.hqh-as-dd__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 100;
  display: none; padding: 8px;
  background: #0e161e;
  border: 1px solid rgba(193,155,103,.42);
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
  max-height: min(280px, 55vh); overflow: auto;
}
.hqh-as-dd.is-open > .hqh-as-dd__menu,
.hqh-as-dd.is-open > .hqh-as-dd__menu[hidden] {
  display: block !important; /* vence atributo hidden del HTML / UA */
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
  animation: hqh-as-pop .16s ease;
}
.hqh-as-dd__menu > button[role="option"] {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 11px 12px; border: 0; background: transparent;
  color: rgba(255,255,255,.88); font-size: 13px; font-weight: 600;
  text-align: left; cursor: pointer;
  font-family: Montserrat, "Segoe UI", sans-serif;
}
.hqh-as-dd__menu > button[role="option"]:hover,
.hqh-as-dd__menu > button[role="option"].is-on {
  background: rgba(193,155,103,.16); color: #fff;
}
.hqh-as-dd__other { color: #d4af74 !important; border-top: 1px solid rgba(193,155,103,.2) !important; margin-top: 4px; }
.hqh-as-dd__other i { color: #c19b67; font-size: 11px; width: 14px; }
.hqh-as-dd__custom {
  display: none; flex-direction: column; gap: 8px;
  padding: 10px 12px 12px; margin-top: 4px;
  border-top: 1px solid rgba(193,155,103,.22);
}
.hqh-as-dd__custom.is-on { display: flex; }
.hqh-as-dd__custom label {
  font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: rgba(212,175,116,.9);
}
.hqh-as-dd__custom input {
  width: 100%; min-height: 42px; padding: 0 12px;
  border: 1px solid rgba(193,155,103,.35);
  background: rgba(255,255,255,.04); color: #fff;
  font-size: 14px; font-weight: 600; outline: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
}
.hqh-as-dd__custom input:focus {
  border-color: rgba(227,167,8,.7);
  box-shadow: 0 0 0 3px rgba(227,167,8,.12);
}
.hqh-as-dd__apply {
  min-height: 40px; border: 0; cursor: pointer;
  background: #c19b67; color: #0c181f;
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
  font-family: Montserrat, "Segoe UI", sans-serif;
}
.hqh-as-dd__apply:hover { background: #e3a708; }

.hqh-as-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  display: none; padding: 8px; background: rgba(14,22,30,.98);
  border: 1px solid rgba(193,155,103,.4); box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.hqh-as-suggest.is-open { display: block; animation: hqh-as-pop .18s ease; }
.hqh-as-suggest button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 10px 12px; border: 0; background: transparent;
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600;
  text-align: left; cursor: pointer;
}
.hqh-as-suggest button:hover { background: rgba(193,155,103,.14); color: #fff; }
.hqh-as-suggest button i { color: #c19b67; width: 16px; }
.hqh-as-suggest button small { margin-left: auto; color: rgba(255,255,255,.4); }

.hqh-as-go {
  display: inline-flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 10px; min-width: 148px; min-height: 54px; padding: 0 20px; border: 0; cursor: pointer;
  background: #c19b67; color: #0c181f;
  font-weight: 700; letter-spacing: .4px; text-transform: none; transition: background .2s ease, color .2s ease;
}
.hqh-as-go:hover { background: #e3a708; }
.hqh-as-go:active { background: #b8905a; }
.hqh-as-go__main {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .2px; text-transform: none;
}
.hqh-as-go__sub {
  font-size: 12px; letter-spacing: 0; opacity: .72; text-transform: none; font-weight: 600;
  padding-left: 10px; border-left: 1px solid rgba(12,24,31,.25);
}

.hqh-as__quick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 16px 14px;
}
.hqh-as__quick-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.hqh-as-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px;
  border: 1px solid rgba(193,155,103,.3); background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78); font-size: 12px; font-weight: 600; cursor: pointer; transition: .18s ease;
}
.hqh-as-chip:hover, .hqh-as-chip.is-on {
  border-color: #c19b67; background: rgba(193,155,103,.16); color: #fff;
}
.hqh-as-chip i { font-size: 10px; color: #c19b67; }

.hqh-as__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(193,155,103,.2); background: rgba(0,0,0,.18);
}
.hqh-as-toggle {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer;
  color: #d4af74; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.hqh-as-toggle i { transition: transform .25s ease; }
.hqh-as.is-advanced .hqh-as-toggle i.fa-chevron-down { transform: rotate(180deg); }
.hqh-as-toggle:hover { color: #fff; }
.hqh-as-toggle__short { display: none; }
.hqh-as__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hqh-as-tag {
  display: none; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px;
  background: rgba(193,155,103,.14); border: 1px solid rgba(193,155,103,.35);
  color: #fff; font-size: 11px; font-weight: 600;
}
.hqh-as-tag.is-on { display: inline-flex; }
.hqh-as-tag button {
  border: 0; background: transparent; color: #d4af74; cursor: pointer; padding: 0; font-size: 12px;
}

.hqh-as__advanced {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease;
  border-top: 1px solid transparent;
}
.hqh-as.is-advanced .hqh-as__advanced {
  grid-template-rows: 1fr; border-top-color: rgba(193,155,103,.22);
}
.hqh-as__advanced-inner { overflow: hidden; min-height: 0; }
.hqh-as__advanced-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px;
}
.hqh-as__amenities {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px;
}
.hqh-as-check {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
  border: 1px solid rgba(193,155,103,.25); background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.75); font-size: 12px; font-weight: 600; cursor: pointer; user-select: none;
}
.hqh-as-check input { position: absolute; opacity: 0; pointer-events: none; }
.hqh-as-check i { color: transparent; font-size: 10px; width: 14px; text-align: center; }
.hqh-as-check:has(input:checked) {
  border-color: #e3a708; background: rgba(227,167,8,.14); color: #fff;
}
.hqh-as-check:has(input:checked) i { color: #e3a708; }
.hqh-as-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hqh-as-range .hqh-as-field__box { min-height: 46px; }

@keyframes hqh-as-pop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== UBICACIONES ========== */
.hqh-destinos { background-color: #0c181f; }
.hqh-destinos__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hqh-destino {
  position: relative; min-height: 260px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(193,155,103,.3); text-decoration: none; color: #fff;
  transition: transform .25s ease, border-color .25s ease;
}
.hqh-destino:hover { transform: translateY(-4px); border-color: #c19b67; }
.hqh-destino__img {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.hqh-destino:hover .hqh-destino__img { transform: scale(1.06); }
.hqh-destino__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,24,31,.1) 15%, rgba(12,24,31,.9));
}
.hqh-destino__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; }
.hqh-destino__name { display: block; margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.hqh-destino__count { font-size: 12px; color: #d4af74; }
.hqh-destino__count i { margin-right: 4px; }

/* ========== CARDS HOMQI (widget Destacadas / Recientes) ========== */
.hqh-props { background-color: #0c181f; background-image: linear-gradient(180deg, #101c26, #0c181f); }
.hqh-props--cards-only { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 64px); }

/* ========== SLIDER Propiedades destacadas ========== */
.hqh-props-slider {
  position: relative;
  --hqh-slide-gap: 20px;
  --hqh-per-view: 3;
}
.hqh-props-slider__viewport {
  overflow: hidden;
  margin: 0 44px;
}
.hqh-props-slider__track {
  display: flex;
  gap: var(--hqh-slide-gap);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.hqh-props-slider__slide {
  flex: 0 0 calc((100% - (var(--hqh-per-view) - 1) * var(--hqh-slide-gap)) / var(--hqh-per-view));
  min-width: 0;
  height: auto;
}
.hqh-props-slider__slide .hqh-card { height: 100%; }
.hqh-props-slider__nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(193,155,103,.45);
  background: rgba(12,24,31,.88); color: #d4af74;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
  backdrop-filter: blur(8px);
}
.hqh-props-slider__nav:hover {
  background: #c19b67; color: #0c181f; border-color: transparent;
}
.hqh-props-slider__nav:disabled {
  opacity: .35; cursor: default; pointer-events: none;
}
.hqh-props-slider__nav--prev { left: 0; }
.hqh-props-slider__nav--next { right: 0; }
.hqh-props-slider__dots {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 22px;
}
.hqh-props-slider__dot {
  width: 8px; height: 8px; border-radius: 999px; padding: 0; border: 0;
  background: rgba(255,255,255,.28); cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.hqh-props-slider__dot.is-on {
  width: 22px; background: #c19b67;
}
@media (max-width: 980px) {
  .hqh-props-slider { --hqh-per-view: 2; }
  .hqh-props-slider__viewport { margin: 0 36px; }
}
@media (max-width: 640px) {
  .hqh-props-slider { --hqh-per-view: 1; --hqh-slide-gap: 14px; }
  .hqh-props-slider__viewport { margin: 0 34px; }
  .hqh-props-slider__nav { width: 36px; height: 36px; top: 38%; }
}
.hqh-props__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  align-items: stretch;
}
.hqh-props__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hqh-props__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hqh-props__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 3 cols solo en pantallas amplias — si no, se ven apretadas */
@media (max-width: 1280px) {
  .hqh-props__grid--3,
  .hqh-props__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hqh-props__grid > .hqh-card { height: 100%; min-width: 0; }
.hqh-card {
  display: flex; flex-direction: column; height: 100%;
  background: #141f29; border: 1px solid rgba(193,155,103,.22);
  border-radius: 12px; overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.hqh-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(193,155,103,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.hqh-card__media {
  position: relative; display: block; aspect-ratio: 16/11; overflow: hidden;
  background: #141f29; flex-shrink: 0; z-index: 0; color: inherit; text-decoration: none;
}
a.hqh-card__media:hover { color: inherit; }
.hqh-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.001); /* evita flash de 1px al hover por subpíxel */
  transition: transform .45s ease;
  backface-visibility: hidden;
}
.hqh-card:hover .hqh-card__media img { transform: scale(1.04); }
.hqh-card__media-fade {
  position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 0%, #141f29 100%);
}
.hqh-card__badges {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; flex-wrap: wrap; gap: 6px; z-index: 2;
}
.hqh-badge {
  padding: 4px 9px; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  border-radius: 4px;
}
.hqh-badge--gold { background: #c19b67; color: #0c181f; }
.hqh-badge--dark {
  background: rgba(12,24,31,.88); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.hqh-card__price {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  max-width: calc(100% - 24px); width: max-content;
  padding: 8px 12px; background: rgba(12,24,31,.88); backdrop-filter: blur(8px);
  border: 1px solid rgba(193,155,103,.4); border-radius: 6px;
  font-size: 15px; font-weight: 700; color: #d4af74;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hqh-card__body {
  display: flex; flex-direction: column; gap: 0; padding: 16px 16px 16px; flex: 1;
  background: #141f29;
  /* Sin border-top: en hover (translate + scale img) provocaba la línea flash */
  margin-top: -1px; /* solapa 1px con la media para cerrar el seam */
  position: relative; z-index: 2;
  min-height: 0;
}
.hqh-card__top {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 12px;
}
.hqh-card__type {
  margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #c19b67;
}
.hqh-card__title {
  margin: 0; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem; font-weight: 600; line-height: 1.28; color: #fff;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.hqh-card__title a {
  color: inherit; text-decoration: none;
}
.hqh-card__title a:hover { color: #d4af74; }
.hqh-card__loc {
  margin: 0; font-size: 12px; color: rgba(255,255,255,.68);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hqh-card__loc i { color: #c19b67; margin-right: 6px; }
.hqh-card__specs {
  display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255,255,255,.75);
}
.hqh-card__specs i { color: #c19b67; margin-right: 5px; width: 14px; }

/* Amenidades en UNA sola fila: 2 y 3 hab. · 2 parq. · 282 m² */
.hqh-card__amenities {
  list-style: none; margin: 0; padding: 0 0 12px;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hqh-card__amenities::-webkit-scrollbar { display: none; }
.hqh-card__amenity {
  display: inline-flex; align-items: center; gap: 6px;
  flex: 0 0 auto; padding: 0 12px 0 0; margin: 0 12px 0 0;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  color: rgba(255,255,255,.84); white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hqh-card__amenity:last-child {
  border-right: 0; margin-right: 0; padding-right: 0;
}
.hqh-card__amenity i {
  font-size: 11px; color: #c19b67; line-height: 1; width: 13px; text-align: center; flex-shrink: 0;
}

/* Un solo bloque inferior = UNA sola línea divisoria */
.hqh-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 12px;
}
.hqh-card__meta {
  display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 11px; color: rgba(255,255,255,.45); min-width: 0;
}
.hqh-card__meta i { margin-right: 5px; color: rgba(193,155,103,.85); }
.hqh-card__agent,
.hqh-card__ago {
  display: inline-flex; align-items: center; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hqh-card__agent { flex: 1 1 auto; max-width: 58%; }
.hqh-card__ago { flex: 0 1 auto; max-width: 42%; justify-content: flex-end; }
.hqh-card__actions { padding-top: 0; }
.hqh-card__actions .hqh-btn { border-radius: 8px; min-height: 44px; }

/* Light card (cuerpo blanco — como referencia Propiedades Destacadas) */
.hqh-card--light {
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.hqh-card--light:hover {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(0,0,0,.38);
}
.hqh-card--light .hqh-card__media {
  border-radius: 14px 14px 0 0;
}
.hqh-card--light .hqh-card__price {
  left: 14px; bottom: 14px;
  padding: 0; border: 0; background: transparent; backdrop-filter: none;
  font-size: 1.35rem; font-weight: 800; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.65);
}
.hqh-card--light .hqh-badge--gold {
  background: #e3a708; color: #0c181f; border-radius: 4px;
}
.hqh-card--light .hqh-badge--dark {
  background: rgba(12,24,31,.92); border: 0; border-radius: 4px;
}
.hqh-card--light .hqh-card__body {
  background: #fff; border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 16px;
}
.hqh-card--light .hqh-card__title {
  color: #0c181f; font-size: 1.05rem; font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 700; line-height: 1.3; min-height: 0;
}
.hqh-card--light .hqh-card__type {
  color: rgba(12,24,31,.45); letter-spacing: .8px;
}
.hqh-card--light .hqh-card__amenities { padding-bottom: 12px; }
.hqh-card--light .hqh-card__amenity {
  color: #1a3a4a; font-size: 12.5px; font-weight: 600;
  border-right-color: rgba(12,24,31,.1);
}
.hqh-card--light .hqh-card__amenity i { color: #c19b67; }
.hqh-card--light .hqh-card__foot {
  border-top-color: rgba(12,24,31,.1);
}
.hqh-card--light .hqh-card__meta { color: rgba(12,24,31,.42); }
.hqh-card--light .hqh-card__meta i { color: rgba(12,24,31,.35); }
.hqh-card--light .hqh-btn--gold {
  border-radius: 8px; min-height: 44px;
}

/* ========== HOUZEZ archive chrome (NO cards) ========== */
/* Cards listing = 100% Houzez nativo — el Suite no las toca. */
body.houzez-theme .page-title h1,
body.tax-property_city .page-title h1,
body.tax-property_area .page-title h1,
body.tax-property_state .page-title h1,
body.tax-property_type .page-title h1 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
}
body.houzez-theme .breadcrumb a,
body.tax-property_city .breadcrumb a {
  color: rgba(212,175,116,.9) !important;
}

/* Solo color del botón Ver detalles (= oro Homqi) — sin tocar layout */
body.houzez-theme .listing-view a.btn-item,
body.houzez-theme .property-listing a.btn-item,
body.houzez-theme .item-listing-wrap a.btn-item {
  background: linear-gradient(180deg, #d4af74, #c19b67) !important;
  background-color: #c19b67 !important;
  border-color: #c19b67 !important;
  color: #0c181f !important;
}
body.houzez-theme .listing-view a.btn-item:hover,
body.houzez-theme .property-listing a.btn-item:hover,
body.houzez-theme .item-listing-wrap a.btn-item:hover {
  background: linear-gradient(180deg, #e3c08a, #d4af74) !important;
  background-color: #d4af74 !important;
  border-color: #d4af74 !important;
  color: #0c181f !important;
}

/* Sidebar widgets: fondo (Anuncios destacados / Tipo / Ciudades) */
body.houzez-theme #sidebar .widget,
body.houzez-theme .sidebar-wrap .widget,
body.houzez-theme .bt-sidebar-wrap .widget,
body.houzez-theme aside.sidebar-wrap .widget,
body.houzez-theme .widget-featured-property,
body.houzez-theme .widget-taxonomy-widget-list-more,
body.houzez-theme [id^="houzez_featured_properties"],
body.houzez-theme [id^="houzez_property_taxonomies"] {
  background: #141f29 !important;
  background-color: #141f29 !important;
  border: 1px solid #2c363f !important;
  box-shadow: none !important;
}
body.houzez-theme #sidebar .widget .widget-title,
body.houzez-theme .sidebar-wrap .widget .widget-title,
body.houzez-theme .bt-sidebar-wrap .widget .widget-title,
body.houzez-theme #sidebar .widget h3,
body.houzez-theme .sidebar-wrap .widget h3 {
  background: transparent !important;
  background-color: transparent !important;
  color: #d4af74 !important;
  border-color: #2c363f !important;
}

/*
 * Clases que marcaste en DevTools:
 * 1) .widget-featured-property-wrap .item-body  → Anuncios destacados
 * 2) .item-body.w-100.flex-grow-1               → cuerpo card listado
 * 3) .item-footer.d-flex.justify-content-between.w-100 → pie card listado
 * Borde: #2c363f (no oro)
 */
body.houzez-theme .widget-featured-property-wrap .item-body {
  background: #141f29 !important;
  background-color: #141f29 !important;
  color: #fff !important;
  border: 0 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
body.houzez-theme .widget-featured-property-wrap .item-listing-wrap,
body.houzez-theme .widget-featured-property-wrap .item-wrap {
  background: #141f29 !important;
  background-color: #141f29 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.houzez-theme .widget-featured-property-wrap .item-title a {
  color: #fff !important;
}
body.houzez-theme .widget-featured-property-wrap .item-price,
body.houzez-theme .widget-featured-property-wrap .item-amenities,
body.houzez-theme .widget-featured-property-wrap .h-type {
  color: #d4af74 !important;
}

/*
 * Listado — fondo #0c181f
 * Borde dorado EXACTO donde falta (grid):
 *   .d-flex.flex-column.align-items-center.h-100
 */
body.houzez-theme .listing-view .item-listing-wrap,
body.houzez-theme .listing-view .item-wrap,
body.houzez-theme .listing-view .item-wrap-v1,
body.houzez-theme .listing-view .item-wrap-v2 {
  background: #0c181f !important;
  background-color: #0c181f !important;
}
body.houzez-theme .listing-view .d-flex.flex-md-row.flex-column.align-items-center,
body.houzez-theme .listing-view .item-wrap > .d-flex.flex-md-row.flex-column.align-items-center {
  background: #0c181f !important;
  background-color: #0c181f !important;
}
/* Grid: este era el contenedor sin borde */
body.houzez-theme .listing-view .d-flex.flex-column.align-items-center.h-100,
body.houzez-theme .listing-view .item-wrap .d-flex.flex-column.align-items-center.h-100 {
  background: #0c181f !important;
  background-color: #0c181f !important;
  border: 1px solid rgba(193,155,103,.22) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
body.houzez-theme .listing-view .d-flex.flex-column.align-items-center.h-100:hover {
  border-color: rgba(193,155,103,.55) !important;
}
body.houzez-theme .listing-view .item-body.w-100.flex-grow-1,
body.houzez-theme .listing-view .item-body.flex-grow-1.w-100,
body.houzez-theme .listing-view .item-body {
  background: #0c181f !important;
  background-color: #0c181f !important;
  color: #fff !important;
}
body.houzez-theme .listing-view .item-footer.d-flex.justify-content-between.w-100,
body.houzez-theme .listing-view .item-footer {
  background: #0c181f !important;
  background-color: #0c181f !important;
  border-top: 1px solid #2c363f !important;
  color: rgba(255,255,255,.55) !important;
}
body.houzez-theme .listing-view .item-footer a,
body.houzez-theme .listing-view .item-author,
body.houzez-theme .listing-view .item-author a,
body.houzez-theme .listing-view .item-date {
  color: rgba(255,255,255,.55) !important;
}

/* ========== PORTAFOLIO (bento premium) ========== */
.hqh-portafolio { background-color: #0c181f; }
.hqh-portafolio .hqh-section__head--center .hqh-text {
  max-width: 52ch; margin-left: auto; margin-right: auto;
}
.hqh-ptype__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.hqh-ptype {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(193,155,103,.28);
  text-decoration: none;
  color: #fff;
  background: #141f29;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.hqh-ptype--1 { grid-column: span 7; min-height: 440px; }
.hqh-ptype--2 { grid-column: span 5; min-height: 440px; }
.hqh-ptype--3,
.hqh-ptype--4,
.hqh-ptype--5,
.hqh-ptype--6 { grid-column: span 3; min-height: 260px; }
.hqh-ptype__grid--equal {
  grid-template-columns: repeat(3, 1fr);
}
.hqh-ptype__grid--equal .hqh-ptype {
  grid-column: auto;
  min-height: 280px;
}
.hqh-portafolio--no-shine .hqh-ptype__shine { display: none; }
.hqh-portafolio--no-cta .hqh-ptype__cta { display: none !important; }

.hqh-ptype:hover {
  transform: translateY(-5px);
  border-color: rgba(227,167,8,.75);
  box-shadow:
    0 0 0 1px rgba(227,167,8,.2),
    0 0 32px rgba(227,167,8,.18),
    0 24px 48px rgba(0,0,0,.4);
}
.hqh-ptype__img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform .7s ease;
}
.hqh-ptype:hover .hqh-ptype__img { transform: scale(1.08); }
.hqh-ptype__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,14,20,.08) 0%, rgba(8,14,20,.25) 38%, rgba(12,24,31,.88) 78%, #0c181f 100%),
    linear-gradient(90deg, rgba(12,24,31,.35) 0%, transparent 45%);
  transition: background .3s ease;
}
.hqh-ptype:hover .hqh-ptype__veil {
  background:
    linear-gradient(180deg, rgba(8,14,20,.05) 0%, rgba(12,24,31,.2) 35%, rgba(12,24,31,.75) 70%, rgba(12,24,31,.95) 100%),
    linear-gradient(135deg, rgba(227,167,8,.12) 0%, transparent 50%);
}
.hqh-ptype__shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(125deg, transparent 35%, rgba(255,255,255,.12) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}
.hqh-ptype:hover .hqh-ptype__shine { transform: translateX(120%); }
.hqh-ptype__body {
  position: relative; z-index: 3;
  width: 100%;
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.hqh-ptype__index {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: rgba(212,175,116,.85);
  margin-bottom: 2px;
}
.hqh-ptype__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600; line-height: 1.15; color: #fff;
  transition: color .25s ease;
}
.hqh-ptype--1 .hqh-ptype__title { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.hqh-ptype:hover .hqh-ptype__title { color: #e3a708; }
.hqh-ptype__sub {
  font-size: 11px; font-weight: 700; letter-spacing: 1.1px;
  text-transform: uppercase; color: #d4af74;
}
.hqh-ptype__cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease, color .2s ease, gap .2s ease;
}
.hqh-ptype__cta i { font-size: 10px; color: #e3a708; }
.hqh-ptype:hover .hqh-ptype__cta {
  opacity: 1; transform: translateY(0); gap: 10px;
}

/* ========== INSTAGRAM ========== */
.hqh-ig { background-color: #0f1c26; }
.hqh-ig__grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
}
.hqh-ig__handle {
  margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #d4af74;
}
.hqh-ig__handle i { margin-right: 6px; }
.hqh-ig__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid rgba(193,155,103,.25);
}
.hqh-ig__stats b {
  display: block; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem; color: #c19b67; line-height: 1; margin-bottom: 4px;
}
.hqh-ig__stats span { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .6px; }
.hqh-ig__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hqh-ig__mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.hqh-ig__mosaic a {
  position: relative; display: block; overflow: hidden;
  border: 1px solid rgba(193,155,103,.2); aspect-ratio: 1;
}
.hqh-ig__mosaic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.hqh-ig__mosaic a:hover img { transform: scale(1.05); }
.hqh-ig__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(12,24,31,.35); color: #fff; opacity: 0; transition: .2s ease;
}
.hqh-ig__mosaic a:hover .hqh-ig__play { opacity: 1; }

/* Feed shortcode (Smash Balloon / Instagram Feed) */
.hqh-ig__feed { min-width: 0; }
.hqh-ig__feed #sb_instagram,
.hqh-ig__feed .sbi,
.hqh-ig__feed .sb_instagram {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.hqh-ig__feed #sbi_images,
.hqh-ig__feed .sbi_photo_wrap {
  padding: 0 !important;
}
.hqh-ig__feed .sbi_item,
.hqh-ig__feed .sbi_photo {
  border: 1px solid rgba(193,155,103,.22) !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.hqh-ig__feed .sbi_load_btn,
.hqh-ig__feed .sbi_follow_btn_a {
  background: linear-gradient(180deg, #e3a708, #c19b67) !important;
  color: #0c181f !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* ========== PROCESO (= cards originales Homqi / .homqi-card) ========== */
.hqh-proceso { background-color: #0c181f; }
.hqh-proceso--cards-only {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}
.hqh-proceso--cards-only .hqh-wrap { width: 100%; max-width: none; }
.hqh-proceso__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 12px;
  align-items: stretch;
}
.hqh-proceso-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 340px;
  height: 100%;
  padding: 32px 26px 40px;
  border: 1px solid rgba(193,155,103,.28);
  border-radius: 10px;
  background: rgba(20, 31, 41, .55);
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  transition:
    transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow .5s ease,
    background .5s ease,
    border-color .5s ease !important;
}
/* Línea superior dorada (hover) */
.hqh-proceso-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
  opacity: 0;
  transform: translateY(-100%);
  transition: all .5s ease;
  z-index: 2;
  pointer-events: none;
}
.hqh-proceso-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}
/* Shine diagonal */
.hqh-proceso-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: skewX(-25deg);
  transition: left .8s ease;
  z-index: 2;
  pointer-events: none;
}
.hqh-proceso-card:hover::before {
  left: 150%;
}
.hqh-proceso-card:hover {
  transform: translateY(-16px) !important;
  box-shadow:
    0 30px 60px -15px rgba(201, 169, 110, 0.4),
    0 0 0 1px #C9A96E,
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(135deg, #C9A96E 0%, #D6A461 100%) !important;
  border-color: #C9A96E !important;
}
/* Contenido arriba (como originales): número → título → texto; vacío abajo */
.hqh-proceso-card__num {
  position: relative; z-index: 3;
  display: block;
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 3vw, 3rem);
  font-weight: 600; line-height: 1;
  letter-spacing: -.02em;
  color: #C9A96E;
  transform-origin: left center;
  transition: color .5s ease, transform .5s ease !important;
}
.hqh-proceso-card__title {
  position: relative; z-index: 3;
  margin: 0 0 14px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.35;
  color: #fff;
  transition: color .5s ease, transform .5s ease !important;
}
.hqh-proceso-card__text {
  position: relative; z-index: 3;
  margin: 0;
  max-width: 28ch;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13.5px; font-weight: 500; line-height: 1.65;
  color: rgba(255,255,255,.62);
  transition: color .5s ease, transform .5s ease !important;
}
.hqh-proceso-card:hover .hqh-proceso-card__num {
  color: #0C181F !important;
  transform: scale(1.08);
}
.hqh-proceso-card:hover .hqh-proceso-card__title {
  color: #0C181F !important;
}
.hqh-proceso-card:hover .hqh-proceso-card__text {
  color: rgba(12, 24, 31, 0.85) !important;
}

/* ========== AGENTES ========== */
.hqh-agentes { background-color: #0f1c26; }
.hqh-agentes--cards-only { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.hqh-agentes--cards-only .hqh-wrap { width: min(100% - 40px, 1240px); }
.hqh-agentes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hqh-agent {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 36px 24px 28px;
  border: 1px solid rgba(193,155,103,.28);
  background-color: #141f29;
  background-image: linear-gradient(165deg, rgba(28,42,54,.98), rgba(12,24,31,.96));
  overflow: hidden;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.hqh-agent::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #c19b67, transparent);
  opacity: .55;
  transition: opacity .28s ease;
}
.hqh-agent::after {
  content: "";
  position: absolute; inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(227,167,8,.14), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.hqh-agent:hover {
  border-color: rgba(227,167,8,.7);
  box-shadow:
    0 0 0 1px rgba(227,167,8,.28),
    0 0 32px rgba(227,167,8,.16),
    0 22px 48px rgba(0,0,0,.4);
  transform: translateY(-6px);
}
.hqh-agent:hover::after { opacity: 1; }
.hqh-agent:hover::before { opacity: 1; }
.hqh-agent__photo-wrap {
  position: relative; z-index: 1;
  width: 128px; height: 128px; margin: 0 auto 20px;
}
.hqh-agent__photo {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  background-size: cover; background-position: center top;
  border: 2px solid rgba(193,155,103,.65);
  box-shadow: 0 0 0 7px rgba(193,155,103,.1);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.hqh-agent__ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(193,155,103,.35);
  pointer-events: none;
  transition: transform .4s ease, border-color .28s ease;
}
.hqh-agent:hover .hqh-agent__photo {
  border-color: #e3a708;
  box-shadow: 0 0 0 7px rgba(227,167,8,.16), 0 0 28px rgba(227,167,8,.3);
  transform: scale(1.03);
}
.hqh-agent:hover .hqh-agent__ring {
  transform: rotate(18deg);
  border-color: rgba(227,167,8,.55);
}
.hqh-agent__name {
  position: relative; z-index: 1;
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem; font-weight: 600; color: #fff; line-height: 1.2;
  transition: color .28s ease;
}
.hqh-agent:hover .hqh-agent__name { color: #d4af74; }
.hqh-agent__role {
  position: relative; z-index: 1;
  margin: 0 0 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  color: #c19b67; line-height: 1.4;
}
.hqh-agent__bio {
  position: relative; z-index: 1;
  margin: 0 0 20px;
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.62);
  flex: 1;
}
.hqh-agent__btn {
  position: relative; z-index: 1;
  margin-top: auto;
  min-height: 42px; padding: 0 18px;
  font-size: 10px;
}
.hqh-agent__cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  color: #d4af74;
  transition: color .2s ease, gap .2s ease;
}
.hqh-agent__cta i { font-size: 10px; }
.hqh-agent__cta:hover { color: #e3a708; gap: 10px; }

/* v2 Portrait — foto arriba */
.hqh-agent--portrait {
  align-items: stretch; text-align: left;
  padding: 0; min-height: 100%;
}
.hqh-agent--portrait::before { display: none; }
.hqh-agent__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0c181f;
}
.hqh-agent__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; transition: transform .45s ease;
}
.hqh-agent__media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12,24,31,.55) 100%);
  pointer-events: none;
}
.hqh-agent--portrait:hover .hqh-agent__media img { transform: scale(1.05); }
.hqh-agent__body {
  display: flex; flex-direction: column;
  padding: 18px 18px 20px; flex: 1;
}
.hqh-agent__eyebrow {
  margin: 0 0 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: #c19b67;
}
.hqh-agent__eyebrow i { margin-right: 4px; }
.hqh-agent--portrait .hqh-agent__name { font-size: 1.4rem; }
.hqh-agent--portrait .hqh-agent__btn { width: 100%; }

/* v3 Minimal — fila compacta */
.hqh-agent--minimal {
  align-items: stretch; text-align: left;
  padding: 16px 18px;
}
.hqh-agent--minimal::before { height: 1px; opacity: .4; }
.hqh-agent__row {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
}
.hqh-agent__photo--sm {
  flex: 0 0 72px; width: 72px; height: 72px; margin: 0;
  box-shadow: 0 0 0 4px rgba(193,155,103,.1);
}
.hqh-agent__meta { min-width: 0; flex: 1; }
.hqh-agent--minimal .hqh-agent__name { font-size: 1.2rem; margin-bottom: 2px; }
.hqh-agent--minimal .hqh-agent__role { margin-bottom: 6px; font-size: 10px; }
.hqh-agentes--minimal .hqh-agentes__grid {
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin-inline: auto;
}

/* ========== BLOG (featured + side) ========== */
.hqh-blog { background-color: #0c181f; }
.hqh-blog__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: stretch;
}
.hqh-blog-tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  background: linear-gradient(180deg, #e3a708, #c19b67);
  color: #0c181f;
  font-size: 10px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase;
  border-radius: 999px;
}
.hqh-blog-tag--text {
  padding: 0; background: none; color: #d4af74; border-radius: 0;
}
.hqh-blog-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 11px; color: rgba(255,255,255,.48);
}
.hqh-blog-meta i { margin-right: 5px; color: #c19b67; }
.hqh-blog-meta--compact { gap: 12px; margin-top: 2px; }

.hqh-blog-feature {
  display: flex; flex-direction: column;
  border: 1px solid rgba(193,155,103,.28);
  background: linear-gradient(165deg, rgba(22,34,45,.92), rgba(14,24,32,.88));
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.hqh-blog-feature:hover {
  border-color: rgba(227,167,8,.7);
  box-shadow:
    0 0 0 1px rgba(227,167,8,.2),
    0 0 36px rgba(227,167,8,.18),
    0 28px 56px rgba(0,0,0,.4);
  transform: translateY(-3px);
}
.hqh-blog-feature__media {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
}
.hqh-blog-feature__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s ease;
}
.hqh-blog-feature:hover .hqh-blog-feature__media img { transform: scale(1.05); }
.hqh-blog-feature__media .hqh-blog-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.hqh-blog-feature__body {
  display: flex; flex-direction: column; gap: 12px;
  flex: 1; padding: 22px 22px 24px;
}
.hqh-blog-feature__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.2;
}
.hqh-blog-feature__title a {
  color: #fff; text-decoration: none;
  transition: color .2s ease;
}
.hqh-blog-feature__title a:hover { color: #d4af74; }
.hqh-blog-feature__excerpt {
  margin: 0; font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,.62);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.hqh-blog__side {
  display: grid; gap: 12px; align-content: start;
}
.hqh-blog-card {
  display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: stretch;
  min-height: 118px; padding: 12px; text-decoration: none; color: #fff;
  border: 1px solid rgba(193,155,103,.24);
  background: linear-gradient(165deg, rgba(20,32,42,.88), rgba(12,24,31,.82));
  backdrop-filter: blur(10px);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hqh-blog-card:hover {
  border-color: rgba(227,167,8,.75);
  transform: translateX(4px);
  background: linear-gradient(165deg, rgba(35,48,60,.95), rgba(18,30,40,.92));
  box-shadow:
    0 0 0 1px rgba(227,167,8,.22),
    0 0 28px rgba(227,167,8,.22),
    0 16px 36px rgba(0,0,0,.35);
  color: #fff;
}
.hqh-blog-card__media {
  display: block; overflow: hidden; border-radius: 4px;
  border: 1px solid rgba(193,155,103,.18);
}
.hqh-blog-card__media img {
  width: 100%; height: 100%; min-height: 94px; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.hqh-blog-card:hover .hqh-blog-card__media img { transform: scale(1.06); }
.hqh-blog-card__body {
  display: flex; flex-direction: column; gap: 5px; min-width: 0; justify-content: center;
}
.hqh-blog-card__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: #fff;
}
.hqh-blog-card__excerpt {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.55); font-weight: 500;
}

/* ========== PROPIEDADES RECIENTES (footer / mini) ========== */
.hqh-recent {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hqh-recent-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(193,155,103,.22);
  background: rgba(18,30,40,.55);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hqh-recent-item:hover {
  border-color: rgba(227,167,8,.7);
  background: rgba(193,155,103,.14);
  box-shadow: 0 0 22px rgba(227,167,8,.2);
  transform: translateY(-1px);
  color: #fff;
}
.hqh-recent-item__media {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(193,155,103,.18);
}
.hqh-recent-item__media img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.hqh-recent-item:hover .hqh-recent-item__media img { transform: scale(1.06); }
.hqh-recent-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.hqh-recent-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.hqh-recent-item__price {
  font-size: 13px;
  font-weight: 700;
  color: #d4af74;
}
.hqh-recent-item__loc {
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.hqh-recent-item__loc i {
  color: #c19b67;
  margin-right: 3px;
  font-size: 10px;
}

/* ========== Elementor ========== */
.elementor-widget-homqi_hero,
.elementor-widget-homqi_search,
.elementor-widget-homqi_listing,
.elementor-widget-homqi_properties,
.elementor-widget-homqi_destinos,
.elementor-widget-homqi_portafolio,
.elementor-widget-homqi_instagram,
.elementor-widget-homqi_proceso,
.elementor-widget-homqi_agentes,
.elementor-widget-homqi_blog,
.elementor-widget-homqi_recent_properties,
.elementor-widget-homqi_servicios,
.elementor-widget-homqi_nosotros,
.elementor-widget-homqi_cta {
  width: 100% !important;
}

@media (max-width: 980px) {
  .hqh-as__main { grid-template-columns: 1fr 1fr; }
  .hqh-as--listing .hqh-as__main { grid-template-columns: 1fr 1fr; }
  .hqh-as--listing .hqh-as-go { grid-column: 1 / -1; width: 100%; }
  .hqh-as--listing .hqh-as__advanced-grid { grid-template-columns: 1fr 1fr; }
  .hqh-as-go { grid-column: 1 / -1; min-height: 52px; width: 100%; }
  .hqh-as__advanced-grid { grid-template-columns: 1fr 1fr; }
  .hqh-destinos__grid,
  .hqh-props__grid,
  .hqh-agentes__grid { grid-template-columns: 1fr 1fr; }
  .hqh-agentes--minimal .hqh-agentes__grid { grid-template-columns: 1fr; }
  .hqh-proceso__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hqh-proceso-card { min-height: 340px; padding: 32px 24px 40px; }
  .hqh-ptype__grid { grid-template-columns: repeat(6, 1fr); }
  .hqh-ptype--1 { grid-column: span 6; min-height: 320px; }
  .hqh-ptype--2 { grid-column: span 6; min-height: 280px; }
  .hqh-ptype--3,
  .hqh-ptype--4,
  .hqh-ptype--5,
  .hqh-ptype--6 { grid-column: span 3; min-height: 220px; }
  .hqh-ptype__grid--equal { grid-template-columns: repeat(2, 1fr); }
  .hqh-ptype__grid--equal .hqh-ptype { grid-column: auto; min-height: 240px; }
  .hqh-ig__grid { grid-template-columns: 1fr; }
  .hqh-ig__mosaic { grid-template-columns: repeat(3, 1fr); }
  .hqh-blog__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hqh-as--listing .hqh-as__main { grid-template-columns: 1fr; }
  .hqh-as--listing .hqh-as__advanced-grid { grid-template-columns: 1fr; }
  /* Hero más ligero: menos pills / menos copy compitiendo con el filtro */
  .hqh-hero {
    min-height: auto;
    padding-bottom: 16px;
  }
  .hqh-hero__inner {
    width: min(100% - 28px, 920px);
    padding: 72px 0 12px;
  }
  .hqh-hero__lead {
    margin-bottom: 0;
    font-size: 14px;
  }
  .hqh-hero__pills {
    display: none;
  }

  .hqh-search-wrap {
    width: min(100% - 16px, 1120px);
    margin: 12px auto 0;
  }
  .hqh-as {
    display: flex;
    flex-direction: column;
  }
  .hqh-as__top {
    order: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px 0;
  }
  .hqh-as__modes {
    width: 100%;
  }
  .hqh-as__mode {
    flex: 1;
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: .6px;
  }
  .hqh-as__hint {
    display: none; /* el conteo vive en el botón Buscar */
  }

  /* Vista compacta: solo ubicación + buscar */
  .hqh-as__main {
    order: 1;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px 8px;
  }
  .hqh-as-field--extra {
    display: none;
  }
  .hqh-as.is-advanced .hqh-as-field--extra {
    display: flex;
  }
  .hqh-as-field__box {
    min-height: 46px;
    padding: 0 12px;
  }
  .hqh-as-go {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 0;
    background: #c19b67;
    box-shadow: none;
    gap: 8px;
  }
  .hqh-as-go__main {
    font-size: 15px;
    font-weight: 700;
  }
  .hqh-as-go__main i { font-size: 14px; }
  .hqh-as-go__sub {
    font-size: 12px;
    opacity: .7;
    border-left-color: rgba(12,24,31,.22);
  }

  .hqh-as__bar {
    order: 2;
    padding: 8px 12px;
  }
  .hqh-as-toggle__full { display: none; }
  .hqh-as-toggle__short { display: inline; }

  .hqh-as__quick {
    order: 3;
    display: none;
    padding: 0 12px 12px;
    gap: 6px;
  }
  .hqh-as.is-advanced .hqh-as__quick {
    display: flex;
  }
  .hqh-as-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hqh-as__advanced {
    order: 4;
  }
  .hqh-as__advanced-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .hqh-destinos__grid,
  .hqh-props__grid,
  .hqh-proceso__grid,
  .hqh-agentes__grid,
  .hqh-ig__mosaic { grid-template-columns: 1fr; }
  .hqh-ptype__grid { grid-template-columns: 1fr; gap: 12px; }
  .hqh-ptype--1,
  .hqh-ptype--2,
  .hqh-ptype--3,
  .hqh-ptype--4,
  .hqh-ptype--5,
  .hqh-ptype--6 {
    grid-column: 1 / -1;
    min-height: 220px;
  }
  .hqh-ptype__cta {
    opacity: 1;
    transform: none;
  }
  /* Blog mobile: menos saturación */
  .hqh-blog .hqh-section__head { margin-bottom: 18px; gap: 10px; }
  .hqh-blog .hqh-title { font-size: clamp(1.55rem, 6vw, 1.9rem); }
  .hqh-blog__grid { gap: 12px; }
  .hqh-blog-feature {
    border-radius: 10px;
  }
  .hqh-blog-feature__media {
    aspect-ratio: 16 / 9;
  }
  .hqh-blog-feature__media .hqh-blog-tag {
    left: 10px; bottom: 10px; padding: 4px 9px; font-size: 9px;
  }
  .hqh-blog-feature__body {
    padding: 12px 14px 14px; gap: 8px;
  }
  .hqh-blog-feature__title {
    font-size: 1.2rem; line-height: 1.25;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  }
  .hqh-blog-feature__excerpt { display: none; } /* quita el párrafo largo en móvil */
  .hqh-blog-feature .hqh-blog-meta__author { display: none; }
  .hqh-blog-feature .hqh-blog-meta { gap: 10px; font-size: 10px; }

  .hqh-blog__side { gap: 8px; }
  .hqh-blog-card:nth-child(n + 3) { display: none; } /* solo 2 cards laterales en móvil */
  .hqh-blog-card {
    grid-template-columns: 72px 1fr;
    gap: 10px;
    min-height: 0;
    padding: 8px;
    border-radius: 8px;
  }
  .hqh-blog-card:hover { transform: none; }
  .hqh-blog-card__media { border-radius: 6px; }
  .hqh-blog-card__media img { min-height: 72px; max-height: 72px; }
  .hqh-blog-card__body { gap: 3px; }
  .hqh-blog-card__title { font-size: .98rem; -webkit-line-clamp: 2; }
  .hqh-blog-card .hqh-blog-tag--text,
  .hqh-blog-card__excerpt { display: none; } /* sin categoría ni extracto */
  .hqh-blog-card .hqh-blog-meta--compact { gap: 8px; font-size: 10px; margin-top: 2px; }
  .hqh-blog-card .hqh-blog-meta--compact span:first-child { display: none; } /* solo “X min” */
}
@media (prefers-reduced-motion: reduce) {
  .hqh-hero__media img { animation: none; }
  [data-hqh-reveal] { opacity: 1; transform: none; transition: none; }
}