/* ============================================
   Inter Variable Font — self-hosted
   ============================================ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #E5A035;
  --color-primary-dark: #F4AC47;
  --color-bg-light: #F0F7FF;
  --color-text: #333;
  --color-muted: #999999;
  --radius: 12px;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

#wrapper {
  flex: 1 0 auto;
  background-color: #F8F8F8;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  z-index: 1030;
}

/* En páginas interiores el header completo es sticky */
.site-header.bg-white {
  position: sticky;
  top: 0;
  z-index: 1040;
}

/* Topbar */
.topbar {
  background-color: #E5A035;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 0;
  transition: transform .3s ease, opacity .3s ease, height .3s ease, padding .3s ease;
}

/* Topbar se oculta al scrollear */
.site-header--scrolled .topbar {
  transform: translateY(-100%);
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity .15s;
}

.topbar a:hover {
  opacity: 0.8;
}

.topbar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar i {
  font-size: 13px;
  line-height: 1;
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.4);
}

/* Navbar principal */
.navbar-main {
  padding: 1rem 0 0.5rem;
  transition: background .3s, box-shadow .3s, padding .3s;
}

/* En páginas interiores: navbar blanco con padding normal */
.site-header.bg-white .navbar-main {
  padding: 1rem 0;
  background: #fff;
}

.navbar-main .navbar-brand {
  padding: 0;
}

.navbar-main .navbar-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.navbar-main .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  transition: color .15s;
}

/* Navbar scrolled: fondo blanco + sombra en todas las páginas */
.navbar-main--scrolled {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  z-index: 1040;
}

/* Solo en home: navbar se hace fixed al scrollear */
.header-transparent .navbar-main--scrolled {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

/* Mayor especificidad para vencer al header-transparent */
.header-transparent .navbar-main--scrolled .nav-link {
  color: #333 !important;
}

.header-transparent .navbar-main--scrolled .nav-link:hover,
.header-transparent .navbar-main--scrolled .nav-link:focus {
  color: var(--color-primary) !important;
}

.header-transparent .navbar-main--scrolled .nav-link.active {
  color: var(--color-primary) !important;
}

.header-transparent .navbar-main--scrolled .navbar-brand img {
  filter: none !important;
}

/* Header transparente (Home) */
.header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  z-index: 1040;
}

.header-transparent .navbar-main .nav-link {
  color: rgba(255,255,255,.9);
}

.header-transparent .navbar-main .nav-link:hover,
.header-transparent .navbar-main .nav-link:focus {
  color: #ffffff !important;
}

.header-transparent .navbar-main .nav-link.active {
  color: #F5A623 !important;
}

.header-transparent .navbar-main .navbar-brand img {
  filter: brightness(0) invert(1);
}

.navbar-toggler {
  border-color: var(--color-primary) !important;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler i {
  font-size: 1.6rem;
  line-height: 1;
}

/* ============================================
   Mobile Menu (Offcanvas)
   ============================================ */
.mobile-menu {
  background: #fff !important;
  color: #111;
  width: 100%;
  max-width: 380px;
  border-left: none;
  z-index: 1200 !important;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.73rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
  position: relative;
}

.mobile-menu-header .btn-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-header img {
  height: 36px;
  width: auto;
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 1rem 1.25rem;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  transition: color .15s;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--color-primary);
}

.mobile-nav-link.active {
  color: var(--color-primary);
}

.mobile-nav-link i {
  font-size: 0.75rem;
  transition: transform .25s;
}

.mobile-nav-link[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-submenu {
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

.mobile-submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid #f3f4f6;
  transition: color .15s, background .15s;
}

.mobile-submenu a:last-child {
  border-bottom: none;
}

.mobile-submenu a:hover {
  color: var(--color-primary);
  background: #f3f4f6;
}

.mobile-menu-footer {
  padding: 1.25rem;
  border-top: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.mobile-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.mobile-socials a {
  color: #6b7280;
  font-size: 1.1rem;
  transition: color .15s;
}

.mobile-socials a:hover {
  color: var(--color-primary);
}

/* ============================================
   Dropdown hover + animación iOS (desktop)
   ============================================ */
@media (min-width: 992px) {
  /* Quitar flecha del dropdown-toggle */
  .navbar-main .dropdown-toggle::after {
    display: none;
  }

  /* Dropdown con animación tipo iPhone */
  .navbar-main .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transition: opacity .2s ease-out,
                transform .3s cubic-bezier(.34,1.56,.64,1),
                visibility .2s;
    margin-top: 0;
    pointer-events: none;
    border: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-radius: 14px;
    padding: 0.5rem;
    min-width: 200px;
    transform-origin: top center;
  }

  /* "Puente invisible" que cubre el gap entre toggle y menú */
  .navbar-main .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }

  /* Abrir con hover (CSS puro, más robusto que JS) */
  .navbar-main .dropdown:hover .dropdown-menu,
  .navbar-main .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px) scale(1);
    pointer-events: auto;
  }

  .navbar-main .dropdown-item {
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    transition: background .15s, color .15s;
  }

  .navbar-main .dropdown-item:hover,
  .navbar-main .dropdown-item:focus {
    background: var(--color-bg-light);
    color: var(--color-primary);
  }
}

