/* ============================================================
   Portada (index.html) con el lenguaje "Apple" del resto del trabajo nuevo.
   SOLO piel: misma estructura, mismas secciones, mismo orden, mismo video del
   edificio. No toca la ficha (#propertyPreviewModal, ya hecha en ficha-apple.css)
   ni otras ventanas: cada regla va dentro de su seccion de la portada.
   "html:root body ..." = gana a las reglas viejas de styles.css y a los <style> del HTML.
   NO poner display en #paginationControls, #recentlyViewedSection, #filterBar,
   #newsletterMsg, #helpBotWindow, #chatWindow ni en los videos: los maneja main.js.
   ============================================================ */

/* ---------- colores y letras ---------- */
html {
  --ia-bg: #ffffff;
  --ia-bg2: #f5f5f7;
  --ia-card: #ffffff;
  --ia-tile: #f5f5f7;
  --ia-ink: #1d1d1f;
  --ia-muted: #6e6e73;
  --ia-faint: #86868b;
  --ia-hair: rgba(0, 0, 0, .08);
  --ia-line: rgba(0, 0, 0, .12);
  --ia-fill: rgba(0, 0, 0, .045);
  --ia-fill2: rgba(0, 0, 0, .08);
  --ia-accent: #0071e3;
  --ia-accent-h: #0077ed;
  --ia-accent-soft: rgba(0, 113, 227, .1);
  --ia-link: #0066cc;
  --ia-green: #1d8a3b;
  --ia-green-soft: rgba(52, 199, 89, .14);
  --ia-star: #ff9500;
  --ia-nav: rgba(255, 255, 255, .8);
  --ia-chip: rgba(255, 255, 255, .88);
  --ia-chip-ink: #1d1d1f;
  --ia-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .05);
  --ia-f: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, sans-serif;
  --ia-fd: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, sans-serif;
}
html[data-theme="dark"] {
  --ia-bg: #000000;
  --ia-bg2: #101011;
  --ia-card: #1c1c1e;
  --ia-tile: #1c1c1e;
  --ia-ink: #f5f5f7;
  --ia-muted: #a1a1a6;
  --ia-faint: #8e8e93;
  --ia-hair: rgba(255, 255, 255, .1);
  --ia-line: rgba(255, 255, 255, .16);
  --ia-fill: rgba(255, 255, 255, .07);
  --ia-fill2: rgba(255, 255, 255, .12);
  --ia-accent: #0a84ff;
  --ia-accent-h: #409cff;
  --ia-accent-soft: rgba(10, 132, 255, .18);
  --ia-link: #2997ff;
  --ia-green: #30d158;
  --ia-green-soft: rgba(48, 209, 88, .16);
  --ia-star: #ff9f0a;
  --ia-nav: rgba(22, 22, 23, .8);
  --ia-chip: rgba(28, 28, 30, .82);
  --ia-chip-ink: #f5f5f7;
  --ia-shadow: none;
}

/* ---------- fondo de la pagina: sin manchas ni cuadricula ---------- */
html:root body {
  background: var(--ia-bg) !important;
}
html:root body > .bg-gradient,
html:root body > .bg-grid {
  display: none !important;
}

/* letras del sistema en todo lo de la portada (no en las ventanas) */
html:root body #navHeader,
html:root body .hero,
html:root body .search-section,
html:root body #propiedades,
html:root body #recentlyViewedSection,
html:root body #why-choose,
html:root body #how-it-works,
html:root body #gallery-showcase,
html:root body #testimonials,
html:root body #faq,
html:root body #newsletter,
html:root body #blog-featured,
html:root body > footer,
html:root body #helpBotToggle,
html:root body #chatToggleBtn {
  font-family: var(--ia-f) !important;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   BARRA DE ARRIBA
   ============================================================ */
html:root body header#navHeader .logo {
  font-family: var(--ia-fd) !important;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;
  color: #fff !important;
}
/* logo: blanco mientras la barra esta sobre el video; normal al bajar */
html:root body header#navHeader:not(.scrolled) .logo img {
  filter: brightness(0) invert(1) !important;
  opacity: .95;
}
html:root[data-theme="dark"] body header#navHeader.scrolled .logo img {
  filter: brightness(1.9) saturate(.85) !important;
}
html:root body header#navHeader .logo span {
  color: inherit !important;
  font-weight: 400 !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
html:root body header#navHeader .nav-links > a,
html:root body header#navHeader .nav-links .nav-dropdown-trigger {
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: -.005em !important;
  color: rgba(255, 255, 255, .86) !important;
  background: transparent !important;
  box-shadow: none !important;
}
html:root body header#navHeader .nav-links > a:hover,
html:root body header#navHeader .nav-links .nav-dropdown-trigger:hover {
  color: #fff !important;
}
html:root body header#navHeader .lang-toggle-btn:not(.mobile-lang),
html:root body header#navHeader .nav-links .theme-toggle-btn {
  height: 32px !important;
  border-radius: 980px !important;
  background: rgba(255, 255, 255, .12) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  color: #fff !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  font-family: var(--ia-f) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
html:root body header#navHeader .nav-links .theme-toggle-btn {
  width: 32px !important;
  padding: 0 !important;
}
html:root body header#navHeader .mobile-nav-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* al bajar: vidrio claro (u oscuro) como apple.com */
html:root body header#navHeader.scrolled {
  background: var(--ia-nav) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid var(--ia-hair) !important;
  box-shadow: none !important;
}
html:root body header#navHeader.scrolled .logo {
  color: var(--ia-ink) !important;
}
html:root body header#navHeader.scrolled .nav-links > a,
html:root body header#navHeader.scrolled .nav-links .nav-dropdown-trigger {
  color: var(--ia-ink) !important;
  opacity: .82;
}
html:root body header#navHeader.scrolled .nav-links > a:hover,
html:root body header#navHeader.scrolled .nav-links .nav-dropdown-trigger:hover {
  opacity: 1;
}
html:root body header#navHeader.scrolled .lang-toggle-btn:not(.mobile-lang),
html:root body header#navHeader.scrolled .nav-links .theme-toggle-btn {
  background: transparent !important;
  border-color: var(--ia-line) !important;
  color: var(--ia-ink) !important;
}

/* ============================================================
   PORTADA CON EL VIDEO (el video no se toca)
   ============================================================ */
/* 23 nov (él): el filtro azul del video queda EL DE SIEMPRE (velo, cuadricula y
   luces de styles.css); aqui no se toca .hero-bg-overlay, .hero-grid ni .hero-orb. */
html:root body .hero .hero-content {
  max-width: 880px !important;
}

/* etiqueta de arriba: pildora de vidrio */
html:root body .hero .hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 15px !important;
  border-radius: 980px !important;
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .26) !important;
  color: #fff !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -.005em !important;
  text-transform: none !important;
}
html:root body .hero .hero-badge::before,
html:root body .hero .hero-badge::after {
  display: none !important;
}
html:root body .hero .hero-badge svg {
  color: #fff !important;
  width: 15px !important;
  height: 15px !important;
}

