:root, :root * { box-sizing: border-box; }

:root {
  /* Elegancia Dorada - canonical palette */
  --primary-gold: #C6A432; /* Dorado Principal (Elegancia Dorada) */
  --accent-gold:  #F5D56E; /* Dorado de Acento */
  --light-gold:   #FFF7E6; /* Fondo/hover suave */
  --white:        #FFFFFF; /* Blanco Limpio */
  --warm-gray:    #F5F5F5; /* Gris Cálido */
  --text-dark:    #333333; /* Texto principal */
  --dark-gray:    #0f172a; /* elementos oscuros */
  --text-muted:   #6c757d;
  --border-color: #E8E8E8;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,0.08);
  --shadow-lg:    0 10px 15px rgba(0,0,0,0.1);
}
.card-property { border-radius: 12px; box-shadow: 0 6px 18px rgba(15,23,42,0.06); }
.small-muted { color: var(--text-muted); }

/* Nav */
.nav-bar { padding: 14px 0; }
.brand { font-size:18px; text-decoration:none }
.nav-links .nav-link { color: var(--dark-gray); text-decoration:none; padding:8px 10px; border-radius:6px }
.nav-links .nav-link:hover { background: rgba(15,23,42,0.04) }

/* Landing */
.hero-landing { background: linear-gradient(180deg,#fff,#fbfbfd); }

@media (max-width:800px){
  .nav-links { display:none }
}

/* === NAVEGACIÓN === */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-bar {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 1.25rem;
  font-weight: 600;
}

.brand-logo {
  height: 56px;
  width: auto;
  border-radius: 10px;
  padding: 4px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,23,42,0.04);
  object-fit: contain;
  display: block;
}


/* Header improvements: make header a single, full-width golden bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--primary-gold) 0%, var(--accent-gold) 100%) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Keep the content centered but transparent so the golden bar spans full width */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem; /* tighter/stricter spacing */
  max-width: 1200px;
  margin: 0 auto;
  background: transparent !important;
}

.brand-name {
  font-weight: 700;
  color: var(--white) !important;
  line-height: 1;
  font-size: 1rem;
}

.brand-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.9) !important;
  line-height: 1;
}

.nav-links .nav-link {
  color: var(--white) !important;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link:focus {
  background: rgba(255,255,255,0.08);
  color: var(--white) !important;
}

/* Make the hamburger visible and high-contrast on the golden background */
.nav-toggle {
  background: rgba(255,255,255,0.06);
  border: none;
  font-size: 1.2rem;
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  border-radius: 8px;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: rgba(255,255,255,0.12);
}

.nav-toggle i { color: var(--white) !important; font-size: 1.25rem; }

.mobile-menu {
  display: none;
  background: #dec573;
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  overflow: hidden;
  transition: max-height 260ms ease, opacity 180ms ease;
  max-height: 0;
  opacity: 0;
}

.mobile-menu[aria-hidden="false"] { display: block; max-height: 600px; opacity: 1; background: #dec573;}

.mobile-menu .nav-link { color: var(--white) !important; padding-left: 0; }

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
  .nav-toggle { display: none !important; }
}

@media (max-width: 767px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: inline-flex; }
}

/* Improved mobile menu: full-width panel below header, clear links and high z-index */
.site-header { position: relative; }
.mobile-menu {
  /* make it overlay under the header and span full width */
  position: absolute !important;
  left: 0;
  right: 0;
  top: 100%;
  background: #e4c459;
  z-index: 1150;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 30px rgba(15,23,42,0.08);
  border-top: 1px solid var(--border-color) !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms ease, opacity 220ms ease, transform 220ms ease;
  transform-origin: top center;
}
.mobile-menu[aria-hidden="false"], .mobile-menu[data-open="true"] {
  max-height: 600px; /* enough to show menu items */
  opacity: 1;
  transform: translateY(0);
  background-color: #e4c459;
}
.mobile-menu .nav-link {
  color: var(--white) !important;
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  border-radius: 8px;
}
.mobile-menu .nav-link:hover, .mobile-menu .nav-link:focus {
  background: rgba(255,255,255,0.08);
}

/* Ensure nav-toggle visible only on small screens and styled for contrast */
.nav-toggle {
  display: inline-flex !important;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}