/* Header blanco (páginas interiores) */
.site-header.bg-white {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

.site-header.bg-white .navbar-main .nav-link {
  color: #333 !important;
}

.site-header.bg-white .navbar-main .nav-link:hover,
.site-header.bg-white .navbar-main .nav-link:focus {
  color: var(--color-primary) !important;
}

.site-header.bg-white .navbar-main .nav-link.active {
  color: var(--color-primary) !important;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1100;
  text-decoration: none;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.05);
}

/* Widget Propiedades Retasadas */
.retasadas-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  z-index: 1099;
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 480px) {
  .retasadas-widget {
    width: 100%;
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.retasadas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #333;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.retasadas-header i {
  color: var(--color-primary);
  font-size: 1rem;
}
.retasadas-header img {
  height: 20px;
  width: 20px;
}
.retasadas-header .btn-close {
  width: 20px;
  height: 20px;
  padding: 0;
  opacity: 0.7;
  transition: opacity .2s;
}
.retasadas-header .btn-close:hover {
  opacity: 1;
}
.retasadas-body {
  padding: 6px 0;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #fff;
}
.retasadas-body::-webkit-scrollbar {
  display: none;
}
.retasadas-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}
.retasadas-item:hover {
  background: #f8fafc;
}
.retasadas-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.retasadas-info {
  min-width: 0;
  flex: 1;
}
.retasadas-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
}
.retasadas-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: auto;
}
.retasadas-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.retasadas-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.retasadas-meta svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
}
.retasadas-meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.retasadas-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.85rem;
}
.retasadas-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.8rem;
}
.retasadas-new {
  font-weight: 700;
  color: #1e293b;
}

/* ============================================
   Cards de propiedades
   ============================================ */
.prop-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  height: 100%;
}

.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

/* Imagen */
.prop-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.prop-image-wrap > a > div {
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.prop-card:hover .prop-image-wrap > a > div {
  transform: scale(1.06);
}

.prop-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Badges sobre imagen */
.prop-card .badge-price {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--color-primary);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.badge-dormitorio {
  position: absolute;
  bottom: 14px;
  right: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-dormitorio svg {
  width: 14px;
  height: 14px;
}

/* Botones de acción */
.prop-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.btn-action {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  color: #4b5563;
  padding: 0;
  font-size: 0.85rem;
}

.btn-action:hover {
  background: #fff;
  transform: scale(1.12);
  color: var(--color-primary);
}

.btn-action.btn-fav.active {
  background: #f4ac44;
  color: #fff;
}

/* Dropdown compartir en cards */
.prop-actions .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: block;
  border: none;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 0.5rem;
  min-width: 190px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), visibility .2s;
  pointer-events: none;
}

.prop-actions .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform-origin: top right;
  pointer-events: auto;
}

.prop-actions .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .15s;
}

.prop-actions .dropdown-item:hover {
  background: var(--color-bg-light);
}

/* Dropdown share reusable (cards + listado) */
.dropdown-menu-share {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: block;
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 0.5rem;
  min-width: 190px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), visibility .2s;
  pointer-events: none;
  z-index: 100;
}
.dropdown-menu-share.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform-origin: top right;
  pointer-events: auto;
  z-index: 1060;
}
.dropdown-menu-share .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .15s;
}
.dropdown-menu-share .dropdown-item:hover {
  background: var(--color-bg-light);
}

/* Botón share siempre encima de su dropdown */
[data-toggle="card-share"] {
  position: relative;
  z-index: 101;
}

/* ================================
   Título de listado (propiedades)
   ================================ */
.listado-title {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  font-size: 1.65rem;
}
.listado-count {
  font-size: 0.85rem;
  color: #9ca3af;
  font-weight: 5-400;
  margin-bottom: 0;
}

/* Botón del dropdown de ordenamiento */
.btn-orden {
  width: auto;
  min-width: 160px;
  height: 35px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  font-size: 0.8rem;
  font-weight: 500;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  background: #fff;
}

/* ================================
   Paginación
   ================================ */
.pagination {
  gap: 6px;
}
.page-item .page-link {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  transition: all .2s ease;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.page-item .page-link:hover {
  background: var(--color-bg-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}
.page-item.active .page-link {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(229,160,53,0.3);
}
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

/* Dropdown select reutilizable (misma animación que hero) */
.dropdown-select .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), visibility .2s;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 0.5rem;
  font-size: 0.9rem;
  pointer-events: none;
  margin-top: 6px !important;
}
.dropdown-select .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dropdown-select .dropdown-item {
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
  transition: background .15s, color .15s;
  cursor: pointer;
  margin: 0 2px;
}
.dropdown-select .dropdown-item:hover,
.dropdown-select .dropdown-item:focus {
  background: var(--color-bg-light);
  color: var(--color-primary);
}
.dropdown-select .dropdown-item.active,
.dropdown-select .dropdown-item:active {
  background: var(--color-primary);
  color: #fff;
}

/* Cuerpo de la card */
.prop-card .card-body {
  padding: 1.1rem;
}

.prop-card .prop-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.prop-card .prop-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prop-card .prop-address {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

/* Características */
.prop-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
}

.prop-features span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.prop-features svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Delivery date en cards de emprendimiento */
.prop-delivery {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.7rem;
}
.prop-delivery strong {
  color: #334155;
  font-weight: 600;
}