/* titulo: "D&Y" blanco y "Apartment Rentals" con el degradado de colores de siempre (él lo pidió) */
html:root body .hero .hero-title-modern {
  font-family: var(--ia-fd) !important;
  font-size: clamp(44px, 6.2vw, 84px) !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
  margin: 18px 0 0 !important;
  color: #fff !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .28) !important;
}
html:root body .hero .hero-title-modern .hero-title-line {
  font: inherit !important;
  letter-spacing: inherit !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* el degradado lo pone styles.css; aqui solo la letra nueva y sin sombra
   (la sombra ensucia las letras con degradado) */
html:root body .hero .hero-title-modern .hero-title-gradient {
  font: inherit !important;
  letter-spacing: inherit !important;
  text-shadow: none !important;
}
html:root body .hero .hero-desc {
  font-family: var(--ia-f) !important;
  font-size: clamp(17px, 1.6vw, 21px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: -.008em !important;
  color: rgba(255, 255, 255, .9) !important;
  max-width: 680px !important;
  margin: 16px auto 0 !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .3) !important;
}

/* buscador: pildora de vidrio con boton azul */
html:root body .hero .hero-search-modern {
  max-width: 660px !important;
  margin: 34px auto 0 !important;
}
html:root body .hero .hero-search-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: 62px !important;
  padding: 0 7px 0 22px !important;
  border-radius: 980px !important;
  background: rgba(255, 255, 255, .8) !important;
  border: 1px solid rgba(255, 255, 255, .5) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  transform: none !important;
}
html:root body .hero .hero-search-box:focus-within {
  background: rgba(255, 255, 255, .9) !important;
  border-color: rgba(255, 255, 255, .7) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18), 0 0 0 4px rgba(0, 113, 227, .3) !important;
}
html:root body .hero .hero-search-icon {
  color: #6e6e73 !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}
html:root body .hero .hero-search-icon svg {
  width: 20px !important;
  height: 20px !important;
}
html:root body .hero .hero-search-box input,
html:root body .hero .hero-search-box input#filterSearchText {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  letter-spacing: -.01em !important;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f !important;
}
html:root body .hero .hero-search-box input::placeholder {
  color: #6e6e73 !important;
  -webkit-text-fill-color: #6e6e73 !important;
  opacity: 1 !important;
}
html:root body .hero .hero-search-btn {
  flex: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 48px !important;
  min-height: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 980px !important;
  background: var(--ia-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  transform: none !important;
  width: auto !important;
}
html:root body .hero .hero-search-btn:hover {
  background: var(--ia-accent-h) !important;
  transform: none !important;
}
html:root body .hero .hero-search-btn span {
  color: #fff !important;
}
html:root body .hero .hero-search-btn svg {
  width: 16px !important;
  height: 16px !important;
  color: #fff !important;
}
/* en modo oscuro el vidrio es oscuro */
html:root[data-theme="dark"] body .hero .hero-search-box {
  background: rgba(28, 28, 30, .72) !important;
  border-color: rgba(255, 255, 255, .16) !important;
}
html:root[data-theme="dark"] body .hero .hero-search-box:focus-within {
  background: rgba(28, 28, 30, .84) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3), 0 0 0 4px rgba(10, 132, 255, .35) !important;
}
html:root[data-theme="dark"] body .hero .hero-search-icon {
  color: #a1a1a6 !important;
}
html:root[data-theme="dark"] body .hero .hero-search-box input,
html:root[data-theme="dark"] body .hero .hero-search-box input#filterSearchText {
  color: #f5f5f7 !important;
  -webkit-text-fill-color: #f5f5f7 !important;
}
html:root[data-theme="dark"] body .hero .hero-search-box input::placeholder {
  color: #a1a1a6 !important;
  -webkit-text-fill-color: #a1a1a6 !important;
}

/* View Listings / Schedule a Visit: pildoras */
html:root body .hero .hero-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 26px !important;
}
html:root body .hero .hero-actions .btn-hero-primary,
html:root body .hero .hero-actions .btn-hero-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 46px !important;
  min-height: 0 !important;
  padding: 0 24px !important;
  border-radius: 980px !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  box-shadow: none !important;
  transform: none !important;
  text-transform: none !important;
}
html:root body .hero .hero-actions .btn-hero-primary {
  background: #fff !important;
  color: #1d1d1f !important;
  border: 1px solid #fff !important;
}
html:root body .hero .hero-actions .btn-hero-primary span,
html:root body .hero .hero-actions .btn-hero-primary svg {
  color: #1d1d1f !important;
}
html:root body .hero .hero-actions .btn-hero-primary:hover {
  background: rgba(255, 255, 255, .88) !important;
  transform: none !important;
}
html:root body .hero .hero-actions .btn-hero-outline {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
}
html:root body .hero .hero-actions .btn-hero-outline span,
html:root body .hero .hero-actions .btn-hero-outline svg {
  color: #fff !important;
}
html:root body .hero .hero-actions .btn-hero-outline:hover {
  background: rgba(255, 255, 255, .2) !important;
  transform: none !important;
}
html:root body .hero .hero-actions svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
}
html:root body .hero .hero-actions .btn-hero-primary::before,
html:root body .hero .hero-actions .btn-hero-primary::after,
html:root body .hero .hero-actions .btn-hero-outline::before,
html:root body .hero .hero-actions .btn-hero-outline::after {
  display: none !important;
}

/* "Scroll to explore" discreto */
html:root body .hero .hero-scroll-indicator {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .72) !important;
  font-family: var(--ia-f) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}
html:root body .hero .hero-scroll-indicator span {
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  color: inherit !important;
}
html:root body .hero .hero-scroll-indicator svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
}

/* ============================================================
   TITULOS DE CADA SECCION (grandes, apretados, sin rayita)
   ============================================================ */
html:root body .search-section .section-title,
html:root body #why-choose h2,
html:root body #how-it-works h2,
html:root body #gallery-showcase h2,
html:root body #testimonials h2,
html:root body #faq .section-title,
html:root body #blog-featured .section-title,
html:root body #recentlyViewedSection h2 {
  font-family: var(--ia-fd) !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  color: var(--ia-ink) !important;
  -webkit-text-fill-color: var(--ia-ink) !important;
  background: none !important;
  text-align: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
