/* =============================================
   KRONUM S.A.S INMOBILIARIA — ESTILOS GLOBALES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Variables Oficiales Marca KRONUM --- */
:root {
  --primary:       #0F3D56; /* Azul Marino Ejecutivo Kronum (del logo) */
  --primary-light: #1E5C7D; /* Azul Real Slate Kronum */
  --primary-dark:  #0A293A; /* Azul Oscuro Profundo */
  --primary-bg:    #F0F7FA; /* Fondo Azul Helado Suave */
  
  --accent:        #C5A059; /* Dorado / Bronce Metálico Kronum (del logo) */
  --accent-light:  #D4AF37; /* Dorado Brillante Logo */
  --accent-dark:   #9A7732; /* Dorado Profundo */
  --accent-bg:     #FDFBF7; /* Fondo Crema / Dorado Suave */

  --dark:          #0A192F; /* Texto Oscuro Premium */
  --dark-2:        #152338;
  --body-bg:       #FFFFFF;
  --section-bg:    #F8FAFC;
  --card-bg:       #FFFFFF;
  --card-border:   #E2E8F0;
  --text:          #334155;
  --text-muted:    #64748B;
  --green:         #047857;
  --green-light:   #A7F3D0;
  --shadow:        0 10px 30px rgba(15, 61, 86, 0.07), 0 2px 8px rgba(15, 61, 86, 0.04);
  --shadow-purple: 0 4px 24px rgba(15, 61, 86, 0.22);
  --shadow-gold:   0 6px 20px rgba(197, 160, 89, 0.25);
  --radius:        20px;
  --radius-sm:     10px;
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--body-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--section-bg); }
::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* =====================
   NAVBAR (ESTILO HABI)
   ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo img {
  height: 74px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
  transition: transform var(--transition);
}
.nav-logo:hover img {
  transform: scale(1.03);
}

/* =====================
   HERO — ESTILO HABI SOFISTICADO
   ===================== */
#inicio {
  min-height: auto;
  background: #ffffff;
  padding: 136px 0 76px;
  position: relative;
  overflow: hidden;
}
#inicio::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(15, 61, 86, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-banner {
  background: linear-gradient(135deg, #0A293A 0%, #0F3D56 50%, #1E5C7D 100%);
  border-radius: 28px;
  display: flex;
  min-height: 550px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(10, 41, 58, 0.22);
  position: relative;
  width: 100%;
}
.hero-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.hero-banner-content {
  flex: 1.1;
  padding: 64px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-banner-content .hero-trust-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #ffffff;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.82rem;
  margin-bottom: 24px;
  align-self: flex-start;
  font-weight: 500;
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D4AF37;
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}
.hero-banner-content .hero-trust-badge strong {
  color: #fff;
}
.hero-banner-content .hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-banner-content .hero-title span {
  background: linear-gradient(135deg, #FDE68A, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #D4AF37;
}
.hero-banner-content .hero-subtitle {
  font-size: 1.05rem;
  color: #E0F2FE;
  margin-bottom: 34px;
  font-weight: 400;
  line-height: 1.68;
  max-width: 440px;
}

/* --- Caja de búsqueda estilo Habi --- */
.habi-search-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.habi-tabs {
  display: flex;
  border-bottom: 1px solid var(--card-border);
}
.habi-tab {
  flex: 1;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border-radius: 0;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}
.habi-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0F3D56, #D4AF37);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}
.habi-tab.active {
  color: var(--primary);
  background: #fff;
}
.habi-tab.active::after { transform: scaleX(1); }
.habi-tab:hover:not(.active) { color: var(--primary-light); background: var(--section-bg); }

.habi-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 14px;
}
.habi-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.habi-search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  pointer-events: none;
}
.habi-input {
  width: 100%;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  background: var(--section-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.habi-input::placeholder { color: #98a2b3; }
.habi-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 61, 86, 0.15);
}
.habi-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 12px;
  margin-left: 10px;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(15, 61, 86, 0.25);
}
.habi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15, 61, 86, 0.4);
}

.habi-quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 16px;
  flex-wrap: wrap;
}
.habi-quick-links span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.quick-link {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-bg);
  border: 1px solid rgba(15, 61, 86, 0.15);
  border-radius: 50px;
  padding: 4px 12px;
  transition: all var(--transition);
}
.quick-link:hover {
  background: var(--primary);
  color: #fff;
}