/* Animación reveal para cards de emprendimiento al filtrar */
@keyframes devCardReveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dev-card-animate {
  animation: devCardReveal 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}

/* Filtros de emprendimientos */
.dev-filter-bar {
  background: #fff;
}
.dev-filter-search {
  min-width: 240px;
}
.dev-filter-bar .dev-filter-search .form-control,
.dev-filter-bar .dev-filter-search .form-control:focus {
  height: 35px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  font-size: 0.8rem;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  background: #fff;
}
.dev-filter-bar .dropdown-select .btn-orden {
  border: 1px solid #e5e7eb;
  box-shadow: none;
  background: #fff;
}
.btn-dev-clear {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: #f3f4f6;
  color: #4b5563;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-dev-clear:hover {
  background: #e5e7eb;
  color: var(--color-primary);
}

/* Detalle de propiedad */
.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color .2s;
  background: none;
  border: none;
}
.btn-volver:hover {
  color: var(--color-primary);
}
.prop-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.prop-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}
.prop-summary-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #000;
}
.prop-summary .dropdown {
  position: relative;
  z-index: 1060;
}
.prop-detail-op {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.prop-detail-price {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.2;
}
.prop-detail-price + .prop-detail-op {
  margin-top: 8px;
}

/* Sidebar detalle propiedad */
.prop-sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
}
.prop-asesor-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f3f4f6;
  flex-shrink: 0;
}
.prop-asesor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}
.prop-asesor-role {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.3;
}
.btn-wa-sidebar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: #25d366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s ease;
}
.btn-wa-sidebar:hover {
  background: #1fba57;
  color: #fff;
}
.prop-form-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}
.prop-form-input {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0 0.8rem;
  font-size: 0.8rem;
  color: #334155;
  outline: none;
  transition: border-color .2s;
}
.prop-form-input:focus {
  border-color: var(--color-primary);
}
textarea.prop-form-input {
  height: auto;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  resize: vertical;
}
.btn-submit-sidebar {
  height: 38px;
  border-radius: 10px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  padding: 10px 16px !important;
}
.btn-submit-sidebar:hover {
  background: #d4942f;
}

/* QR Desktop Card */
.qr-desktop-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
}
.qr-desktop-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.qr-desktop-label svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}
#qrDesktop img,
#qrDesktop canvas {
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* ============================================
   Offcanvas Filtros
   ============================================ */
.filters-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 1190;
}
.filters-overlay.open {
  opacity: 1;
  visibility: visible;
}

.filters-offcanvas {
  position: fixed;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: 420px;
  max-width: calc(100vw - 32px);
  background: #fff;
  transform: translateX(calc(-100% - 32px));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.filters-offcanvas.open {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .filters-offcanvas {
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    border-radius: 16px;
    transform: translateX(calc(-100% - 20px));
    max-height: none;
  }
}

.filters-offcanvas-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.filters-offcanvas-header h5 {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.filters-offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: #fafafa;
}

.filters-offcanvas-body::-webkit-scrollbar {
  display: none;
}

.filters-offcanvas-body .form-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  margin-bottom: 0.6rem;
}

/* Inputs del offcanvas */
.filters-offcanvas-body .form-control,
.filters-offcanvas-body .form-select {
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
  padding-left: 0.9rem;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.filters-offcanvas-body .form-control:focus,
.filters-offcanvas-body .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229,160,53,0.18);
}

.filters-offcanvas-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid #f3f4f6;
  background: #fff;
  flex-shrink: 0;
  
}

.filters-offcanvas-footer .btn {
  height: 38px;
  line-height: 25px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.filters-offcanvas-footer .btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
}

.filters-offcanvas-footer .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filters-offcanvas-footer .btn-outline-secondary {
  border-color: #e5e7eb;
  color: #6b7280;
  font-weight: 500;
  transition: all .2s ease;
}

.filters-offcanvas-footer .btn-outline-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}

/* Grid de filtros dentro del offcanvas */
.filters-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Toggle buttons */
.toggle-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.toggle-btn {
  border: 1.5px solid #e5e7eb;
  background: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  color: #4b5563;
}
.toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.toggle-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Chips */
.chip-applied {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #e9ecef;
  color: #495057;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
}
.chip-applied:hover {
  background: #dee2e6;
  color: #212529;
}

/* Botón Filtros en barra */
.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn-filter-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229,160,53,0.3);
}

/* Botón Mapa/Listado en barra */
.btn-map-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-map-toggle:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Botón flotante "Listado" sobre el mapa */
.map-list-toggle {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.map-list-toggle:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(229,160,53,0.35);
}

/* Alinear con el container en desktop */
@media (min-width: 576px) {
  .map-list-toggle { left: calc((100vw - 540px) / 2 + 16px); }
}
@media (min-width: 768px) {
  .map-list-toggle { left: calc((100vw - 720px) / 2 + 16px); }
}
@media (min-width: 992px) {
  .map-list-toggle { left: calc((100vw - 960px) / 2 + 16px); }
}
@media (min-width: 1200px) {
  .map-list-toggle { left: calc((100vw - 1140px) / 2 + 16px); }
}
@media (min-width: 1400px) {
  .map-list-toggle { left: calc((100vw - 1320px) / 2 + 16px); }
}