html:root body .search-section .section-title::after,
html:root body .search-section .section-title::before,
html:root body #why-choose h2::after,
html:root body #why-choose h2::before,
html:root body #how-it-works h2::after,
html:root body #how-it-works h2::before,
html:root body #gallery-showcase h2::after,
html:root body #gallery-showcase h2::before,
html:root body #testimonials h2::after,
html:root body #testimonials h2::before,
html:root body #faq .section-title::after,
html:root body #blog-featured .section-title::after,
html:root body #recentlyViewedSection h2::after {
  display: none !important;
}
html:root body .search-section .section-subtitle,
html:root body #why-choose .section-subtitle,
html:root body #how-it-works .section-subtitle,
html:root body #gallery-showcase .section-subtitle,
html:root body #testimonials .section-subtitle,
html:root body #faq .section-subtitle,
html:root body #blog-featured .section-subtitle {
  font-family: var(--ia-f) !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: -.005em !important;
  color: var(--ia-muted) !important;
  max-width: 680px !important;
  margin: 12px auto 48px !important;
  text-align: center !important;
}

/* ---------- fondos por seccion: blanco / gris Apple alternados ---------- */
html:root body .search-section {
  background: linear-gradient(180deg, rgba(245, 245, 247, 0) 0, var(--ia-bg2) 74px) !important;
  border: 0 !important;
}
html:root[data-theme="dark"] body .search-section {
  background: linear-gradient(180deg, rgba(16, 16, 17, 0) 0, var(--ia-bg2) 74px) !important;
}
html:root body #propiedades {
  background: var(--ia-bg2) !important;
  border: 0 !important;
  padding-top: 40px !important;
  padding-bottom: 96px !important;
}
html:root body #recentlyViewedSection,
html:root body #why-choose,
html:root body #gallery-showcase,
html:root body #faq,
html:root body #newsletter {
  background: var(--ia-bg) !important;
}
html:root body #how-it-works,
html:root body #testimonials {
  background: var(--ia-bg2) !important;
}
html:root body #recentlyViewedSection,
html:root body #why-choose,
html:root body #how-it-works,
html:root body #gallery-showcase,
html:root body #testimonials,
html:root body #faq,
html:root body #newsletter {
  border: 0 !important;
  box-shadow: none !important;
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}
html:root body #recentlyViewedSection::before,
html:root body #recentlyViewedSection::after,
html:root body #why-choose::before,
html:root body #why-choose::after,
html:root body #how-it-works::before,
html:root body #how-it-works::after,
html:root body #gallery-showcase::before,
html:root body #gallery-showcase::after,
html:root body #testimonials::before,
html:root body #testimonials::after,
html:root body #newsletter::before,
html:root body #newsletter::after,
html:root body #propiedades::before,
html:root body #propiedades::after,
html:root body .search-section::before,
html:root body .search-section::after {
  display: none !important;
}

/* ============================================================
   FILTROS
   ============================================================ */
html:root body .search-section #filterBar {
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  border-radius: 20px !important;
  box-shadow: var(--ia-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 20px 22px !important;
}
html:root body .search-section #filterBar::before,
html:root body .search-section #filterBar::after {
  display: none !important;
}
html:root body .search-section #filterBar .filter-group label {
  font-family: var(--ia-f) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: var(--ia-muted) !important;
}
html:root body .search-section #filterBar select,
html:root body .search-section #filterBar input[type="number"] {
  height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  background-color: var(--ia-fill) !important;
  color: var(--ia-ink) !important;
  -webkit-text-fill-color: var(--ia-ink) !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}
html:root body .search-section #filterBar input[type="number"] {
  padding: 0 10px !important;
  min-width: 0 !important;
}
/* el grupo de precio (Min - Max) un poco mas ancho para que se lea "Min" y "Max" */
html:root body .search-section #filterBar .filter-bar-row > .filter-group:first-child {
  flex: 1.5 1 0% !important;
  min-width: 170px !important;
}
html:root body .search-section #filterBar select {
  padding-left: 12px !important;
}
html:root body .search-section #filterBar select:focus,
html:root body .search-section #filterBar input[type="number"]:focus {
  border-color: var(--ia-accent) !important;
  box-shadow: 0 0 0 3px var(--ia-accent-soft) !important;
  outline: 0 !important;
}
html:root body .search-section #filterBar input[type="number"]::placeholder {
  color: var(--ia-faint) !important;
  -webkit-text-fill-color: var(--ia-faint) !important;
}
html:root body .search-section #filterBar select option {
  background: var(--ia-card);
  color: var(--ia-ink);
}
html:root body .search-section #filterBar .filter-price-sep {
  color: var(--ia-faint) !important;
}
/* botones de los filtros: pildoras */
html:root body .search-section #filterBar .filter-actions button {
  height: 36px !important;
  min-height: 0 !important;
  padding: 0 16px !important;
  border-radius: 980px !important;
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -.005em !important;
  box-shadow: none !important;
  transform: none !important;
  background: var(--ia-card) !important;
  color: var(--ia-ink) !important;
  border: 1px solid var(--ia-line) !important;
}
html:root body .search-section #filterBar .filter-actions button * {
  color: inherit !important;
}
html:root body .search-section #filterBar .filter-actions button svg {
  color: var(--ia-muted) !important;
  stroke: currentColor !important;
}
html:root body .search-section #filterBar .filter-actions button:hover {
  background: var(--ia-fill) !important;
}
html:root body .search-section #filterBar .filter-actions .filter-search-btn {
  background: var(--ia-accent) !important;
  border-color: var(--ia-accent) !important;
  color: #fff !important;
}
html:root body .search-section #filterBar .filter-actions .filter-search-btn svg {
  color: #fff !important;
}
html:root body .search-section #filterBar .filter-actions .filter-search-btn:hover {
  background: var(--ia-accent-h) !important;
}
html:root body .search-section #filterBar .filter-actions .filter-fav-btn.active,
html:root body .search-section #filterBar .filter-actions .filter-fav-btn.fav-filter-active {
  border-color: #ff3b30 !important;
}
html:root body .search-section #filterBar .fav-count-badge {
  background: var(--ia-fill2) !important;
  color: var(--ia-ink) !important;
  box-shadow: none !important;
  border: 0 !important;
}
html:root body .search-section #filterBar .filter-active-count {
  color: var(--ia-muted) !important;
}
/* boton "Filters" (solo en celular) y "Show Map" */
html:root body .search-section .filter-toggle-btn,
html:root body .search-section .show-map-btn {
  height: 40px !important;
  min-height: 0 !important;
  padding: 0 18px !important;
  border-radius: 980px !important;
  background: var(--ia-card) !important;
  color: var(--ia-ink) !important;
  border: 1px solid var(--ia-line) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transform: none !important;
}
html:root body .search-section .filter-toggle-btn svg,
html:root body .search-section .show-map-btn svg {
  color: var(--ia-accent) !important;
}
html:root body .search-section .filter-toggle-btn:hover,
html:root body .search-section .show-map-btn:hover {
  background: var(--ia-fill) !important;
}
html:root body .search-section .show-map-wrapper {
  margin-top: 20px !important;
}

/* ============================================================
   RENTAS: aviso de alertas, tarjeta de precio, tarjetas, paginas
   ============================================================ */
