/* Navbar */
/* Gradientes y efectos modernos */
.gradient-text {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar moderno */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #d1d5db;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(251, 191, 36, 0.1);
    color: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* Mobile menu */
.mobile-menu {
    display: none !important;
}

.mobile-menu.active {
    display: block !important;
    animation: slideDown 0.3s ease-out;
}

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

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    #mobile-menu-button {
        display: block;
    }
}

@media (min-width: 769px) {
    #mobile-menu-button {
        display: none;
    }
}

/* Footer moderno */
.footer-link {
    color: #9ca3af;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: #fbbf24;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link:hover.facebook {
    background: #1877f2;
    color: white;
}

.social-link:hover.whatsapp {
    background: #25d366;
    color: white;
}

.social-link:hover.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.social-link:hover.email {
    background: #6b7280;
    color: white;
}

/* Efectos adicionales */
.backdrop-blur {
    backdrop-filter: blur(10px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#logo {
    width: 15dvh;
    height: 7dvh;
}

#logo_footer {
    width: 35dvh;
    height: 15dvh;
}
/* Fin Navbar */










/* Inicio */
.hero-bg {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect width="1000" height="1000" fill="%23334155"/><circle cx="200" cy="200" r="2" fill="%23475569" opacity="0.5"/><circle cx="800" cy="300" r="1.5" fill="%23475569" opacity="0.3"/><circle cx="300" cy="700" r="1" fill="%23475569" opacity="0.4"/><circle cx="700" cy="150" r="1.2" fill="%23475569" opacity="0.6"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

.property-card {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Asegurar que las secciones tengan z-index apropiado */
.hero-bg {
    position: relative;
    z-index: 10;
}

section {
    position: relative;
    z-index: 5;
}

.stat-number {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-icon {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    border-radius: 50%;
    padding: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    background: linear-gradient(145deg, #374151, #4b5563);
    border: 1px solid #6b7280;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.gradient-text {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-input {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    outline: none;
}
/* Estilos para el contenedor de propiedades destacadas con scroll */
#propiedades-container {
    scrollbar-width: thin;
    scrollbar-color: #fbbf24 #374151;
}

#propiedades-container::-webkit-scrollbar {
    width: 8px;
}

#propiedades-container::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

#propiedades-container::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 4px;
}

#propiedades-container::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

#ver-detalles {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
}

.ver-detalles {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
}

#dorado {
    color: #D4AF37;
}
/* Fin Inicio */






bg-neutral-800/80




/* Propiedades */
.property-card {
    transition: all 0.3s ease;
}

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

.gradient-text {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-input {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    outline: none;
}

.filter-sidebar {
    background: linear-gradient(145deg, #374151, #4b5563);
    border: 1px solid #6b7280;
}

.characteristic-checkbox:checked {
    background-color: #fbbf24;
    border-color: #fbbf24;
}

.sidebar-responsive {
    display: block;
}

@media (max-width: 768px) {
    .sidebar-responsive {
        order: 2;
    }
}
/* Fin Propiedades */
















/* Sobre Nosotros */
.team-card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card-modern:hover {
    transform: translateY(-12px);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.gradient-text {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-card-modern {
        margin-bottom: 2rem;
    }
    
    .team-card-modern .absolute.bottom-6 {
        bottom: 4px;
        left: 4px;
        right: 4px;
    }
    
    .team-card-modern .absolute.bottom-6 .bg-black\/50 {
        padding: 12px;
    }
    
    .team-card-modern h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .team-card-modern .text-yellow-400 {
        font-size: 0.75rem;
    }
}

/* Animation for stats */
.stat-number {
    animation: pulse 2s infinite;
}

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

/* Hover effects for contact icons */
.team-card-modern a:hover {
    transform: scale(1.1);
}
/* Fin Sobre Nosotros */






















/* Contacto */
.gradient-text {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 40vh;
    position: relative;
    overflow: hidden;
}

.hero-bg::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"><defs><radialGradient id="g"><stop offset="20%" stop-color="%23fbbf24" stop-opacity="0.1"/><stop offset="50%" stop-color="%23f59e0b" stop-opacity="0.05"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23g)"/><circle cx="800" cy="600" r="400" fill="url(%23g)"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.form-input {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
    color: white;
}

.form-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    outline: none;
    background: rgba(31, 41, 55, 0.95);
}

.form-input::placeholder {
    color: #9ca3af;
}

.map-placeholder {
    background: linear-gradient(145deg, #374151, #4b5563);
    border: 2px dashed #6b7280;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: #fbbf24;
    background: linear-gradient(145deg, #4b5563, #6b7280);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #374151, #4b5563);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #6b7280;
    margin: 0 auto 1rem;
}

.social-icon:hover {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
}

.social-icon:hover i {
    color: #1f2937 !important;
}

.cta-section {
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 1rem;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #fbbf24;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #F5D982 0%, #A6824A 25%, #8B6B37 50%, #6B4E24 75%, #4A3318 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
/* Fin Contacto */





















/* Especificaciones de la propiedad */
/* Estilos para el carrusel */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 800px; /* Aumentado a 600px para mayor tamaño vertical */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer; /* Indica que es clickeable */
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(240, 233, 233, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background-color: rgba(240, 233, 233, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.carousel-indicator.active {
    background-color: white;
}

/* Estilos para la vista de pantalla completa */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.property-feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
}

/* Estilos mejorados para la información de contacto */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-icon {
    width: 18px; /* Reducido de 24px */
    height: 18px; /* Reducido de 24px */
    margin-right: 10px;
    flex-shrink: 0;
}

@media (prefers-color-scheme: dark) {
    .property-feature {
        background-color: #111827;
    }
}

/* 16:9 video wrapper */
.aspect-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.aspect-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vertical media (9:16) container for reels/tiktok/shorts */
.vertical-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.vertical-media-inner {
    position: relative;
    width: 45vh; /* narrow width to respect 9:16 within ~800px height area */
    max-width: 50%;
    height: 80%;
    max-height: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.vertical-media-inner iframe,
.vertical-media-inner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#descripcion {
    width: 50%;
}

#contacto {
    height: 30%;
    width: 25%;
}

#x-icono {
    width: 2vh;
    height: 2vh;
}

@media (max-width: 768px) {
    #descripcion {
        width: 100%;
    }
    
    #contacto {
        width: 100%;
    }

    #x-icono {
        width: 3vh;
        height: 3vh;
    }
}
/* Fin Especificaciones de la propiedad */


/* Tooltip para el mapa */
.custom-tooltip {
    font-weight: bold;
}

.estado-ubicacion-publico {
    background-color: red;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}