/* Select estilo hero para ordenamiento */
.select-hero-style {
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  padding-left: 0.9rem;
  padding-right: 2.5rem;
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.select-hero-style:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}
.select-hero-style:focus {
  box-shadow: 0 0 0 3px rgba(229,160,53,0.25), 0 5px 20px rgba(0,0,0,0.14);
  transform: translateY(-2px);
  outline: none;
}

/* Botón share para listado (mismo estilo visual que cards) */
.btn-share-list {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #333;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.btn-share-list:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Development info card on property detail */
.prop-dev-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.prop-dev-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
}
.prop-dev-header svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.prop-dev-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 2px;
}
.prop-dev-link:hover {
  color: #92400e;
}
.prop-dev-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 10px;
}
.prop-dev-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prop-dev-info-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}
.prop-dev-info-value {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 700;
}
.prop-dev-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}
.prop-dev-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.prop-dev-step .prop-dev-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 2px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(.34, 1.56, .64, 1);
}
.prop-dev-step.done .prop-dev-dot {
  background: #E5A035;
  border-color: #E5A035;
}
.prop-dev-step.current .prop-dev-dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border-color: #E5A035;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(229, 160, 53, 0.12);
}
.prop-dev-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}
.prop-dev-step.done .prop-dev-label {
  color: #E5A035;
  font-weight: 600;
}
.prop-dev-step.current .prop-dev-label {
  color: #1f2937;
  font-weight: 700;
}
.prop-dev-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin-top: 5px;
  border-radius: 1px;
  transition: background 0.3s ease;
}
.prop-dev-line.done {
  background: #E5A035;
}
/* Pills de resumen */
.prop-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prop-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 100px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
}

/* Cards de info */
.prop-info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
}
.prop-info-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}
/* Línea horizontal debajo de títulos */
.prop-info-title,
.prop-info-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Header de card con icono */
.prop-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  padding-left: 10px;
  padding-right: 10px;
}
.prop-info-header svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Distribución en filas con iconos negros */
.prop-dist-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}
.prop-dist-row-icon {
  color: #000;
  display: inline-flex;
  align-items: center;
}
.prop-dist-row-icon svg {
  width: 18px;
  height: 18px;
}
.prop-dist-row-icon i {
  font-size: 0.85rem;
  color: #000;
}

/* Lista de info sin iconos */
.prop-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
.prop-info-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.prop-info-list-item span {
  color: #64748b;
}
.prop-info-list-item b {
  color: #1e293b;
  font-weight: 600;
}

/* Descripción */
.prop-desc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
}
.prop-desc-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}
.prop-desc-text p {
  margin-bottom: 0.75rem;
}
.prop-desc-text p:last-child {
  margin-bottom: 0;
}

/* Descripción colapsable */
.prop-desc-text-wrap {
  position: relative;
  overflow: hidden;
  max-height: 200px;
  transition: max-height 0.4s ease;
}
.prop-desc-text-wrap.expanded {
  max-height: none;
}
.prop-desc-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  transition: opacity 0.3s;
}
.prop-desc-text-wrap.expanded .prop-desc-fade {
  opacity: 0;
}
.btn-desc-toggle {
  margin-top: 0.75rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Tags agrupadas */
.prop-tags-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
}
.prop-tags-group {
  margin-bottom: 1.25rem;
}
.prop-tags-group:last-child {
  margin-bottom: 0;
}
.prop-tags-group-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 0.6rem;
}
.prop-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prop-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
}

/* Mapa */
#mapContainer {
  width: 100%;
  height: 70vh;
  min-height: 400px;
}