/* todo con el mismo ancho que la cuadricula */
html:root body #propiedades .container {
  max-width: 1232px !important;
}
html:root body #propiedades .alerts-cta-banner {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 18px 20px 18px 22px !important;
  border-radius: 20px !important;
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  color: var(--ia-ink) !important;
  transform: none !important;
}
html:root body #propiedades .alerts-cta-banner::before,
html:root body #propiedades .alerts-cta-banner::after {
  display: none !important;
}
html:root body #propiedades .alerts-cta-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--ia-accent-soft) !important;
  color: var(--ia-accent) !important;
  box-shadow: none !important;
  border: 0 !important;
}
html:root body #propiedades .alerts-cta-icon svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--ia-accent) !important;
}
html:root body #propiedades .alerts-cta-ping {
  animation: none !important;
  box-shadow: none !important;
  background: #ff3b30 !important;
  border: 2px solid var(--ia-card) !important;
}
html:root body #propiedades .alerts-cta-ping::before,
html:root body #propiedades .alerts-cta-ping::after {
  display: none !important;
}
html:root body #propiedades .alerts-cta-text {
  color: var(--ia-muted) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}
html:root body #propiedades .alerts-cta-text strong {
  color: var(--ia-ink) !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;
}
html:root body #propiedades .alerts-cta-text span {
  color: var(--ia-muted) !important;
}
html:root body #propiedades .alerts-cta-btn {
  height: 38px !important;
  min-height: 0 !important;
  padding: 0 18px !important;
  border-radius: 980px !important;
  background: var(--ia-accent) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transform: none !important;
}
html:root body #propiedades .alerts-cta-btn * {
  color: #fff !important;
}
html:root body #propiedades .alerts-cta-btn:hover {
  background: var(--ia-accent-h) !important;
}

/* tarjeta del buscador (buscador.js): mismas variables, colores Apple */
html:root body #propiedades #dybBarra.dyr {
  --r-bg: var(--ia-card);
  --r-tx: var(--ia-ink);
  --r-mut: var(--ia-muted);
  --r-bd: var(--ia-hair);
  --r-chip: var(--ia-fill2);
  --r-acc: var(--ia-accent);
  --r-accbg: var(--ia-accent-soft);
  max-width: none !important;
  margin: 0 0 28px !important;
  padding: 22px 24px !important;
  border-radius: 20px !important;
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  font-family: var(--ia-f) !important;
}
html:root body #propiedades #dybBarra .dyr-num {
  font-family: var(--ia-fd) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
}
html:root body #propiedades #dybBarra .dyr-que {
  font-size: 15px !important;
  font-weight: 400 !important;
}
html:root body #propiedades #dybBarra .dyr-editar {
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: 980px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  border-color: var(--ia-line) !important;
}
html:root body #propiedades #dybBarra .dyr-editar.primario {
  border-color: var(--ia-accent) !important;
}
html:root body #propiedades #dybBarra .dyr-plbl {
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -.005em !important;
  text-transform: none !important;
  color: var(--ia-ink) !important;
}
html:root body #propiedades #dybBarra .dyr-pextremos {
  font-size: 13px !important;
  font-weight: 500 !important;
}
html:root body #propiedades #dybBarra .dyr-pval strong {
  font-family: var(--ia-fd) !important;
  font-weight: 600 !important;
}
html:root body #propiedades #dybBarra .dyr-rango {
  height: 6px !important;
}
html:root body #propiedades #dybBarra .dyr-rango::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 3px 8px rgba(0, 0, 0, .18), 0 3px 1px rgba(0, 0, 0, .04);
}
html:root body #propiedades #dybBarra .dyr-rango::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 3px 8px rgba(0, 0, 0, .18);
}
html:root body #propiedades #dybBarra .dyr-pextremos [data-pcnt] {
  font-weight: 600 !important;
}

/* cuadricula: 3 columnas iguales, del mismo ancho que lo de arriba */
html:root body #propiedades .property-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  justify-content: stretch !important;
  max-width: none !important;
  margin: 0 !important;
}

/* la tarjeta (como las de la busqueda nueva) */
html:root body #propiedades .property-grid .property-card,
html:root body #recentlyViewedSection .property-card {
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  border-radius: 20px !important;
  box-shadow: var(--ia-shadow) !important;
  overflow: hidden !important;
  font-family: var(--ia-f) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
html:root body #propiedades .property-grid .property-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 14px 34px rgba(0, 0, 0, .09) !important;
}
html:root[data-theme="dark"] body #propiedades .property-grid .property-card:hover {
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, .18) !important;
}
html:root body #propiedades .property-grid .property-card::before,
html:root body #propiedades .property-grid .property-card::after {
  display: none !important;
}
html:root body #propiedades .property-card .card-media {
  border-radius: 0 !important;
  background: var(--ia-tile) !important;
}
html:root body #propiedades .property-card .card-media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .18) 100%) !important;
}
/* etiqueta NEW y corazon: vidrio blanco */
html:root body #propiedades .property-card .new-badge {
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 980px !important;
  background: var(--ia-chip) !important;
  color: var(--ia-chip-ink) !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  font-family: var(--ia-f) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  line-height: 24px !important;
  animation: none !important;
}
html:root body #propiedades .property-card .dy-card-tools {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  gap: 6px !important;
}
html:root body #propiedades .property-card .dy-card-tools button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: var(--ia-chip) !important;
  color: var(--ia-chip-ink) !important;
  border: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}
html:root body #propiedades .property-card .dy-card-tools button svg {
  width: 17px !important;
  height: 17px !important;
  color: var(--ia-chip-ink) !important;
}
html:root body #propiedades .property-card .dy-card-tools .card-fav-btn.fav-active svg,
html:root body #propiedades .property-card .dy-card-tools .card-fav-btn.active svg {
  color: #ff3b30 !important;
  fill: #ff3b30 !important;
}
html:root body #propiedades .property-card .ccr-dot {
  box-shadow: none !important;
}
/* cuerpo */
html:root body #propiedades .property-card .card-body {
  padding: 16px 18px 18px !important;
  gap: 0 !important;
  background: transparent !important;
}
html:root body #propiedades .property-card .card-header {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  box-shadow: none !important;
}
html:root body #propiedades .property-card .dy-card-kicker {
  font-family: var(--ia-f) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .05em !important;
  color: var(--ia-faint) !important;
  margin-bottom: 4px !important;
}
html:root body #propiedades .property-card .price {
  font-family: var(--ia-fd) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -.022em !important;
  color: var(--ia-ink) !important;
  -webkit-text-fill-color: var(--ia-ink) !important;
  background: none !important;
}
html:root body #propiedades .property-card .price span {
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: var(--ia-muted) !important;
  -webkit-text-fill-color: var(--ia-muted) !important;
  margin-left: 2px !important;
}
html:root body #propiedades .property-card .dy-card-status {
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 980px !important;
  background: var(--ia-green-soft) !important;
  color: var(--ia-green) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