@media (min-width: 1200px) {
  /* extra enforcement: hide toggle on very large screens */
  .nav-toggle { display: none !important; }
}

.logo-placeholder {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  border-radius: 10px;
  margin-right: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.brand { gap: 0.75rem; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .brand-name { font-size: 1.05rem; }
.brand-text .brand-sub { font-size: 0.75rem; }


/* Ensure color utilities are explicit and safe */
.text-golden, .property-price, .property-badge {
  color: var(--primary-gold) !important;
}

.bg-golden, .btn-golden, .bg-gradient-gold {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  color: var(--white);
}

.btn-golden {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  color: #fff;
  border: none;
}

.btn-outline-golden {
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-golden:hover {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  color: var(--white);
  transform: translateY(-2px);
}

/* === UTILIDADES === */
.text-golden {
  color: var(--primary-gold) !important;
}

.bg-golden {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%) !important;
  color: var(--white) !important;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
}

/* === ANIMACIONES MÍNIMAS === */
.smooth-transition {
  transition: all 0.3s ease;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-bar {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn-golden,
  .btn-outline-golden {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
}

.stats-section {
  background: white;
  margin-top: -50px;
  position: relative;
  z-index: 3;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

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


  /* Forzar dorado y blanco por encima de reglas existentes */
  html, body {
    background-color: var(--white) !important;
    color: var(--dark-gray) !important;
  }

  .text-golden, .property-price, .property-badge {
    color: var(--primary-gold) !important;
  }

  .brand, .brand .brand-name {
    color: var(--text-dark) !important;
  }

  .footer-logo-placeholder i {
    color: var(--white) !important;
  }

  .bg-golden, .btn-golden, .nav-bar, .bg-gradient-gold {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%) !important;
      color: var(--white) !important;
  }

  /* Garantizar legibilidad dentro de bloques dorados */
  .bg-golden, .bg-golden * {
    color: var(--white) !important;
  }

  .btn-golden {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%) !important;
    color: #fff !important;
    border: none !important;
  }

  .btn-outline-golden {
    border: 2px solid var(--primary-gold) !important;
    color: var(--primary-gold) !important;
  }

  /* Asegurar que iconos y badges se vean dorados */
  .property-badge, .badge.bg-golden {
    background: var(--primary-gold) !important;
    color: #fff !important;
  }

  /* Evitar tonos naranjas fuertes: forzar gradientes basados en las variables */
  *[style*="background:"] { background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold)) !important; }

/* === RESPONSIVE PARA INICIO === */
@media (max-width: 768px) {
  .hero-title-home {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-home {
    font-size: 1.1rem;
  }
  
  .hero-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* === SECCIONES DE INICIO === */
.section-title-home {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Propiedades Destacadas */

.featured-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--warm-gray) 100%);
}

.featured-property-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.featured-property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.property-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.featured-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-property-image.no-image {
  background: linear-gradient(135deg, var(--warm-gray) 0%, var(--border-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.featured-property-card:hover .featured-property-image {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  color: var(--dark-gray);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.featured-property-content {
  padding: 1.5rem;
}

.featured-property-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.property-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.property-specs span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* Servicios */
.services-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--warm-gray) 100%);
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: #1a202c;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.service-card p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* === RESPONSIVE PARA SECCIONES === */
@media (max-width: 768px) {
  .section-title-home {
    font-size: 2rem;
  }
  
  .featured-property-card {
    margin-bottom: 2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

/* === CALL TO ACTION === */
.cta-section {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark-gray) 50%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(198,164,50,0.08);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(245,213,110,0.08);stop-opacity:1" /></linearGradient></defs><rect width="100%" height="100%" fill="url(%23grad1)"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.cta-actions .btn {
  min-width: 200px;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-actions .btn-light:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198,164,50,0.25);
}

.cta-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-actions .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    min-width: auto;
  }
}
/* Fuentes personalizadas */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
}