/* Card del InfoWindow en mapa */
.gm-style-iw {
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18) !important;
}
.gm-style-iw > button {
  top: 8px !important;
  right: 8px !important;
  background: rgba(255,255,255,0.9) !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  opacity: 1 !important;
}
.gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}
.gm-style-iw-c {
  padding: 0 !important;
}
.gm-style-iw-ch {
  display: none !important;
}
.gm-style-iw-chr {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}
.gm-style-iw-chr .gm-ui-hover-effect {
  background: rgba(255,255,255,0.9) !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  margin: 6px !important;
}
.gm-style-iw-chr .gm-ui-hover-effect span {
  margin: 2px !important;
  width: 24px !important;
  height: 24px !important;
}
.map-card {
  display: block;
  width: 240px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.map-card-img {
  position: relative;
  height: 140px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.map-card-price {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.map-card-body {
  padding: 12px;
}
.map-card-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.map-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.map-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: #64748b;
}
.map-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.map-card-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Detalle propiedad */
.gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Tabla unidades */
.unidad-row {
  cursor: pointer;
  transition: background .15s;
}
.unidad-row:hover {
  background: #f8f9fa;
}

/* Footer al fondo */
.site-footer {
  flex-shrink: 0;
}

/* ================================
   Sección Servicios
   ================================ */
.services-section {
  padding: 5rem 0;
  background: var(--color-primary);
}
@media (max-width: 768px) {
  .services-section {
    padding: 3rem 0;
  }
}
.service-card {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease, box-shadow .3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: #fff;
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ================================
   Newsletter
   ================================ */
.newsletter-section {
  padding: 0;
  background: #111;
}
.newsletter-card {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 3rem 3.5rem;
  margin: 3rem 1rem;
  border: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 768px) {
  .newsletter-card {
    padding: 2rem 1.5rem;
    border-radius: 18px;
    margin: 1.5rem 0.5rem;
  }
}
.newsletter-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.newsletter-card p {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form .form-control {
  height: 52px;
  border-radius: 12px;
  background: #252525;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
  padding-left: 1.1rem;
  flex: 1;
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form .form-control::placeholder {
  color: #6b7280;
}
.newsletter-form .form-control:focus {
  background: #252525;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229,160,53,0.15);
  color: #fff;
}
.newsletter-form .btn {
  height: 52px;
  border-radius: 12px;
  padding: 0 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
  white-space: nowrap;
}
.newsletter-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229,160,53,0.3);
}
.newsletter-legal {
  font-size: 0.7rem;
  color: #4b5563;
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.newsletter-legal a {
  color: #6b7280;
  text-decoration: underline;
}

/* ================================
   Footer
   ================================ */
.site-footer {
  background: #0f0f0f;
  color: #fff;
  padding: 0;
}
.footer-main {
  padding: 4rem 0 2.5rem;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  transition: all .2s ease;
}
.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-privacy {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.85rem;
  transition: color .2s;
}
.footer-privacy:hover {
  color: var(--color-primary);
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color .2s;
  display: inline-block;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.75;
}
.footer-contact p {
  margin-bottom: 0.35rem;
}
.footer-contact a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-broker {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-cert-logo {
  height: 32px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) brightness(1.5);
  transition: opacity .2s;
}
.footer-cert-logo:hover {
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  font-size: 0.78rem;
}
.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover {
  color: #888;
}

/* ================================
   Política de Privacidad
   ================================ */
.privacy-hero {
  background: #0f0f0f;
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.privacy-hero h1 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.privacy-content {
  padding: 4rem 0 5rem;
  background: #fff;
}
.privacy-body {
  max-width: 720px;
  margin: 0 auto;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.75;
}
.privacy-body h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.privacy-body p {
  margin-bottom: 1.25rem;
}
.privacy-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.privacy-body ul li {
  margin-bottom: 0.75rem;
}

/* Responsive helpers */
@media (max-width: 991px) {
  .filters-offcanvas {
    max-height: none;
  }
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .footer-main {
    padding: 3rem 0 2rem;
  }
  .footer-logos {
    gap: 0.75rem;
  }
}

/* ================================
   Hero (Home)
   ================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-bottom: 2rem;
  overflow: hidden;
  background-image: url('../images/hero-fondo.jpg');
  background-size: cover;
  background-position: center;    
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  width: 100%;
}

/* Animación de entrada tipo iOS */
.hero-content h1 {
  font-weight: 500;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s cubic-bezier(.2,.8,.2,1) 0.2s forwards;
}

.hero-form {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s cubic-bezier(.2,.8,.2,1) 0.45s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   Reveal on scroll
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Campos del buscador — minimalistas */
.hero-form .filter-dropdown-toggle {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  padding: 4px 32px 4px 14px;
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
}

.hero-form .filter-dropdown-toggle:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.hero-form .filter-dropdown-toggle:focus,
.hero-form .dropdown.show .filter-dropdown-toggle {
  box-shadow: 0 0 0 3px rgba(229,160,53,0.25), 0 5px 20px rgba(0,0,0,0.14);
  transform: translateY(-2px);
  outline: none;
}

.hero-form .filter-dropdown-toggle .filter-label {
  font-size: 0.6rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hero-form .filter-dropdown-toggle .filter-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

/* Campo de búsqueda por ubicación en hero */
.hero-search-field {
  position: relative;
}
.hero-search-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
}
.hero-search-field input {
  height: 48px;
  border-radius: 10px;
  border: none;
  background: #fff;
  padding-left: 42px;
  padding-right: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.hero-search-field input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}
.hero-search-field input:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}
.hero-search-field input:focus {
  box-shadow: 0 0 0 3px rgba(229,160,53,0.25), 0 5px 20px rgba(0,0,0,0.14);
  transform: translateY(-2px);
  outline: none;
}

/* Botón Buscar — primary */
.hero-form .btn-primary {
  height: 48px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--color-primary);
  border-color: var(--color-primary);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}

.hero-form .btn-primary:hover {
  transform: translateY(-3px);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-form .btn-primary:active {
  transform: translateY(-1px);
}

/* Botón Más filtros — sutil */
.hero-form .btn-outline-dark {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  border-radius: 10px;
  font-weight: 500;
  transition: all .2s ease;
}

.hero-form .btn-outline-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Dropdowns multiselect del hero */
.hero-form .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), visibility .2s;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 0.5rem;
  font-size: 0.9rem;
  pointer-events: none;
  margin-top: 6px !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-form .dropdown-menu::-webkit-scrollbar {
  display: none;
}

.hero-form .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-form .dropdown-item {
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
  transition: background .15s, color .15s;
  cursor: pointer;
  margin: 0 2px;
}

.hero-form .dropdown-item:hover,
.hero-form .dropdown-item:focus {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* Item activo del dropdown (tipo de operación) */
.hero-form .dropdown-item.active,
.hero-form .dropdown-item:active {
  background: var(--color-primary);
  color: #fff;
}

/* Checkboxes del hero en gris oscuro */
.hero-form .form-check-input:checked {
  background-color: #333;
  border-color: #333;
}

/* ================================
   Detalle Propiedad / Emprendimiento
   ================================ */
.main-photo-container {
  height: 500px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.main-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .main-photo-container { height: 320px; }
}
.gallery-thumb { cursor:pointer; border-radius:8px; overflow:hidden; border:2px solid transparent; }
.gallery-thumb img { width:100%; height:80px; object-fit:cover; }
.gallery-thumb.active { border-color:var(--color-primary); }

/* Fila horizontal scrolleable de thumbs */
.gallery-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-thumbs-row::-webkit-scrollbar {
  display: none;
}
.gallery-thumbs-row:active {
  cursor: grabbing;
}
.gallery-thumbs-row .gallery-thumb {
  flex: 0 0 auto;
  width: 110px;
  height: 76px;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-thumbs-row .gallery-thumb img {
  height: 100%;
  pointer-events: none;
}
.plano-thumb { cursor:pointer; border-radius:8px; overflow:hidden; }
.plano-thumb img { width:100%; height:120px; object-fit:cover; }

/* ================================
   Carrito de consultas
   ================================ */
.btn-cart-star {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  color: #6c757d;
  padding: 0;
}
.btn-cart-star:hover {
  background: #fff;
  color: #f4ac44;
  transform: scale(1.1);
}
.btn-cart-star.active {
  background: #f4ac44;
  color: #fff;
}
.btn-cart-star.active:hover {
  background: #e09a35;
}
.btn-cart-star i {
  font-size: 0.95rem;
}

/* Tarjetas del carrito */
.cart-prop-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}
.cart-prop-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.cart-prop-card .cart-prop-info {
  flex: 1;
  min-width: 0;
}
.cart-prop-card .cart-prop-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  word-break: break-word;
}
.cart-prop-card .cart-prop-price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-prop-card .cart-prop-remove {
  color: #dc3545;
  background: none;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}
.cart-prop-card .cart-prop-remove:hover {
  text-decoration: underline;
}
@media (max-width: 576px) {
  .cart-prop-card { flex-direction: column; }
  .cart-prop-card img { width: 100%; height: 160px; }
}


/* Iconos en tabs de emprendimiento */
.dev-tab-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  vertical-align: middle;
}
.dev-tab-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Icono en header de tabla */
.table-header-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  vertical-align: middle;
}
.table-header-icon svg {
  width: 14px;
  height: 14px;
  color: #9ca3af;
}


/* Tabs de emprendimiento */
.dev-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.dev-tabs::-webkit-scrollbar {
  display: none;
}
.dev-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all .2s ease;
  cursor: pointer;
  line-height: 1;
}
.dev-tab:hover {
  border-color: #E5A035;
  color: #E5A035;
}
.dev-tab.active {
  background: #E5A035;
  border-color: #E5A035;
  color: #fff;
}
.dev-tab.active .dev-tab-icon svg {
  color: #fff;
}

/* Tabla de unidades */
.unidad-row {
  cursor: pointer;
  transition: background .15s ease;
}
.unidad-row:hover {
  background: #fff8ec;
}
.unidad-name {
  font-weight: 600;
  color: #1f2937;
}
.unidad-sup {
  color: #6b7280;
  font-size: 0.9rem;
}
.unidad-sup-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  vertical-align: middle;
}
.unidad-sup-icon svg {
  width: 14px;
  height: 14px;
  color: #9ca3af;
}
.unidad-price {
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}
.btn-planos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-planos:hover {
  border-color: #E5A035;
  color: #E5A035;
  background: #fff8ec;
}