html:root body #propiedades .property-card .dy-card-status span {
  background: var(--ia-green) !important;
  box-shadow: none !important;
  animation: none !important;
}
html:root body #propiedades .property-card .card-location {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
html:root body #propiedades .property-card .card-location-pin,
html:root body #propiedades .property-card .card-location > svg {
  color: var(--ia-faint) !important;
  background: none !important;
}
html:root body #propiedades .property-card .card-location-street {
  font-family: var(--ia-f) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;
  color: var(--ia-ink) !important;
}
html:root body #propiedades .property-card .card-location-city {
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--ia-muted) !important;
}
/* camas / banos: texto gris con linea fina arriba */
html:root body #propiedades .property-card .meta {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ia-hair) !important;
  border-radius: 0 !important;
  padding: 12px 0 0 !important;
  margin: 12px 0 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 6px 20px !important;
}
html:root body #propiedades .property-card .meta .meta-item {
  justify-content: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  flex: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--ia-muted) !important;
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}
html:root body #propiedades .property-card .meta .meta-item span {
  color: var(--ia-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}
html:root body #propiedades .property-card .meta .meta-item svg,
html:root body #propiedades .property-card .meta .dy-card-spec-icon {
  color: var(--ia-faint) !important;
  background: none !important;
  box-shadow: none !important;
}
/* unidad / piso / parqueo: fichitas grises */
html:root body #propiedades .property-card .features {
  gap: 6px !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  height: auto !important;
}
html:root body #propiedades .property-card .features .feature-tag {
  height: 26px !important;
  min-height: 0 !important;
  gap: 5px !important;
  line-height: 1 !important;
  padding: 0 10px !important;
  border-radius: 980px !important;
  background: var(--ia-fill) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ia-ink) !important;
  font-family: var(--ia-f) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
html:root body #propiedades .property-card .features .feature-tag span {
  color: var(--ia-ink) !important;
  font-weight: 500 !important;
}
html:root body #propiedades .property-card .features .feature-tag span {
  line-height: 16px !important;   /* antes 12px: cortaba la "g" y la "p" */
}
html:root body #propiedades .property-card .features .feature-tag svg {
  color: var(--ia-muted) !important;
  stroke: currentColor !important;
  width: 13px !important;
  height: 13px !important;
  padding: 0 !important;          /* tenia 6px de relleno y el icono quedaba de 1px */
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* boton "View details": pildora azul */
html:root body #propiedades .property-card .card-actions {
  border: 0 !important;
  margin-top: auto !important;
  padding-top: 16px !important;
  background: transparent !important;
}
html:root body #propiedades .property-card .card-actions .action-btn svg {
  stroke: currentColor !important;
}
html:root body #propiedades .property-card .card-actions .action-btn {
  height: 40px !important;
  min-height: 0 !important;
  padding: 0 18px !important;
  border-radius: 980px !important;
  background: var(--ia-accent) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -.005em !important;
  transform: none !important;
}
html:root body #propiedades .property-card .card-actions .action-btn * {
  color: #fff !important;
}
html:root body #propiedades .property-card .card-actions .action-btn:hover {
  background: var(--ia-accent-h) !important;
}

/* paginas: circulos */
html:root body #propiedades .pagination-controls {
  gap: 8px !important;
  margin-top: 44px !important;
}
html:root body #propiedades .pagination-controls .pagination-btn,
html:root body #propiedades .pagination-controls .pagination-pages > button,
html:root body #propiedades .pagination-controls .pagination-pages > a {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  color: var(--ia-ink) !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transform: none !important;
}
html:root body #propiedades .pagination-controls .pagination-pages > button.active,
html:root body #propiedades .pagination-controls .pagination-pages > .active {
  background: var(--ia-ink) !important;
  border-color: var(--ia-ink) !important;
  color: var(--ia-bg) !important;
}
html:root body #propiedades .pagination-controls .pagination-btn:disabled {
  opacity: .35 !important;
}
html:root body #propiedades .pagination-controls .pagination-pages > span,
html:root body #propiedades .pagination-controls .pagination-ellipsis {
  color: var(--ia-faint) !important;
  background: none !important;
  border: 0 !important;
}
html:root body #propiedades .pagination-info {
  color: var(--ia-muted) !important;
  font-family: var(--ia-f) !important;
  font-size: 14px !important;
  margin-top: 14px !important;
}

/* ============================================================
   "BUILT FOR RENTERS" (why-choose): mosaicos grises sin cajitas oscuras
   ============================================================ */
html:root body #why-choose .why-choose-grid {
  gap: 20px !important;
}
html:root body #why-choose .why-card {
  background: var(--ia-tile) !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  padding: 40px 28px 36px !important;
  transform: none !important;
}
html:root body #why-choose .why-card::before,
html:root body #why-choose .why-card::after {
  display: none !important;
}
html:root body #why-choose .why-card .why-icon {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-bottom: 18px !important;
}
html:root body #why-choose .why-card .why-icon svg {
  width: 38px !important;
  height: 38px !important;
  stroke: var(--ia-accent) !important;
  stroke-width: 1.7 !important;
}
html:root body #why-choose .why-card h3 {
  font-family: var(--ia-f) !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -.012em !important;
  color: var(--ia-ink) !important;
  margin: 0 0 8px !important;
}
html:root body #why-choose .why-card p {
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--ia-muted) !important;
  margin: 0 !important;
}

/* ============================================================
   "FROM SEARCH TO VISIT" (how-it-works)
   ============================================================ */
html:root body #how-it-works .hiw-steps {
  gap: 0 !important;
  align-items: stretch !important;
}
html:root body #how-it-works .hiw-step {
  background: var(--ia-card) !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  padding: 36px 28px 32px !important;
  transform: none !important;
}
html:root body #how-it-works .hiw-step::before,
html:root body #how-it-works .hiw-step::after {
  display: none !important;
}
html:root body #how-it-works .hiw-number {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: var(--ia-ink) !important;
  color: var(--ia-bg) !important;
  box-shadow: none !important;
  border: 0 !important;
  font-family: var(--ia-fd) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
html:root body #how-it-works .hiw-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: var(--ia-accent-soft) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ia-accent) !important;
}
html:root body #how-it-works .hiw-icon svg {
  width: 28px !important;
  height: 28px !important;
  color: var(--ia-accent) !important;
}
html:root body #how-it-works .hiw-step h3 {
  font-family: var(--ia-f) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;
  color: var(--ia-ink) !important;
}
html:root body #how-it-works .hiw-step p {
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--ia-muted) !important;
}
html:root body #how-it-works .hiw-connector svg {
  stroke: var(--ia-faint) !important;
  opacity: .7;
}
html:root body #how-it-works .hiw-cta {
  gap: 12px !important;
  margin-top: 48px !important;
}
html:root body #how-it-works .hiw-cta .btn-primary,
html:root body #how-it-works .hiw-cta .btn-outline {
  height: 46px !important;
  min-height: 0 !important;
  padding: 0 24px !important;
  border-radius: 980px !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  box-shadow: none !important;
  transform: none !important;
}
html:root body #how-it-works .hiw-cta .btn-primary {
  background: var(--ia-accent) !important;
  color: #fff !important;
  border: 1px solid var(--ia-accent) !important;
}
html:root body #how-it-works .hiw-cta .btn-primary:hover {
  background: var(--ia-accent-h) !important;
}
html:root body #how-it-works .hiw-cta .btn-outline {
  background: transparent !important;
  color: var(--ia-link) !important;
  border: 1px solid var(--ia-link) !important;
}
html:root body #how-it-works .hiw-cta .btn-outline:hover {
  background: var(--ia-accent-soft) !important;
}
html:root body #how-it-works .hiw-cta .btn-primary::before,
html:root body #how-it-works .hiw-cta .btn-primary::after,
html:root body #how-it-works .hiw-cta .btn-outline::before,
html:root body #how-it-works .hiw-cta .btn-outline::after {
  display: none !important;
}