.hero-banner-image {
  flex: 0.9;
  position: relative;
  overflow: hidden;
  background: #0A293A;
  animation: fadeRight 0.9s ease forwards;
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-banner-image-overlay {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 180px;
  background: linear-gradient(90deg, #0A293A 0%, transparent 100%);
  pointer-events: none;
}

/* Card superpuesta con stats en bloques de colores diferenciados */
.hero-overlapping-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 40px rgba(15, 61, 86, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  margin: -24px auto 0;
  position: relative;
  z-index: 10;
  max-width: 1080px;
  width: 90%;
  animation: fadeUp 0.9s ease forwards;
}
.overlapping-text-col {
  flex: 1.1;
  padding-right: 32px;
  text-align: left;
}
.overlapping-text-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 8px;
}
.overlapping-text-col h3 strong {
  color: var(--primary);
  font-weight: 800;
}
.overlapping-stats-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Bloques diferenciados estilo Habi */
.stat-box {
  flex: 1;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.25s ease;
}
.stat-box:hover {
  transform: translateY(-2px);
}
.stat-box-green {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}
.stat-box-green .stat-box-num {
  color: #047857;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}
.stat-box-green .stat-box-label {
  color: #065F46;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
  display: block;
}

.stat-box-purple, .stat-box-gold {
  background: #FDFBF7;
  border: 1px solid #FDE68A;
}
.stat-box-purple .stat-box-num, .stat-box-gold .stat-box-num {
  color: #9A7732;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}
.stat-box-purple .stat-box-label, .stat-box-gold .stat-box-label {
  color: #785A1D;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
  display: block;
}

.stat-box-slate {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
.stat-box-slate .stat-box-num {
  color: #334155;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
}
.stat-box-slate .stat-box-label {
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
  display: block;
}

.hero-trust-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.trust-logo-habi {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--primary), #9e77ed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   SECTIONS COMUNES
   ===================== */
section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* =====================
   FILTROS DE PROPIEDADES
   ===================== */
#propiedades { background: var(--section-bg); }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.filter-tab {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 2px 8px rgba(105, 65, 198, 0.2);
}
.filter-tab:hover:not(.active) { color: var(--primary); }
.filter-selects {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}
.filter-select {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(127, 86, 217, 0.15);
}
.filter-select option { background: #fff; }
.results-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.results-count span { color: var(--primary); font-weight: 700; }

/* =====================
   GRILLA DE PROPIEDADES
   ===================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  animation: fadeIn 0.5s ease forwards;
  box-shadow: var(--shadow);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  border-color: var(--primary-light);
}
.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .card-image img { transform: scale(1.08); }
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-alquiler {
  background: #ECFDF3;
  color: #027A48;
  border: 1px solid #ABEFC6;
}
.badge-venta {
  background: #FDFBF7;
  color: #9A7732;
  border: 1px solid #FDE68A;
}
.card-fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}
.card-fav:hover, .card-fav.active { color: #e05050; background: #fff; }
.card-body { padding: 20px; }
.card-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.card-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 16px;
}
.card-location svg { flex-shrink: 0; color: var(--text-muted); }
.card-features {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}
.feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.feature svg { color: var(--primary); flex-shrink: 0; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 10px;
}
.btn-detail {
  flex: 1;
  padding: 9px 16px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}
.btn-detail:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.btn-whatsapp {
  flex: 1;
  padding: 9px 16px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-results svg { font-size: 3rem; margin-bottom: 16px; color: var(--card-border); }

/* =====================
   POR QUÉ ELEGIRNOS
   ===================== */
#porque { background: var(--body-bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-light);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--primary-bg);
  border: 1px solid rgba(127, 86, 217, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
}
.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.why-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* =====================
   CONTACTO
   ===================== */
#contacto { background: var(--section-bg); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-info h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary-bg);
  border: 1px solid rgba(127, 86, 217, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-item-text small { color: var(--text-muted); font-size: 0.78rem; display: block; }
.contact-item-text strong { color: var(--dark); font-size: 0.95rem; }
.contact-form {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--section-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--dark);
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: 'Outfit', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #98a2b3; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(127, 86, 217, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}

/* =====================
   FOOTER (REDiseñado)
   ===================== */
#footer {
  background: #1D2939; /* Gris Oscuro Elegante */
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 0;
  color: #eaecf0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  object-fit: cover;
  clip-path: inset(5% 5% 5% 5% round 12px);
  background: #ffffff;
}
.footer-brand p { color: #98a2b3; font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: #98a2b3;
}
.social-btn:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: #98a2b3;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: #98a2b3; font-size: 0.82rem; }
.footer-bottom a { color: var(--accent-light); }

/* =====================
   MODAL REDISEÑADO PREMIUM (BLANCO/VIOLETA)
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.15);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.modal-close:hover { color: var(--primary); background: #ffffff; border-color: var(--primary); }

.modal-gallery {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slider-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  color: var(--dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 5;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.slider-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(105, 65, 198, 0.5);
}

.modal-gallery-badge {
  position: absolute;
  top: 16px; left: 16px;
}
.modal-body { padding: 32px 40px; }
.modal-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.modal-price small { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.modal-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.modal-location svg { color: var(--text-muted); }

.modal-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  margin-bottom: 24px;
  border: 1px solid rgba(127, 86, 217, 0.12);
}
.modal-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}
.modal-feature-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  height: 28px;
}
.modal-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}
.modal-feature-val { font-weight: 800; color: var(--primary); font-size: 1.15rem; }
.modal-feature-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.modal-desc-title { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 1.05rem; }
.modal-desc { color: var(--text); font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; }

.modal-amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.modal-amenity-tag {
  background: var(--primary-bg);
  border: 1px solid rgba(127, 86, 217, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}
.modal-btn-wa {
  flex: 2;
  padding: 14px 24px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.modal-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}
.modal-btn-share {
  flex: 1;
  padding: 14px 24px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  background: #fff;
}
.modal-btn-share:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }

/* =====================
   TOAST NOTIFICATION
   ===================== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 3000;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--dark);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* =====================
   BACK TO TOP
   ===================== */
#backToTop {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1000;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-purple);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: var(--transition);
}
#backToTop.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(105, 65, 198, 0.4); }

/* =====================
   WHATSAPP FLOTANTE
   ===================== */
.wa-float {
  position: fixed;
  bottom: 84px;
  right: 28px;
  z-index: 1000;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* =====================
   SECCIÓN DE SUSCRIPCIÓN (ALERTAS DE CORREO)
   ===================== */
#suscripcion {
  background: linear-gradient(135deg, var(--primary) 0%, #4F1EBA 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.subscription-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.subscription-content {
  flex: 1.2;
  text-align: left;
}
.subscription-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.subscription-subtitle {
  color: #E9D7FE;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}
.subscription-form {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.subscribe-inputs {
  display: flex;
  gap: 10px;
  width: 100%;
}
.subscribe-inputs input[type="email"] {
  flex: 1.3;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  font-family: 'Outfit', sans-serif;
  transition: border-color var(--transition), background var(--transition);
}
.subscribe-inputs input[type="email"]::placeholder {
  color: #D6BBFB;
}
.subscribe-inputs input[type="email"]:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}
.subscribe-select {
  flex: 0.7;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.subscribe-select option {
  background: var(--primary);
  color: #ffffff;
}
.btn-subscribe {
  width: 100%;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: var(--primary-bg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a::after { background: var(--primary); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: 50px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition) !important;
  box-shadow: 0 4px 16px rgba(105, 65, 198, 0.2);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(105, 65, 198, 0.35);
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================
   RESPONSIVE (ESTILO HABI.CO)
   ===================== */
@media (max-width: 900px) {
  #navbar {
    padding: 0 16px;
    height: 64px;
  }
  .nav-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    clip-path: none;
  }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #ffffff;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    border-radius: 0 0 24px 24px;
    align-items: center;
    text-align: center;
    gap: 4px;
    z-index: 1000;
  }
  .nav-links.open li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav-links.open a:not(.nav-cta) {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    color: var(--text) !important;
    font-size: 0.96rem;
    font-weight: 500;
  }
  .nav-links.open a:not(.nav-cta):hover {
    color: var(--primary) !important;
  }
  .nav-links.open .nav-cta {
    width: 100%;
    margin-top: 10px;
    padding: 13px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(105, 65, 198, 0.3);
    border-bottom: none !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
  .nav-links.open .nav-cta svg {
    fill: #ffffff !important;
    width: 18px;
    height: 18px;
  }
  .hamburger { display: flex; }

  /* Hero Section Mobile */
  #inicio {
    padding: 72px 10px 20px;
  }
  .hero-banner {
    flex-direction: column;
    min-height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(79, 30, 186, 0.12);
  }
  .hero-banner-content {
    padding: 20px 14px 16px;
    text-align: left;
  }
  .hero-banner-content .hero-trust-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
    gap: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
    white-space: normal;
    word-break: break-word;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
  }
  .hero-banner-content .hero-title {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
  }
  .hero-banner-content .hero-subtitle {
    font-size: 0.83rem;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #E0F2FE;
  }
  .hero-banner-image {
    display: block;
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    background: #0A293A;
    border-radius: 0 0 20px 20px;
  }
  .hero-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }
  .hero-banner-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45px;
    width: 100%;
    background: linear-gradient(180deg, #0A293A 0%, transparent 100%);
    pointer-events: none;
  }

  /* Buscador estilo Habi Móvil */
  .habi-search-box {
    border-radius: 14px;
  }
  .habi-tabs {
    border-bottom: 1px solid var(--card-border);
  }
  .habi-tab {
    padding: 9px 8px;
    font-size: 0.82rem;
  }
  .habi-input-row {
    flex-direction: column;
    padding: 10px;
    gap: 8px;
  }
  .habi-input-wrap {
    width: 100%;
  }
  .habi-input {
    height: 42px;
    font-size: 0.83rem;
    padding: 8px 10px 8px 34px;
    border-radius: 10px;
  }
  .habi-search-icon {
    left: 10px;
    width: 16px;
    height: 16px;
  }
  .habi-btn {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    height: 44px;
    font-size: 0.88rem;
    border-radius: 10px;
  }
  .habi-quick-links {
    padding: 0 10px 12px;
    gap: 5px;
  }
  .habi-quick-links span {
    font-size: 0.7rem;
    width: 100%;
    margin-bottom: 2px;
  }
  .quick-link {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  /* Floating Stats Overlapping Card en Móvil */
  .hero-overlapping-card {
    flex-direction: column;
    margin: 14px 0 0;
    width: 100%;
    padding: 16px 10px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--card-border);
  }
  .overlapping-text-col {
    padding-right: 0;
    margin-bottom: 12px;
    text-align: center;
  }
  .overlapping-text-col h3 {
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .hero-trust-logos {
    justify-content: center;
    font-size: 0.75rem;
    gap: 6px;
  }
  .overlapping-stats-col {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4px;
  }
  .stat-box {
    flex: 1;
    text-align: center;
    padding: 8px 3px;
    border-radius: 10px;
  }
  .stat-box-num {
    font-size: 1.15rem !important;
  }
  .stat-box-label {
    font-size: 0.58rem !important;
    letter-spacing: 0px !important;
    margin-top: 2px !important;
  }
  .habi-stat {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    background: var(--primary-bg);
    border-radius: 10px;
    border: 1px solid rgba(105, 65, 198, 0.1);
  }
  .habi-stat-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    display: block;
  }
  .habi-stat-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
    display: block;
    line-height: 1.15;
  }
  .habi-stat-divider {
    display: none;
  }

  /* Grid & Cards Responsive */
  section { padding: 40px 0; }
  .properties-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 12px; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; padding: 0 12px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 20px; padding: 0 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .subscription-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 0 12px;
  }
  .subscription-subtitle { margin: 0 auto; }
  .subscribe-inputs { flex-direction: column; gap: 8px; }
  .modal-body { padding: 18px 14px; }
  .modal-price { font-size: 1.5rem; }
  .modal-title { font-size: 1.15rem; }
  .modal-actions { flex-direction: column; }
  .wa-float {
    bottom: 16px;
    right: 14px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    z-index: 9999;
  }
}

/* =====================
   LIGHTBOX FULLSCREEN DE FOTOS
   ===================== */
.property-card {
  cursor: pointer;
}
.slider-wrapper img {
  cursor: zoom-in;
}
.zoom-hint-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(16, 24, 40, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
}

.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  position: relative;
  max-width: 94vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
  transition: transform 0.25s ease;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3010;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3010;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-btn.prev { left: 24px; }
.lightbox-btn.next { right: 24px; }
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-counter {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lightbox-hint {
  color: #E9D7FE;
  font-size: 0.78rem;
  margin-top: 6px;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .lightbox-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .lightbox-btn.prev { left: 10px; }
  .lightbox-btn.next { right: 10px; }
  .lightbox-close { top: 16px; right: 16px; width: 38px; height: 38px; }
}

/* =====================
   ESTILOS ADICIONALES FICHA DE PROPIEDAD
   ===================== */
.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-verified-badge {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}
.modal-verified-badge span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
}
.modal-verified-badge small {
  font-size: 0.68rem;
  color: #065F46;
  font-weight: 500;
}

.modal-advisor-card {
  background: #F9F5FF;
  border: 1px solid #E9D7FE;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 24px;
}
.advisor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #D6BBFB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.advisor-details {
  display: flex;
  flex-direction: column;
}
.advisor-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.advisor-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
}
.advisor-status {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.modal-btn-schedule {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
}
.modal-btn-schedule:hover {
  background: var(--primary-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(105, 65, 198, 0.15);
}

@media (max-width: 600px) {
  .modal-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-verified-badge {
    align-items: flex-start;
    text-align: left;
  }
}