/* Tabla de unidades dentro de card */
.prop-info-card .table {
  margin-bottom: 0;
  font-size: 0.9rem;
}
.prop-info-card .table thead th {
  border-bottom: 1px solid #e5e7eb;
  border-top: none;
  font-weight: 600;
  color: #1e293b;
  padding: 0.75rem 0.5rem;
  background: transparent;
}
.prop-info-card .table tbody td {
  border-bottom: 1px solid #f3f4f6;
  border-top: none;
  padding: 1rem 0.5rem;
  vertical-align: middle;
}
.prop-info-card .table tbody tr:last-child td {
  border-bottom: none;
}


html {
  scroll-behavior: smooth;
}


/* Barra mobile WhatsApp productor */
.mobile-wa-bar {
  display: none;
}
@media (max-width: 991.98px) {
  .mobile-wa-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  }
  .mobile-wa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .mobile-wa-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #25D366;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
  }
  .mobile-wa-btn:hover {
    background: #128C7E;
    color: #fff;
  }
}


/* ================================
   Nosotros / About
   ================================ */
.about-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  height: 100%;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}
.about-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #E5A035;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.about-stat-label {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

.about-service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.about-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}
.about-service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #E5A035;
}
.about-service-icon svg {
  width: 120px;
  height: 120px;
}
.about-service-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.about-service-card p {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 0;
  line-height: 1.5;
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9375rem;
  color: #444;
}
.about-check-item:last-child {
  border-bottom: none;
}
.about-check-item i {
  color: #E5A035;
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9375rem;
  color: #444;
}
.about-step-item:last-child {
  border-bottom: none;
}
.about-step-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E5A035;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-team-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  height: 100%;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.about-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}
.about-team-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid rgba(229, 160, 53, 0.15);
}
.about-team-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.about-team-card .role {
  font-size: 0.8125rem;
  color: #888;
  margin-bottom: 16px;
}
.about-team-contact {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.about-team-contact a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f5f5f5;
  color: #666;
  transition: all .2s ease;
  text-decoration: none;
}
.about-team-contact a:hover {
  background: #E5A035;
  color: #fff;
}