/* === ANIMACIONES === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleHover {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

@keyframes pulseSoft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-scale-hover:hover {
    animation: scaleHover 0.3s ease-out;
}

.animate-pulse-soft {
    animation: pulseSoft 2s infinite;
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,800 1000,1000"/></svg>');
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* === GALERÍA DE PROPIEDADES === */
.property-carousel {
    border-radius: 1.5rem !important;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.property-main-image {
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-main-image:hover {
    transform: scale(1.02);
}

.carousel-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.carousel-control-icon {
  background: rgba(198,164,50,0.95);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-control-icon:hover {
  background: var(--primary-gold);
  transform: scale(1.1);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
  background: var(--primary-gold);
}

.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* === THUMBNAILS === */
.thumbnail-image {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-image:hover,
.thumbnail-image.active {
  border-color: var(--primary-gold);
  transform: scale(1.05);
}

.more-images-indicator {
  background: rgba(198,164,50,0.08);
  border: 2px dashed var(--primary-gold);
  border-radius: 8px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-gold);
}

/* === PLACEHOLDER DE IMÁGENES === */
.no-images-placeholder {
  background: linear-gradient(135deg, var(--white) 0%, var(--border-color) 100%);
    border-radius: 1.5rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === CARDS DE DETALLES === */
.property-details-card .card {
    border-radius: 1.5rem;
    overflow: hidden;
}

.detail-group {
    margin-bottom: 2rem;
}

.detail-group-title {
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-gold);
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.detail-item:hover {
  background: var(--white);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    min-width: 40px;
    text-align: center;
    font-size: 1.2rem;
}

.detail-content {
    flex: 1;
    margin-left: 1rem;
}

.detail-content strong {
    display: block;
    font-weight: 600;
  color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.detail-content span {
  color: var(--text-muted);
    font-size: 1.1rem;
}

/* === SIDEBAR DE PRECIO === */
.price-contact-sidebar {
    position: sticky;
    top: 2rem;
}

.price-card {
    border-radius: 1.5rem !important;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.property-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rental-alert {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-radius: 12px;
  border: 1px solid #93c5fd;
}

/* === BOTONES MEJORADOS === */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-outline-golden {
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-golden:hover {
  background: var(--primary-gold);
  color: #1a202c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198,164,50,0.3);
}

/* === METADATA DE PROPIEDAD === */
.property-meta {
  background: var(--warm-gray);
    border-radius: 12px;
    padding: 1rem;
}

.meta-item {
    text-align: center;
}

.meta-item i {
    font-size: 1.5rem;
    display: block;
}

/* === ACCIONES DE COMPARTIR === */
.share-actions .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-actions .btn:hover {
    transform: translateY(-2px) scale(1.1);
}

/* === CARD DE AGENTE === */
.agent-card {
    border-radius: 1.5rem !important;
  background: linear-gradient(135deg, var(--white) 0%, var(--warm-gray) 100%);
}

.agent-avatar img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.agent-avatar img:hover {
    transform: scale(1.05);
}

.agent-stats {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* === MODAL MEJORADO === */
.modal-content {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header.bg-golden {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%) !important;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(198,164,50,0.18);
}

/* === TOASTS === */
.toast {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.toast-header {
    background: #fafafa;
  border-bottom: 1px solid var(--border-color);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .property-main-image {
        height: 300px;
    }
    
    .property-price-large {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .price-contact-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .thumbnail-image {
        height: 40px;
    }
    
    .more-images-indicator {
        height: 40px;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .property-carousel {
        border-radius: 1rem !important;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .detail-icon {
        margin-bottom: 0.5rem;
    }
    
    .detail-content {
        margin-left: 0;
    }
    
    .btn-whatsapp,
    .btn-outline-golden {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}
:root{
  --gold-primary: var(--primary-gold);
  --gold-secondary: var(--accent-gold);
  --gold-accent: var(--accent-gold);
  --gold-dark: var(--primary-gold);
  --navy: #1e293b;
  --gray-50: var(--warm-gray);
  --gray-100: var(--border-color);
  --gray-500: var(--text-muted);
  --gray-700: var(--dark-gray);
  --white: #ffffff;
}

* { box-sizing: border-box; }

body { 
  background: var(--white);
  color: var(--navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* HEADER & NAVIGATION */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-bar {
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.brand {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand::before {
  content: "◆";
  color: var(--gold-primary);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--navy);
  background: var(--gray-50);
}

/* BUTTONS */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold-primary);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-secondary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: var(--navy);
}

/* === WHATSAPP FLOTANTE SIMPLIFICADO === */
.whatsapp-float-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #128c7e;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 75px;
  right: -10px;
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid #e2e8f0;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
}

.whatsapp-float-container:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-tooltip-content {
  color: #2d3748;
  font-size: 0.9rem;
  line-height: 1.4;
}

@keyframes whatsappFloatBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-3px);
  }
  30% {
    transform: translateY(-6px);
  }
  40% {
    transform: translateY(-3px);
  }
}

@keyframes whatsappRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* FOOTER */
.social-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-primary);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--gold-secondary);
  color: var(--navy);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-container {
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--navy);
}

.search-input::placeholder {
  color: var(--gray-500);
}

/* CARDS */
.property-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: none;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

.property-content {
  padding: 1.5rem;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.property-details {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-secondary);
  margin-bottom: 1rem;
}

.property-actions {
  display: flex;
  gap: 0.5rem;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* LOCATION CARDS */
.location-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 250px;
  background: var(--gray-100);
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: scale(1.02);
}

.location-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
}

.location-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.location-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ADMIN STYLES */
.admin-header {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--white);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.admin-brand {
  font-weight: 800;
  font-size: 1.25rem;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .property-actions {
    flex-direction: column;
  }
}

/* === PÁGINA DE INICIO AVANZADA === */
.hero-section-home {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    position: relative;
    overflow: hidden;
}

.hero-section-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* === FILTROS DE BÚSQUEDA === */
.search-filters-card {
    border-radius: 1.5rem !important;
    background: white;
}

  .search-filters-card .form-control:focus,
  .search-filters-card .form-select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(198,164,50,0.18);
}

/* === GRID DE PROPIEDADES === */
.property-card-modern {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.property-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.property-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-modern:hover .property-image {
    transform: scale(1.05);
}

.property-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

/* === BADGES Y ETIQUETAS === */
.property-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.property-badge-sale {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.property-badge-rent {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* === ACCIONES RÁPIDAS === */
.property-quick-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.property-card-modern:hover .property-quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-quick-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-quick-action:hover {
  background: var(--primary-gold);
  color: var(--text-dark);
  transform: scale(1.1);
}

/* === CONTENIDO DE PROPIEDAD === */
.property-price-section {
    border-bottom: 1px solid #f1f5f9;
}

.property-price-main {
    font-size: 1.75rem;
    font-weight: 700;
  color: var(--primary-gold);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.property-price-rent {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.property-location {
    color: #374151;
    font-size: 1.1rem;
}

/* === CARACTERÍSTICAS === */
.property-features {
    margin-bottom: 1rem;
}

.feature-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background: #fefdf5;
}

.feature-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    display: block;
}

.feature-value {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.feature-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === AMENIDADES === */
.amenity-tag {
    display: inline-block;
    background: #fefdf5;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.125rem;
    border: 1px solid #fde68a;
}

/* === BOTONES DE ACCIÓN === */
.btn-view-property {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  border: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-view-property:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-gold) 100%);
    color: #1a202c;
    transform: translateY(-2px);
}

/* === FOOTER DE CARD === */
.property-footer {
    border-top: 1px solid #f1f5f9;
    background: #fafafa !important;
}

/* === FOOTER MODERNO MEJORADO === */
.modern-footer {
  background: linear-gradient(180deg, #535242 0%, #1f2937 100%) !important;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-gold) 50%, transparent 100%);
}

.footer-brand {
  position: relative;
}

.footer-logo {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(198,164,50,0.18);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(198,164,50,0.22);
}

.footer-logo-placeholder {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links .social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(198,164,50,0.06);
  border: 2px solid rgba(198,164,50,0.14);
  border-radius: 12px;
  color: var(--primary-gold);
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.social-links .social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(198,164,50,0.08);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.social-links .social-link:hover::before {
  width: 100px;
  height: 100px;
}

.social-links .social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(198,164,50,0.16);
}

.social-links .social-link[data-social="facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.social-links .social-link[data-social="instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #bc1888;
  color: white;
  box-shadow: 0 10px 25px rgba(188, 24, 136, 0.3);
}

.social-links .social-link[data-social="whatsapp"]:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.social-links .social-link[data-social="youtube"]:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: white;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.social-links .social-link[data-social="linkedin"]:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links .footer-link {
  color: #a0aec0;
  text-decoration: none;
  padding: 0.4rem 0;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 400;
}

.footer-links .footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  transition: width 0.3s ease;
}

.footer-links .footer-link:hover {
  color: var(--primary-gold);
  padding-left: 0.8rem;
  transform: translateX(5px);
}

.footer-links .footer-link:hover::before {
  width: 30px;
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  background: rgba(198,164,50,0.05);
  border-radius: 10px;
  border-left: 3px solid var(--primary-gold);
  transition: all 0.3s ease;
}

.contact-info .contact-item:hover {
  background: rgba(198,164,50,0.1);
  transform: translateX(5px);
}

.contact-info .contact-item i {
  margin-top: 0.2rem;
  margin-right: 1rem;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.contact-info .contact-item a {
  transition: all 0.3s ease;
}

.contact-info .contact-item a:hover {
  color: var(--primary-gold) !important;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(198,164,50,0.08);
}

.footer-legal a.footer-link {
  color: #a0aec0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a.footer-link:hover {
  color: var(--primary-gold);
}

/* === RESPONSIVE PARA FOOTER Y WHATSAPP === */
@media (max-width: 768px) {
  .social-links .social-link {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
  
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-tooltip {
    right: -20px;
    max-width: 180px;
    padding: 12px 15px;
  }
  
  .contact-info .contact-item {
    padding: 0.6rem;
    margin-bottom: 1rem;
  }
  
  .footer-brand .d-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo,
  .footer-logo-placeholder {
    margin: 0 auto 1rem auto;
  }
}

@media (max-width: 576px) {
  .whatsapp-tooltip {
    display: none; /* Ocultar tooltip en móviles muy pequeños */
  }
  
  .modern-footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* === OPCIONES DE VISTA === */
.view-options .btn-group .btn {
    border-color: #e5e7eb;
    color: #6b7280;
}

.view-options .btn-group .btn.active {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--text-dark);
}

/* === ESTADO VACÍO === */
.empty-state {
    padding: 4rem 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === RESPONSIVE PARA INDEX === */
@media (max-width: 768px) {
    .hero-section-home {
        padding: 3rem 0;
    }
    
    .hero-stats {
        margin-top: 1.5rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .property-image-container {
        height: 200px;
    }
    
    .property-price-main {
        font-size: 1.5rem;
    }
    
    .search-filters-card .row {
        gap: 1rem;
    }
    
    .search-filters-card .col-md-5,
    .search-filters-card .col-md-3,
    .search-filters-card .col-md-2 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .property-quick-actions {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
        opacity: 1;
        transform: none;
    }
    
    .feature-item {
        padding: 0.5rem 0.25rem;
    }
    
    .feature-value {
        font-size: 0.9rem;
    }
    
    .feature-label {
        font-size: 0.7rem;
    }
}

/* Styles for large vertical social stack used in hero */
.hero-social-large {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.hero-social-large a {
  width: 110px;
  height: 110px;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px; /* large pill / rounded rectangle */
  background: var(--white);
  color: var(--primary-gold);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  border: 1px solid rgba(198,164,50,0.12);
  font-size: 1.9rem;
  padding: 0.5rem 1rem;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms, background 260ms, color 260ms;
}
.hero-social-large a i { transition: transform 260ms cubic-bezier(.2,.9,.2,1); }
.hero-social-large a:hover, .hero-social-large a:focus {
  transform: translateY(-10px) scale(1.06);
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
  color: var(--white) !important;
  box-shadow: 0 26px 60px rgba(198,164,50,0.18);
}
.hero-social-large a:hover i, .hero-social-large a:focus i {
  transform: rotate(-8deg) scale(1.06);
}

/* subtle pop entrance animation */
@keyframes socialPop {
  from { transform: translateY(6px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.hero-social-large a { animation: socialPop 420ms ease both; }

@media (max-width: 991px) {
  .hero-social-large { flex-direction: row; position: static; transform: none; gap: 0.5rem; margin-top: 1rem; }
}

/* Responsive hero image inner wrapper */
.hero-image-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-image-inner .image-placeholder {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 520px;
}
.hero-image-inner .hero-social-large {
  flex: 0 0 auto;
}

@media (max-width: 991px) {
  .hero-image-inner { flex-direction: column; align-items: center; }
  .hero-image-inner .image-placeholder { max-width: 100%; }
  .hero-image-inner .hero-social-large { width: 100%; display:flex; justify-content:center; gap:1rem; }
  .hero-social-large a { width: 64px; height: 64px; min-width:64px; font-size:1.4rem; }
}


