/* ============================================
   INMOBILIARIA MARAL — Estilos Globales
   src/styles/global.css
   ============================================ */

/* ===== NAV – Estado activo ===== */
.nav-link {
    color: #414750;
    font-weight: 500;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #004275;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover { color: #004275; }
.nav-link:hover::after { width: 100%; }

.nav-link.active {
    color: #004275;
    font-weight: 700;
}
.nav-link.active::after { width: 100%; }

/* Botón CTA (Contacto) resaltado diferente */
.nav-link-cta.active {
    background-color: #316289;
    box-shadow: 0 0 0 3px rgba(0, 66, 117, 0.25);
}

/* ===== NAV – Mobile ===== */
.nav-link-mobile {
    color: #414750;
    padding: 6px 10px;
    border-radius: 8px;
}
.nav-link-mobile:hover { color: #004275; background: #f0f3ff; }
.nav-link-mobile.active {
    color: #004275;
    font-weight: 700;
    background: #f0f3ff;
    border-left: 3px solid #004275;
    padding-left: 13px;
}

/* ===== ICONOS MATERIAL ===== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== GLASS NAVBAR ===== */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ===== TARJETA PROPIEDAD ===== */
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 90, 156, 0.12);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-pulse {
    animation: pulse-green 2s infinite;
}

/* ===== SKELETON LOADER ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f3ff 25%, #e7eeff 50%, #f0f3ff 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