.about-cta-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
  color: #fff;
}
.about-cta-card h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.about-cta-card p {
  color: #aaa;
  margin-bottom: 28px;
  font-size: 1rem;
}

.about-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.about-hero-badge-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 160, 53, 0.1);
  border-radius: 10px;
  color: #E5A035;
  font-size: 1.2rem;
}


/* ================================
   Nosotros — Hero diagonal
   ================================ */
.about-hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}
.about-hero-text {
  padding-top: 72px;
  padding-bottom: 72px;
}
.about-hero-line {
  width: 60px;
  height: 3px;
  background: #E5A035;
  border-radius: 2px;
}
.about-hero-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
}
.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
@media (max-width: 991.98px) {
  .about-hero-section {
    min-height: auto;
  }
  .about-hero-text {
    padding-top: 48px;
    padding-bottom: 24px;
  }
  .about-hero-image-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    padding: 0 var(--bs-gutter-x, 0.75rem) 24px;
  }
  .about-hero-image {
    clip-path: none;
    border-radius: 16px;
  }
}


/* ================================
   Team cards (estética prop-card)
   ================================ */
.team-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  height: 100%;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}
.team-image-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.team-card:hover .team-image {
  transform: scale(1.06);
}
.team-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.team-badge-role {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #E5A035;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  z-index: 2;
  letter-spacing: 0.3px;
}
.team-card-body {
  padding: 1.1rem;
}
.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.9rem;
  line-height: 1.4;
}
.team-contact-row {
  display: flex;
  gap: 8px;
}
.team-contact-row a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: 10px;
  background: #f5f5f5;
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s ease;
}
.team-contact-row a:hover {
  background: #E5A035;
  color: #fff;
}

/* 5 columnas exactas */
.col-five {
  flex: 0 0 20%;
  max-width: 20%;
}
@media (max-width: 991.98px) {
  .col-five {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}
@media (max-width: 767.98px) {
  .col-five {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


/* ================================
   Servicios — naranja con marca de agua
   ================================ */
.services-section {
  position: relative;
  background: #E5A035;
  overflow: hidden;
}
.services-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.services-watermark svg {
  width: 100%;
  max-width: none;
  opacity: 0.05;
  transform: scale(4);
}
.service-col {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}
.btn-contact-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .25s ease;
  position: relative;
  z-index: 1;
}
.btn-contact-outline:hover {
  background: #fff;
  color: #E5A035;
  border-color: #fff;
}


/* ================================
   Home servicios — hover icono
   ================================ */
.service-link {
  display: block;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.service-link:hover {
  transform: translateY(-6px);
}
.service-link:hover .service-icon-wrap {
  transform: scale(1.15);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s;
}


/* ================================
   Home CTA — Tasación Online
   ================================ */
.home-cta-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}
/* Fondo gris con corte diagonal que llega al borde derecho */
.home-cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background: #f3f4f6;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.home-cta-text {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
}
.home-cta-line {
  width: 60px;
  height: 3px;
  background: #E5A035;
  border-radius: 2px;
}
.home-cta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 40px 40px;
}
.home-cta-laptop-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-cta-laptop {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}
@media (max-width: 991.98px) {
  .home-cta-section::after {
    display: none;
  }
  .home-cta-text {
    padding: 80px 24px 40px;
  }
  .home-cta-laptop-bg {
    padding: 24px;
    background: #f3f4f6;
    border-radius: 16px;
  }
  .home-cta-laptop-bg-mobile {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .home-cta-laptop-mobile {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.1));
  }
}
.btn-contact-solid {
  display: inline-block;
  padding: 12px 28px;
  background: #E5A035;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .25s ease;
}
.btn-contact-solid:hover {
  background: #d4902e;
  color: #fff;
}

/* Contacto — lista simple */
.contact-list {
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.contact-item:last-child {
  border-bottom: none;
}
.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: #E5A035;
  font-size: 1rem;
}
.contact-body {
  flex: 1;
  min-width: 0;
}
.contact-body h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.contact-tel,
.contact-mail,
.contact-addr {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  text-decoration: none;
}
.contact-tel {
  color: #666;
}
.contact-mail {
  color: #E5A035;
  font-weight: 500;
}
.contact-addr {
  color: #999;
}
.contact-tel:hover {
  color: #333;
}
.contact-mail:hover {
  color: #c48425;
}


/* ============================================
   Barra de filtros horizontal (propiedades.php)
   ============================================ */

.filter-bar-top {
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1026;
}

.filter-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dropdown principal */
.filter-dropdown {
  position: relative;
}

.filter-dropdown-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 150px;
  height: 52px;
  padding: 6px 34px 6px 14px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.filter-dropdown-toggle:hover {
  border-color: var(--color-primary);
}