/* ============================================================
   FOTOS REALES (mosaico)
   ============================================================ */
html:root body #gallery-showcase .gallery-showcase-grid {
  gap: 16px !important;
  grid-auto-flow: dense !important;   /* sin huecos */
  position: relative !important;
  margin-bottom: 64px !important;
}
/* main.js pone 8 fotos: la ultima ocupa 2 lugares y el mosaico queda parejo */
html:root body #gallery-showcase .gallery-showcase-grid > .gs-item:nth-child(8):not(.gs-featured) {
  grid-column: span 2 !important;
}
/* "View All Properties" debajo del mosaico, sin gastar una fila entera de 190 px */
html:root body #gallery-showcase .gallery-showcase-grid > .gallery-showcase-more {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 28px !important;
}
html:root body #gallery-showcase .gs-item {
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  background: var(--ia-tile) !important;
  overflow: hidden !important;
}
html:root body #gallery-showcase .gs-item:hover {
  transform: none !important;
  box-shadow: none !important;
}
html:root body #gallery-showcase .gs-item:hover img,
html:root body #gallery-showcase .gs-item:hover video {
  transform: scale(1.03) !important;
}
html:root body #gallery-showcase .gs-item img,
html:root body #gallery-showcase .gs-item video {
  background: var(--ia-tile) !important;
}
/* direccion en una pildora de vidrio abajo a la izquierda */
html:root body #gallery-showcase .gs-item .gs-overlay {
  top: auto !important;
  right: auto !important;
  left: 12px !important;
  bottom: 12px !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 24px) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 980px !important;
  background: var(--ia-chip) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  opacity: 1 !important;
  transform: none !important;
}
html:root body #gallery-showcase .gs-item .gs-label {
  font-family: var(--ia-f) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ia-chip-ink) !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
}
html:root body #gallery-showcase .gs-item .gs-city {
  flex: none !important;
  font-family: var(--ia-f) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--ia-muted) !important;
  text-shadow: none !important;
}
html:root body #gallery-showcase .gs-play-btn {
  background: rgba(255, 255, 255, .86) !important;
  color: #1d1d1f !important;
  border: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  animation: none !important;
}
html:root body #gallery-showcase .gs-play-btn svg {
  color: #1d1d1f !important;
  fill: #1d1d1f !important;
}
html:root body #gallery-showcase .gallery-showcase-more a {
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--ia-link) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html:root body #gallery-showcase .gallery-showcase-empty {
  color: var(--ia-muted) !important;
}

/* ============================================================
   OPINIONES
   ============================================================ */
html:root body #testimonials .testimonial-card {
  background: var(--ia-card) !important;
  border: 0 !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  padding: 32px 30px 28px !important;
  transform: none !important;
}
html:root body #testimonials .testimonial-card::before,
html:root body #testimonials .testimonial-card::after {
  display: none !important;
}
html:root body #testimonials .testimonial-stars {
  color: var(--ia-star) !important;
  font-size: 15px !important;
  letter-spacing: 2px !important;
  margin-bottom: 14px !important;
}
html:root body #testimonials .testimonial-stars .star-empty {
  color: var(--ia-fill2) !important;
}
html:root body #testimonials .testimonial-text {
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: -.008em !important;
  color: var(--ia-ink) !important;
}
html:root body #testimonials .testimonial-author {
  border: 0 !important;
  padding-top: 0 !important;
}
html:root body #testimonials .testimonial-avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--ia-fill2) !important;
  color: var(--ia-ink) !important;
  box-shadow: none !important;
  border: 0 !important;
  font-family: var(--ia-f) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
html:root body #testimonials .testimonial-author strong {
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ia-ink) !important;
}
html:root body #testimonials .testimonial-author span {
  font-family: var(--ia-f) !important;
  font-size: 13px !important;
  color: var(--ia-muted) !important;
}

/* ============================================================
   PREGUNTAS (si el panel tiene)
   ============================================================ */
html:root body #faq .faq-item,
html:root body #faq .faq-accordion > div {
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: var(--ia-ink) !important;
}

/* ============================================================
   NOVEDADES POR CORREO (antes bloque azul) -> gris neutro
   ============================================================ */
html:root body #newsletter .newsletter-box {
  background: var(--ia-bg2) !important;
  border: 0 !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  padding: 56px 48px !important;
  max-width: 900px !important;
  overflow: hidden !important;
}
html:root[data-theme="dark"] body #newsletter .newsletter-box {
  background: var(--ia-card) !important;
}
html:root body #newsletter .newsletter-box::before,
html:root body #newsletter .newsletter-box::after {
  display: none !important;
}
html:root body #newsletter .newsletter-text h2 {
  font-family: var(--ia-fd) !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -.025em !important;
  color: var(--ia-ink) !important;
  -webkit-text-fill-color: var(--ia-ink) !important;
  background: none !important;
}
html:root body #newsletter .newsletter-text p {
  font-family: var(--ia-f) !important;
  font-size: 19px !important;
  line-height: 1.4 !important;
  color: var(--ia-muted) !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html:root body #newsletter .newsletter-form {
  gap: 10px !important;
  margin-top: 28px !important;
}
html:root body #newsletter .newsletter-form input {
  height: 50px !important;
  border-radius: 14px !important;
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-line) !important;
  box-shadow: none !important;
  color: var(--ia-ink) !important;
  -webkit-text-fill-color: var(--ia-ink) !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  padding: 0 18px !important;
}
html:root[data-theme="dark"] body #newsletter .newsletter-form input {
  background: rgba(255, 255, 255, .06) !important;
}
html:root body #newsletter .newsletter-form input::placeholder {
  color: var(--ia-faint) !important;
  -webkit-text-fill-color: var(--ia-faint) !important;
  opacity: 1 !important;
}
html:root body #newsletter .newsletter-form input:focus {
  border-color: var(--ia-accent) !important;
  box-shadow: 0 0 0 3px var(--ia-accent-soft) !important;
  outline: 0 !important;
}
html:root body #newsletter .newsletter-form .btn-primary {
  height: 50px !important;
  min-height: 0 !important;
  padding: 0 26px !important;
  border-radius: 980px !important;
  background: var(--ia-accent) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  transform: none !important;
}
html:root body #newsletter .newsletter-form .btn-primary:hover {
  background: var(--ia-accent-h) !important;
}
html:root body #newsletter .newsletter-form .btn-primary::before,
html:root body #newsletter .newsletter-form .btn-primary::after {
  display: none !important;
}
html:root body #newsletter .newsletter-msg {
  color: var(--ia-muted) !important;
}

