/* Services Section Styles */
.services-section {
    /* padding: 100px 0; */
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Estilo específico para el subtítulo de servicios */
.services-section > .section-subtitle[data-lang-key="services-subtitle"] {
    max-width: 800px;
    margin: 0 auto 30px !important;
    padding: 0 20px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    color: var(--light-text) !important;
    font-size: 1.1rem !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.services-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.service-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 200px;
    width: 250px;
    margin: 10px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.service-card:hover::before {
    opacity: 0.9;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    /* flex-direction: column; */
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
    transition: all 0.4s ease;
}

.service-card:hover .service-content h3::after {
    width: 60px;
    background: #fff;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0.9;
    position: relative;
    padding-bottom: 2px;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: all 0.4s ease;
}

.service-card:hover .service-link {
    color: #fff;
}

.service-card:hover .service-link::after {
    width: 100%;
    background: #fff;
}

.service-link i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-column {
        padding: 10px;
        gap: 15px;
    }
    
    .service-card {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 50px 0 30px;
    }
    
    .services-column {
        min-width: 100%;
        padding: 0 10px;
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 180px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .service-link {
        font-size: 0.8rem;
    }
    
    .map-container,
    .map-container iframe {
        min-height: 300px;
    }
}
/* __________________________________parche__________________________________ */

/* --- Estilo específico para el subtítulo de servicios --- */
.services-section > p.section-subtitle[data-lang-key="services-subtitle"],
.services-section > .section-subtitle[data-lang-key="services-subtitle"] {
    /* Reset de estilos */
    all: revert;
    /* Estilos específicos */
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto 30px !important;
    padding: 0 20px !important;
    text-align: center !important;
    color: var(--light-text) !important;
    font-size: 1.1rem !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}
  
  /* --- Centrar títulos y subtítulos de Propiedades destacadas --- */
  .featured-properties .section-title,
  .featured-properties .section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Mensaje cuando no hay propiedades */
  .featured-properties [data-lang-key="no-featured-properties"]{
    text-align: center !important;
    margin: 20px auto !important;
    display: block;
  }
  
  /* Botón "Ver todas las propiedades" centrado por si acaso */
  .featured-properties .text-center { text-align: center; }
  
  /* Asegurar centrado también en móvil */
  @media (max-width: 576px){
    .featured-properties .section-title,
    .featured-properties .section-subtitle,
    .featured-properties [data-lang-key="no-featured-properties"]{
      text-align: center !important;
    }
  }
  