.filter-dropdown-toggle:focus,
.filter-dropdown.show .filter-dropdown-toggle {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229,160,53,0.18);
  outline: none;
}

.filter-dropdown-toggle .filter-label {
  font-size: 0.6rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.filter-dropdown-toggle .filter-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* Menú del dropdown */
.filter-dropdown-menu {
  min-width: 220px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  margin-top: 6px !important;
}

.filter-dropdown-menu.filter-dropdown-wide {
  min-width: 280px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #374151;
  transition: background .15s;
}

.filter-option:hover {
  background: #f3f4f6;
}

.filter-option input[type="radio"] {
  display: none;
}
.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.filter-option.filter-check {
  cursor: pointer;
}

/* Dropdown items tipo home (sin checkbox) */
.filter-dropdown > .dropdown-menu:not(.filter-dropdown-menu) {
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  margin-top: 6px !important;
}
.filter-dropdown > .dropdown-menu:not(.filter-dropdown-menu) .dropdown-item {
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  color: #374151;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.filter-dropdown > .dropdown-menu:not(.filter-dropdown-menu) .dropdown-item:hover,
.filter-dropdown > .dropdown-menu:not(.filter-dropdown-menu) .dropdown-item:focus {
  background: var(--color-bg-light);
  color: var(--color-primary);
}
.filter-dropdown > .dropdown-menu:not(.filter-dropdown-menu) .dropdown-item.active,
.filter-dropdown > .dropdown-menu:not(.filter-dropdown-menu) .dropdown-item:active {
  background: var(--color-primary);
  color: #fff;
}

/* Botón Más filtros */
.filter-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 16px;
  background: #fff;
  border: 1.5px dashed #d1d5db;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all .2s ease;
}

.filter-more-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-more-btn.active {
  border-style: solid;
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(229,160,53,0.06);
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Botón Buscar */
.filter-search-btn {
  min-width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  margin-left: auto;
  padding: 0 16px;
  white-space: nowrap;
}

.filter-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229,160,53,0.35);
}

/* Panel expandible: Más filtros */
.filter-more-panel {
  background: #fafafa;
  border-radius: 16px;
  padding: 24px;
  margin-top: 12px;
  animation: fadeInDown .25s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filter-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.filter-more-col .form-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
    margin-left: 0.3rem;
}

.filter-more-col .form-control,
.filter-more-col .form-control-sm {
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  font-size: 0.8rem;
  background: #fff;
}

.filter-more-col .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229,160,53,0.15);
}

.filter-more-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.filter-more-footer .btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
}

.filter-more-footer .btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 767.98px) {
  .filter-bar-row {
    gap: 8px;
  }
  .filter-dropdown {
    flex: 1 1 0;
    min-width: 0;
  }
  .filter-dropdown-toggle {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 4px 24px 4px 10px;
  }
  .filter-dropdown-toggle .filter-label {
    font-size: 0.55rem;
  }
  .filter-dropdown-toggle .filter-value {
    font-size: 0.8rem;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .filter-more-btn {
    height: 46px;
    padding: 0 12px;
    font-size: 0.8rem;
  }
  .filter-search-btn {
    min-width: 46px;
    height: 46px;
    padding: 0;
    font-size: 1rem;
  }
  .filter-more-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Input de búsqueda en barra de filtros */
.filter-dropdown-search {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.filter-search-input {
  width: 100%;
  height: 52px;
  padding: 6px 14px;
  background: #fff;
  background-image: none !important;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
  transition: border-color .2s, box-shadow .2s;
}

.filter-search-input::placeholder {
  font-size: 0.85rem;
  color: #9ca3af;
  font-weight: 400;
}

.filter-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229,160,53,0.18);
  outline: none;
}

/* Barra de chips/pills */
.filter-chips-bar {
  background: #fff;
}

.filter-chips-bar .chip-applied {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #e9ecef;
  color: #495057;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s;
}

.filter-chips-bar .chip-applied:hover {
  background: #dee2e6;
  color: #212529;
}

/* Responsive */
@media (max-width: 767.98px) {
  .filter-dropdown-search {
    min-width: 140px;
    max-width: none;
    flex: 1 1 100%;
  }
  .filter-search-input {
    height: 46px;
  }
}

/* Scroll offset para navbar fixed */
#propiedades-destacadas {
  scroll-margin-top: 80px;
}

/* Scroll down en hero */
.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}
.hero-scroll-down .btn {
  border-radius: 8px;
  padding: 0.2rem 1rem;
  font-size: 0.9rem;
  border-width: 1.5px;
}
.hero-scroll-arrow {
  margin-top: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}
.hero-scroll-arrow i {
  display: inline-block;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* Botones de media sobre imagen principal (propiedad) */
.prop-media-buttons {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  flex-wrap: wrap;
  justify-content: center;
}
.prop-media-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: #374151;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.prop-media-btn:hover {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.prop-media-btn.active {
  background: var(--color-primary);
  color: #fff;
}
.prop-media-btn.active:hover {
  background: #d4932a;
}
@media (max-width: 767.98px) {
  .prop-media-buttons {
    bottom: 12px;
    gap: 6px;
  }
  .prop-media-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
  }
}