/* ============================================================
   GUIAS (estilos en linea: hace falta !important)
   ============================================================ */
html:root body section#blog-featured {
  background: var(--ia-bg2) !important;
  padding: 96px 0 !important;
}
html:root body #blog-featured .container > div[style*="grid"] {
  gap: 20px !important;
  margin-top: 0 !important;
}
html:root body #blog-featured .container > div[style*="grid"] > a {
  background: var(--ia-card) !important;
  border: 0 !important;
  border-radius: 22px !important;
  padding: 28px 26px !important;
  font-family: var(--ia-f) !important;
}
html:root body #blog-featured .container > div[style*="grid"] > a > span {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}
html:root body #blog-featured .container > div[style*="grid"] > a > h3 {
  font-family: var(--ia-f) !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -.012em !important;
  color: var(--ia-ink) !important;
}
html:root body #blog-featured .container > div[style*="grid"] > a > p {
  font-family: var(--ia-f) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: var(--ia-muted) !important;
}
html:root[data-theme="dark"] body #blog-featured .container > div[style*="grid"] > a:nth-child(1) > span { color: #2997ff !important; }
html:root[data-theme="dark"] body #blog-featured .container > div[style*="grid"] > a:nth-child(2) > span { color: #ff9f0a !important; }
html:root[data-theme="dark"] body #blog-featured .container > div[style*="grid"] > a:nth-child(3) > span { color: #30d158 !important; }
html:root[data-theme="dark"] body #blog-featured .container > div[style*="grid"] > a:nth-child(4) > span { color: #ff453a !important; }
html:root body #blog-featured .container > div[style*="text-align"] {
  margin-top: 32px !important;
}
html:root body #blog-featured .container > div[style*="text-align"] > a {
  font-family: var(--ia-f) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--ia-link) !important;
}

/* ============================================================
   PIE (antes azul oscuro) -> gris neutro claro / negro
   ============================================================ */
html:root body > footer {
  background: var(--ia-bg2) !important;
  border-top: 1px solid var(--ia-hair) !important;
  box-shadow: none !important;
  color: var(--ia-muted) !important;
  font-size: 13px !important;
  padding-top: 56px !important;
}
html:root body > footer::before,
html:root body > footer::after {
  display: none !important;
}
html:root body > footer .footer-logo {
  font-family: var(--ia-fd) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;
  color: var(--ia-ink) !important;
}
html:root body > footer .footer-logo span {
  color: inherit !important;
  font-weight: 400 !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
html:root[data-theme="dark"] body > footer .footer-logo img {
  filter: brightness(1.9) saturate(.85) !important;
}
html:root body > footer .footer-brand p {
  color: var(--ia-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
html:root body > footer .footer-col h4 {
  font-family: var(--ia-f) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ia-ink) !important;
}
html:root body > footer .footer-col a,
html:root body > footer .footer-col p {
  color: var(--ia-muted) !important;
  font-size: 13px !important;
}
html:root body > footer .footer-col a:hover {
  color: var(--ia-ink) !important;
}
html:root body > footer .footer-col .footer-team-name {
  color: var(--ia-ink) !important;
  font-weight: 500 !important;
}
html:root body > footer .footer-col a[href="/broker/login"] {
  color: var(--ia-link) !important;
}
html:root body > footer .footer-social .social-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--ia-card) !important;
  border: 1px solid var(--ia-hair) !important;
  color: var(--ia-muted) !important;
  box-shadow: none !important;
}
html:root body > footer .footer-social .social-icon:hover {
  color: var(--ia-ink) !important;
  transform: none !important;
}
html:root body > footer .footer-social .social-icon svg {
  width: 17px !important;
  height: 17px !important;
}
html:root body > footer .footer-cities {
  border-top: 1px solid var(--ia-line) !important;
  padding: 22px 0 18px !important;
  margin-top: 16px !important;
}
html:root body > footer .footer-cities p {
  color: var(--ia-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}
html:root body > footer .footer-cities div {
  gap: 8px 22px !important;
}
html:root body > footer .footer-cities a {
  color: var(--ia-muted) !important;
  font-size: 13px !important;
}
html:root body > footer .footer-cities a:hover {
  color: var(--ia-ink) !important;
}
html:root body > footer .footer-bottom {
  border-top: 1px solid var(--ia-line) !important;
  box-shadow: none !important;
  color: var(--ia-muted) !important;
  font-size: 12px !important;
  padding-top: 18px !important;
}
html:root body > footer .footer-bottom a,
html:root body > footer .footer-bottom span {
  color: var(--ia-muted) !important;
}

/* ============================================================
   BOTONES FLOTANTES (ayuda / chat / subir)
   ============================================================ */
html:root body #helpBotWidget #helpBotToggle {
  background: var(--ia-card) !important;
  color: var(--ia-accent) !important;
  border: 1px solid var(--ia-hair) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .14) !important;
  animation: none !important;
  width: 54px !important;
  height: 54px !important;
}
html:root body #helpBotWidget #helpBotToggle::before,
html:root body #helpBotWidget #helpBotToggle::after {
  display: none !important;
}
html:root body #helpBotWidget #helpBotToggle svg {
  color: var(--ia-accent) !important;
}
html:root body #chatWidget #chatToggleBtn {
  background: var(--ia-ink) !important;
  color: var(--ia-bg) !important;
  border: 0 !important;
  border-radius: 980px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18) !important;
  animation: none !important;
  font-weight: 600 !important;
}
html:root body #chatWidget #chatToggleBtn::before,
html:root body #chatWidget #chatToggleBtn::after {
  display: none !important;
}
html:root body #chatWidget #chatToggleBtn,
html:root body #chatWidget #chatToggleBtn * {
  color: var(--ia-bg) !important;
}
html:root body #chatWidget #chatToggleBtn #chatUnreadBadge {
  color: #fff !important;
}
html:root body #backToTop.back-to-top {
  width: 40px !important;
  height: 40px !important;
  background: var(--ia-card) !important;
  color: var(--ia-ink) !important;
  border: 1px solid var(--ia-hair) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12) !important;
}
html:root body #backToTop.back-to-top svg {
  color: var(--ia-ink) !important;
  stroke: currentColor !important;
}

/* iconos de linea dentro de los botones: siguen el color del boton
   (styles.css fuerza stroke blanco en algunos) */
html:root body .hero .hero-search-btn svg,
html:root body .search-section .filter-toggle-btn svg,
html:root body .search-section .show-map-btn svg,
html:root body #propiedades .alerts-cta-btn svg,
html:root body #propiedades .alerts-cta-icon svg,
html:root body #propiedades .pagination-controls svg,
html:root body #propiedades .property-card .dy-card-tools button svg,
html:root body #gallery-showcase .gallery-showcase-more a svg {
  stroke: currentColor !important;
}

/* ============================================================
   TABLETA
   ============================================================ */
@media (max-width: 1024px) {
  html:root body .search-section .section-title,
  html:root body #why-choose h2,
  html:root body #how-it-works h2,
  html:root body #gallery-showcase h2,
  html:root body #testimonials h2,
  html:root body #faq .section-title,
  html:root body #blog-featured .section-title,
  html:root body #recentlyViewedSection h2 {
    font-size: 40px !important;
  }
}

/* ============================================================
   CELULAR (700 px o menos)
   ============================================================ */
@media (max-width: 700px) {
  html:root body .search-section .section-title,
  html:root body #why-choose h2,
  html:root body #how-it-works h2,
  html:root body #gallery-showcase h2,
  html:root body #testimonials h2,
  html:root body #faq .section-title,
  html:root body #blog-featured .section-title,
  html:root body #recentlyViewedSection h2 {
    font-size: 32px !important;
    line-height: 1.1 !important;
  }
  html:root body .search-section .section-subtitle,
  html:root body #why-choose .section-subtitle,
  html:root body #how-it-works .section-subtitle,
  html:root body #gallery-showcase .section-subtitle,
  html:root body #testimonials .section-subtitle,
  html:root body #faq .section-subtitle,
  html:root body #blog-featured .section-subtitle {
    font-size: 17px !important;
    margin-bottom: 32px !important;
  }
  html:root body #recentlyViewedSection,
  html:root body #why-choose,
  html:root body #how-it-works,
  html:root body #gallery-showcase,
  html:root body #testimonials,
  html:root body #faq,
  html:root body #newsletter,
  html:root body section#blog-featured {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  html:root body #propiedades {
    padding-bottom: 64px !important;
  }

  /* portada */
  html:root body .hero .hero-title-modern {
    font-size: 44px !important;
    line-height: 1.06 !important;
    margin-top: 14px !important;
  }
  html:root body .hero .hero-badge {
    font-size: 13px !important;
    padding: 6px 13px !important;
  }
  html:root body .hero .hero-desc {
    font-size: 17px !important;
    margin-top: 12px !important;
  }
  html:root body .hero .hero-search-modern {
    margin-top: 26px !important;
  }
  html:root body .hero .hero-search-box {
    height: 56px !important;
    padding: 0 6px 0 18px !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
  html:root body .hero .hero-search-box input,
  html:root body .hero .hero-search-box input#filterSearchText {
    font-size: 16px !important;
    text-align: left !important;
  }
  /* boton redondo con flecha (la palabra Search no cabe junto al texto) */
  html:root body .hero .hero-search-btn {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
  html:root body .hero .hero-search-btn span {
    display: none !important;
  }
  html:root body .hero .hero-search-btn svg {
    width: 19px !important;
    height: 19px !important;
  }
  html:root body .hero .hero-actions {
    flex-direction: row !important;   /* styles.css las apila; en columna el flex las aplastaba */
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
    width: 100% !important;
  }
  html:root body .hero .hero-actions .btn-hero-primary,
  html:root body .hero .hero-actions .btn-hero-outline {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  /* filtros y rentas */
  html:root body .search-section #filterBar {
    padding: 16px !important;
  }
  html:root body #propiedades .alerts-cta-banner {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 16px !important;
    gap: 12px !important;
  }
  html:root body #propiedades .alerts-cta-icon {
    width: 40px !important;
    height: 40px !important;
  }
  html:root body #propiedades .alerts-cta-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
  }
  html:root body #propiedades #dybBarra.dyr {
    padding: 18px !important;
    margin-bottom: 20px !important;
  }
  html:root body #propiedades #dybBarra .dyr-num {
    font-size: 21px !important;
  }
  html:root body #propiedades .property-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  html:root body #propiedades .property-card .price {
    font-size: 24px !important;
  }

  /* why / how */
  html:root body #why-choose .why-card {
    padding: 22px 20px !important;
    border-radius: 18px !important;
  }
  html:root body #why-choose .why-card .why-icon {
    margin-bottom: 0 !important;
  }
  html:root body #why-choose .why-card .why-icon svg {
    width: 30px !important;
    height: 30px !important;
  }
  html:root body #why-choose .why-card h3 {
    font-size: 17px !important;
  }
  html:root body #why-choose .why-card p {
    font-size: 14px !important;
  }
  html:root body #how-it-works .hiw-steps {
    gap: 12px !important;
  }
  html:root body #how-it-works .hiw-step {
    padding: 28px 22px 24px !important;
    border-radius: 18px !important;
  }
  html:root body #how-it-works .hiw-cta {
    margin-top: 24px !important;
  }
  html:root body #how-it-works .hiw-cta .btn-primary,
  html:root body #how-it-works .hiw-cta .btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }

  /* fotos, opiniones, correo, guias */
  html:root body #gallery-showcase .gallery-showcase-grid {
    gap: 10px !important;
  }
  html:root body #gallery-showcase .gs-item {
    border-radius: 16px !important;
  }
  /* styles.css le daba 190 px en filas de 170 y se montaba sobre la fila de abajo */
  html:root body #gallery-showcase .gs-item.gs-featured {
    height: auto !important;
  }
  html:root body #gallery-showcase .gs-item .gs-overlay {
    left: 8px !important;
    bottom: 8px !important;
    max-width: calc(100% - 16px) !important;
    padding: 5px 10px !important;
  }
  html:root body #gallery-showcase .gs-item .gs-city {
    display: none !important;
  }
  html:root body #gallery-showcase .gs-item .gs-label {
    font-size: 12px !important;
  }
  html:root body #testimonials .testimonial-card {
    padding: 26px 22px 22px !important;
  }
  html:root body #testimonials .testimonial-text {
    font-size: 16px !important;
  }
  html:root body #newsletter .newsletter-box {
    padding: 36px 20px !important;
    border-radius: 22px !important;
  }
  html:root body #newsletter .newsletter-text h2 {
    font-size: 30px !important;
  }
  html:root body #newsletter .newsletter-text p {
    font-size: 16px !important;
  }
  html:root body #newsletter .newsletter-form .btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }
  html:root body #blog-featured .container > div[style*="grid"] > a {
    padding: 22px 20px !important;
    border-radius: 18px !important;
  }

  /* pie */
  html:root body > footer {
    padding-top: 40px !important;
  }
  html:root body #helpBotWidget #helpBotToggle {
    width: 50px !important;
    height: 50px !important;
  }
}
